/* ==========================================================================
   Miami Plastic Surgery Billing Pros — styles.css
   Mobile-first. Breakpoints: 640 / 768 / 1024 / 1280.
   Signature element: contour lines (see .contour, .hero__contours).
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Primary: navy scale (900 = brand #0B2545) */
  --p-50: #EEF3FA;
  --p-100: #D8E3F2;
  --p-200: #B3C7E3;
  --p-300: #85A3CD;
  --p-400: #577EB3;
  --p-500: #3A6199;
  --p-600: #2A4A7A;
  --p-700: #1C3F6E;
  --p-800: #132D52;
  --p-900: #0B2545;

  /* Accent: orange (CTAs + highlights only) */
  --a-50: #FFF4EC;
  --a-100: #FFE3CC;
  --a-300: #FDBA74;
  --a-400: #FB923C;
  --a-500: #F97316;
  --a-600: #EA580C;
  --a-700: #C2410C;

  --dark: #061528;
  --dark-2: #0A1C35;
  --off: #F8F7F4;
  --white: #FFFFFF;
  --border: #E3E8EF;
  --border-strong: #CBD5E1;

  --ink: #0B2545;
  --text: #33445C;       /* body text on light — 9.6:1 on white */
  --muted: #5A6A80;      /* 5.6:1 on white */
  --on-dark: #E6EDF7;
  --on-dark-muted: #A9B8CE;

  --ok: #0F7B5F;
  --warn: #B45309;

  --font-head: "Poppins", "Inter", ui-sans-serif, sans-serif;
  --font-body: "Inter", "Poppins", ui-sans-serif, sans-serif;

  --fs-h1: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);     /* 34px mobile → 56px desktop */
  --fs-h2: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem);    /* 26px → 36px */
  --fs-h3: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem); /* 18px → 22px */
  --fs-body: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --pill: 999px;

  --sh-1: 0 1px 2px rgba(11, 37, 69, .06), 0 1px 1px rgba(11, 37, 69, .04);
  --sh-2: 0 1px 2px rgba(11, 37, 69, .05), 0 8px 24px -8px rgba(11, 37, 69, .14), 0 2px 6px rgba(11, 37, 69, .05);
  --sh-3: 0 2px 4px rgba(11, 37, 69, .06), 0 24px 48px -16px rgba(11, 37, 69, .24), 0 8px 16px -8px rgba(11, 37, 69, .10);
  --glow: 0 8px 24px -6px rgba(249, 115, 22, .55), 0 2px 6px rgba(249, 115, 22, .25);

  --gutter: 20px;
  --maxw: 1240px;
  --sec-pad: 64px;
  --header-h: 72px;
  --callbar-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --sec-pad: 96px; --header-h: 80px; } }

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--p-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--a-700); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 600; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; line-height: 1.04; }
h2 { font-size: var(--fs-h2); font-weight: 700; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
::selection { background: var(--a-100); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--a-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }

.section { position: relative; padding-block: var(--sec-pad); isolation: isolate; }
.section--white { background: var(--white); }
.section--off { background: var(--off); }
.section--tint { background: var(--p-50); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: #fff; }
.section--dark a:not(.btn) { color: var(--a-300); }
.section--dark a:not(.btn):hover { color: #fff; }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 880px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-xs); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--a-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--a-500), var(--a-300));
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--a-300); }
.section-head--center .eyebrow::after {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--a-300), var(--a-500));
}

.lead { font-size: clamp(1.0625rem, 1.02rem + .25vw, 1.1875rem); line-height: 1.6; color: var(--muted); }
.section--dark .lead { color: var(--on-dark-muted); }

.prose { max-width: 68ch; }
.prose h3 { margin-top: 1.8em; }
.prose > *:last-child { margin-bottom: 0; }
.prose ul li::marker { color: var(--a-500); }
.prose a { font-weight: 500; }

.answer {
  font-size: clamp(1.0625rem, 1.03rem + .2vw, 1.1875rem);
  line-height: 1.65; color: var(--ink);
  padding-left: 20px; border-left: 3px solid var(--a-500);
}

/* ---------- 4. Dividers + contour lines ---------- */
.divider {
  position: absolute; left: 0; right: 0; width: 100%; height: clamp(40px, 6vw, 88px);
  pointer-events: none; z-index: 1;
}
.divider--top { top: -1px; }
.divider--bottom { bottom: -1px; transform: rotate(180deg); }
.divider svg { width: 100%; height: 100%; display: block; }
.divider path { fill: currentColor; }
.divider--white { color: var(--white); }
.divider--off { color: var(--off); }
.divider--tint { color: var(--p-50); }
.divider--dark { color: var(--dark); }
.section--angle-top { clip-path: polygon(0 clamp(24px, 4vw, 64px), 100% 0, 100% 100%, 0 100%); margin-top: calc(clamp(24px, 4vw, 64px) * -1); padding-top: calc(var(--sec-pad) + clamp(24px, 4vw, 64px)); }

