@charset "UTF-8";
/*
 * ClaimVoiceSearch — Apex Media Solutions branded
 * ----------------------------------------------------------------
 * Visual continuity with apexmediasol.com (parent agency, where the
 * paid SEO Premium Directory pitch lives). White surface, Inter
 * throughout, blue-600 primary accent + coral CTA, pill-radius
 * buttons, Tailwind slate gray ramp.
 *
 * Existing class names (.cardx, .btn-cta, .form-control, .pill, etc.)
 * are recolored to the new system so legacy HTML still renders. New
 * components from earlier rounds (.cvs-*) use the same tokens.
 */

html { scroll-behavior: smooth; }

:root {
  /* ============================================================
     APEX BRAND — light theme, blue + coral, slate gray ramp
  ============================================================ */
  --apex-blue-50:  #eff6ff;
  --apex-blue-100: #dbeafe;
  --apex-blue-200: #bfdbfe;
  --apex-blue-300: #93c5fd;
  --apex-blue-400: #60a5fa;
  --apex-blue-500: #3b82f6;
  --apex-blue-600: #2563eb;
  --apex-blue-700: #1d4ed8;
  --apex-indigo:   #312e81;
  --apex-violet:   #7c3aed;

  --apex-coral:       #f97316;
  --apex-coral-light: #fb923c;
  --apex-coral-dark:  #ea580c;

  --apex-gray-50:  #f8fafc;
  --apex-gray-100: #f1f5f9;
  --apex-gray-200: #e2e8f0;
  --apex-gray-300: #cbd5e1;
  --apex-gray-400: #94a3b8;
  --apex-gray-500: #64748b;
  --apex-gray-600: #475569;
  --apex-gray-700: #334155;
  --apex-gray-800: #1e293b;
  --apex-gray-900: #0f172a;

  --apex-white:        #ffffff;
  --apex-bg:           #ffffff;
  --apex-bg-soft:      #f8fafc;
  --apex-bg-muted:     #f1f5f9;
  --apex-ivory:        #fffdf7;
  --apex-border:       #e2e8f0;
  --apex-border-light: #e8e4dd;

  /* Status (kept distinct from brand for verdict tiers) */
  --apex-critical: #dc2626;
  --apex-warning:  #f59e0b;
  --apex-healthy:  #10b981;

  /* Inter only — drop the multi-font Federal Verdict ramp */
  --apex-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --apex-radius:      16px;
  --apex-radius-sm:   10px;
  --apex-radius-full: 999px;

  --apex-ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --apex-t-fast:  0.15s var(--apex-ease);
  --apex-t-base:  0.35s var(--apex-ease);

  --apex-shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
  --apex-shadow-sm: 0 2px 8px rgba(15,23,42,0.06);
  --apex-shadow-md: 0 4px 16px rgba(15,23,42,0.08);
  --apex-shadow-lg: 0 12px 32px rgba(15,23,42,0.10);
  --apex-shadow-xl: 0 24px 48px rgba(15,23,42,0.12);

  /* ============================================================
     LEGACY ALIASES — every existing var name still resolves, but
     points at the Apex palette so old class refs keep rendering.
     Kept the cvs-* names from the earlier brief intact too.
  ============================================================ */
  --bg0:   var(--apex-bg);
  --bg1:   var(--apex-bg);
  --panel: var(--apex-white);
  --panel2:var(--apex-bg-soft);
  --line:  var(--apex-border);
  --text:  var(--apex-gray-900);
  --muted: var(--apex-gray-600);
  --dim:   var(--apex-gray-500);

  --accent:        var(--apex-coral);
  --accent-strong: var(--apex-coral-dark);
  --accent-soft:   rgba(249,115,22,0.08);

  --blue:   var(--apex-blue-600);
  --purple: var(--apex-blue-600);
  --warm:   var(--apex-coral);
  --green:  var(--apex-healthy);
  --red:    var(--apex-critical);
  --grad:   linear-gradient(135deg, var(--apex-coral), var(--apex-coral-dark));
  --radius: var(--apex-radius);

  /* Federal Verdict aliases all retoned to Apex equivalents */
  --cvs-navy:        var(--apex-gray-900);
  --cvs-navy-10:     rgba(15,23,42,0.05);
  --cvs-navy-22:     rgba(15,23,42,0.10);
  --cvs-navy-30:     rgba(15,23,42,0.15);
  --cvs-cream:       var(--apex-bg);
  --cvs-cream-elev:  var(--apex-white);
  --cvs-gold:        var(--apex-blue-600);
  --cvs-gold-soft:   var(--apex-blue-400);
  --cvs-orange:      var(--apex-coral);
  --cvs-orange-hover:var(--apex-coral-dark);
  --cvs-ink:         var(--apex-gray-900);
  --cvs-ink-secondary:var(--apex-gray-600);
  --cvs-ink-tertiary:var(--apex-gray-500);
  --cvs-critical:    var(--apex-critical);
  --cvs-warning:     var(--apex-warning);
  --cvs-healthy:     var(--apex-healthy);
  --cvs-font-display:var(--apex-font);
  --cvs-font-body:   var(--apex-font);
  --cvs-font-mono:   var(--apex-font);
  --cvs-radius-sm: 10px;
  --cvs-radius-md: 12px;
  --cvs-radius-lg: 16px;
  --cvs-ease: var(--apex-ease);
  --cvs-duration-fast: 150ms;
  --cvs-duration-base: 350ms;
}

