/* =========================================================
   V1 — Editorial Medical
   Full-bleed hero · ticker · 3-col services · split about ·
   3-card testimonials · dark CTA band · tiered footer.

   Architecture: typography + structure are VARIANT-level (fixed).
   Themes control palette only. [data-theme="light"|"dark"|"warm"]
   swaps colors; Syne + DM Sans and 16px card radius stay constant.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;700&display=swap');

/* --- Variant identity: typography + radii (palette-independent) --- */
:root {
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --display-weight: 500;
  --display-style:  normal;
  --radius-card:  16px;   /* Demo 1 Light editorial rounded cards */
  --radius-btn:   999px;
}

/* --- Theme: LIGHT (editorial medical — forest + cream + ink) --- */
:root,
:root[data-theme="light"] {
  --bg:         #FBF9F4;
  --surface:    #FFFFFF;
  --surface-2:  #F1EDE3;
  --ink:        #0F1F1A;
  --text:       #243A34;
  --muted:      #5F6E69;
  --faint:      #9AA6A2;
  --accent:     #2D5A4F;   /* deep forest */
  --accent-2:   #3F7A6B;
  --rule:       #E4DED2;
  --rule-strong:#C9C0AD;
  --on-dark:    #F8F4EA;
  --on-accent:  #F8F4EA;   /* text on solid-accent bg — LIGHT here (accent is dark) */
  --cta-bg:     #0F1F1A;
}

/* --- Theme: DARK (forest-night · gold) --- */
:root[data-theme="dark"] {
  --bg:         #0C1512;
  --surface:    #121E19;
  --surface-2:  #192721;
  --ink:        #EDE4CB;
  --text:       #CFC8B3;
  --muted:      #908A79;
  --faint:      #5F5C52;
  --accent:     #D4B479;   /* antique gold — LIGHT */
  --accent-2:   #E6C98F;
  --rule:       #1F2B25;
  --rule-strong:#3B463F;
  --on-dark:    #EDE4CB;
  --on-accent:  #070E0C;   /* text on solid-accent bg — DARK here (accent is light) */
  --cta-bg:     #070E0C;
}

/* --- Theme: WARM (rosehip · clay · sand) --- */
:root[data-theme="warm"] {
  --bg:         #F4E6D4;
  --surface:    #FAF0DF;
  --surface-2:  #E9D6BC;
  --ink:        #3A251A;
  --text:       #553828;
  --muted:      #856753;
  --faint:      #B19680;
  --accent:     #9E4B2F;   /* rust clay */
  --accent-2:   #C06A4A;
  --rule:       #DCC4A6;
  --rule-strong:#B5997A;
  --on-dark:    #FAF0DF;
  --on-accent:  #FAF0DF;   /* light text on dark rust */
  --cta-bg:     #3A251A;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  transition: background-color 400ms ease, color 400ms ease;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-style: var(--display-style);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--accent); color: var(--on-accent); }

/* --- Reusables --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .container { padding: 0 20px; } }

.eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; color: var(--accent); margin-bottom: 16px;
}
.section-headline {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  max-width: 22ch;
  margin-bottom: 18px;
}
.section-body {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 60ch;
}

.text-link {
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease, gap 200ms ease;
}
.text-link:hover { color: var(--accent-2); border-bottom-color: var(--accent-2); gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  font-weight: 500; font-size: 14px; letter-spacing: 0.04em;
  transition: background-color 220ms ease, color 220ms ease, transform 180ms ease, border-color 220ms ease;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
}
.btn--primary         { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover   { background: var(--accent-2); color: var(--on-accent); transform: translateY(-1px); }
.btn--ghost           { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover     { background: var(--surface); border-color: var(--accent); color: var(--accent); }
.btn--on-dark-primary { background: var(--on-dark); color: var(--cta-bg); }
.btn--on-dark-primary:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-1px); }
.btn--on-dark-ghost   { background: transparent; color: var(--on-dark); border-color: rgba(255,255,255,0.3); }
.btn--on-dark-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--on-dark); }

/* --- NAV (Demo 1: fixed + transparent over hero, solid on scroll) ---
   The hero sits at top:0 and the nav overlays it. Once scrolled past a
   short threshold, .nav--scrolled is applied (by script.js) to restore
   the semi-opaque backdrop-blur and dark text. */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease,
              backdrop-filter 300ms ease, padding 300ms ease;
}
/* NOTE: padding-block only — .container supplies horizontal edge padding.
   padding: Ypx 0 shorthand would zero-out .container's 20px/24px gutters. */
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; transition: padding-block 300ms ease; }
.nav__logo { display: flex; flex-direction: column; line-height: 1.1; color: #fff; transition: color 300ms ease; }
.nav__logo-name { font-family: var(--font-display); font-style: var(--display-style); font-weight: var(--display-weight); color: inherit; font-size: 20px; letter-spacing: -0.01em; transition: color 300ms ease; }
.nav__logo-sub  { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 3px; font-weight: 500; transition: color 300ms ease; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link  { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.92); letter-spacing: 0.01em; padding: 8px 0; position: relative; transition: color 300ms ease; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: currentColor; transition: right 280ms cubic-bezier(.2,.6,.2,1); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { right: 0; }
.nav__cta { padding: 10px 20px; font-size: 13px; min-height: 0; background: #fff; color: var(--cta-bg); border-color: #fff; }
.nav__cta:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translateY(-1px); }
.nav__burger { display: none; flex-direction: column; gap: 4px; padding: 10px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: #fff; transition: transform 200ms ease, opacity 200ms ease, background-color 300ms ease; }

/* --- NAV: scrolled state (restore editorial backdrop + dark text) --- */
.nav--scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--rule);
}
.nav--scrolled .nav__inner { padding-block: 14px; }
.nav--scrolled .nav__logo { color: var(--ink); }
.nav--scrolled .nav__logo-sub { color: var(--muted); }
.nav--scrolled .nav__link { color: var(--text); }
.nav--scrolled .nav__link::after { background: var(--accent); }
.nav--scrolled .nav__cta { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.nav--scrolled .nav__cta:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--on-accent); }
.nav--scrolled .nav__burger span { background: var(--ink); }

