/* ============================================================
   SignalMatrix AI — /healthcare/ page
   Shared chrome (nav, footer, buttons, section scaffolding) plus
   this page's section styles. Foundations come from colors_and_type.css.
   Pillar accent for this page: Intelligent Automation (cyan) —
   see CLAUDE.md: cyan = Automation/Healthcare pages.
   ============================================================ */

:root {
  /* Nav/footer active-vertical theming — set by js/main.js from
     <body data-active-vertical="..."> so partials/nav.html and
     partials/footer.html can be reused unmodified across verticals. */
  --current-pillar: var(--pillar-automation);
  --current-pillar-tint: var(--pillar-automation-tint);

  /* Fluid overrides of colors_and_type.css foundations */
  --gutter-outer: clamp(20px, 5.5vw, 80px);
  --section-y: clamp(48px, 8vw, 96px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; overflow-x: hidden; background: var(--navy-900); }
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

button { font-family: inherit; }

::selection { background: rgba(0, 212, 255, 0.4); color: var(--fg); }

*:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter-outer);
}

.eyebrow-rule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow-rule__bar {
  display: inline-block;
  width: 48px;
  height: 2px;
  background: var(--pillar-automation);
}
.eyebrow-rule__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
}
.eyebrow-rule__label--green { color: var(--brand-green); }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-5xl);
  align-items: end;
  margin-bottom: var(--space-4xl);
}
.section-head h2 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
  margin: 24px 0 0;
  text-wrap: balance;
}
.section-head p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-mute);
  margin: 0;
  padding-bottom: 8px;
}

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--stroke-1);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  padding: 18px 0;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.wordmark-img {
  height: 28px;
  width: auto;
  display: block;
}
.wordmark-img--lg { height: 28px; }

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--stroke-2);
  border-radius: var(--radius-md);
  color: var(--fg);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle__icon { width: 20px; height: 20px; }
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav-links {
  display: flex;
  gap: var(--space-2xl);
  justify-content: flex-end;
  align-items: center;
}
.nav-item { position: relative; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-mute);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  background: none;
  border: 0;
  transition: color 200ms var(--ease-out);
}
.nav-link:hover { color: var(--fg); }
.nav-link svg { width: 14px; height: 14px; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  min-width: 240px;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--stroke-1);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 160ms;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  transition: background 200ms var(--ease-out);
}
.nav-dropdown a.is-active {
  color: var(--current-pillar);
  background: var(--current-pillar-tint);
}
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown a:hover { background: var(--navy-700); }
  .nav-dropdown a.is-active:hover { background: var(--current-pillar-tint); }
}
.nav-dot {
  width: 6px; height: 6px; border-radius: 99px;
  background: var(--current-pillar);
  box-shadow: 0 0 8px var(--current-pillar);
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  font-family: inherit;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  white-space: nowrap;
  border: 0;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--brand-green); color: #001F11; }
.btn--primary:hover { filter: brightness(1.10); transform: translateY(-2px); }
.btn--primary:active { filter: brightness(0.95); transform: scale(0.98); }
.btn--secondary {
  background: transparent;
  color: var(--brand-green);
  border: 1.5px solid var(--brand-green);
}
.btn--secondary:hover { background: var(--brand-green-tint); }
.btn--lg { padding: 16px 24px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 72px);
}
.hero__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.04;
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--pillar-automation); }
.hero p {
  margin-top: 28px;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  color: var(--fg-mute);
  max-width: 640px;
  text-wrap: pretty;
}
.hero__ctas {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 10 / 9;
}
.hero__diagram svg { width: 100%; height: 100%; overflow: visible; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  border-top: 1px solid var(--stroke-3);
  border-bottom: 1px solid var(--stroke-3);
}
.trust-bar__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.trust-bar__track {
  display: flex;
  width: max-content;
  padding: 24px 0;
  animation: trust-bar-scroll 30s linear infinite;
}
.trust-bar__marquee:hover .trust-bar__track { animation-play-state: paused; }
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  flex-shrink: 0;
  white-space: nowrap;
}
@keyframes trust-bar-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-bar__track { animation: none; }
}
.trust-item svg { width: 16px; height: 16px; color: var(--pillar-automation); }
.trust-item span {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-mute);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ============================================================
   PROBLEM / STAT BOXES
   ============================================================ */