/* ============================================================
   BASE — white surface, Inter, slate text
============================================================ */
body {
  background: var(--apex-bg);
  color: var(--apex-gray-800);
  font-family: var(--apex-font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--apex-font);
  color: var(--apex-gray-900);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.125rem; font-weight: 600; }

p { color: var(--apex-gray-600); font-size: 1.0625rem; line-height: 1.75; }

a { color: var(--apex-blue-600); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--apex-blue-700); }

/* ============================================================
   CONTAINER + SECTIONS
============================================================ */
.cvs-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cvs-section { padding: clamp(5rem, 10vw, 8rem) 0; }
.cvs-section + .cvs-section { border-top: 1px solid var(--apex-border); }

/* Generic landing-page sections (legacy markup not yet on .cvs-section) */
section { padding: clamp(3rem, 5vw, 5rem) 0; }
section.section-tight { padding: clamp(2.25rem, 4vw, 4rem) 0; }
section.hero { padding-top: 0; padding-bottom: clamp(3rem, 5vw, 5rem); }

/* Bootstrap-style utility shims (keep legacy markup readable) */
.tiny  { font-size: 13px; color: var(--apex-gray-500); line-height: 1.55; }
.micro { font-size: 14px; color: var(--apex-gray-600); line-height: 1.6; }
.fw-extrabold { font-weight: 800; }

/* Numbered chips used in step-by-step + intro pills on legacy index */
.badge-lite {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  background: var(--apex-blue-50);
  color: var(--apex-blue-700);
  border: 1px solid var(--apex-blue-100);
  border-radius: var(--apex-radius-full);
  padding: 5px 12px;
  font-family: var(--apex-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
/* When badge-lite is the first child of a flex row (step-by-step list) → render as a numbered circle */
.d-flex.gap-3 > .badge-lite:first-child {
  width: 32px; height: 32px;
  padding: 0;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--apex-blue-600);
  color: #FFFFFF !important;
  border-color: var(--apex-blue-600);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

/* Eyebrow label — Apex's animated dot pattern */
.cvs-section-eyebrow,
.cvs-eyebrow,
.cvs-mono {
  font-family: var(--apex-font);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apex-blue-600);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cvs-section-eyebrow::before,
.cvs-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--apex-blue-600);
  border-radius: 50%;
  animation: apex-label-pulse 2s ease-in-out infinite;
}
@keyframes apex-label-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.8); }
}