/* --- NAV: solid state for pages without a hero image (fallback).
   Pages can set <body data-nav-solid> to force solid nav from page load. */
body[data-nav-solid] .nav {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--rule);
}
body[data-nav-solid] .nav__logo { color: var(--ink); }
body[data-nav-solid] .nav__logo-sub { color: var(--muted); }
body[data-nav-solid] .nav__link { color: var(--text); }
body[data-nav-solid] .nav__link::after { background: var(--accent); }
body[data-nav-solid] .nav__cta { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
body[data-nav-solid] .nav__burger span { background: var(--ink); }

/* Mobile nav */
.mobile-menu { position: fixed; inset: 0; background: var(--bg); z-index: 100; padding: 80px 32px 32px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 320ms cubic-bezier(.2,.6,.2,1); }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__close { position: absolute; top: 20px; right: 20px; font-size: 36px; line-height: 1; color: var(--ink); min-width: 44px; min-height: 44px; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 4px; margin-bottom: auto; }
.mobile-menu__link { font-family: var(--font-display); font-size: 32px; color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--rule); }
.mobile-menu__cta { margin-top: 24px; width: 100%; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
}

/* --- HERO (Demo 1: full-bleed, 100vh, 2-stop gradient, scale-in + stagger) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 100px 0 10vh;
  overflow: hidden;
  color: #fff;
}
.hero--short { min-height: 58vh; align-items: center; padding-bottom: 0; text-align: center; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1500ms ease; }
.hero.is-loaded .hero__media img { transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}
.hero--short .hero__overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}
.hero__content { position: relative; z-index: 2; color: #fff; width: 100%; }
.hero__content-inner { max-width: 780px; }
.hero--short .hero__content-inner { max-width: 820px; margin: 0 auto; }
.hero__eyebrow { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 22px; }
.hero__headline { color: #fff; font-size: clamp(44px, 7.2vw, 96px); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 24px; max-width: 18ch; }
.hero__subhead { font-family: var(--font-body); font-weight: 300; color: rgba(255,255,255,0.85); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.5; margin-bottom: 36px; max-width: 560px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll-indicator { position: absolute; left: 50%; bottom: 32px; z-index: 3; color: rgba(255,255,255,0.7); animation: v1bob 2.4s ease-in-out infinite; transform: translateX(-50%); }
@keyframes v1bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll-indicator { animation: none; } }
@media (max-width: 767px) {
  .hero { padding: 80px 0 8vh; min-height: 90vh; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .hero--short .hero__ctas { align-items: center; }
}

/* Stagger */
.stagger { opacity: 0; transform: translateY(18px); transition: opacity 720ms cubic-bezier(.2,.6,.2,1), transform 720ms cubic-bezier(.2,.6,.2,1); }
.stagger.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .stagger { opacity: 1; transform: none; transition: none; } }