.contour {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.contour svg { position: absolute; width: 140%; max-width: none; height: auto; right: -20%; top: 50%; transform: translateY(-50%); }
.contour path { fill: none; stroke: var(--p-200); stroke-width: 1; opacity: .55; }
.contour path.is-accent { stroke: var(--a-300); opacity: .6; }
.section--dark .contour path { stroke: var(--p-600); opacity: .45; }
.section--dark .contour path.is-accent { stroke: var(--a-600); opacity: .5; }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--a-500);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: var(--pill); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  width: 100%;
}
@media (min-width: 640px) { .btn { width: auto; } }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary {
  background: var(--a-500); color: var(--p-900);
  box-shadow: var(--glow);
}
.btn--primary:hover { background: var(--a-400); color: var(--p-900); transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(249, 115, 22, .65), 0 2px 6px rgba(249, 115, 22, .3); }
.btn--primary:active { transform: translateY(0); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); background: var(--white); transform: translateY(-2px); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .9375rem; }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 1.0625rem; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; } }

.card-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-family: var(--font-head); font-weight: 600; font-size: .9375rem;
  color: var(--ink); text-decoration: none;
}
.card-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); color: var(--a-600); }
.card-link:hover { color: var(--a-700); }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- 6. Icons ---------- */
.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-box {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--p-50); color: var(--p-700);
  box-shadow: inset 0 0 0 1px rgba(11, 37, 69, .06);
}
.icon-box .icon { width: 24px; height: 24px; }
.icon-box--sm { width: 40px; height: 40px; border-radius: 11px; }
.icon-box--sm .icon { width: 20px; height: 20px; }
.icon-box--accent { background: var(--a-50); color: var(--a-700); }
.section--dark .icon-box, .icon-box--dark { background: rgba(255, 255, 255, .07); color: var(--a-300); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* ---------- 7. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -12px rgba(11, 37, 69, .18); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.nav__logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; position: relative; z-index: 120; }
.nav__logo img { width: 208px; height: auto; }
@media (min-width: 1280px) { .nav__logo img { width: 240px; } }

.nav__toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; border: 1px solid var(--border); background: var(--white); color: var(--ink);
  cursor: pointer; position: relative; z-index: 120;
}
.nav__toggle .bar { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background .2s; }
.nav__toggle .bar::before, .nav__toggle .bar::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav__toggle .bar::before { top: -6px; }
.nav__toggle .bar::after { top: 6px; }
.nav__toggle[aria-expanded="true"] .bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .bar::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .bar::after { top: 0; transform: rotate(-45deg); }

/* Mobile: full-screen panel */
.nav__panel {
  position: fixed; inset: 0; z-index: 110;
  background: var(--dark);
  padding: calc(var(--header-h) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.nav__panel.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
body.nav-open { overflow: hidden; }
body.nav-open .nav__toggle { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }
.nav__menu { list-style: none; margin: 0; padding: 0; }
.nav__item { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav__link, .nav__sub-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 56px; padding: 8px 0;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em;
  color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left;
}
.nav__link:hover, .nav__sub-toggle:hover { color: var(--a-300); }
.nav__sub-toggle .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__dropdown { list-style: none; margin: 0; padding: 0 0 12px; display: none; }
.nav__dropdown.is-open { display: grid; }
.nav__dropdown a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0;
  color: var(--on-dark-muted); text-decoration: none; font-size: 1rem;
}
.nav__dropdown a:hover { color: #fff; }
.nav__dropdown a .icon { width: 20px; height: 20px; color: var(--a-400); }
.nav__dropdown li { margin: 0; }
.nav__cta { margin-top: 28px; }
.nav__cta .btn { width: 100%; }
.nav__cta-note { margin-top: 12px; font-size: var(--fs-xs); color: var(--on-dark-muted); text-align: center; }
.nav__header-call { display: none; }
.nav__logo .logo--light { display: none; }
body.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--dark); border-bottom-color: transparent; }
body.nav-open .nav__logo .logo--dark { display: none; }
body.nav-open .nav__logo .logo--light { display: block; }

/* Desktop nav */
@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav__panel {
    position: static; inset: auto; padding: 0; background: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none; display: flex; align-items: center; gap: 28px;
  }
  .nav__menu { display: flex; align-items: center; gap: 4px; }
  .nav__item { border: 0; position: relative; }
  .nav__link, .nav__sub-toggle {
    min-height: 44px; padding: 8px 14px; border-radius: var(--pill);
    font-size: .9375rem; font-weight: 500; color: var(--ink); gap: 6px; width: auto;
  }
  .nav__link:hover, .nav__sub-toggle:hover, .nav__sub-toggle[aria-expanded="true"] { color: var(--ink); background: var(--p-50); }
  .nav__link[aria-current="page"] { color: var(--a-700); }
  .nav__sub-toggle .icon { width: 16px; height: 16px; }
  .nav__dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
    min-width: 300px; padding: 10px; display: grid;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
    box-shadow: var(--sh-3);
    opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s var(--ease), visibility 0s linear .18s;
  }
  .nav__dropdown--wide { grid-template-columns: 1fr 1fr; min-width: 560px; }
  .nav__dropdown.is-open, .nav__item:hover > .nav__dropdown, .nav__item:focus-within > .nav__dropdown {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s;
  }
  .nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav__dropdown a { color: var(--text); padding: 8px 12px; border-radius: var(--r-sm); font-size: .9375rem; }
  .nav__dropdown a:hover { color: var(--ink); background: var(--p-50); }
  .nav__dropdown a .icon { width: 18px; height: 18px; color: var(--p-400); }
  .nav__cta { margin: 0; }
  .nav__cta .btn { width: auto; }
  .nav__cta-note { display: none; }
}