/* ============================================================
   BUTTONS — pill radius, Apex coral primary, blue-600 alt
   Brief rule (still applies): one primary CTA per viewport.
============================================================ */
.cvs-btn-primary, .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--apex-coral);
  color: #FFFFFF !important;
  border: none;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--apex-radius-full);
  font-family: var(--apex-font);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0;
  transition: all var(--apex-t-base);
  box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}
.cvs-btn-primary:hover, .btn-cta:hover {
  background: var(--apex-coral-dark);
  box-shadow: 0 6px 20px rgba(249,115,22,0.45);
  transform: translateY(-2px);
  color: #FFFFFF !important;
}
.cvs-btn-primary:active, .btn-cta:active { transform: translateY(0); }
.cvs-btn-primary:disabled, .btn-cta:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.cvs-btn-primary:focus-visible, .btn-cta:focus-visible {
  outline: 2px solid var(--apex-blue-600);
  outline-offset: 2px;
}

.cvs-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--apex-gray-800);
  border: 2px solid var(--apex-gray-200);
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--apex-radius-full);
  font-family: var(--apex-font);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--apex-t-base);
}
.cvs-btn-secondary:hover {
  border-color: var(--apex-blue-600);
  color: var(--apex-blue-600);
  transform: translateY(-2px);
}

.cvs-btn-navy-pill {
  background: var(--apex-blue-600);
  color: #FFFFFF !important;
  padding: 0.625rem 1.25rem;
  border-radius: var(--apex-radius-full);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 0;
  transition: background var(--apex-t-base);
}
.cvs-btn-navy-pill:hover { background: var(--apex-blue-700); color: #FFFFFF !important; }

/* ============================================================
   TRUST PIN
============================================================ */
.cvs-pin, .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--apex-blue-50);
  color: var(--apex-blue-700);
  font-family: var(--apex-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: var(--apex-radius-full);
  border: 1px solid var(--apex-blue-100);
}
.cvs-pin-dot { color: var(--apex-coral); font-size: 8px; }
.pill .grad-text {
  color: var(--apex-coral) !important;
  background: none !important;
  -webkit-text-fill-color: var(--apex-coral) !important;
  font-weight: 700;
}

/* ============================================================
   FORM INPUT — white surface, gray-200 border, blue focus
============================================================ */
.cvs-input,
.form-control,
.form-select {
  background: var(--apex-white);
  border: 1.5px solid var(--apex-gray-200);
  color: var(--apex-gray-900);
  padding: 0.875rem 1rem;
  border-radius: var(--apex-radius-sm);
  font-family: var(--apex-font);
  font-size: 0.9375rem;
  width: 100%;
  caret-color: var(--apex-blue-600);
  -webkit-text-fill-color: var(--apex-gray-900) !important;
  transition: border-color var(--apex-t-fast), box-shadow var(--apex-t-fast);
}
.cvs-input::placeholder,
.form-control::placeholder { color: var(--apex-gray-400); opacity: 1; }
.cvs-input:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--apex-blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
  background: var(--apex-white);
  color: var(--apex-gray-900);
}
.cvs-input-label,
.cvs-input-label * {
  display: block;
  font-family: var(--apex-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--apex-gray-600);
  margin-bottom: 6px;
}

/* Autofill stays white */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--apex-white) inset !important;
  -webkit-text-fill-color: var(--apex-gray-900) !important;
  caret-color: var(--apex-blue-600);
  transition: background-color 9999s ease-in-out 0s;
}

/* Google Places autocomplete — Apex'd */
.pac-container {
  z-index: 5000 !important;
  background: var(--apex-white) !important;
  border: 1px solid var(--apex-border) !important;
  border-radius: var(--apex-radius-sm) !important;
  box-shadow: var(--apex-shadow-lg) !important;
  padding: 6px 0 !important;
  font-family: var(--apex-font) !important;
}
.pac-item {
  padding: 10px 14px !important;
  color: var(--apex-gray-900) !important;
  border-top: none !important;
  font-size: 14px;
}
.pac-item:hover { background: var(--apex-blue-50) !important; }
.pac-item-query { font-weight: 600 !important; color: var(--apex-gray-900) !important; }
.pac-matched { color: var(--apex-blue-600) !important; font-weight: 600 !important; }

