/* ============================================================
   payercode — Healthcare Revenue & Credentialing Consulting
   Shared design system
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap');

/* ---- Tokens ---- */
:root {
  /* Brand ink / surfaces */
  --navy-950: #07061a;
  --navy-900: #0b0925;
  --navy-850: #0f0c2e;
  --navy-800: #14113a;
  --navy-700: #1b1748;

  --ink:       #181433;   /* headings on light */
  --ink-soft:  #3a3556;
  --muted:     #6f6a8a;   /* body on light */
  --muted-2:   #8b86a6;

  --on-dark:        #f4f2ff;
  --on-dark-muted:  #b7b2d8;
  --on-dark-faint:  #847fae;

  /* Light surfaces */
  --paper:     #ffffff;
  --lav-50:    #f7f6fd;
  --lav-100:   #efedfa;
  --lav-200:   #e3e0f5;
  --hairline:  #e7e4f3;
  --hairline-dark: rgba(255,255,255,.10);

  /* Accents */
  --violet:    #7c3aed;
  --violet-600:#6d28d9;
  --indigo:    #4f46e5;
  --blue:      #2f6fe3;
  --magenta:   #c026d3;
  --pink:      #d44be0;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, #7d3fb3 0%, #5b4bd6 50%, #2f8fd6 100%);
  --grad-brand-soft: linear-gradient(120deg, #8b53c9 0%, #6457e0 50%, #3ba0e0 100%);
  --grad-pink: linear-gradient(92deg, #a445c8 0%, #6a5cf2 60%, #2f9fd6 100%);
  --grad-orb: linear-gradient(140deg, #8a3fc0 0%, #5a4ee0 42%, #2f9fd6 100%);

  /* Effects */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;
  --shadow-card: 0 18px 50px -28px rgba(58,33,120,.45);
  --shadow-lift: 0 26px 70px -30px rgba(58,33,120,.55);
  --shadow-btn: 0 14px 30px -10px rgba(95,55,230,.55);

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--violet);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow.on-dark { color: #b69cff; }
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--grad-pink);
}
.text-grad { background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-blue-grad { background: linear-gradient(92deg,#6a5cf2,#2f9fd6); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -12px rgba(95,55,230,.7); }
.btn-ghost { background: transparent; color: var(--on-dark); border: 1px solid rgba(255,255,255,.22); }
.btn-ghost:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--hairline); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); }
.btn-white { background:#fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }
.btn-lg { padding: 17px 28px; font-size: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; color: var(--violet);
}
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }



/* ---- Legal pages ---- */
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 22px; margin: 34px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--muted); margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px 4px; }
.legal-body li { color: var(--muted); padding-left: 18px; position: relative; margin-bottom: 6px; }
.legal-body li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); }

/* ---- Language switcher ---- */

/* Spanish labels run longer — tighten the nav and drop the secondary CTA
   earlier so nothing overflows. The audit offer stays in the hero and CTA band. */
html[lang="es"] .nav-link { padding: 9px 9px; font-size: 14.5px; }
html[lang="es"] .nav-actions { gap: 9px; }
html[lang="es"] .nav-actions .btn { padding: 11px 14px; font-size: 13.5px; }
@media (max-width: 1599px) {
  html[lang="es"] .nav-actions .btn-ghost.nav-actions-cta { display: none; }
}

.lang-switch {
  display: inline-flex; align-items: center; flex: none;
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill); overflow: hidden;
  font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 600; line-height: 1;
}
.lang-switch a { padding: 8px 12px; color: var(--on-dark-muted); transition: color .2s, background .2s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.on { background: rgba(255,255,255,.16); color: #fff; }
.mobile-menu .lang-switch { margin-top: 6px; align-self: flex-start; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), backdrop-filter .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 76px; }
.nav.scrolled {
  background: rgba(9,7,30,.78);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(255,255,255,.08);
}
/* light pages: nav over white */
.nav.on-light { position: sticky; }
.nav.on-light:not(.scrolled) { background: rgba(255,255,255,.7); backdrop-filter: blur(14px); border-bottom-color: var(--hairline); }
.nav.on-light.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(18px); border-bottom-color: var(--hairline); box-shadow: 0 8px 30px -20px rgba(40,20,90,.4); }
.nav.on-light .nav-link, .nav.on-light .brand-word { color: var(--ink); }
.nav.on-light .nav-link:hover { color: var(--violet); }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 36px; height: 36px; flex: none; display: block;
  object-fit: contain;
}
.brand-word { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -.02em; color: #fff; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 15px; color: var(--on-dark-muted);
  padding: 9px 12px; border-radius: 10px; transition: color .2s, background .2s;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-link .caret { width: 9px; height: 9px; transition: transform .25s; opacity:.8; }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 11px 18px; font-size: 14px; }