/* --- TICKER --- */
.ticker { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--surface); }
.ticker__track { display: inline-flex; gap: 40px; white-space: nowrap; animation: v1ticker 38s linear infinite; }
@keyframes v1ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee__item { display: inline-flex; align-items: center; gap: 40px; font-family: var(--font-display); font-style: var(--display-style); font-size: 22px; color: var(--muted); letter-spacing: -0.005em; }
.marquee__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* --- SERVICES STRIP (Demo 1: centered + bordered cells, no gap) --- */
.services-strip { padding: 80px 0; background: var(--surface); border-bottom: 1px solid var(--rule); }
.services-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.services-strip__item {
  text-align: center;
  padding: 56px 24px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  transition: background-color 240ms ease;
}
.services-strip__item:last-child { border-right: none; }
.services-strip__item:hover { background: var(--bg); }
.services-strip__icon {
  width: 40px; height: 40px;
  color: var(--accent);
  margin: 0 auto 20px;
  transition: transform 300ms ease;
}
.services-strip__item:hover .services-strip__icon { transform: translateY(-3px); }
.services-strip__label { font-size: 22px; margin-bottom: 10px; letter-spacing: -0.01em; }
.services-strip__desc { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 36ch; margin: 0 auto; }
@media (max-width: 767px) {
  .services-strip__grid { grid-template-columns: 1fr; }
  .services-strip__item { border-right: none; padding: 44px 20px; }
  .services-strip { padding: 64px 0; }
}

/* --- SPLIT (about teaser) --- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.split__media { overflow: hidden; position: relative; background: var(--surface-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms cubic-bezier(.2,.6,.2,1); }
.split__media:hover img { transform: scale(1.04); }
.split__content { display: flex; flex-direction: column; justify-content: center; padding: 80px 72px; background: var(--surface); }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media { min-height: 360px; }
  .split__content { padding: 56px 24px; }
}

/* --- TESTIMONIALS --- */
.testimonials { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.testimonials__header { max-width: 720px; margin-bottom: 56px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-card); padding: 32px 28px; transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 18px 40px -24px rgba(0,0,0,0.18); }
.testimonial__stars { color: var(--accent); letter-spacing: 0.14em; margin-bottom: 16px; font-size: 13px; }
.testimonial__quote { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--ink); font-size: 19px; line-height: 1.5; margin-bottom: 20px; }
.testimonial__attribution { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } .testimonials { padding: 72px 0; } }

/* --- CTA BAND --- */
.cta-band { background: var(--cta-bg); color: var(--on-dark); padding: 96px 0; text-align: center; }
.cta-band__headline { color: var(--on-dark); font-size: clamp(32px, 4.6vw, 56px); max-width: 22ch; margin: 0 auto 18px; }
.cta-band__sub { color: var(--on-dark); opacity: 0.82; max-width: 54ch; margin: 0 auto 32px; font-size: 17px; line-height: 1.6; }
.cta-band__ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn--ghost { color: var(--on-dark); border-color: rgba(255,255,255,0.3); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--on-dark); color: var(--on-dark); }

/* --- FOOTER --- */
.footer { background: var(--surface); padding: 80px 0 28px; border-top: 1px solid var(--rule); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand-name { font-family: var(--font-display); font-style: var(--display-style); font-size: 22px; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 3px; }
.footer__brand-sub  { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.footer__tagline    { color: var(--muted); font-size: 14.5px; line-height: 1.55; max-width: 34ch; }
.footer__heading    { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text); }
.footer__list a { border-bottom: 1px solid transparent; transition: border-color 200ms ease, color 200ms ease; }
.footer__list a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--rule); padding-top: 24px; font-size: 12px; color: var(--faint); letter-spacing: 0.04em; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 580px) { .footer__grid { grid-template-columns: 1fr; } }

/* --- GENERIC section (for non-home pages) --- */
.section-pad { padding: 100px 0; border-bottom: 1px solid var(--rule); }
.section-pad--tight { padding: 72px 0; }
@media (max-width: 767px) { .section-pad { padding: 64px 0; } }