/* Custom autocomplete (proxied) */
.cvs-ac-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--apex-white);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius-sm);
  z-index: 50;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: var(--apex-shadow-lg);
  display: none;
}
.cvs-ac-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--apex-border);
  cursor: pointer;
  transition: background var(--apex-t-fast);
}
.cvs-ac-item:last-child { border-bottom: 0; }
.cvs-ac-item:hover, .cvs-ac-item.active { background: var(--apex-blue-50); }
.cvs-ac-main { color: var(--apex-gray-900); font-size: 14px; font-weight: 600; line-height: 1.3; }
.cvs-ac-sub  { color: var(--apex-gray-500); font-size: 12px; line-height: 1.3; margin-top: 2px; }

/* ============================================================
   CARDS — white with subtle border + Apex shadow
============================================================ */
.cardx {
  background: var(--apex-white);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--apex-shadow-md);
  backdrop-filter: none;
}
.cardx::before { display: none; } /* drop the gold/dark top stripes */
.cardx > * { position: relative; }
.cardx-soft {
  background: var(--apex-bg-soft);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius-sm);
}
.divider { height: 1px; background: var(--apex-border); margin: 24px 0; }

/* ============================================================
   HEADER (Apex-style: simple white nav, blue brand)
============================================================ */
.cvs-header { background: var(--apex-white); border-bottom: 1px solid var(--apex-border); }
.cvs-header-stripe { display: none; } /* drop the navy stripe */
.cvs-header-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  border-bottom: 0;
}
.cvs-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.cvs-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--apex-blue-600);
  color: #FFFFFF;
  border-radius: var(--apex-radius-sm);
  font-size: 14px;
  font-weight: 700;
}
.cvs-brand-text {
  font-family: var(--apex-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--apex-gray-900);
  letter-spacing: -0.01em;
}
.cvs-brand-text sup { color: var(--apex-coral); font-size: 10px; }
.cvs-nav { display: flex; align-items: center; gap: 24px; justify-self: center; }
.cvs-nav a { color: var(--apex-gray-700); font-size: 15px; font-weight: 500; text-decoration: none; }
.cvs-nav a:hover { color: var(--apex-blue-600); }
.cvs-lang-toggle { color: var(--apex-coral); font-size: 14px; font-weight: 600; text-decoration: none; }
.cvs-lang-toggle:hover { color: var(--apex-coral-dark); }

