/* ============================================================
   UI Medical Marketing — Option 1 (Deep Ocean)
   Palette derived from logo gradient: #000BC7 → #005DD3 → #009DDC
   Type: Instrument Serif (display) + Inter Tight (sans)
   ============================================================ */

:root {
  --bg: #F6F8FC;
  --bg-elevated: #FFFFFF;
  --ink: #05102A;
  --ink-2: #2A3756;
  --muted: #6C7B99;
  --line: rgba(5, 16, 42, 0.08);
  --line-2: rgba(5, 16, 42, 0.14);

  --blue-900: #000B51;
  --blue-800: #000BC7;
  --blue-700: #0038D0;
  --blue-600: #005DD3;
  --blue-500: #1E79DB;
  --blue-400: #009DDC;
  --blue-200: #B8DCF5;
  --blue-50:  #EAF3FC;

  --accent: var(--blue-700);
  --accent-2: var(--blue-400);

  --grad: linear-gradient(135deg, #000BC7 0%, #005DD3 45%, #009DDC 100%);
  --grad-soft: radial-gradient(120% 120% at 0% 0%, #EAF3FC 0%, #F6F8FC 55%, #F6F8FC 100%);

  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-sans: 'Inter Tight', 'Inter', system-ui, -apple-system, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;

  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
svg { display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

/* Display / sans utility */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: color-mix(in oklab, var(--bg-elevated) 75%, transparent);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
  backdrop-filter: blur(8px);
}
.kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent-2) 30%, transparent);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1);} 50%{transform:scale(1.4);} }

/* Magnetic cursor */
.magnetic-cursor, .magnetic-ring {
  position: fixed; pointer-events: none; transform: translate(-50%, -50%);
}
.magnetic-cursor {
  z-index: 9999; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-2); mix-blend-mode: difference;
  transition: width .25s ease, height .25s ease, background .25s ease;
}
.magnetic-cursor.hover { width: 54px; height: 54px; background: var(--accent); }
.magnetic-ring {
  z-index: 9998; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
  transition: transform .18s ease;
}
@media (hover: none) { .magnetic-cursor, .magnetic-ring { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  border: 1px solid transparent;
  background: var(--ink); color: var(--bg);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, background .3s ease, color .3s ease;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px color-mix(in oklab, var(--ink) 35%, transparent); }
.btn .arr { display: inline-block; transition: transform .3s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--gradient { background: var(--grad); color: #fff; border: 0; }

/* Reveal primitives */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .95s cubic-bezier(.16,1,.3,1), transform .95s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; will-change: auto; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

.split .word { display: inline-block; overflow: hidden; margin-right: .22em; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; line-height: 1.05; }
.split .word .inner { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.split.in .word .inner { transform: translateY(0); }

/* Gradient mesh background */
.mesh { position: absolute; inset: -20%; z-index: 0; pointer-events: none; filter: blur(60px) saturate(120%); opacity: .85; }
.mesh::before, .mesh::after, .mesh span { content: ''; position: absolute; border-radius: 50%; }
.mesh::before { width: 55vw; height: 55vw; left: -10%; top: -5%; background: radial-gradient(circle, color-mix(in oklab, var(--blue-700) 65%, transparent) 0%, transparent 65%); animation: float1 18s ease-in-out infinite; }
.mesh::after  { width: 60vw; height: 60vw; right: -15%; top: 10%; background: radial-gradient(circle, color-mix(in oklab, var(--blue-400) 70%, transparent) 0%, transparent 65%); animation: float2 22s ease-in-out infinite; }
.mesh span    { width: 45vw; height: 45vw; left: 25%; bottom: -25%; background: radial-gradient(circle, color-mix(in oklab, var(--blue-800) 60%, transparent) 0%, transparent 65%); animation: float3 26s ease-in-out infinite; display: block; }
@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(4%,3%) scale(1.08);} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-5%,4%) scale(1.1);} }
@keyframes float3 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(3%,-4%) scale(1.12);} }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav .logo { height: 28px; display: inline-flex; align-items: center; }
.nav .logo img { height: 100%; }
.nav__links { display: flex; gap: 28px; align-items: center; font-size: 14px; color: var(--ink-2); }
.nav__links > li { position: relative; list-style: none; }
.nav__links > li > a { position: relative; padding: 4px 0; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav__links > li > a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.nav__links > li:hover > a::after { transform: scaleX(1); transform-origin: left; }
.nav__links .caret { width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }

.nav__sub {
  position: absolute; top: 100%; left: -20px; padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  min-width: 280px;
}
.nav__sub-inner {
  background: var(--bg-elevated); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px;
  box-shadow: 0 30px 60px -30px color-mix(in oklab, var(--ink) 30%, transparent);
}
.nav__sub a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 13px; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav__sub a:hover { background: var(--blue-50); color: var(--accent); }
.nav__links > li:hover .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }

.nav .cta { font-size: 13px; padding: 10px 18px; white-space: nowrap; }

/* Mobile nav toggle */
.nav__burger { display: none; width: 36px; height: 36px; border: 0; background: transparent; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: transform .3s, opacity .3s; }
.nav__burger span::before, .nav__burger span::after { content: ''; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--ink); transition: transform .3s, top .3s; }
.nav__burger span::before { top: -7px; }
.nav__burger span::after { top: 7px; }
.nav.open .nav__burger span { background: transparent; }
.nav.open .nav__burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav__burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 0; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-elevated); border-top: 1px solid var(--line);
    padding: 8px var(--pad) 24px;
  }
  .nav.open .nav__links > li > a { padding: 14px 0; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .nav.open .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; min-width: 0; }
  .nav.open .nav__sub-inner { box-shadow: none; border: 0; padding: 0 0 8px 16px; background: transparent; }
}
@media (max-width: 520px) { .nav .cta span:first-child { display: none; } .nav .cta { padding: 10px 14px; } }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 60px; overflow: hidden; }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(44px, 7.2vw, 108px);
  margin: 22px 0 20px;
  letter-spacing: -0.02em;
  line-height: 0.92;
}
.hero h1 .line { display: block; line-height: 0.95; overflow: hidden; padding: 0.05em 0 0.08em; }
.hero h1 .line + .line { margin-top: 0.04em; }
.hero h1 .line-inner {
  display: inline-block; white-space: nowrap;
  transform: translateY(110%); opacity: 0; will-change: transform, opacity;
  animation: heroLineIn 1.15s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero h1 .line:nth-child(2) .line-inner { animation-delay: .22s; }
@keyframes heroLineIn { 0%{transform:translateY(110%);opacity:0;} 60%{opacity:1;} 100%{transform:translateY(0);opacity:1;} }
.hero h1 em {
  font-style: italic; color: var(--accent); position: relative; display: inline-block;
  background-image: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.06em;
  background: var(--grad); border-radius: 999px;
  transform: scaleX(0); transform-origin: left center;
  animation: heroUnderline 1.4s 1.1s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes heroUnderline { to { transform: scaleX(1); } }
.hero__sub { max-width: 600px; color: var(--ink-2); font-size: 20px; line-height: 1.55; margin: 0 0 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__stats {
  margin-top: clamp(60px, 10vw, 120px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .hero__stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); line-height: 1; }
.stat__num em { font-style: italic; color: var(--accent); }
.stat__label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-top: 8px; }

/* Page hero (interior) */
.phero { position: relative; padding: 160px 0 60px; overflow: hidden; }
.phero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 6vw, 92px); line-height: 0.98; letter-spacing: -0.02em; margin: 18px 0 18px; max-width: 18ch; }
.phero h1 em { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.phero__sub { color: var(--ink-2); font-size: 19px; max-width: 60ch; }
.phero__breadcrumb { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 8px; }
.phero__breadcrumb a:hover { color: var(--accent); }

/* Section header */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; gap: 20px; } }
.sec-head h2 { font-family: var(--font-display); font-weight: 400; margin: 14px 0 0; font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -0.02em; }
.sec-head h2 em { font-style: italic; color: var(--accent); }
.sec-head p { color: var(--ink-2); max-width: 46ch; font-size: 17px; }

/* Clinics / verticals grid */
.clinics { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
@media (max-width: 1100px) { .clinics { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .clinics { grid-template-columns: repeat(2, 1fr); } }
.clinic {
  aspect-ratio: 3/4; border-radius: var(--r-md); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--blue-50), var(--bg-elevated));
  border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  display: block; color: inherit;
}
.clinic:hover { transform: translateY(-6px); }
.clinic__art {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in oklab, var(--accent) 8%, transparent) 10px 11px),
    var(--grad);
  opacity: .86; transition: opacity .5s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.clinic:hover .clinic__art { transform: scale(1.08); opacity: 1; }
.clinic__icon { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 1; color: rgba(255,255,255,0.22); transition: transform .8s cubic-bezier(.2,.8,.2,1), color .4s ease; }
.clinic__icon i { font-size: 56px; }
.clinic:hover .clinic__icon { transform: scale(1.1) rotate(-2deg); color: rgba(255,255,255,0.32); }
.clinic__overlay { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; z-index: 2; }
.clinic__overlay .num { font-family: var(--font-display); font-size: 24px; font-style: italic; opacity: .9; }
.clinic__overlay h3 { font-family: var(--font-display); font-size: clamp(18px, 1.8vw, 26px); margin: 0; font-weight: 400; line-height: 1.05; }