/* ---------- 8. Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
  padding-block: 48px 72px;
}
@media (min-width: 1024px) { .hero { padding-block: 72px 128px; } }
.hero__mesh {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(58, 97, 153, .55) 0%, transparent 60%),
    radial-gradient(45% 50% at 70% 85%, rgba(249, 115, 22, .28) 0%, transparent 65%),
    radial-gradient(55% 60% at 5% 10%, rgba(28, 63, 110, .9) 0%, transparent 70%),
    radial-gradient(40% 40% at 30% 100%, rgba(87, 126, 179, .25) 0%, transparent 70%),
    linear-gradient(160deg, #0B2545 0%, #061528 70%);
}
.hero__grain, .grain::after {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain { position: relative; isolation: isolate; }
.grain::after { content: ""; }
.hero__contours { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.hero__contours svg { position: absolute; width: 1600px; max-width: none; left: 50%; top: 0; transform: translateX(-35%); }
.hero__contours path { fill: none; stroke: rgba(133, 163, 205, .16); stroke-width: 1; }
.hero__contours path.is-accent { stroke: rgba(249, 115, 22, .35); stroke-width: 1.25; }

.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.hero__content { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__lead { font-size: clamp(1.0625rem, 1.02rem + .25vw, 1.1875rem); line-height: 1.6; color: var(--on-dark); max-width: 58ch; margin-bottom: 28px; }
.hero__fine { font-size: var(--fs-xs); color: var(--on-dark-muted); margin: 16px 0 0; max-width: 60ch; line-height: 1.55; }
.hero__fine a { color: var(--on-dark); }

/* Highlighted key phrase */
.hl {
  position: relative; white-space: nowrap;
  background: linear-gradient(95deg, var(--a-300) 0%, var(--a-500) 55%, #FF9A4D 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.06em; height: .14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9C40 3 90 2 198 6' fill='none' stroke='%23F97316' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  opacity: .9;
}
.hl--wrap { white-space: normal; }
h1 .hl::after { display: none; }
.page-hero .hl, .section:not(.section--dark) .hl { background: none; -webkit-background-clip: initial; background-clip: initial; color: inherit; }
.page-hero .hl { color: var(--a-300); }

/* Trust chips */
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0;
  padding: 8px 14px 8px 10px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  font-size: var(--fs-xs); font-weight: 500; color: var(--on-dark); line-height: 1.3;
}
.trust-chip .icon { width: 16px; height: 16px; color: var(--a-400); }
.trust-row--light .trust-chip { background: var(--white); border-color: var(--border); color: var(--ink); box-shadow: var(--sh-1); }
.trust-row--light .trust-chip .icon { color: var(--a-600); }

/* Hero visual + glass cards */
.hero__visual { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
@media (min-width: 768px) { .hero__visual { max-width: 560px; } }
@media (min-width: 1024px) { .hero__visual { max-width: none; } }
.hero__scene { width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .35)); }
.glass-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(11, 37, 69, .72);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .15);
  color: #fff; max-width: 260px;
  animation: floaty 7s ease-in-out infinite;
}
.glass-card .icon-box { width: 40px; height: 40px; border-radius: 12px; background: rgba(249, 115, 22, .18); color: var(--a-300); box-shadow: none; }
.glass-card .icon-box .icon { width: 20px; height: 20px; }
.glass-card__label { display: block; white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: .875rem; line-height: 1.25; }
.glass-card__meta { display: block; font-size: .75rem; color: var(--on-dark-muted); line-height: 1.3; margin-top: 2px; }
.glass-card--a { top: 6%; left: -2%; }
.glass-card--b { top: 44%; right: -3%; animation-delay: -2.4s; }
.glass-card--c { bottom: 4%; left: 8%; animation-delay: -4.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 639px) {
  .glass-card { padding: 8px 12px 8px 8px; gap: 8px; max-width: 180px; border-radius: 14px; }
  .glass-card .icon-box { width: 30px; height: 30px; border-radius: 9px; }
  .glass-card .icon-box .icon { width: 16px; height: 16px; }
  .glass-card__label { font-size: .75rem; }
  .glass-card__meta, .glass-card--c { display: none; }
  .glass-card--a { left: 0; top: 2%; }
  .glass-card--b { right: 0; }
}