/* Dropdown */
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: 320px; background: rgba(17,14,44,.96); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md);
  padding: 10px; box-shadow: 0 30px 70px -25px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-drop:hover .nav-link .caret { transform: rotate(180deg); }
.drop-item { display: flex; gap: 12px; padding: 11px 12px; border-radius: 11px; transition: background .18s; }
.drop-item:hover { background: rgba(255,255,255,.07); }
.drop-ico { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(124,58,237,.16); }
.drop-ico svg { width: 18px; height: 18px; stroke: #b69cff; }
.drop-tt { font-family:'Poppins',sans-serif; font-weight: 600; font-size: 14px; color: #fff; }
.drop-ds { font-size: 12.5px; color: var(--on-dark-faint); line-height: 1.4; }
.nav.on-light .dropdown { background: #fff; border-color: var(--hairline); box-shadow: var(--shadow-lift); }
.nav.on-light .drop-tt { color: var(--ink); }
.nav.on-light .drop-item:hover { background: var(--lav-50); }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 11px; place-items: center; }
.nav-toggle span { width: 20px; height: 2px; background: currentColor; position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content:""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: .25s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.on-light .nav-toggle { color: var(--ink); }
.nav-toggle { color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; background: var(--navy-900); color: var(--on-dark);
  padding-top: 150px; padding-bottom: clamp(70px, 9vw, 120px); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero-bg .g1 { width: 520px; height: 520px; right: -80px; top: 40px; background: radial-gradient(circle, rgba(124,58,237,.55), transparent 65%); }
.hero-bg .g2 { width: 420px; height: 420px; left: -120px; bottom: -120px; background: radial-gradient(circle, rgba(47,111,227,.4), transparent 65%); }
.hero-bg .ring-line { position:absolute; right: -6%; top: 8%; width: 720px; height: 720px; border-radius: 50%; border: 1px solid rgba(255,255,255,.06); }
.hero-bg .ring-line.r2 { width: 560px; height: 560px; right: 4%; top: 16%; }
.hero-pattern {
  position: absolute; inset: 0;
  background-image: url(pc-pattern.png);
  background-size: 122px auto;
  background-repeat: repeat;
  opacity: 1;
  -webkit-mask-image: linear-gradient(125deg, #000 0%, rgba(0,0,0,.4) 42%, transparent 70%);
          mask-image: linear-gradient(125deg, #000 0%, rgba(0,0,0,.4) 42%, transparent 70%);
}
.hero-watermark {
  position: absolute; right: 1.5%; top: 50%; transform: translateY(-50%) ;
  font-family:'Poppins',sans-serif; font-weight: 800; font-size: clamp(80px, 12vw, 168px);
  color: rgba(255,255,255,.035); letter-spacing: -.04em; writing-mode: vertical-rl;
  user-select: none; line-height: 1;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); font-weight: 700; letter-spacing: -.03em; color: #fff; margin-top: 22px; }
.hero h1 .line2 { color: #fff; }
.hero-sub { margin-top: 24px; font-size: clamp(16px, 1.3vw, 18.5px); color: var(--on-dark-muted); max-width: 30em; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 30px; display: inline-flex; align-items: center; gap: 11px; font-size: 14px; color: var(--on-dark-faint); }
.hero-trust .seal { width: 26px; height: 26px; border-radius: 8px; background: rgba(124,58,237,.18); display: grid; place-items:center; }
.hero-trust .seal svg { width: 14px; height: 14px; stroke: #b69cff; }

/* Orb */
.orb-wrap { position: relative; display: grid; place-items: center; min-height: 440px; }
.orb {
  position: relative; width: min(420px, 80%); aspect-ratio: 1;
  animation: orbFloat 9s ease-in-out infinite;
}
@keyframes orbFloat { 0%,100%{ transform: translateY(0); } 50% { transform: translateY(-16px); } }
.orb-ring { position: absolute; inset: 0; animation: orbSpin 26s linear infinite; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
.orb-disc {
  position: absolute; inset: 13%; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.16), rgba(255,255,255,.04) 60%, rgba(124,58,237,.10));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 30px rgba(255,255,255,.10), 0 40px 90px -30px rgba(95,55,230,.7);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
}
.orb-logo {
  width: 52%; height: 52%; display: block; object-fit: contain;
  filter: drop-shadow(0 10px 28px rgba(47,111,227,.45));
}
/* light-background disc variant (e.g. problem section) */
.orb-disc-light {
  background: radial-gradient(circle at 32% 28%, #ffffff, #f4f1fd 62%, #ece7fb);
  border: 1px solid rgba(124,58,237,.14);
  box-shadow: inset 0 1px 24px rgba(255,255,255,.7), 0 34px 70px -26px rgba(95,55,230,.4);
  backdrop-filter: none;
}
.orb-disc-light .orb-logo { filter: drop-shadow(0 8px 20px rgba(95,55,230,.22)); }
.orb-dot { position: absolute; top: -4%; left: 50%; transform: translateX(-50%); width: 23%; aspect-ratio: 1; border-radius: 50%; background: var(--grad-orb); box-shadow: 0 20px 50px -10px rgba(124,58,237,.7); animation: orbFloat 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .orb, .orb-ring, .orb-dot { animation: none; } }

/* ============================================================
   PAYER WALL
   ============================================================ */
.payers { background: #fff; padding-block: 46px; border-bottom: 1px solid var(--hairline); }
.payers-label { text-align: center; font-family:'Poppins',sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.payers-row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.payer {
  display: inline-flex; align-items: center; gap: 11px; color: #9a96ad;
  font-family:'Poppins',sans-serif; font-weight: 700; font-size: clamp(17px, 1.7vw, 22px); letter-spacing: -.01em;
  filter: grayscale(1); opacity: .72; transition: opacity .25s, filter .25s, color .25s;
}
.payer:hover { opacity: 1; filter: grayscale(0); color: var(--ink); }
.payer .pmark { width: 26px; height: 26px; flex: none; }
.payer small { display:block; font-size: 11px; font-weight: 600; letter-spacing: .02em; line-height: 1; opacity:.85; }

/* ============================================================
   WHAT WE DO
   ============================================================ */
.split-head { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feature {
  text-align: center; padding: 8px clamp(14px, 1.6vw, 24px); position: relative;
}
.feature + .feature::before { content:""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: var(--hairline); }
.feature-ico {
  width: 86px; height: 86px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; background: #fff;
  box-shadow: 0 16px 36px -18px rgba(95,55,230,.4), inset 0 0 0 1px var(--hairline);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover .feature-ico { transform: translateY(-6px); box-shadow: 0 26px 50px -18px rgba(95,55,230,.55), inset 0 0 0 1px rgba(124,58,237,.3); }
.feature-ico svg { width: 34px; height: 34px; stroke: var(--violet); }
.feature h3 { font-size: 19px; margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--muted); max-width: 22ch; margin-inline: auto; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { background: linear-gradient(180deg, #fbfaff 0%, #f3f1fc 100%); overflow: hidden; }
.problem-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.problem h2 { font-size: clamp(28px, 3.4vw, 44px); }
.issues { margin-top: 32px; display: grid; gap: 14px; }
.issue {
  display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--hairline);
  padding: 16px 18px; border-radius: var(--r-md); box-shadow: var(--shadow-card);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.issue:hover { transform: translateX(6px); box-shadow: var(--shadow-lift); }
.issue-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; box-shadow: var(--shadow-btn); }
.issue-ico svg { width: 22px; height: 22px; stroke: #fff; }
.issue p { font-family:'Poppins',sans-serif; font-weight: 500; font-size: 15px; color: var(--ink); line-height: 1.35; }
.problem-aside { position: relative; }
.problem-orb { position: relative; display: grid; place-items: center; min-height: 320px; }
.problem-note {
  margin-top: 8px; max-width: 24ch; margin-left: auto; text-align: right;
  font-size: 15px; color: var(--ink-soft);
}
.problem-orb .orb { width: min(330px, 84%); }

/* ============================================================
   CORE SERVICES
   ============================================================ */
.services-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.svc {
  padding: 4px clamp(16px,2vw,30px); position: relative;
  transition: transform .3s var(--ease);
}
.svc + .svc::before { content:""; position:absolute; left:0; top: 8px; bottom: 8px; width:1px; background: var(--hairline); }
.svc:hover { transform: translateY(-6px); }
.svc-num { font-family:'Poppins',sans-serif; font-weight: 700; font-size: clamp(44px, 5vw, 64px); line-height: 1; background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.04em; }
.svc h3 { font-size: 20px; margin: 18px 0 12px; }
.svc p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--navy-850); color: var(--on-dark); overflow: hidden; position: relative; }
.how-bg { position: absolute; inset: 0; pointer-events:none; }
.how-bg .ring { position:absolute; border-radius:50%; border: 1.5px solid rgba(255,255,255,.05); }
.how-bg .ring.a { width: 520px; height: 520px; right: -120px; top: -160px; }
.how-bg .ring.b { width: 360px; height: 360px; right: -60px; top: -40px; border-color: rgba(124,58,237,.12); }
.how-bg .ring.c { width: 480px; height: 480px; left: -180px; bottom: -220px; }
.how .eyebrow { color: #b69cff; }
.how h2 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); }
.how-top { display: grid; grid-template-columns: minmax(260px, 320px) 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.timeline { position: relative; margin-top: 8px; }
.timeline-track { position: absolute; top: 27px; left: 7%; right: 7%; height: 2px; background: linear-gradient(90deg, #7c3aed, #4f46e5, #2f6fe3); opacity:.5; }
.timeline-nodes { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.node-head { display: grid; place-items: center; }
.node-circle {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family:'Poppins',sans-serif; font-weight: 700; font-size: 20px; color: #fff;
  background: var(--navy-700); border: 2px solid rgba(124,58,237,.5);
  box-shadow: 0 0 0 6px rgba(124,58,237,.08);
}
.node:nth-child(-n+3) .node-circle { background: var(--grad-brand); border-color: transparent; box-shadow: 0 14px 30px -10px rgba(124,58,237,.6); }
.node { padding-inline: clamp(10px, 1.4vw, 22px); }
.node-body { margin-top: 26px; text-align: left; }
.node-body h4 { font-size: 19px; color: #fff; margin-bottom: 10px; }
.node-body p { font-size: 14px; color: var(--on-dark-muted); }

/* ============================================================
   SPECIALTIES
   ============================================================ */
.spec-head { max-width: 620px; }
.spec-head h2 { font-size: clamp(26px, 3.2vw, 40px); }
.spec-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.spec { }
.spec-photo {
  aspect-ratio: 4/5; border-radius: var(--r-md); overflow: hidden; position: relative;
  background:
    repeating-linear-gradient(135deg, #e9e6f6 0 10px, #e3dff3 10px 20px);
  box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.spec:hover .spec-photo { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.spec-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.spec:hover .spec-img { transform: scale(1.04); }
.spec-photo .ph-tag {
  position: absolute; left: 10px; bottom: 10px; font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 10px; letter-spacing: .04em; color: #8b86a6; background: rgba(255,255,255,.82);
  padding: 4px 8px; border-radius: 6px;
}
.spec-photo .ph-ico { position: absolute; inset: 0; display: grid; place-items: center; opacity:.5; }
.spec-photo .ph-ico svg { width: 40px; height: 40px; stroke: #b3acd0; }
.spec-label { margin-top: 14px; display: flex; align-items: center; gap: 9px; }
.spec-chip { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; }
.spec-chip svg { width: 13px; height: 13px; stroke: #fff; }
.spec-label span { font-family:'Poppins',sans-serif; font-weight: 600; font-size: 13.5px; color: var(--ink); line-height: 1.2; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.cta-band .cta-bg { position: absolute; inset: 0; pointer-events:none; }
.cta-band .cta-glow { position:absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 560px; height: 560px; border-radius:50%; background: radial-gradient(circle, rgba(124,58,237,.4), transparent 60%); filter: blur(40px); }
.cta-band .cta-ring { position:absolute; left: 22%; top: 50%; transform: translate(-50%,-50%); width: 320px; height: 320px; border-radius:50%; border: 1px solid rgba(255,255,255,.08); }
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); max-width: 14ch; }
.cta-inner p { color: var(--on-dark-muted); margin-top: 12px; max-width: 38ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-950); color: var(--on-dark-muted); padding-block: 64px 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.footer-brand .brand-word { color: #fff; }
.footer-tag { margin-top: 16px; font-size: 14px; color: var(--on-dark-faint); max-width: 22ch; }
.footer h5 { font-family:'Poppins',sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { display: grid; gap: 11px; }
.footer a { font-size: 14px; color: var(--on-dark-muted); transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .contact-li { display: flex; align-items: center; gap: 10px; }
.footer .contact-li svg { width: 15px; height: 15px; stroke: #b69cff; flex: none; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-bottom p { font-size: 13px; color: var(--on-dark-faint); }
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; transition: background .2s, border-color .2s, transform .2s; }
.socials a:hover { background: rgba(124,58,237,.2); border-color: rgba(124,58,237,.5); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; stroke: #fff; fill: none; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.shown { opacity: 1 !important; transform: none !important; transition: none !important; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .nav-actions .btn-ghost.nav-actions-cta { display: none; }
}
@media (max-width: 980px) {
  .nav-menu, .nav-actions .btn-secondary-hide { display: none; }
  .nav-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .orb-wrap { min-height: 300px; }
  .split-head { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .feature:nth-child(2)::before, .feature + .feature::before { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-aside { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .svc:nth-child(3)::before { display: none; }
  .how-top { grid-template-columns: 1fr; }
  .timeline-track { display: none; }
  .timeline-nodes { grid-template-columns: 1fr; gap: 28px; }
  .node { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
  .node-body { margin-top: 4px; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature + .feature::before { display:none; }
  .services-grid { grid-template-columns: 1fr; }
  .svc + .svc::before { display:none; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .payers-row { justify-content: center; gap: 22px 30px; }
  .nav-actions .nav-actions-cta { display:none; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   SUB-PAGE HERO
   ============================================================ */
.page-hero { position: relative; background: var(--navy-900); color: var(--on-dark); padding-top: 150px; padding-bottom: 70px; overflow: hidden; }
.page-hero .hero-bg .g1 { width: 460px; height: 460px; right: 6%; top: -40px; }
.page-hero .ring-line { right: -4%; top: -30%; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); margin-top: 18px; max-width: 16ch; }
.page-hero p { margin-top: 20px; font-size: 18px; color: var(--on-dark-muted); max-width: 52ch; }
.crumbs { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-dark-faint); }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 12px; height: 12px; }

/* ============================================================
   SERVICE DETAIL ROWS
   ============================================================ */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-detail.flip .svc-detail-media { order: -1; }
.svc-detail + .svc-detail { margin-top: clamp(56px, 8vw, 96px); }
.svc-tag { display: inline-flex; align-items: center; gap: 10px; font-family:'Poppins',sans-serif; font-weight:700; font-size:14px; color: var(--violet); }
.svc-tag .n { font-size: 13px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-100); color: var(--violet); }
.svc-detail h2 { font-size: clamp(26px, 3vw, 38px); margin: 16px 0; }
.svc-detail > div > p { color: var(--muted); font-size: 16px; max-width: 46ch; }
.checks { margin: 24px 0 28px; display: grid; gap: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.check svg { width: 20px; height: 20px; flex: none; margin-top: 1px; stroke: #fff; background: var(--grad-brand); border-radius: 50%; padding: 4px; }
.svc-detail-media {
  position: relative; aspect-ratio: 5/4; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(140deg, #1a1646, #2b2170); box-shadow: var(--shadow-lift);
  display: grid; place-items: center;
}
.svc-detail-media .m-orb { width: 64%; }
.svc-media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-detail-media .m-tag { position: absolute; left: 16px; bottom: 14px; font-family: ui-monospace, monospace; font-size: 11px; color: rgba(255,255,255,.5); }
.ideal { margin-top: 26px; }
.ideal h5 { font-family:'Poppins',sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.ideal-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ideal-tags span { font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: var(--r-pill); background: var(--lav-50); border: 1px solid var(--hairline); color: var(--ink-soft); }

.alt { background: linear-gradient(180deg,#fbfaff,#f4f2fc); }

/* fee callout */
.fee-card { margin-top: 24px; display: inline-flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: var(--r-md); background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-btn); }
.fee-card .big { font-family:'Poppins',sans-serif; font-weight: 700; font-size: 26px; line-height: 1; }
.fee-card small { display:block; font-size: 12.5px; opacity: .85; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-lead { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px,5vw,72px); align-items: start; }
.about-lead h2 { font-size: clamp(26px,3vw,40px); }
.about-lead p { color: var(--muted); font-size: 17px; margin-top: 18px; }
.values { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--hairline); box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.value-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--grad-brand); display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--shadow-btn); }
.value-ico svg { width: 24px; height: 24px; stroke: #fff; }
.value h3 { font-size: 19px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 14.5px; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 16px; }
.stat { padding: 26px; border-radius: var(--r-md); background: rgba(124,58,237,.06); border: 1px solid var(--hairline); }
.stat .num { font-family:'Poppins',sans-serif; font-weight: 700; font-size: 36px; background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px,5vw,64px); align-items: start; }
.contact-info h2 { font-size: clamp(26px,3vw,40px); }
.contact-info > p { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 40ch; }
.info-list { margin-top: 32px; display: grid; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: center; }
.info-item .i-ico { width: 46px; height: 46px; flex:none; border-radius: 12px; background: var(--lav-100); display: grid; place-items: center; }
.info-item .i-ico svg { width: 20px; height: 20px; stroke: var(--violet); }
.info-item .i-t { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-family:'Poppins',sans-serif; font-weight:600; }
.info-item .i-v { font-family:'Poppins',sans-serif; font-weight: 600; font-size: 16px; color: var(--ink); }

.form-card { background: #fff; border: 1px solid var(--hairline); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-lift); position: relative; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family:'Poppins',sans-serif; font-weight: 500; font-size: 13.5px; color: var(--ink-soft); }
.field label .req { color: var(--magenta); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15px; padding: 13px 15px; border-radius: var(--r-sm);
  border: 1px solid var(--hairline); background: var(--lav-50); color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #e0457a; background: #fff5f8; }
.form-foot { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .btn { flex: none; }
.form-status { font-size: 13.5px; color: var(--muted); }
.form-status.err { color: #d63268; }
[data-contact-form].sent .form-grid, [data-contact-form].sent .form-foot { display: none; }
.sent-msg { display: none; text-align: center; padding: 20px 0; }
[data-contact-form].sent .sent-msg { display: block; }
.sent-msg .sent-ico { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; margin: 0 auto 18px; box-shadow: var(--shadow-btn); }
.sent-msg .sent-ico svg { width: 30px; height: 30px; stroke: #fff; }
.sent-msg h3 { font-size: 24px; margin-bottom: 10px; }
.sent-msg p { color: var(--muted); }

@media (max-width: 860px) {
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail.flip .svc-detail-media, .svc-detail-media { order: 0; }
  .about-lead { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(9,7,30,.98); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; padding: 100px var(--gutter) 40px; gap: 6px;
  transform: translateY(-100%); transition: transform .4s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a { font-family:'Poppins',sans-serif; font-weight: 600; font-size: 22px; color: #fff; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu .btn { margin-top: 22px; justify-content: center; }
