/* CallMD Now — Shared Design System
   Clinical professional healthcare aesthetic
   Built for translation into Kadence Blocks / Gutenberg */

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

:root {
  /* Palette — refined for warmth + clinical trust */
  --cream: #FFFFFF;              /* pure white surface */
  --cream-deep: #F5F8FD;          /* very pale blue-white */
  --surface: #FFFFFF;
  --ink: #122145;                 /* deeper, slightly warmer navy text */
  --ink-soft: #2D3B61;
  --muted: #64708F;               /* lighter, friendlier muted */
  --border: #E3E8F2;
  --primary: #2547A8;             /* warmer, softer navy (was harsh) */
  --primary-soft: #3961C2;
  --primary-tint: #EDF1FB;
  --primary-dark: #1A327A;
  --accent: #14A370;              /* fresher emerald green (was darker) */
  --accent-soft: #D4F0E2;
  --accent-dark: #0E7A55;
  --sage: #E0F2EA;
  --gold: #E8A951;                /* warmer gold accent */

  /* Type — clinical sans-serif system */
  --display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Space */
  --container: 1240px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(18,33,69,0.04), 0 1px 3px rgba(18,33,69,0.06);
  --shadow-md: 0 4px 16px rgba(18,33,69,0.06), 0 2px 4px rgba(18,33,69,0.04);
  --shadow-lg: 0 24px 48px -16px rgba(18,33,69,0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em 0;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.65rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.005em; }

/* Emphasis word inside headings — colored, not italic */
h1 em, h2 em { color: var(--primary); font-style: normal; font-weight: 800; }

p { margin: 0 0 1em 0; color: var(--ink-soft); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TOP UTILITY BAR ========== */
.utility-bar {
  background: var(--primary);
  color: var(--cream);
  font-size: 0.85rem;
  padding: 8px 0;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.utility-bar a { color: var(--cream); opacity: 0.85; }
.utility-bar a:hover { opacity: 1; color: var(--cream); }
.utility-bar .badge-medicaid {
  background: var(--accent);
  color: white;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

/* ========== HEADER / NAV ========== */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  font-family: var(--display);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: block;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.brand-wordmark .brand-main {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1;
}
.brand-wordmark .brand-main .brand-md {
  color: var(--accent);
}
.brand-wordmark .brand-post {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}
/* Light variant for dark backgrounds (utility bar, footer, dark CTA) */
.brand.brand-light .brand-wordmark .brand-main {
  color: var(--cream);
}
.brand.brand-light .brand-wordmark .brand-main .brand-md {
  color: #3FD9A0;
}
.brand.brand-light .brand-wordmark .brand-post {
  color: rgba(255,255,255,0.7);
}
.brand.brand-light .brand-mark { color: #FFFFFF; }

/* Legacy support — kicker (kept for any leftover references) */
.brand .kicker {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
  position: relative;
}
.nav a:hover { color: var(--primary); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--primary-soft);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover {
  background: #c25530;
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }

/* ========== HERO PATTERNS ========== */
.hero {
  padding: 88px 0 100px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-tint) 55%, var(--accent-soft) 100%);
  position: relative;
  overflow: hidden;
}
/* Subtle dot pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(27,45,107,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
/* Green glow in top-right corner */
.hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle at center, rgba(46,139,64,0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-block;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}
.hero-lede {
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-trust strong { color: var(--primary); font-family: var(--display); font-size: 1.4rem; display: block; line-height: 1; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-tint) 0%, var(--sage) 60%, var(--accent-soft) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(31,58,46,0.15) 0%, transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(217,96,59,0.15) 0%, transparent 40%);
}
.hero-visual-card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  font-size: 0.92rem;
}
.hero-visual-card.top {
  top: 32px; left: 32px;
  display: flex; align-items: center; gap: 12px;
}
.hero-visual-card.bottom {
  bottom: 32px; right: 32px;
  max-width: 240px;
}
.pulse-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #34A853;
  box-shadow: 0 0 0 0 rgba(52,168,83,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,168,83,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(52,168,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,168,83,0); }
}