/* ---------- 9. Inner page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--dark); color: var(--on-dark);
  padding-block: 32px 64px;
}
@media (min-width: 1024px) { .page-hero { padding-block: 40px 96px; } }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); max-width: 22ch; } /* 32px → 48px */
.page-hero .lead { color: var(--on-dark); max-width: 62ch; }
.page-hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .page-hero__grid { grid-template-columns: 1.3fr .7fr; gap: 56px; } }
.page-hero__art { max-width: 360px; margin-inline: auto; width: 100%; }
.page-hero__art.area-map { max-width: 420px; }
@media (max-width: 1023px) { .page-hero__art { max-width: 220px; } }
@media (max-width: 639px) { .page-hero__art { max-width: 160px; } }

.breadcrumbs { margin: -8px 0 16px; font-size: var(--fs-xs); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-muted); }
.breadcrumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; margin-right: 4px; }
.breadcrumbs a { color: var(--on-dark); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.breadcrumbs a:hover { color: var(--a-300); }
.breadcrumbs [aria-current] { color: var(--a-300); }

/* ---------- 10. Cards ---------- */
.card {
  position: relative; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px; box-shadow: var(--sh-2);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--p-200); }
.card h3 { margin-top: 18px; margin-bottom: 10px; }
.card p { font-size: var(--fs-sm); color: var(--muted); }
.card > *:last-child { margin-bottom: 0; }
.section--dark .card { background: var(--dark-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.section--dark .card p { color: var(--on-dark-muted); }
.section--dark .card:hover { border-color: rgba(249, 115, 22, .45); }
.section--dark .card .card-link { color: #fff; }

/* Bento grid */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  .bento__card--xl { grid-column: span 2; grid-row: span 2; }
  .bento__card--wide { grid-column: span 2; }
  .bento__card--tall { grid-row: span 2; }
}
.bento__card { display: flex; flex-direction: column; overflow: hidden; }
.bento__card .card-link { margin-top: auto; padding-top: 12px; }
.bento__card--xl {
  background: linear-gradient(155deg, var(--p-900) 0%, var(--dark) 100%);
  border-color: transparent; color: var(--on-dark);
}
.bento__card--xl h3 { color: #fff; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); }
.bento__card--xl p { color: var(--on-dark-muted); font-size: 1rem; }
.bento__card--xl .card-link { color: #fff; }
.bento__card--xl .icon-box { background: rgba(249, 115, 22, .16); color: var(--a-300); box-shadow: none; }
.bento__card--xl .card-link { margin-top: 0; }
.bento__card--xl .bento__art { margin: auto -28px -28px auto; padding-top: 24px; width: 88%; opacity: .95; }
.bento__card--xl .checklist { margin: 4px 0 20px; font-size: var(--fs-sm); color: var(--on-dark); }
.bento__card--xl .checklist li::before { background-color: rgba(255, 255, 255, .1); }
.bento__card--accent { background: var(--a-50); border-color: var(--a-100); }
.bento__card--tint { background: var(--p-50); border-color: var(--p-100); }
.bento__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 12px; padding: 0; list-style: none; }
.bento__tags li { margin: 0; font-size: .75rem; font-weight: 500; padding: 4px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .08); color: var(--on-dark); border: 1px solid rgba(255, 255, 255, .12); }

/* Generic grids */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 11. Revenue leak checker ---------- */
.checker { display: grid; gap: 14px; }
@media (min-width: 768px) { .checker { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1280px) { .checker { grid-template-columns: repeat(3, 1fr); } }
.checker__card {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 20px; border-radius: var(--r); text-decoration: none;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--sh-1);
  transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
  color: var(--text);
}
.checker__card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--a-300); color: var(--text); }
.checker__sign { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1rem; line-height: 1.35; margin-bottom: 6px; }
.checker__why { display: block; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }
.checker__fix {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--a-700);
}
.checker__fix .icon { width: 14px; height: 14px; transition: transform .2s; }
.checker__card:hover .checker__fix .icon { transform: translateX(3px); }
.checker__card .icon-box { background: var(--a-50); color: var(--a-700); width: 44px; height: 44px; border-radius: 12px; }