/* ============================================================
   HERO — tighter than Apex's parent site since this is a
   focused conversion page, not an agency brochure.
============================================================ */
.cvs-hero, .hero { padding: 32px 0 56px; background: transparent; }
.cvs-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.cvs-pin-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; justify-content: center; }
.cvs-h1, .hero-headline {
  margin: 0 0 14px;
  font-family: var(--apex-font);
  color: var(--apex-gray-900);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.cvs-h1 { font-size: clamp(1.875rem, 4vw, 3rem); }
.hero h1, .hero-headline { font-size: clamp(1.875rem, 4vw, 3rem); }
.cvs-h1-accent, .hero-headline-em, .grad-text {
  font-style: normal;
  color: var(--apex-coral) !important;
  background: linear-gradient(135deg, var(--apex-coral), var(--apex-coral-dark)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  border-bottom: 0;
  font-weight: 700;
}
.cvs-hero-lede, .subline {
  font-family: var(--apex-font);
  font-size: 1rem;
  color: var(--apex-gray-600);
  max-width: 540px;
  line-height: 1.6;
  margin: 0 0 22px;
  font-weight: 400;
}
.hero-card .subline { font-size: 1rem; line-height: 1.55; max-width: 520px; margin: 0 auto 20px; }

/* Hero entrance stagger */
@keyframes cvs-rise {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cvs-pin-row     { animation: cvs-rise 600ms var(--apex-ease) 0ms both; }
.cvs-h1, .hero-headline { animation: cvs-rise 600ms var(--apex-ease) 100ms both; }
.cvs-hero-lede, .subline { animation: cvs-rise 600ms var(--apex-ease) 200ms both; }
.cvs-scan-form   { animation: cvs-rise 600ms var(--apex-ease) 300ms both; }
.cvs-doc-id      { animation: cvs-rise 600ms var(--apex-ease) 400ms both; }
.cvs-sample-card { animation: cvs-rise 800ms var(--apex-ease) 500ms both; }
@media (prefers-reduced-motion: reduce) {
  .cvs-pin-row, .cvs-h1, .hero-headline, .cvs-hero-lede, .subline,
  .cvs-scan-form, .cvs-doc-id, .cvs-sample-card { animation: none; }
}

/* Scan form (Apex-style) */
.cvs-scan-form { margin: 0 0 16px; }
.cvs-form-row {
  display: grid;
  grid-template-columns: 1fr 140px auto;
  gap: 8px;
  margin-bottom: 12px;
}
.cvs-reassurance-row {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--apex-gray-500);
}
.cvs-check { color: var(--apex-healthy); font-size: 9px; vertical-align: 2px; margin-right: 4px; }
.cvs-doc-id {
  font-family: var(--apex-font);
  font-size: 12px;
  color: var(--apex-gray-400);
  letter-spacing: 0.06em;
  margin-top: 24px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Sample card */
.cvs-sample-card {
  background: var(--apex-white);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  padding: 24px;
  position: relative;
  box-shadow: var(--apex-shadow-md);
}
.cvs-sample-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--apex-blue-600);
  border-radius: var(--apex-radius) var(--apex-radius) 0 0;
}
.cvs-sample-header {
  font-family: var(--apex-font);
  font-size: 11px;
  color: var(--apex-blue-600);
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cvs-sample-score { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cvs-sample-ring {
  width: 72px; height: 72px; border-radius: 50%;
  border: 5px solid var(--apex-critical);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--apex-font);
  font-size: 28px; font-weight: 700;
  color: var(--apex-critical);
}
.cvs-sample-label { font-size: 12px; font-weight: 700; color: var(--apex-critical); letter-spacing: 0.05em; }
.cvs-sample-caption { font-size: 12px; color: var(--apex-gray-500); }
.cvs-sample-line { height: 1px; background: var(--apex-border); margin: 12px 0; }
.cvs-sample-issues { margin: 0; padding-left: 18px; font-size: 13px; color: var(--apex-gray-700); line-height: 1.7; }

/* ============================================================
   VERDICT REVEAL (only animated moment)
============================================================ */
.cvs-verdict { display: flex; align-items: center; gap: 16px; }
.cvs-verdict-ring {
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 6px solid var(--apex-critical);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--apex-font);
  font-size: 36px; font-weight: 700;
  color: var(--apex-critical);
}
.cvs-verdict-number { font-family: var(--apex-font); font-size: 36px; font-weight: 700; }
.cvs-verdict[data-tier="warning"] .cvs-verdict-ring,
.cvs-verdict[data-tier="warning"] .cvs-verdict-number,
.cvs-verdict[data-tier="warning"] .cvs-verdict-label { color: var(--apex-warning); border-color: var(--apex-warning); }
.cvs-verdict[data-tier="healthy"] .cvs-verdict-ring,
.cvs-verdict[data-tier="healthy"] .cvs-verdict-number,
.cvs-verdict[data-tier="healthy"] .cvs-verdict-label { color: var(--apex-healthy); border-color: var(--apex-healthy); }
.cvs-verdict-label { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: var(--apex-critical); }
.cvs-verdict-caption { font-size: 13px; color: var(--apex-gray-500); }

/* ============================================================
   QUERY CARDS · TESTIMONIALS · STATS
============================================================ */
.cvs-query-card, .query {
  background: var(--apex-white);
  border: 1px solid var(--apex-border);
  border-left: 3px solid var(--apex-blue-600);
  border-radius: var(--apex-radius-sm);
  padding: 24px 28px;
  transition: none;
  box-shadow: var(--apex-shadow-sm);
}
.cvs-query-mark, .query .qicon {
  font-family: var(--apex-font);
  font-size: 48px;
  line-height: 0.5;
  color: var(--apex-blue-600);
  margin-bottom: 4px;
  background: none !important;
  border: 0 !important;
  width: auto; height: auto;
}
.cvs-query-text {
  font-family: var(--apex-font);
  font-size: 22px;
  font-weight: 600;
  color: var(--apex-gray-900);
  margin: 0 0 12px;
  line-height: 1.3;
}
.cvs-query-caption { font-size: 14px; color: var(--apex-gray-500); margin: 0; }

.cvs-testimonial {
  background: var(--apex-white);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  padding: 24px;
  box-shadow: var(--apex-shadow-md);
}
.cvs-testimonial-quote {
  font-family: var(--apex-font);
  font-size: 17px;
  color: var(--apex-gray-900);
  line-height: 1.55;
  margin: 0 0 16px;
}
.cvs-testimonial-attr {
  font-size: 13px; color: var(--apex-gray-500);
  display: flex; align-items: center; gap: 10px;
}
.cvs-testimonial-attr-name { font-weight: 600; color: var(--apex-gray-900); }

.cvs-stat-number {
  font-family: var(--apex-font);
  font-size: 56px; font-weight: 700;
  color: var(--apex-gray-900);
  line-height: 1;
  letter-spacing: -0.03em;
}
.cvs-stat-unit { color: var(--apex-coral); font-size: 32px; }
.cvs-stat-label { font-size: 14px; color: var(--apex-gray-500); margin-top: 8px; }

/* ============================================================
   FAQ + FOOTER
============================================================ */
.cvs-faq { border-top: 1px solid var(--apex-border); }
.cvs-faq-item { padding: 24px 0; border-bottom: 1px solid var(--apex-border); }
.cvs-faq-q { font-family: var(--apex-font); font-size: 20px; color: var(--apex-gray-900); margin: 0 0 8px; font-weight: 700; }
.cvs-faq-a { font-size: 16px; color: var(--apex-gray-700); line-height: 1.7; margin: 0; }

.cvs-footer {
  background: var(--apex-bg-soft);
  border-top: 1px solid var(--apex-border);
  padding: 48px 0 32px;
  font-size: 13px;
  color: var(--apex-gray-500);
}
.cvs-footer-doc-ref {
  font-family: var(--apex-font);
  font-size: 11px;
  color: var(--apex-gray-400);
  letter-spacing: 0.06em;
  margin-top: 24px;
  text-transform: uppercase;
}

/* ============================================================
   TRUST STRIP / CASE-STUDY CARDS
============================================================ */
.trust-strip { padding: 24px 0 0; }
.trust-strip .ts-row {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 12px;
  max-width: 1100px; margin: 0 auto;
}
@media (min-width: 992px) { .trust-strip .ts-row { grid-template-columns: repeat(4,1fr); gap: 16px; } }
.trust-strip .ts-stat {
  background: var(--apex-white);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius-sm);
  padding: 20px 22px;
  text-align: center;
  box-shadow: var(--apex-shadow-sm);
}
.trust-strip .ts-num {
  font-family: var(--apex-font);
  font-size: 32px; font-weight: 700;
  color: var(--apex-blue-600);
  letter-spacing: -0.025em;
  background: none !important;
  -webkit-background-clip: initial; background-clip: initial;
  -webkit-text-fill-color: var(--apex-blue-600) !important;
}
.trust-strip .ts-label {
  font-size: 13px; color: var(--apex-gray-500);
  margin-top: 6px; font-weight: 500;
}