.problem { padding: var(--section-y) 0; }
.problem h2 {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--fg);
  margin: 24px 0 0;
  max-width: 920px;
  text-wrap: balance;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: 56px;
}
.stat-box {
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 32px 32px 32px 36px;
  border: 1px solid var(--stroke-1);
  border-left: 4px solid var(--pillar-automation);
  position: relative;
}
.stat-box__value {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}
.stat-box h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 20px 0 12px;
  line-height: 1.3;
}
.stat-box p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-mute);
  margin: 0;
  text-wrap: pretty;
}
.stat-box__source {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke-3);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  text-transform: uppercase;
  line-height: 1.5;
}

/* ============================================================
   SPECIALTY CARDS
   ============================================================ */
.specialties { padding: var(--section-y) 0; }
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.specialty-card {
  background: var(--navy-800);
  border: 1px solid var(--stroke-1);
  border-top: 3px solid var(--pillar-automation);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 200ms var(--ease-out);
}
.specialty-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.1);
}
.specialty-card > svg { width: 24px; height: 24px; color: var(--pillar-automation); }
.specialty-card h3 { font-size: 20px; font-weight: 700; color: var(--fg); margin: 0; }
.specialty-card__stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.specialty-card__stat strong {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--pillar-automation);
  letter-spacing: -0.02em;
}
.specialty-card__stat span { font-size: 13px; color: var(--fg-dim); }
.specialty-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.specialty-card__bullets div {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-mute);
}
.specialty-card__bullets strong { color: var(--fg); }
.specialty-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pillar-automation);
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  transition: gap 200ms var(--ease-out);
}
.specialty-card__cta:hover { gap: 10px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: var(--section-y) 0;
  background: rgba(0, 212, 255, 0.02);
  border-top: 1px solid var(--stroke-3);
  border-bottom: 1px solid var(--stroke-3);
}
.steps__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.step {
  display: grid;
  grid-template-columns: clamp(56px, 10vw, 144px) 56px 1fr;
  gap: 0;
  align-items: start;
  background: var(--navy-800);
  border: 1px solid var(--stroke-1);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 36px);
  transition: all 200ms var(--ease-out);
}
.step:hover {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 32px var(--pillar-automation-glow);
}
.step__number {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--pillar-automation);
  line-height: 0.9;
  text-shadow: 0 0 24px var(--pillar-automation-glow);
}
.step__icon {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.step__icon-badge {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--pillar-automation-tint);
  border: 1px solid rgba(0, 212, 255, 0.25);
  display: flex; align-items: center; justify-content: center;
}
.step__icon-badge svg { width: 18px; height: 18px; color: var(--pillar-automation); }
.step__body { padding-left: 24px; }
.step__body h3 {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 12px;
}
.step__body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-mute);
  margin: 0;
  text-wrap: pretty;
  max-width: 760px;
}

/* ============================================================
   PILLAR SOLUTION CARDS
   ============================================================ */
.pillars { padding: var(--section-y) 0; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pillar-card {
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.5px solid;
}
.pillar-card__icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.pillar-card__icon svg { width: 20px; height: 20px; }
.pillar-card h3 { font-size: 20px; font-weight: 700; color: var(--fg); margin: 0; }
.pillar-card p { font-size: 14px; line-height: 1.55; color: var(--fg-mute); margin: 0; flex: 1; }
.pillar-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  transition: gap 200ms var(--ease-out);
}
.pillar-card__cta:hover { gap: 10px; }

.pillar-card--aeo { border-color: var(--pillar-aeo); box-shadow: 0 0 32px var(--pillar-aeo-glow); }
.pillar-card--aeo .pillar-card__icon { background: rgba(0, 255, 136, 0.12); }
.pillar-card--aeo .pillar-card__icon svg { color: var(--pillar-aeo); }
.pillar-card--aeo .pillar-card__cta { color: var(--pillar-aeo); }

.pillar-card--automation { border-color: var(--pillar-automation); box-shadow: 0 0 32px var(--pillar-automation-glow); }
.pillar-card--automation .pillar-card__icon { background: rgba(0, 212, 255, 0.12); }
.pillar-card--automation .pillar-card__icon svg { color: var(--pillar-automation); }
.pillar-card--automation .pillar-card__cta { color: var(--pillar-automation); }

.pillar-card--crm { border-color: var(--pillar-crm); box-shadow: 0 0 32px var(--pillar-crm-glow); }
.pillar-card--crm .pillar-card__icon { background: rgba(167, 139, 250, 0.12); }
.pillar-card--crm .pillar-card__icon svg { color: var(--pillar-crm); }
.pillar-card--crm .pillar-card__cta { color: var(--pillar-crm); }

/* ============================================================
   PROMISE
   ============================================================ */