/* ---------- 12. Split sections ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--reverse .split__media { order: -1; }
  .split--top { align-items: start; }
}
.split__media { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.split__media--card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-3); }

/* ---------- 13. Callouts ---------- */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 14px;
  margin: 28px 0; padding: 20px 22px; border-radius: 16px;
  border: 1px solid var(--border); border-left: 4px solid var(--p-500);
  background: var(--white); box-shadow: var(--sh-1);
  max-width: 68ch;
}
.callout__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; }
.callout__icon .icon { width: 20px; height: 20px; }
.callout__title { display: block; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .9375rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.callout p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }
.callout p + p { margin-top: .6em; }
.callout--tip { border-left-color: var(--ok); background: linear-gradient(90deg, #EEF8F4, var(--white) 60%); }
.callout--tip .callout__icon { background: #D9F0E7; color: var(--ok); }
.callout--warn { border-left-color: var(--a-500); background: linear-gradient(90deg, var(--a-50), var(--white) 60%); }
.callout--warn .callout__icon { background: var(--a-100); color: var(--a-700); }
.callout--info .callout__icon { background: var(--p-50); color: var(--p-600); }

/* ---------- 14. Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; left: 36px; top: 40px; bottom: 40px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--a-400) 0 8px, transparent 8px 16px);
  opacity: .55;
}
.process__step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 20px; margin: 0; align-items: start; }
.process__num {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border); box-shadow: var(--sh-2);
  font-family: var(--font-head); font-weight: 800; font-size: 2.25rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--a-600);
  position: relative; z-index: 1;
}
.process__step h3 { margin: 8px 0 8px; }
.process__step p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.section--dark .process__num { background: var(--dark-2); border-color: rgba(255, 255, 255, .1); -webkit-text-stroke-color: var(--a-400); box-shadow: 0 0 0 6px rgba(249, 115, 22, .06); }
.section--dark .process__step p { color: var(--on-dark-muted); }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .process--5 { grid-template-columns: repeat(5, 1fr); }
  .process::before { left: 48px; right: 48px; top: 52px; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(to right, var(--a-400) 0 8px, transparent 8px 16px); }
  .process__step { grid-template-columns: 1fr; gap: 20px; }
  .process__step h3 { min-height: 2.5em; }
  .process__num { width: 104px; height: 104px; font-size: 3.5rem; -webkit-text-stroke-width: 2px; }
}

/* ---------- 15. Tables ---------- */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--r); background: var(--white); box-shadow: var(--sh-2);
}
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 0; }
.data-table caption { text-align: left; padding: 18px 20px 0; font-size: var(--fs-xs); color: var(--muted); caption-side: bottom; padding-bottom: 16px; }
.data-table th, .data-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); line-height: 1.55; }
.data-table thead th { background: var(--p-900); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .875rem; letter-spacing: 0; white-space: nowrap; }
.data-table tbody th { color: var(--ink); font-weight: 600; font-family: var(--font-head); }
.data-table tbody tr:nth-child(even) { background: var(--off); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.tag { display: inline-block; padding: 3px 10px; border-radius: var(--pill); font-size: .75rem; font-weight: 600; background: var(--p-50); color: var(--p-700); white-space: nowrap; }
.tag--up { background: var(--a-50); color: var(--a-700); }
.tag--down { background: #E7F5EF; color: var(--ok); }
@media (max-width: 639px) {
  .table-wrap--stack { border: 0; background: none; box-shadow: none; overflow: visible; }
  .table-wrap--stack .data-table caption { display: block; padding: 0 0 12px; text-align: left; }
  .table-wrap--stack .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap--stack .data-table, .table-wrap--stack .data-table tbody, .table-wrap--stack .data-table tr, .table-wrap--stack .data-table th, .table-wrap--stack .data-table td { display: block; width: 100%; }
  .table-wrap--stack .data-table tr { background: var(--white) !important; border: 1px solid var(--border); border-radius: 16px; margin-bottom: 12px; box-shadow: var(--sh-1); overflow: hidden; }
  .table-wrap--stack .data-table tbody th { background: var(--p-50); border-bottom: 1px solid var(--border); }
  .table-wrap--stack .data-table td { border-bottom: 1px solid var(--border); padding: 12px 16px; }
  .table-wrap--stack .data-table td:last-child { border-bottom: 0; }
  .table-wrap--stack .data-table td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
}

/* ---------- 16. Areas ---------- */
.area-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
.area-card { padding: 24px; }
.area-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.area-card__head h3 { margin: 0; font-size: 1.25rem; }
.area-card p { font-size: var(--fs-sm); color: var(--muted); }
.areas-head { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.areas-head .section-head { margin-bottom: 0; }
@media (min-width: 1024px) { .areas-head { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.area-map { width: 100%; max-width: 460px; margin-inline: auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 12px; }
.area-card:nth-child(3n+2) { background: linear-gradient(180deg, var(--white), var(--off)); }
.area-card:nth-child(3n) { border-top: 3px solid var(--a-400); }

/* ---------- 17. Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 34px; margin: 0; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 7px;
  background: var(--p-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 13px;
}
.section--dark .checklist li::before { background-color: rgba(255, 255, 255, .08); }
.checklist--2 { gap: 12px 28px; }
@media (min-width: 768px) { .checklist--2 { grid-template-columns: 1fr 1fr; } }

.signs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: sign; }
@media (min-width: 768px) { .signs { grid-template-columns: 1fr 1fr; } }
.signs li {
  counter-increment: sign; margin: 0; position: relative;
  padding: 16px 18px 16px 58px; background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  font-size: var(--fs-sm); line-height: 1.55; box-shadow: var(--sh-1);
}
.signs li::before {
  content: counter(sign, decimal-leading-zero); position: absolute; left: 16px; top: 15px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; color: var(--a-600); letter-spacing: -0.02em;
}
.signs strong { display: block; margin-bottom: 2px; }

/* ---------- 18. CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, var(--p-900) 0%, var(--dark) 100%); color: var(--on-dark);
  padding-block: calc(var(--sec-pad) + 8px);
  text-align: center;
}
.cta-band__glow {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: 900px; height: 520px; max-width: 160%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(249, 115, 22, .38), rgba(249, 115, 22, .08) 55%, transparent 75%);
  filter: blur(10px);
}
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: var(--on-dark-muted); max-width: 58ch; margin-inline: auto; }
.cta-phone {
  display: inline-flex; align-items: center; gap: 14px; margin: 12px 0 28px; min-height: 48px;
  font-family: var(--font-head); font-weight: 800; letter-spacing: -0.035em; line-height: 1;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4rem); /* 32px → 64px */
  color: #fff; text-decoration: none;
}
.cta-phone:hover { color: var(--a-300); }
.cta-phone .icon { width: .6em; height: .6em; color: var(--a-500); stroke-width: 2.25; }
.cta-band .btn-row { justify-content: center; }
.cta-band__fine { margin-top: 20px; font-size: var(--fs-xs); }

/* ---------- 19. FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq--center { margin-inline: auto; }
.faq__item {
  background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--sh-1); transition: border-color .2s, box-shadow .2s;
}
.faq__item[open] { border-color: var(--p-200); box-shadow: var(--sh-2); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 16px 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; color: var(--ink); line-height: 1.4; letter-spacing: -0.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--p-600); }
.faq__icon {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--p-50); transition: transform .3s var(--ease), background .2s;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--p-800); transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(135deg); background: var(--a-500); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--p-900); }
.faq__a { padding: 0 20px 20px; font-size: var(--fs-sm); line-height: 1.7; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- 20. Service page layout ---------- */
.svc-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .svc-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; } }
.svc-layout > * { min-width: 0; }
.svc-main > section { padding-top: 8px; margin-bottom: 56px; }
.svc-main > section:last-child { margin-bottom: 0; }
.svc-main h2 { font-size: clamp(1.5rem, 1.25rem + .8vw, 1.875rem); } /* 24px → 30px */
.svc-aside { display: grid; gap: 16px; }
@media (max-width: 1023px) { .svc-aside { order: -1; } }
@media (min-width: 1024px) { .svc-aside { position: sticky; top: calc(var(--header-h) + 24px); } }

.toc { background: var(--off); border: 1px solid var(--border); border-radius: var(--r); padding: 6px 20px; }
.toc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .9375rem;
}
.toc summary::-webkit-details-marker { display: none; }
.toc summary .icon { width: 18px; height: 18px; transition: transform .2s; }
.toc[open] summary .icon { transform: rotate(180deg); }
.toc ol { list-style: none; padding: 0 0 12px; margin: 0; border-left: 2px solid var(--border); }
.toc li { margin: 0; }
.toc a {
  display: block; padding: 7px 0 7px 14px; margin-left: -2px; border-left: 2px solid transparent;
  font-size: .875rem; line-height: 1.4; color: var(--muted); text-decoration: none;
}
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 600; border-left-color: var(--a-500); }
@media (max-width: 1023px) { .toc a { min-height: 44px; display: flex; align-items: center; padding-block: 4px; } }

