/* ============================================================
   services.css — Services page
   Imports: tokens.css + base.css must be loaded first
   ============================================================ */

/* ── Page hero ─────────────────────────────────────────────────── */
.page-hero {
  min-height: 44vh;
  background: linear-gradient(145deg, var(--brand-blue-deeper) 0%, var(--brand-blue-dark) 60%, var(--brand-blue) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 72px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 85% 50%, rgba(229,49,43,0.1) 0%, transparent 65%),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.025) 40px, rgba(255,255,255,0.025) 41px);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
  position: relative;
  z-index: 1;
}
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.page-hero-eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; max-width: 680px; }
.page-hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 560px;
}

/* ── Section eyebrow ─────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

/* ── Services intro ───────────────────────────────────────────── */
.services-intro { background: var(--bg2); }
.services-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.services-intro-text h2 { margin-bottom: 16px; }
.services-intro-text p  { font-size: 1.0625rem; line-height: 1.75; }
.services-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}
.stat-box-num {
  font-size: 2.25rem; font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--brand-blue);
  line-height: 1; margin-bottom: 6px;
}
.stat-box-label { font-size: 0.875rem; color: var(--text2); line-height: 1.4; }

/* ── Service detail blocks ────────────────────────────────────── */
.service-detail { background: var(--bg); }
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-block: 72px;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block.reverse .service-block-visual { order: -1; }
.service-block-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(229,49,43,0.1);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-red);
  margin-bottom: 24px;
  flex-shrink: 0;
}
.service-block-text h2  { margin-bottom: 14px; }
.service-block-text > p { font-size: 1.0625rem; line-height: 1.75; margin-bottom: 28px; }
.service-features { display: flex; flex-direction: column; gap: 12px; }
.service-feature {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9375rem; color: var(--text);
}
.service-feature-icon {
  width: 24px; height: 24px;
  background: rgba(0,69,129,0.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  color: var(--brand-blue);
}
.service-block-visual {
  background: linear-gradient(145deg, var(--brand-blue-deeper) 0%, var(--brand-blue-dark) 55%, #003d70 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  position: relative; overflow: hidden;
}
.service-block-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.service-block-visual::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand-red);
}
.service-block-visual-icon {
  width: 88px; height: 88px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative; z-index: 1;
}
.service-block-visual-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem; font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.12em;
  position: relative; z-index: 1;
}

/* ── Process strip ────────────────────────────────────────────── */
.process-section { background: var(--brand-blue-deeper); padding-block: 80px; }
.process-section .section-header h2 { color: #fff; }
.process-section .section-header p  { color: rgba(255,255,255,0.6); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 2px;
  background: rgba(255,255,255,0.12);
}
.process-step {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding-inline: 16px;
}
.process-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: #fff;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.process-step.active .process-step-num { background: var(--brand-red); border-color: var(--brand-red); }
.process-step h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.process-step p  { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.55; }

/* ── CTA banner ───────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  text-align: center;
  padding-block: 80px;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.65); font-size: 1.0625rem; margin-bottom: 36px; }
.cta-banner-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-white);
  outline-offset: var(--focus-ring-offset);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
  .services-intro-inner { grid-template-columns: 1fr; gap: 48px; }
  .service-block { grid-template-columns: 1fr; gap: 40px; }
  .service-block.reverse .service-block-visual { order: 0; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
}
@media (max-width: 600px) {
  .services-stats  { grid-template-columns: 1fr; }
  .process-steps   { grid-template-columns: 1fr; }
}