/* --- ABOUT PAGE: credentials / principles / space grid --- */
.creds { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.creds li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rule); font-size: 14.5px; color: var(--text); }
.creds li:last-child { border-bottom: 1px solid var(--rule); }
.creds li::before { content: "+"; color: var(--accent); font-family: var(--font-display); font-size: 18px; line-height: 1; align-self: center; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.principles__item { padding: 32px 28px; border: 1px solid var(--rule); border-radius: var(--radius-card); background: var(--surface); transition: transform 260ms ease, border-color 260ms ease; }
.principles__item:hover { transform: translateY(-3px); border-color: var(--accent); }
.principles__num { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 18px; margin-bottom: 16px; }
.principles__title { font-size: 22px; margin-bottom: 10px; }
.principles__body { color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }
.space-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: 40px; }
.space-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); transition: transform 600ms ease; }
.space-grid > div { overflow: hidden; aspect-ratio: 4/3; }
.space-grid > div:first-child { aspect-ratio: 3/2; }
.space-grid > div:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .space-grid { grid-template-columns: 1fr 1fr; } .space-grid > div:first-child { grid-column: span 2; } }

/* --- SERVICES PAGE: alternating detail rows --- */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 88px 0; border-bottom: 1px solid var(--rule); }
.svc-detail:nth-child(even) .svc-detail__media { order: 2; }
.svc-detail__media { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius-card); background: var(--surface-2); }
.svc-detail__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms ease; }
.svc-detail__media:hover img { transform: scale(1.04); }
.svc-detail__list { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.svc-detail__list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; color: var(--text); }
.svc-detail__list li::before { content: "→"; color: var(--accent); font-weight: 500; }
@media (max-width: 900px) {
  .svc-detail { grid-template-columns: 1fr; gap: 36px; padding: 64px 0; }
  .svc-detail:nth-child(even) .svc-detail__media { order: 0; }
}

/* --- FAQ accordion --- */
.faq { display: flex; flex-direction: column; gap: 0; max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__q { display: grid; grid-template-columns: 1fr 22px; gap: 12px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.faq__q::marker, .faq__q::-webkit-details-marker { display: none; }
.faq__icon { color: var(--accent); font-size: 22px; line-height: 1; transition: transform 300ms ease; text-align: center; }
details[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 0 24px; color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 68ch; }

/* --- NEW-PATIENTS: stepper --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps__item { padding: 28px 22px; border: 1px solid var(--rule); border-radius: var(--radius-card); background: var(--surface); position: relative; transition: transform 260ms ease, border-color 260ms ease; }
.steps__item:hover { transform: translateY(-3px); border-color: var(--accent); }
.steps__num { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 16px; letter-spacing: 0.06em; margin-bottom: 14px; }
.steps__title { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.005em; }
.steps__body  { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.insurance-band { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; background: var(--surface-2); padding: 80px 48px; border-radius: var(--radius-card); }
.insurance-band__note { color: var(--muted); font-size: 13.5px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule-strong); max-width: 48ch; }
@media (max-width: 900px) { .insurance-band { grid-template-columns: 1fr; gap: 32px; padding: 56px 28px; } }

.download-card { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; padding: 48px; border: 1px solid var(--rule); border-radius: var(--radius-card); background: var(--surface); }
.download-card__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 767px) { .download-card { grid-template-columns: 1fr; padding: 32px 24px; } }

/* --- CONTACT PAGE --- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 580px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.form__input, .form__textarea, .form__select {
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  padding: 13px 14px;
  font-size: 15px;
  border-radius: var(--radius-card);
  font-family: inherit;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.form__input:focus, .form__textarea:focus, .form__select:focus { border-color: var(--accent); outline: none; background: var(--bg); }
.form__textarea { min-height: 140px; resize: vertical; }
.form__submit { align-self: flex-start; }
.contact-info { padding: 36px 32px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-card); display: flex; flex-direction: column; gap: 22px; }
.contact-info__block strong { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.contact-info__block a { color: var(--ink); font-size: 16px; border-bottom: 1px solid var(--rule); transition: border-color 200ms ease, color 200ms ease; }
.contact-info__block a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.contact-info__block p { color: var(--text); font-size: 15.5px; line-height: 1.55; }

/* --- Reveal-stagger utility (children of a reveal-stagger get delay) --- */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