.promise {
  padding: var(--section-y) 0;
  background: rgba(0, 212, 255, 0.02);
  border-top: 1px solid var(--stroke-3);
  border-bottom: 1px solid var(--stroke-3);
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.promise-card {
  background: var(--navy-800);
  border: 1px solid var(--stroke-1);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.promise-card__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--pillar-automation-tint);
  border: 1px solid rgba(0, 212, 255, 0.35);
  display: flex; align-items: center; justify-content: center;
}
.promise-card__icon svg { width: 22px; height: 22px; color: var(--pillar-automation); }
.promise-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--fg); margin: 0; }
.promise-card p { font-size: 15px; line-height: 1.6; color: var(--fg-mute); margin: 0; text-wrap: pretty; }

/* ============================================================
   FAQ — separate rounded cards with gaps; open card gets an
   accent border + glow (not a flat divided list).
   ============================================================ */
.faq { padding: var(--section-y) 0; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
}
.faq-item {
  background: var(--navy-800);
  border: 1px solid var(--stroke-1);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: none;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.faq-item.is-open {
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.1);
}
.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.faq-item__q {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.faq-item__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.faq-item__question {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--fg);
  margin: 0;
  transition: color 200ms var(--ease-out);
}
.faq-item.is-open .faq-item__question { color: var(--pillar-automation); }
.faq-item__chevron {
  width: 32px; height: 32px; border-radius: 999px; flex-shrink: 0;
  border: 1px solid var(--stroke-2);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-mute);
  transition: transform 250ms cubic-bezier(0.2,0.8,0.2,1), border-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.faq-item__chevron svg { width: 14px; height: 14px; }
.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
  border-color: var(--pillar-automation);
  color: var(--pillar-automation);
}
.faq-item__answer {
  display: none;
  margin-top: 18px;
  padding-left: 44px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-mute);
}
.faq-item.is-open .faq-item__answer { display: block; }
.faq-item__answer p { margin: 0 0 10px; font-size: inherit; line-height: inherit; color: inherit; }
.faq-item__answer p:last-child { margin-bottom: 0; }
.faq-item__answer p.tight { margin: 6px 0 0; }
.faq-item__answer strong { color: var(--fg); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding: var(--section-y) 0; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--navy-800);
  border: 1px solid var(--stroke-1);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.price-card--popular {
  border: 1.5px solid var(--pillar-automation);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.18);
}
.price-card__badge {
  position: absolute;
  top: -12px; left: 24px;
  background: var(--pillar-automation);
  color: var(--navy-900);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}
.price-card__name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.price-card__price {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-card__price strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
}
.price-card__price span { font-size: 14px; color: var(--fg-mute); font-weight: 500; }
.price-card__list {
  list-style: none;
  margin: 0; padding: 20px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--stroke-3);
  flex: 1;
}
.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--fg-mute);
  line-height: 1.5;
}
.price-card__list svg { width: 14px; height: 14px; margin-top: 4px; flex-shrink: 0; color: var(--brand-green); }
.price-card--popular .price-card__list svg { color: var(--pillar-automation); }
.price-card__cta {
  padding: 12px 16px;
  background: var(--brand-green);
  color: var(--navy-900);
  border: 0;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 200ms var(--ease-out);
  text-align: center;
  text-decoration: none;
  display: block;
}
.price-card__cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.pricing-note {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ============================================================
   AUDIT BANNER
   ============================================================ */
.audit { padding: var(--section-y) 0; }
.audit__border {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(120deg, var(--brand-green), var(--pillar-automation), var(--brand-green));
  background-size: 200% 200%;
  animation: sm-gradient 8s linear infinite;
}
.audit__panel {
  background: var(--navy-900);
  border-radius: 14px;
  padding: clamp(32px, 6vw, 64px) clamp(24px, 7vw, 72px);
  position: relative;
  overflow: hidden;
}
.audit__texture {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.04;
  pointer-events: none;
}
.audit__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.audit h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg);
  margin: 20px 0 0;
  text-wrap: balance;
}
.audit p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-mute);
  max-width: 640px;
  text-wrap: pretty;
}
.audit__cta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.audit__checklist {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.audit__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.audit__checklist svg { width: 18px; height: 18px; color: var(--brand-green); flex-shrink: 0; }
.audit__reassure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.audit__reassure-dot {
  width: 6px; height: 6px; border-radius: 99px;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: var(--section-y) 0; border-top: 1px solid var(--stroke-3); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}
.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--fg);
  margin: 20px 0 0;
  text-wrap: balance;
}
.contact__intro {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-mute);
  max-width: 480px;
}
.contact__details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-detail__icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--navy-800);
  border: 1px solid var(--stroke-1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail__icon svg { width: 16px; height: 16px; color: var(--pillar-automation); }
.contact-detail__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.contact-detail__value { font-size: 15px; color: var(--fg); font-weight: 500; margin-top: 2px; }

.contact-form {
  background: var(--navy-800);
  border: 1px solid var(--stroke-1);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field { display: block; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--navy-600);
  color: var(--fg);
  border: 1px solid var(--stroke-2);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 200ms var(--ease-out);
}
.field select { cursor: pointer; }
.field select option { background: var(--navy-800); color: var(--fg); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pillar-automation); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form__submit {
  margin-top: 8px;
  padding: 14px 20px;
  background: var(--brand-green);
  color: var(--navy-900);
  border: 0;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 200ms var(--ease-out);
}
.contact-form__submit svg { width: 16px; height: 16px; }
.contact-form__submit:hover { filter: brightness(1.1); transform: translateY(-1px); }
.contact-form__trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  margin-top: 4px;
}
.contact-form__trust svg { width: 12px; height: 12px; }