#case-studies .case-card {
  background: var(--apex-white);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  padding: 28px;
  height: 100%;
  display: flex; flex-direction: column;
  box-shadow: var(--apex-shadow-md);
}
.case-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.case-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--apex-blue-600) !important;
  color: #FFFFFF;
  font-weight: 700; font-size: 14px;
  border: 0;
}
.case-name { font-family: var(--apex-font); font-weight: 700; font-size: 17px; line-height: 1.2; color: var(--apex-gray-900); }
.case-meta { font-size: 13px; color: var(--apex-gray-500); margin-top: 2px; }
.case-stars { color: var(--apex-coral); font-size: 11px; letter-spacing: 1px; }
.case-quote {
  font-family: var(--apex-font);
  font-size: 16px; line-height: 1.6; color: var(--apex-gray-700);
  margin: 0 0 14px; flex: 1;
}
.case-delta {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: var(--apex-radius-full);
  background: var(--apex-blue-50);
  color: var(--apex-blue-700);
  border: 1px solid var(--apex-blue-100);
  font-family: var(--apex-font);
  font-size: 12px; font-weight: 600;
  align-self: flex-start;
}
.case-delta i { color: var(--apex-healthy); }

/* ============================================================
   REVIEW CARDS (#reviews section)
   Convert the legacy marquee/track into a clean 3-column grid.
============================================================ */
#reviews {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--apex-bg-soft);
}
#reviews .pill {
  background: var(--apex-white);
  color: var(--apex-gray-700);
  border-color: var(--apex-border);
}
#reviews .pill i { color: var(--apex-coral); }
#reviews h2 {
  font-family: var(--apex-font);
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--apex-gray-900);
  margin: 0 0 12px;
  line-height: 1.15;
}
#reviews .subline {
  max-width: 520px;
  margin: 0 auto 0;
  font-size: 1rem;
  color: var(--apex-gray-500);
  text-align: center;
  animation: none;
}