/* Page hero — for sub pages */
.page-hero {
  padding: 64px 0 56px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: 0.4; }
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 18px;
  max-width: 880px;
}
.page-hero .hero-lede { font-size: 1.15rem; max-width: 720px; margin-bottom: 28px; }
.page-hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.meta-chip {
  background: white;
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ========== INSURANCE BAR ========== */
.insurance-bar {
  background: var(--primary);
  color: var(--cream);
  padding: 32px 0;
}
.insurance-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.insurance-bar h3 {
  color: var(--cream);
  font-size: 1.4rem;
  margin: 0;
}
.insurance-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.insurance-pill {
  background: rgba(250,247,242,0.1);
  border: 1px solid rgba(250,247,242,0.25);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: var(--cream);
  font-weight: 500;
}
.insurance-pill.highlight {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 600;
}

/* ========== SECTIONS ========== */
.section {
  padding: 96px 0;
}
.section-tight { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-deep { background: var(--cream-deep); }
.section-white { background: var(--surface); }
.section-dark { background: var(--primary); color: var(--cream); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark p { color: rgba(250,247,242,0.85); }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
}

/* ========== SERVICE GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
  color: inherit;
}
.service-card .icon-frame {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
}
.service-card.accent .icon-frame { background: var(--accent-soft); color: var(--accent); }
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.service-card p { color: var(--muted); margin-bottom: 20px; flex: 1; font-size: 0.97rem; }
.service-card .more {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card:hover .more { color: var(--accent); gap: 10px; }

/* ========== FEATURE LIST ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.feature-item {
  padding: 0;
}
.feature-item .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 10px;
  display: block;
}
.feature-item h4 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.feature-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ========== HOW IT WORKS ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  position: relative;
}
.step {
  text-align: left;
}
.step-num {
  font-family: var(--display);
  font-size: 4rem;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  line-height: 0.9;
  margin-bottom: 16px;
}
.step h4 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ========== CONDITIONS LIST ========== */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.condition-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.condition-pill:hover {
  border-color: var(--primary);
  background: var(--primary-tint);
  transform: translateX(4px);
  color: inherit;
}
.condition-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
}

/* ========== TWO-COLUMN CONTENT ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.two-col-side {
  position: sticky;
  top: 100px;
}
.two-col-side h2 { margin-bottom: 20px; }
.prose p { font-size: 1.05rem; margin-bottom: 1.2em; }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li {
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.prose ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 12px;
  width: 22px; height: 22px;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ========== FAQ ========== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item summary {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--body);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding-top: 16px; color: var(--ink-soft); max-width: 700px; }

/* ========== CTA BAND ========== */
.cta-band {
  background: var(--primary);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(46,139,64,0.28) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-band h2 { color: var(--cream); margin-bottom: 12px; }
.cta-band p { color: rgba(250,247,242,0.85); margin-bottom: 0; font-size: 1.1rem; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ========== IMAGE GRID ========== */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream-deep);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.image-card:hover { transform: translateY(-4px); }
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(18,33,69,0.92) 0%, rgba(18,33,69,0.5) 60%, transparent 100%);
  padding: 36px 20px 20px;
  color: #FFFFFF;
}
.image-card-label strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.image-card-label span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 920px) {
  .image-grid { grid-template-columns: repeat(2, 1fr); }
}
/* ========== IMAGE GRID END ========== */

/* ========== TESTIMONIALS GRID ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), box-shadow 0.28s ease;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -16px rgba(18,33,69,0.18);
}
.testimonial-card.featured {
  background: var(--primary-tint);
  border-color: var(--primary-soft);
}
.testimonial-card .stars {
  color: #E8A951;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.testimonial-card blockquote {
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 500;
  margin: 0 0 24px 0;
  color: var(--ink);
  flex: 1;
}
.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.testimonial-card .testimonial-author strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  margin-bottom: 2px;
}
.testimonial-card .testimonial-author span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
@media (max-width: 920px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ========== TESTIMONIALS GRID END ========== */
.testimonial {
  background: var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 24px; left: 48px;
  font-family: var(--display);
  font-size: 8rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
}
.testimonial blockquote {
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.4;
  font-weight: 500;
  margin: 0 0 24px 0;
  position: relative;
  max-width: 800px;
  color: var(--ink);
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-author .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sage);
}
.testimonial-author strong { display: block; }
.testimonial-author span { color: var(--muted); font-size: 0.9rem; }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--ink);
  color: rgba(250,247,242,0.7);
  padding: 80px 0 32px;
  font-size: 0.92rem;
}
.site-footer h5 {
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  margin-bottom: 18px;
}
.site-footer a { color: rgba(250,247,242,0.7); display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--cream); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250,247,242,0.1);
}
.footer-brand .brand { color: var(--cream); margin-bottom: 16px; }
.footer-brand p { color: rgba(250,247,242,0.6); font-size: 0.92rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(250,247,242,0.5);
  font-size: 0.85rem;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ========== BOOKING MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,31,28,0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}