.call-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r); padding: 24px; color: var(--on-dark);
  background: linear-gradient(160deg, var(--p-800), var(--dark));
  box-shadow: var(--sh-3);
}
.call-card::before {
  content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(249, 115, 22, .45), transparent);
}
.call-card h2, .call-card .call-card__title { color: #fff; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.25; }
.call-card p { font-size: var(--fs-sm); color: var(--on-dark-muted); margin-bottom: 16px; line-height: 1.55; }
.call-card__phone { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.625rem; letter-spacing: -0.03em; color: #fff; text-decoration: none; margin-bottom: 16px; }
.call-card__phone:hover { color: var(--a-300); }
.call-card .btn { width: 100%; }
.call-card__fine { font-size: .75rem !important; margin: 12px 0 0 !important; }

.related { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .related { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .related--3 { grid-template-columns: repeat(3, 1fr); } }
.related li { margin: 0; }
.related a {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px;
  background: var(--white); border: 1px solid var(--border); border-radius: 16px; text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: var(--ink);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.related a:hover { border-color: var(--a-300); transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--ink); }
.related a .icon-box { width: 40px; height: 40px; border-radius: 11px; }
.related a .icon-box .icon { width: 20px; height: 20px; }

/* ---------- 21. Referral / trust box ---------- */
.disclosure {
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px dashed var(--border-strong);
  font-size: var(--fs-sm); line-height: 1.6; max-width: 68ch;
}
.disclosure p { margin: 0; }

/* ---------- 22. Contact ---------- */
.contact-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item h3 { font-size: 1.0625rem; margin: 2px 0 4px; }
.contact-item p { margin: 0; font-size: var(--fs-sm); }

/* ---------- 23. Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--dark); color: var(--on-dark-muted); padding: 72px 0 0; font-size: var(--fs-sm); }
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 115, 22, .6), transparent);
}
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1.1fr 1fr 1fr; gap: 48px; } }
.footer__brand img { width: 232px; margin-bottom: 20px; }
.footer__brand p { line-height: 1.65; }
.footer__col h2 {
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  color: #fff; margin: 0 0 16px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin: 0; }
.footer__col h2 a { display: inline; min-height: 0; color: #fff; text-decoration: none; }
.footer__col h2 a:hover { color: var(--a-300); }
.footer__col ul a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-muted); text-decoration: none; line-height: 1.35; }
.footer__col ul a:hover { color: #fff; }
.footer__contact { display: grid; gap: 12px; margin-top: 20px; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--on-dark); text-decoration: none; line-height: 1.5; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--a-400); margin-top: 2px; }
.footer__phone { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: #fff !important; }
.footer__disclaimer {
  margin-top: 48px; padding: 20px 22px; border-radius: 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  font-size: var(--fs-xs); line-height: 1.65;
}
.footer__disclaimer strong { color: var(--on-dark); }
.footer__bottom {
  display: flex; flex-direction: column; gap: 8px; justify-content: space-between;
  margin-top: 32px; padding: 24px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: var(--fs-xs);
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; } }
.footer__bottom a { color: var(--on-dark-muted); }

/* ---------- 24. Mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 21, 40, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.callbar .btn { flex: 1; min-height: 48px; padding: 10px 16px; }
.callbar__text { display: none; color: var(--on-dark); font-size: var(--fs-xs); line-height: 1.3; }
@media (min-width: 480px) { .callbar__text { display: block; flex: 1; } .callbar .btn { flex: none; } }
@media (min-width: 1024px) { .callbar { display: none; } }

/* ---------- 25. 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--a-400); margin: 0 0 8px; }

/* ---------- 26. Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 48px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 16px; }

/* ---------- 27. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal--d1 { transition-delay: .08s; }
.js .reveal--d2 { transition-delay: .16s; }
.js .reveal--d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .glass-card { animation: none; }
}

@media print {
  .site-header, .callbar, .cta-band, .nav__panel { display: none !important; }
  body { padding: 0; color: #000; }
}

/* ---------- 28. Hub pages ---------- */
.stage-grid { display: grid; gap: 16px; counter-reset: stage; }
@media (min-width: 768px) { .stage-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1280px) { .stage-grid { grid-template-columns: repeat(4, 1fr); } }
.stage { position: relative; padding: 28px 24px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); box-shadow: var(--sh-1); }
.stage::before {
  counter-increment: stage; content: "Stage " counter(stage);
  display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: var(--pill);
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--p-50); color: var(--p-700);
}
.stage--plain { counter-increment: none; padding: 32px 28px; box-shadow: var(--sh-3); }
.stage--plain::before { display: none; }
.stage--accent { background: var(--p-900); border-color: transparent; color: var(--on-dark); }
.stage--accent h3 { color: #fff; }
.stage--accent::before { background: rgba(249, 115, 22, .18); color: var(--a-300); }
.stage--accent p { color: var(--on-dark-muted); }
.stage--accent a { color: var(--a-300); }
.stage h3 { font-size: 1.25rem; margin-bottom: 8px; }
.stage p { font-size: var(--fs-sm); margin-bottom: 14px; }
.stage__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.stage__list li { margin: 0; }
.stage__list a { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--ink); }
.stage__list a .icon { width: 18px; height: 18px; color: var(--a-600); }
.stage--accent .stage__list a { color: #fff; }
.stage--accent .stage__list a .icon { color: var(--a-400); }

.svc-index { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: svc; }
@media (min-width: 1024px) { .svc-index { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.svc-index__item {
  counter-increment: svc; position: relative; margin: 0;
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--border); box-shadow: var(--sh-2);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.svc-index__item:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--p-200); }
.svc-index__item::after {
  content: counter(svc, decimal-leading-zero); position: absolute; right: 22px; top: 16px;
  font-family: var(--font-head); font-weight: 800; font-size: 2.5rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.25px var(--p-200); pointer-events: none;
}
.svc-index__item h3 { font-size: 1.25rem; margin: 6px 56px 8px 0; }
.svc-index__item p { font-size: var(--fs-sm); color: var(--text); margin-bottom: 10px; }
.svc-index__best { display: block; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 6px; line-height: 1.5; }
.svc-index__best strong { color: var(--a-700); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; margin-right: 6px; }
@media (max-width: 479px) { .svc-index__item { grid-template-columns: 1fr; } }

.compare { display: grid; gap: 20px; }
@media (min-width: 1024px) { .compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.compare__col { border-radius: var(--r); padding: 28px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .08); }
.compare__col--accent { border-color: rgba(249, 115, 22, .4); background: linear-gradient(160deg, rgba(249, 115, 22, .10), var(--dark-2) 55%); }
.compare__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.compare__head h3 { margin: 0; }
.compare__steps { list-style: none; padding: 0; margin: 0; counter-reset: cs; display: grid; gap: 12px; }
.compare__steps li { counter-increment: cs; position: relative; margin: 0; padding-left: 44px; font-size: var(--fs-sm); color: var(--on-dark-muted); line-height: 1.6; }
.compare__steps li::before {
  content: counter(cs); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .875rem;
  border: 1.5px solid rgba(249, 115, 22, .6); color: var(--a-300);
}
.compare__steps strong { color: #fff; }

.bundle-grid { display: grid; gap: 16px; }
@media (min-width: 1024px) { .bundle-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; align-items: stretch; } }
.bundle { display: flex; flex-direction: column; }
.bundle__label { display: inline-block; align-self: flex-start; margin-bottom: 14px; padding: 4px 12px; border-radius: var(--pill); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: var(--a-50); color: var(--a-700); }
.bundle .checklist { font-size: var(--fs-sm); margin-top: 4px; }
.bundle--feature { background: linear-gradient(160deg, var(--p-900), var(--dark)); border-color: transparent; color: var(--on-dark); }
.bundle--feature h3 { color: #fff; }
.bundle--feature p { color: var(--on-dark-muted); }
.bundle--feature .bundle__label { background: rgba(249, 115, 22, .18); color: var(--a-300); }
.bundle--feature .checklist li::before { background-color: rgba(255, 255, 255, .1); }
.bundle--feature a { color: var(--a-300); }

/* ---------- 29. Service pages ---------- */
@media (min-width: 1024px) {
  .process--vertical { grid-template-columns: 1fr; gap: 24px; }
  .process--vertical::before { left: 36px; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; background: repeating-linear-gradient(to bottom, var(--a-400) 0 8px, transparent 8px 16px); }
  .process--vertical .process__step { grid-template-columns: 72px 1fr; gap: 20px; }
  .process--vertical .process__step h3 { min-height: 0; }
  .process--vertical .process__num { width: 72px; height: 72px; font-size: 2.25rem; -webkit-text-stroke-width: 1.5px; }
}
.svc-main .process__step h3 { font-size: 1.125rem; margin-top: 4px; }
.svc-main .table-wrap { margin: 8px 0 24px; }
.svc-main .signs { margin: 8px 0 8px; }
.svc-main .faq { max-width: none; }
.urgent {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 24px; border-radius: var(--r); background: var(--dark); color: var(--on-dark);
  border: 1px solid rgba(249, 115, 22, .35); box-shadow: 0 0 0 6px rgba(249, 115, 22, .06);
}
.urgent h2, .urgent h3 { color: #fff; }
.urgent p, .urgent li { color: var(--on-dark-muted); font-size: var(--fs-sm); }
.urgent strong { color: #fff; }
.urgent .icon-box { background: rgba(249, 115, 22, .16); color: var(--a-300); box-shadow: none; }
.urgent .btn { margin-top: 8px; }
@media (max-width: 479px) { .urgent { grid-template-columns: 1fr; } }
.def-list { display: grid; gap: 12px; margin: 8px 0 20px; }
@media (min-width: 768px) { .def-list { grid-template-columns: 1fr 1fr; } }
.def-list > div { padding: 16px 18px; border-radius: 14px; background: var(--off); border: 1px solid var(--border); }
.def-list dt { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .9375rem; margin-bottom: 4px; }
.def-list dd { margin: 0; font-size: var(--fs-sm); line-height: 1.55; }
.split .related { grid-template-columns: 1fr; margin-top: 8px; }
.prose .table-wrap { margin: 8px 0 24px; }
.btn-row--center { justify-content: center; }
.disclosure { margin-bottom: 20px; }

/* ---------- 30. UI/UX audit fixes ---------- */

/* Layout: split-section illustrations follow the text instead of floating mid-column */
@media (min-width: 1024px) {
  .split { align-items: start; }
  .split__media { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Service-page sidebar: keep the call card reachable on short laptop screens */
.call-card { padding: 20px 22px; }
.call-card p { margin-bottom: 12px; }
.call-card__phone { font-size: 1.375rem; margin-bottom: 8px; min-height: 44px; display: flex; align-items: center; }
@media (min-width: 1024px) {
  .svc-aside .toc ol { max-height: max(160px, calc(100vh - var(--header-h) - 440px)); overflow-y: auto; overscroll-behavior: contain; }
}

/* Less repetition: on service pages only the first section keeps its eyebrow label */
.svc-main > section:not(:first-child) > .eyebrow { display: none; }

/* Mobile hero trim */
@media (max-width: 639px) {
  .nav__logo img { width: 236px; }                               /* "BILLING PROS" legible */
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .trust-chip { padding: 7px 10px 7px 8px; font-size: .75rem; border-radius: 12px; }
  .hero .btn--light, .page-hero .btn--light {                      /* secondary CTA → text link */
    width: auto; min-height: 44px; padding: 8px 0; border: 0; background: none;
    justify-content: flex-start; text-decoration: underline; text-underline-offset: 4px;
  }
  .hero .btn--light:hover, .page-hero .btn--light:hover { transform: none; background: none; }
  .page-hero__art.area-map { max-width: 300px; }
  .cta-band .btn--light { width: 100%; }
}