/* About / two-column */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 80px); margin: 12px 0 28px; line-height: 1.02; }
.about-grid h2 em { font-style: italic; color: var(--accent); }
.about-grid p { color: var(--ink-2); font-size: 18px; line-height: 1.6; margin: 0 0 18px; }
.about-media {
  aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden;
  background:
    linear-gradient(160deg, color-mix(in oklab, var(--accent) 35%, transparent), color-mix(in oklab, var(--accent-2) 35%, transparent)),
    var(--grad);
  position: relative; border: 1px solid var(--line);
  box-shadow: 0 30px 80px -30px color-mix(in oklab, var(--accent) 35%, transparent);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display); font-style: italic; font-size: 22px; text-align: center; padding: 24px;
}

/* Services grid (3-up cells, hover invert) */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service {
  background: var(--bg-elevated); padding: 36px 32px;
  position: relative; overflow: hidden; transition: background .4s ease;
  min-height: 300px; display: flex; flex-direction: column; justify-content: space-between;
  color: inherit;
}
.service:hover { background: var(--ink); color: var(--bg); }
.service:hover .service__num, .service:hover p { color: color-mix(in oklab, var(--bg) 80%, transparent); }
.service:hover .service__arr { transform: translate(4px, -4px); }
.service__num { font-family: var(--font-display); font-style: italic; color: var(--muted); font-size: 14px; transition: color .4s; }
.service__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; margin-bottom: 22px;
  font-size: 18px;
}
.service h3 { font-family: var(--font-display); font-size: 28px; font-weight: 400; margin: 0 0 12px; line-height: 1.1; }
.service p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; transition: color .4s; }
.service__arr { position: absolute; top: 28px; right: 28px; transition: transform .4s ease; font-size: 14px; }

/* Work showcase (alternating) */
.work-list { display: grid; gap: 18px; }
.work {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 40px; border-radius: var(--r-lg);
  background: var(--bg-elevated); border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease;
}
.work:hover { transform: translateY(-4px); box-shadow: 0 30px 80px -30px color-mix(in oklab, var(--ink) 22%, transparent); }
@media (max-width: 900px) { .work { grid-template-columns: 1fr; padding: 24px; } }
.work:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
.work:nth-child(even) .work__text { order: 2; }
@media (max-width: 900px) { .work:nth-child(even) .work__text { order: 0; } .work:nth-child(even) { grid-template-columns: 1fr; } }
.work__text .eyebrow { margin-bottom: 10px; }
.work__text h3 { font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 52px); margin: 4px 0 14px; line-height: 1.02; font-weight: 400; }
.work__text h3 em { font-style: italic; color: var(--accent); }
.work__text p { color: var(--ink-2); margin: 0 0 20px; }
.work__media {
  aspect-ratio: 16/10; border-radius: var(--r-md);
  background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 20%, transparent), transparent 60%), var(--blue-50);
  border: 1px solid var(--line); overflow: hidden; position: relative;
  display: grid; place-items: center;
  color: var(--ink-2); font-family: var(--font-display); font-style: italic; font-size: 18px; text-align: center; padding: 24px;
}
.work__media .tag {
  position: absolute; top: 16px; left: 16px;
  font-family: monospace; font-size: 10px; text-transform: uppercase; letter-spacing: .2em;
  z-index: 3; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,0.85); color: var(--ink-2); backdrop-filter: blur(8px);
}

/* Process / steps grid */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-elevated); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  position: relative; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.step__num { font-family: var(--font-display); font-style: italic; font-size: 56px; line-height: 1; color: var(--accent); opacity: .85; }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; margin: 12px 0 8px; }
.step p { font-size: 14px; color: var(--ink-2); margin: 0; }

/* Problems / pain-points */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .problems { grid-template-columns: 1fr; } }
.problem {
  padding: 28px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--bg-elevated);
  min-height: 220px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.problem:hover { transform: translateY(-6px); }
.problem::before {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--grad); opacity: .15;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s ease;
}
.problem:hover::before { transform: scale(1.4); opacity: .3; }
.problem h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 0; }
.problem__foot { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }

/* Free consultation CTA */
.consult {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: clamp(48px, 6vw, 80px);
  background: var(--ink); color: #fff;
  border-radius: var(--r-xl); position: relative; overflow: hidden;
}
@media (max-width: 900px) { .consult { grid-template-columns: 1fr; } }
.consult h2 { font-family: var(--font-display); font-size: clamp(44px, 6vw, 88px); line-height: 1; margin: 0 0 18px; font-weight: 400; }
.consult h2 em { font-style: italic; color: var(--accent-2); }
.consult p { color: rgba(255,255,255,0.75); max-width: 40ch; margin: 0 0 24px; }
.consult .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.consult .btn--ghost:hover { background: #fff; color: var(--ink); }
.consult__art {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--accent-2) 70%, transparent) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, color-mix(in oklab, var(--accent) 80%, transparent) 0%, transparent 55%);
}
.consult__art::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 40px, rgba(255,255,255,0.05) 40px 41px);
}
.consult__float {
  position: absolute; padding: 12px 16px;
  background: rgba(255,255,255,0.95); color: var(--ink);
  border-radius: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.35); z-index: 2;
  animation: floatY 6s ease-in-out infinite;
}
.consult__float .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent-2) 25%, transparent); }
.consult__float--a { top: 12%; left: 8%; }
.consult__float--b { bottom: 14%; right: 10%; animation-delay: -2s; }
.consult__float--c { top: 46%; right: 18%; animation-delay: -4s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Testimonials */
.testi { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .testi { grid-template-columns: 1fr; } }
.t-card {
  padding: 40px; border-radius: var(--r-lg);
  background: var(--bg-elevated); border: 1px solid var(--line);
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 340px;
}
.t-card .quote { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; font-weight: 400; color: var(--ink); }
.t-card .quote em { font-style: italic; color: var(--accent); }
.t-card .who { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.t-card .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-style: italic; font-size: 18px; }
.t-card .name { font-size: 14px; font-weight: 500; }
.t-card .role { font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.t-card::before { content: '"'; position: absolute; top: 16px; right: 28px; font-family: var(--font-display); font-size: 140px; color: var(--accent); line-height: 1; opacity: .15; }

/* Marquee logos */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.marquee__track { display: flex; gap: 80px; width: max-content; animation: marq 40s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.logo-chip {
  height: 48px; min-width: 140px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-size: 22px;
  color: var(--muted); white-space: nowrap; opacity: .7;
  transition: opacity .3s, color .3s;
}
.logo-chip:hover { opacity: 1; color: var(--ink); }

/* Long-form content */
.prose { max-width: 720px; margin: 0 auto; font-size: 17px; color: var(--ink-2); line-height: 1.7; }
.prose h2 { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: clamp(28px, 3vw, 42px); line-height: 1.1; margin: 48px 0 18px; }
.prose h2 em { font-style: italic; color: var(--accent); }
.prose h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: 24px; margin: 36px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 18px; }
.prose ul li, .prose ol li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* FAQ accordion */
.faq { display: grid; gap: 8px; max-width: 800px; margin: 0 auto; }
.faq__item { background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__q { width: 100%; text-align: left; padding: 22px 26px; background: transparent; border: 0; font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__q::after { content: '+'; font-size: 28px; color: var(--accent); transition: transform .3s ease; }
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 26px; max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s ease; color: var(--ink-2); font-size: 15px; }
.faq__item.open .faq__a { padding: 0 26px 22px; max-height: 800px; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.form h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 6vw, 80px); line-height: 1; margin: 10px 0 20px; }
.form h2 em { font-style: italic; color: var(--accent); }
.form p { color: var(--ink-2); max-width: 44ch; }
.form__contact { display: grid; gap: 14px; margin-top: 24px; font-size: 14px; color: var(--ink-2); }
.form__contact a { color: var(--ink); }
.form__contact a:hover { color: var(--accent); }
.f-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.f-group label { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.f-group select, .f-group input, .f-group textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 10px 0; font-family: inherit; font-size: 16px; color: var(--ink);
  outline: none; transition: border-color .3s ease;
}
.f-group select:focus, .f-group input:focus, .f-group textarea:focus { border-color: var(--accent); }
.f-group textarea { resize: vertical; min-height: 100px; }
.form__submit { margin-top: 8px; }

/* Stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-strip .stat__num { font-size: clamp(36px, 4vw, 56px); }

/* Footer */
.footer {
  background: var(--ink); color: color-mix(in oklab, var(--bg) 92%, transparent);
  padding: 80px var(--pad) 40px; margin-top: 80px;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,0.55); margin: 0 0 18px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a:hover { color: var(--accent-2); }
.footer__logo { height: 36px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer__brand p { font-size: 14px; color: rgba(255,255,255,0.65); max-width: 36ch; line-height: 1.6; }
.footer__contact { margin-top: 22px; display: grid; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); }
.footer__contact a { color: rgba(255,255,255,0.85); }
.footer__contact a:hover { color: var(--accent-2); }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.85);
  transition: background .3s, border-color .3s, color .3s;
}
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__bottom {
  max-width: var(--maxw); margin: 60px auto 0;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}
.footer__bottom a:hover { color: var(--accent-2); }