.modal-overlay.is-open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--ink);
  z-index: 2;
  transition: all 0.2s ease;
}
.modal-close:hover { background: var(--ink); color: var(--cream); }
.modal-progress {
  display: flex;
  gap: 6px;
  padding: 24px 36px 0;
}
.modal-progress span {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.modal-progress span.active { background: var(--accent); }
.modal-progress span.done { background: var(--primary); }

.modal-step { padding: 32px 36px 36px; display: none; }
.modal-step.active { display: block; }
.modal-step .eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.modal-step h2 {
  font-size: 1.65rem;
  margin-bottom: 8px;
  line-height: 1.15;
}
.modal-step .sub {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 0.96rem;
}

/* Form fields */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--body);
  font-size: 1rem;
  background: white;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
}
.field input.error,
.field select.error { border-color: #c0392b; }
.field .help {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.modal-actions .btn { flex: 1; justify-content: center; }
.modal-actions .btn-back {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
  flex: 0 0 auto;
  padding: 13px 22px;
}
.modal-actions .btn-back:hover { border-color: var(--ink); background: white; }

/* Verification step */
.verify-screen {
  text-align: center;
  padding: 30px 0;
}
.verify-spinner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary-tint);
  border-top-color: var(--accent);
  margin: 0 auto 24px;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.verify-checks {
  text-align: left;
  max-width: 320px;
  margin: 0 auto;
}
.verify-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--muted);
  opacity: 0;
  animation: fadeInUp 0.5s forwards;
}
.verify-check.pass { color: var(--ink); }
.verify-check .icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Verified result */
.verify-result {
  background: var(--primary-tint);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 24px;
}
.verify-result .head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.verify-result .badge-check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.verify-result h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--body);
  font-weight: 700;
}
.verify-result .details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 0.92rem;
}
.verify-result .details dt { color: var(--muted); }
.verify-result .details dd { margin: 0; font-weight: 600; }
.verify-result .copay {
  background: var(--accent);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
}

/* Service type picker */
.service-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}
.service-option {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: var(--body);
}
.service-option:hover { border-color: var(--primary); }
.service-option.selected {
  border-color: var(--primary);
  background: var(--primary-tint);
}
.service-option strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.service-option span { font-size: 0.82rem; color: var(--muted); }

/* Time slots */
.day-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
}
.day-tab {
  flex-shrink: 0;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--body);
  min-width: 76px;
}
.day-tab.active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--cream);
}
.day-tab .day-name {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.day-tab .day-num {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--display);
  display: block;
  line-height: 1.1;
}
.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.time-slot {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 4px;
  cursor: pointer;
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.15s ease;
}
.time-slot:hover { border-color: var(--primary); }
.time-slot.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--cream);
}

/* Confirmation */
.confirm-screen { text-align: center; padding: 12px 0 8px; }
.confirm-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 2.4rem;
  animation: pop 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.confirm-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: left;
  margin-bottom: 22px;
}
.confirm-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.confirm-card .row:last-child { border-bottom: 0; }
.confirm-card .row span:first-child { color: var(--muted); }
.confirm-card .row span:last-child { font-weight: 600; color: var(--ink); text-align: right; }

.hipaa-note {
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--cream-deep);
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 16px;
  line-height: 1.45;
}

/* ========== DESIGN REFINEMENTS ========== */

/* Stats strip — between hero and how-it-works */
.stats-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
  color: var(--cream);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.stats-strip::after {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(ellipse, rgba(20,163,112,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.stats-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.stat {
  text-align: center;
  padding: 8px;
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.stat-num .accent-mark { color: #3FD9A0; }
.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* Animated insurance marquee */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 18px 0;
  margin-top: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 12px;
  animation: scroll-marquee 38s linear infinite;
  width: max-content;
}
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Service card hover refinement — lift + accent border */
.service-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -16px rgba(15,24,56,0.18);
  border-color: var(--primary);
}
.service-card.accent:hover { border-color: var(--accent); }

/* Premium accent button — subtle inner highlight */
.btn-accent {
  position: relative;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(46,139,64,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(46,139,64,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-accent:active { transform: translateY(0); }

/* Trust badges row — compliance signals near footer */
.trust-row {
  background: var(--cream-deep);
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-row-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trust-badge svg {
  width: 32px; height: 32px;
  color: var(--primary);
}

/* Hero visual cards — gentle float animation */
.hero-visual-card.top { animation: float-card 6s ease-in-out infinite; }
.hero-visual-card.bottom { animation: float-card 7s ease-in-out infinite 0.5s; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Mobile adjustments */
@media (max-width: 760px) {
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .trust-row-inner { gap: 24px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { aspect-ratio: 4/3; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col-side { position: static; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 24px; }
  .cta-band-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .cta-band { padding: 40px 28px; }
  .testimonial { padding: 36px 28px; }
  .testimonial blockquote { font-size: 1.25rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .site-header .container { gap: 12px; }
}