.review-marquee {
  /* Was a scrolling marquee in the legacy dark theme — now a static grid. */
  margin: 0;
  overflow: visible;
  position: relative;
}
.review-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  animation: none !important; /* kill any inherited marquee scroll */
}
@media (min-width: 640px)  { .review-track { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 992px)  { .review-track { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.review-card {
  background: var(--apex-white);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--apex-shadow-sm);
  transition: box-shadow var(--apex-t-base), transform var(--apex-t-base);
}
.review-card:hover {
  box-shadow: var(--apex-shadow-md);
  transform: translateY(-2px);
}
.review-card .stars {
  color: var(--apex-coral);
  font-size: 13px;
  letter-spacing: 1px;
  display: flex;
  gap: 2px;
}
.review-card .stars i { font-size: 13px; }
.review-card p {
  font-family: var(--apex-font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--apex-gray-800);
  margin: 0;
  flex: 1;
}
.review-card .who {
  font-family: var(--apex-font);
  font-weight: 700;
  font-size: 14px;
  color: var(--apex-gray-900);
  margin-top: 4px;
  letter-spacing: -0.005em;
}
.review-card .role {
  font-size: 12px;
  color: var(--apex-gray-500);
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* Hide reviews 13+ on smaller screens to keep the section tight */
@media (max-width: 991px) {
  .review-card:nth-of-type(n+13) { display: none; }
}
@media (max-width: 639px)  {
  .review-card:nth-of-type(n+9)  { display: none; }
}

/* ============================================================
   FULL-PAGE OVERLAY (used by app.js for the redirect handoff)
   Hidden by default — only visible when JS adds .show
============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.overlay.show { display: flex; }
.overlay-card {
  background: var(--apex-white);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  padding: 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--apex-shadow-xl);
  position: relative;
  overflow: hidden;
}
.overlay-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--apex-blue-600), var(--apex-coral));
  border-radius: var(--apex-radius) var(--apex-radius) 0 0;
}
.overlay-title {
  font-family: var(--apex-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--apex-gray-900);
  letter-spacing: -0.02em;
  margin: 0;
}
.overlay-progress {
  height: 4px;
  background: var(--apex-gray-200);
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0 18px;
}
.overlay-progress > #ovBar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--apex-blue-500), var(--apex-coral));
  border-radius: 999px;
  transition: width 0.4s var(--apex-ease);
}
.overlay-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--apex-gray-700);
  margin-bottom: 8px;
}
.overlay-line:last-child { margin-bottom: 0; }
.overlay-line i {
  color: var(--apex-blue-600);
  font-size: 13px;
  width: 16px;
  flex-shrink: 0;
}

/* ============================================================
   VALIDATION + INPUT WRAP
============================================================ */
.input-wrap { position: relative; }
.checkmark {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%) scale(0);
  color: var(--apex-healthy);
  transition: transform var(--apex-t-fast);
}
.checkmark.show { transform: translateY(-50%) scale(1); }
.input-valid {
  border-color: var(--apex-healthy) !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.12) !important;
  background: var(--apex-white) !important;
}

/* ============================================================
   HERO-SCOPED LEGACY (index.php) · Apex
   Wider container, generous breathing room, centered content.
============================================================ */
.hero-card {
  padding: 40px 32px !important;
  border-radius: 24px;
  border: 1px solid var(--apex-border);
  box-shadow: var(--apex-shadow-md);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-card { padding: 56px 48px !important; }
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--apex-blue-600), var(--apex-coral));
  border-radius: 24px 24px 0 0;
}
/* Apex-style soft mesh inside the hero card for depth */
.hero-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(37,99,235,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 100%, rgba(249,115,22,0.04) 0%, transparent 50%);
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card .hero-inner { max-width: 760px; margin: 0 auto; }
.hero-form-wrap { max-width: 540px; margin: 20px auto 0; }
.hero-form-wrap .input-wrap { margin-bottom: 12px !important; }
.hero-form-wrap .mb-2.input-wrap { margin-bottom: 10px !important; }
.hero-field-label {
  display: block; font-family: var(--apex-font);
  font-size: 13px; font-weight: 500;
  color: var(--apex-gray-700);
  margin-bottom: 6px;
}
.hero-field-helper {
  font-family: var(--apex-font);
  font-size: 12px; color: var(--apex-gray-500);
  margin-top: 6px; line-height: 1.5;
}
.hero-form-wrap .form-control,
.hero-form-wrap .form-select {
  padding: 0.75rem 0.875rem;
  font-size: 0.9375rem;
  border-radius: 10px;
}
.hero-cta {
  display: flex !important;
  align-items: center; justify-content: center;
  font-size: 0.9375rem !important;
  padding: 0.875rem 2rem !important;
  border-radius: var(--apex-radius-full) !important;
  margin-top: 10px !important;
}
.hero-cta i { font-size: 12px; }
.hero-card .trust-row {
  max-width: 460px;
  margin: 14px auto 0;
  font-size: 13px;
  color: var(--apex-gray-500);
  font-weight: 500;
  display: flex; justify-content: space-between;
}
.hero-card .trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.hero-card .trust-row i { color: var(--apex-healthy); font-size: 10px; }
.hero-card .cvs-pin-row { margin-bottom: 16px; }
.hero-card .cvs-pin-row .cvs-pin {
  font-size: 11px;
  padding: 4px 10px;
}

/* ============================================================
   MOBILE
============================================================ */
@media (max-width: 768px) {
  .cvs-hero, .hero { padding: 32px 0 48px; }
  .cvs-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .cvs-hero-side { display: none; }

  h1, .cvs-h1, .hero-headline { font-size: 2rem; line-height: 1.1; }
  .cvs-h1 br, .hero-headline br { display: none; }

  .cvs-hero-lede, .subline { font-size: 1rem; }

  .cvs-form-row { grid-template-columns: 1fr; gap: 10px; }
  .cvs-form-row .cvs-btn-primary { width: 100%; }

  .cvs-reassurance-row { gap: 10px; font-size: 12px; }

  .cvs-header-row { grid-template-columns: auto auto; gap: 12px; }
  .cvs-nav { display: none; }
  .cvs-lang-toggle { font-size: 12px; justify-self: end; }
}