.contact-success {
  background: var(--navy-800);
  border: 1px solid var(--stroke-1);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-content: center;
  text-align: center;
  min-height: 100%;
}
.contact-success__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--pillar-automation-tint);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--pillar-automation);
}
.contact-success__icon svg { width: 28px; height: 28px; color: var(--pillar-automation); }
.contact-success h3 { font-size: 24px; font-weight: 700; color: var(--fg); margin: 0; }
.contact-success p { font-size: 15px; color: var(--fg-mute); max-width: 360px; margin: 0; }

.contact-form-wrap.is-submitted .contact-form { display: none; }
.contact-form-wrap.is-submitted .contact-success { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  border-top: 1px solid var(--stroke-1);
  padding: 72px 0 32px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 255, 136, 0.08) 0%, transparent 60%), var(--navy-1000);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: var(--space-4xl);
}
.footer-wordmark-img {
  height: 30px;
  width: auto;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  color: var(--fg-mute);
  line-height: 1.6;
  max-width: 340px;
}
.footer-contact-line {
  margin-top: 4px;
  font-size: 13px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.footer-brand .footer-contact-line:first-of-type { margin-top: 16px; }
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid var(--stroke-2);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: all 200ms var(--ease-out);
}
.footer-socials a:hover { background: var(--brand-green); border-color: var(--brand-green); }
.footer-socials svg { width: 16px; height: 16px; color: var(--fg-mute); }
.footer-socials a:hover svg { color: #001F11; }

.footer-col-title--cta {
  color: var(--fg) !important;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
  font-size: 13px;
  color: var(--fg-mute);
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}
.footer-links a:hover { color: var(--fg); }
.footer-links a.is-active-vertical { color: var(--current-pillar); font-weight: 600; }
.footer-links a.is-active-vertical:hover { color: var(--current-pillar); }
.footer-cta-copy {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-mute);
  margin: 0 0 20px;
}
.footer-cta-btn { font-size: 14px; padding: 12px 24px; }

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke-1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--stroke-1);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.footer-badge svg { width: 12px; height: 12px; color: var(--brand-green); }
.footer-legal {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
}
.footer-legal a { color: var(--fg-dim); text-decoration: none; }
.footer-legal a:hover { color: var(--pillar-automation); }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes sm-gradient {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes diagram-flow-hc { to { stroke-dashoffset: 0; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .specialty-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-lg);
    background: var(--navy-900);
    border-bottom: 1px solid var(--stroke-1);
    padding: var(--space-lg) var(--gutter-outer) var(--space-2xl);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; padding: 12px 4px; }
  .nav-item { width: 100%; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 200ms var(--ease-out);
  }
  .nav-item.is-open .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    max-height: 300px;
    padding: 4px 0 8px 12px;
  }
  .nav-cta { width: 100%; justify-content: center; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__diagram { aspect-ratio: 4 / 3; max-width: 480px; margin: 0 auto; }

  .section-head, .audit__grid, .contact__grid { grid-template-columns: 1fr; }
  .stat-grid, .promise-grid, .pillar-grid { grid-template-columns: 1fr; }
  .specialty-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }

  .step {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: left;
  }
  .step__icon { justify-content: flex-start; }
  .step__body { padding-left: 0; }

  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { justify-content: center; }

  .audit__cta-col { align-items: stretch; }
  .audit__cta-col .btn { justify-content: center; }

  .faq-item { padding: 20px; }
  .faq-item__answer { padding-left: 0; }
}
