/* ═══════════════════════════════════════════════════════════
   DR. PUJA'S CLINIC — Design System v2
   Tone: Senior specialist practice. Authoritative, warm, precise.
   Palette: Deep navy ink + clinic teal + warm ivory + sage
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Core palette */
  --ink: #12282D;
  --ink-mid: #2C4A50;
  --ink-light: #5C7A80;
  --ink-faint: #8FA8AD;

  --teal: #1F7A8C;
  --teal-mid: #2E9AB0;
  --teal-pale: #E4F3F6;
  --teal-ghost: #F0F9FB;

  --sage: #6B9E6B;
  --sage-pale: #EFF6EF;

  --ivory: #F8F4EE;
  --ivory-mid: #EFE9E0;
  --ivory-dark: #E3DAD0;
  --white: #FFFFFF;

  --gold: #B8922A;
  --gold-pale: #FBF4E4;

  --error: #E34948;
  --success: #27AE60;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Scale */
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 42px;
  --text-4xl: 56px;
  --text-5xl: 72px;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(18, 40, 45, 0.08), 0 1px 2px rgba(18, 40, 45, 0.04);
  --shadow-md: 0 4px 16px rgba(18, 40, 45, 0.08), 0 2px 6px rgba(18, 40, 45, 0.04);
  --shadow-lg: 0 12px 40px rgba(18, 40, 45, 0.10), 0 4px 12px rgba(18, 40, 45, 0.06);
  --shadow-xl: 0 24px 64px rgba(18, 40, 45, 0.12), 0 8px 20px rgba(18, 40, 45, 0.06);
  --shadow-teal: 0 8px 32px rgba(31, 122, 140, 0.20);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur: 200ms;
  --dur-lg: 350ms;
}

/* ── RESET ─────────────────────────────── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  font-size: var(--text-base);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 500;
}

p {
  color: var(--ink-mid);
}

a {
  color: inherit;
}

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

button,
input,
select,
textarea {
  font-family: var(--font-body);
}

/* ── UTILITY ───────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-pad {
  padding: var(--space-24) var(--space-6);
  max-width: 1180px;
  margin: 0 auto;
}

.section-pad-lg {
  padding: 110px var(--space-6);
  max-width: 1180px;
  margin: 0 auto;
}

/* Narrow reading-width variant of .section-pad — used for long-form text
   (legal pages today; also the recommended width for future Blog/Article
   body copy). Replaces repeated inline max-width:800px styles. */
.section-pad.container-narrow {
  max-width: 800px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: var(--space-3);
}

.text-center {
  text-align: center;
}

.text-teal {
  color: var(--teal);
}

.text-italic {
  font-style: italic;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.page-section {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

/* ── ACCESSIBILITY (site-wide) ─────────── */
/* Global focus-visible ring — mirrors the existing booking-widget treatment
   (.bw-sheet *:focus-visible in booking-widget.css) so keyboard focus is
   visible consistently everywhere, not just inside the booking sheet.
   Purely additive: does not override any existing focus/hover styling. */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Skip-to-content link — hidden until keyboard-focused */
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 3000;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* ── BUTTONS ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 13px 26px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background: var(--ink-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal-ghost);
  transform: translateY(-1px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-wa {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  background: #1aab52;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--text-xs);
  border-radius: var(--r-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--text-base);
  border-radius: var(--r-lg);
}

/* ── NAVIGATION ────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  background: rgba(248, 244, 238, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--ivory-dark);
  transition: all var(--dur-lg) var(--ease);
}

.nav.scrolled {
  background: rgba(248, 244, 238, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.nav-logo-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-mid);
  padding: 7px 13px;
  border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease);
}

.nav-links a:hover {
  color: var(--teal);
  background: var(--teal-ghost);
}

.nav-links a.active {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .nav-logo-sub {
    display: none;
  }

  /* frees width on very narrow phones */
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  right: 0;
  left: auto;
  bottom: 0;
  width: min(70vw, 300px);
  background: var(--ivory);
  box-shadow: -8px 0 24px rgba(18, 40, 45, 0.18);
  z-index: 999;
  padding: var(--space-6) var(--space-5) var(--space-10);
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-menu a {
  display: block;
  padding: var(--space-4) var(--space-3);
  text-decoration: none;
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r-md);
  transition: background var(--dur);
}

.mobile-menu a:hover {
  background: var(--teal-ghost);
  color: var(--teal);
}

.mobile-menu-divider {
  height: 1px;
  background: var(--ivory-dark);
  margin: var(--space-4) 0;
}

.mobile-menu-cta {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  flex-direction: column;
}

/* ── HERO ──────────────────────────────── */
.hero {
  padding-top: 70px;
  min-height: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--ivory) 0%, var(--teal-ghost) 55%, var(--ivory) 100%);
  z-index: 0;
}

.hero-bg-accent {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(31, 122, 140, 0.07) 0%, transparent 70%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-6);
  display: grid;
  grid-template-columns: 1fr 480px;
  grid-template-rows: auto auto;
  gap: var(--space-10);
  align-items: center;
}

.hero-content {
  grid-column: 1;
  grid-row: 1;
}

.hero-cta-group {
  grid-column: 1;
  grid-row: 2;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  padding: 7px 16px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.hero-status-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: blink 2.5s ease infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-h1 {
  font-size: clamp(38px, 5.5vw, 66px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}

.hero-sub {
  font-size: var(--text-md);
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-light);
}

.hero-proof-item strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-proof-sep {
  width: 1px;
  height: 20px;
  background: var(--ivory-dark);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 560px;
  grid-column: 2;
  grid-row: span 2;
}

.hero-img-frame {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  height: 480px;
  border-radius: 170px 170px 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 5px solid var(--white);
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-img-bg-shape {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 530px;
  border-radius: 190px 190px 0 0;
  background: linear-gradient(175deg, var(--teal-pale) 0%, var(--ivory-mid) 100%);
  z-index: -1;
}

.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ivory-dark);
}

.hero-card-top {
  top: 40px;
  right: -10px;
  text-align: center;
  min-width: 120px;
}

.hero-card-top .big {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 3px;
}

.hero-card-top .small {
  font-size: var(--text-xs);
  color: var(--ink-light);
  font-weight: 500;
  line-height: 1.3;
}

.hero-card-bottom {
  bottom: 80px;
  left: -10px;
}

.hero-card-bottom .stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: block;
}

.hero-card-bottom .rating-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.hero-card-bottom .rating-sub {
  font-size: var(--text-xs);
  color: var(--ink-light);
}

/* ── TRUST BAR ─────────────────────────── */
.trust-bar {
  background: var(--ink);
  padding: 20px var(--space-6);
}

.trust-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.trust-item svg {
  width: 15px;
  height: 15px;
  opacity: 0.7;
  flex-shrink: 0;
}

.trust-item img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SECTION ANATOMY ───────────────────── */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-sub {
  margin: var(--space-4) auto 0;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}

.section-sub {
  font-size: var(--text-md);
  color: var(--ink-light);
  line-height: 1.65;
  max-width: 560px;
}

/* .section-sub sits directly on the ivory background in exactly one place
   (About page, Recognitions intro) where --ink-light only reaches 4.21:1 —
   below the 4.5:1 AA minimum. Everywhere else .section-sub is used, it's on
   a white background where --ink-light already passes (4.61:1), so this is
   scoped rather than changing the shared rule. */
.bg-ivory .section-sub {
  color: var(--ink-mid);
}

/* ── BG VARIANTS ───────────────────────── */
.bg-white {
  background: var(--white);
}

.bg-ivory {
  background: var(--ivory);
}

.bg-ink {
  background: var(--ink);
}

.bg-teal {
  background: var(--teal);
}

.bg-teal-ghost {
  background: var(--teal-ghost);
}

/* ── SERVICE CARDS ─────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-lg);
  padding: var(--space-8);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--teal-pale);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-ghost);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--teal);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.service-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--dur);
}

.service-link:hover {
  gap: var(--space-3);
}

/* ── TESTIMONIAL CARDS ─────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-lg);
  padding: var(--space-8);
  transition: all var(--dur) var(--ease);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--sage-pale);
  color: var(--sage);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--space-4);
  border: 1px solid rgba(107, 158, 107, 0.2);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 0.8;
  margin-bottom: var(--space-3);
  display: block;
  color: var(--teal);
  opacity: 0.25;
}

.testimonial-text {
  font-size: var(--text-sm);
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: var(--space-5);
  font-style: italic;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--ink);
}

.testimonial-tag {
  font-size: var(--text-xs);
  color: var(--ink-light);
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
}

/* ── WHY CARDS ─────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.why-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-lg);
  padding: var(--space-8) var(--space-6);
  transition: all var(--dur) var(--ease);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.why-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--teal-pale);
  line-height: 1;
  margin-bottom: var(--space-4);
  display: block;
}

.why-card h4 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.why-card p {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.65;
}

/* ── ABOUT ─────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: var(--space-20);
  align-items: start;
}

.about-img-stack {
  position: relative;
  height: 540px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 320px;
  height: 430px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 220px;
  height: 290px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 5px solid var(--white);
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.about-exp-badge {
  position: absolute;
  top: 200px;
  right: 20px;
  background: var(--ink);
  color: white;
  border-radius: var(--r-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  z-index: 3;
  text-align: center;
}

.about-exp-badge .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-exp-badge .label {
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.04em;
}

.creds-list {
  list-style: none;
  margin-bottom: var(--space-8);
}

.creds-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--ivory-dark);
  font-size: var(--text-sm);
  color: var(--ink-mid);
}

.creds-list li:last-child {
  border-bottom: none;
}

.cred-check {
  width: 20px;
  height: 20px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  margin-top: 1px;
}

.cred-check svg {
  width: 10px;
  height: 10px;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.tag {
  background: var(--teal-ghost);
  color: var(--teal);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-full);
  border: 1px solid rgba(31, 122, 140, 0.12);
  letter-spacing: 0.02em;
}

.philosophy-block {
  background: var(--ivory-mid);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--space-5) var(--space-6);
  margin-top: var(--space-6);
}

.philosophy-block p {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
}

.philosophy-block cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-light);
  margin-top: var(--space-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── RECOGNITIONS & CONFERENCES (About page) ──────── */
.recognition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  gap: var(--space-5);
  max-width: 980px;
  margin: 0 auto;
  justify-content: center;
}

.recognition-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}

.recognition-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 140, 0.2);
  transform: translateY(-2px);
}

.recognition-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--ivory-mid);
  overflow: hidden;
}

.recognition-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.recognition-caption {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
}

.recognition-caption span {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-light);
  margin-top: 2px;
}

/* ── LOCATION CARDS ────────────────────── */
.location-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  padding: var(--space-8);
  transition: all var(--dur) var(--ease);
}

.location-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 140, 0.2);
  transform: translateY(-2px);
}

.location-card.featured {
  border-color: rgba(31, 122, 140, 0.25);
  background: linear-gradient(145deg, var(--white) 0%, var(--teal-ghost) 100%);
}

.location-badge-pill {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
  margin-bottom: var(--space-4);
}

.pill-primary {
  background: var(--ink);
  color: white;
}

.pill-secondary {
  background: var(--ivory-mid);
  color: var(--ink-light);
}

/* Location logo box — mirrors the booking widget's .bw-clinic-logo treatment
   so the Locations page and booking widget read as one visual system. */
.location-card-logo {
  width: 68px;
  height: 68px;
  border-radius: var(--r-md);
  background: var(--teal-ghost);
  border: 1px solid var(--teal-pale);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  transition: transform var(--dur) var(--ease);
}

.location-card:hover .location-card-logo {
  transform: scale(1.05);
}

.location-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.location-card-header {
  display: flex;
  align-items: flex-start;   /* keeps logo pinned to top if address wraps to 2 lines */
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}
.location-card-header .location-card-logo {
  margin-bottom: 0;
  flex-shrink: 0;
}
.location-card-header-text {
  min-width: 0;   /* lets long addresses wrap instead of overflowing the flex row */
}
.location-card-header-text h3 {
  margin-bottom: 2px;
}
.location-card-header-text .location-addr {
  margin-bottom: 0;   /* spacing now comes from .location-card-header's margin-bottom instead */
}

/* Logo framing consistency */
.location-card-logo img {
  padding: 6px;   /* was 8px — slightly less inset so all logos read closer in visual weight */
}

.location-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.location-card-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.location-card-logo-group {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.location-card-logo-group .location-card-logo {
  margin-bottom: 0;
} 

@media (max-width: 768px) {
  .location-card-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.location-addr {
  font-size: var(--text-sm);
  color: var(--ink-light);
  margin-bottom: var(--space-5);
  line-height: 1.55;
}

.timings-table {
  width: 100%;
  border-collapse: collapse;
}

.timings-table td {
  padding: 7px 0;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--ivory-dark);
}

.timings-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  min-width: 90px;
}

.timings-table td:last-child {
  color: var(--ink-light);
  text-align: right;
}

.timings-table tr:last-child td {
  border-bottom: none;
}

.location-fee {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-weight: 700;
  font-size: var(--text-md);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  margin: var(--space-4) 0;
  font-family: var(--font-display);
  border: 1px solid rgba(184, 146, 42, 0.2);
}

.location-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.location-earliest-slot {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  margin-top: 6px;
}

/* ── FACILITIES ────────────────────────── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.facility-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  padding: var(--space-8);
  display: flex;
  gap: var(--space-5);
  transition: all var(--dur) var(--ease);
}

.facility-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 140, 0.2);
  transform: translateY(-2px);
}

.facility-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--teal-ghost);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.facility-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.facility-card h3 {
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.facility-card p {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.65;
}

/* ── BLOG ──────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 140, 0.2);
  transform: translateY(-2px);
}

.blog-thumb {
  height: 190px;
  background: var(--teal-ghost);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-thumb svg {
  width: 48px;
  height: 48px;
  color: var(--teal);
  opacity: 0.4;
}

.blog-body {
  padding: var(--space-6);
}

.blog-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.blog-card h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.blog-card p {
  font-size: var(--text-xs);
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.blog-meta {
  font-size: var(--text-xs);
  color: var(--ink-light);
}

.blog-loading, .blog-load-error, .blog-no-articles {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-light);
  font-size: var(--text-sm);
  padding: 24px 0;
}
.blog-load-error { color: var(--error); }

.blog-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-ghost);
  color: var(--teal);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--space-5);
}
.blog-filter-badge button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-weight: 700;
  padding: 0;
  font-size: inherit;
}

.blog-category-filter-btn {
  display: inline-block;
  margin-top: var(--space-2);
  background: none;
  border: none;
  padding: 0;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
}
.blog-category-filter-btn:hover { text-decoration: underline; }

.blog-article-content p { margin-bottom: var(--space-4); line-height: 1.75; color: var(--ink-mid); }
.blog-article-content h2 { font-size: var(--text-xl); margin: var(--space-8) 0 var(--space-3); }

.blog-content-list {
  margin: 0 0 var(--space-4) var(--space-5);
  color: var(--ink-mid);
  line-height: 1.75;
}
.blog-content-list li { margin-bottom: var(--space-2); }

.blog-content-image {
  margin: var(--space-6) 0;
}
.blog-content-image img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.blog-content-image figcaption {
  font-size: var(--text-xs);
  color: var(--ink-light);
  text-align: center;
  margin-top: var(--space-2);
}

.blog-content-quote {
  margin: var(--space-6) 0;
  padding: var(--space-5) var(--space-6);
  border-left: 3px solid var(--teal);
  background: var(--teal-ghost);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.blog-content-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.blog-content-quote cite {
  font-style: normal;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-light);
}

.blog-content-callout {
  margin: var(--space-6) 0;
  padding: var(--space-5);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  line-height: 1.65;
}
.blog-content-callout-info {
  background: var(--teal-ghost);
  color: var(--ink-mid);
  border: 1px solid rgba(31, 122, 140, 0.15);
}
.blog-content-callout-warning {
  background: var(--gold-pale);
  color: #8a6a1f;
  border: 1px solid rgba(184, 146, 42, 0.25);
}

.blog-faq-item {
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-3);
}
.blog-faq-item summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.blog-faq-item summary::-webkit-details-marker { display: none; }
.blog-faq-item div { margin-top: var(--space-3); }

.blog-related-list { list-style: none; }
.blog-related-list li { margin-bottom: var(--space-2); }
.blog-related-list a { color: var(--teal); font-weight: 600; text-decoration: none; }
.blog-related-list a:hover { text-decoration: underline; }

.blog-pillar-backlink { font-size: var(--text-sm); color: var(--ink-light); margin-top: var(--space-8); }
.blog-pillar-backlink a { color: var(--teal); font-weight: 600; text-decoration: none; }

/* ── CTA BAND ──────────────────────────── */
.cta-band {
  background: var(--ink);
  padding: 80px var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(31, 122, 140, 0.15) 0%, transparent 70%);
}

.cta-band h2 {
  font-size: clamp(28px, 4vw, 48px);
  color: white;
  margin-bottom: var(--space-3);
  font-weight: 600;
  position: relative;
}

.cta-band p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-8);
  position: relative;
}

.cta-band-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── PAGE HERO (inner pages) ───────────── */
.page-hero {
  padding-top: 70px;
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-mid) 100%);
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(31, 122, 140, 0.2) 0%, transparent 70%);
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px var(--space-6) 0;
  position: relative;
}

.breadcrumb {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-5);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--dur);
  display: inline-block;
  padding: 4px 3px;
  margin: -4px -3px;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  opacity: 0.4;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  color: white;
  font-weight: 600;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.page-hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-mid);
}

.page-hero p {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
}

/* ── FOOTER ────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px var(--space-6) 32px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand h3 {
  font-size: var(--text-xl);
  color: white;
  margin-bottom: var(--space-2);
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.footer h4 {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--dur);
}

.footer-links a:hover {
  color: white;
}

.footer-contact-row {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  align-items: flex-start;
}

.footer-contact-row svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.5;
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
}

.footer-legal {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color var(--dur);
  display: inline-block;
  padding: 4px 3px;
  margin: -4px -3px;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.footer-disclaimer {
  max-width: 1180px;
  margin: var(--space-5) auto 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-5);
}

/* ── FLOATING ELEMENTS ─────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  font-size: 26px;
  transition: all 0.3s;
  animation: pulse-wa 3s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  }

  50% {
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.55), 0 0 0 10px rgba(37, 211, 102, 0.08);
  }
}

.notification {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 3000;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-md);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  font-size: var(--text-sm);
  color: var(--ink);
  display: none;
}

.notification.show {
  display: block;
  animation: slideIn 0.3s var(--ease-out);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notification strong {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-weight: 700;
}

/* ── AI CHAT ───────────────────────────── */
.chat-fab {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: rgba(18, 40, 45, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.chat-fab:hover {
  transform: scale(1.08);
  background: rgba(44, 74, 80, 0.85);
}

.chat-fab svg {
  width: 24px;
  height: 24px;
  color: white;
}

.chat-fab-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: var(--teal);
  border-radius: 50%;
  border: 2px solid var(--white);
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.chat-panel {
  position: fixed;
  bottom: 96px;
  left: 28px;
  z-index: 890;
  width: 380px;
  height: 520px;
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ivory-dark);
}

.chat-panel.open {
  display: flex;
  animation: chatOpen 0.3s var(--ease-out);
}

@keyframes chatOpen {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.chat-header {
  background: var(--ink);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-avatar svg {
  width: 18px;
  height: 18px;
  color: white;
}

.chat-header-info {
  flex: 1;
}

.chat-header-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
}

.chat-header-status {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.chat-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color var(--dur);
}

.chat-close-btn:hover {
  color: white;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: var(--ivory-dark);
  border-radius: 2px;
}

.chat-msg {
  display: flex;
  gap: var(--space-2);
  align-items: flex-end;
}

.chat-msg.user {
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ivory-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-light);
}

.chat-msg.user .chat-msg-avatar {
  background: var(--teal);
  color: white;
}

.chat-bubble {
  max-width: 78%;
  padding: var(--space-3) var(--space-4);
  border-radius: 18px;
  font-size: var(--text-sm);
  line-height: 1.55;
}

.chat-msg:not(.user) .chat-bubble {
  background: var(--ivory);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
  background: var(--teal);
  color: white;
  border-bottom-right-radius: 4px;
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  background: var(--ivory);
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--ink-faint);
  border-radius: 50%;
  animation: typing 1.4s ease infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.chat-quick-replies {
  padding: 0 var(--space-4) var(--space-3);
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.quick-reply {
  padding: 6px 12px;
  background: var(--teal-ghost);
  border: 1px solid rgba(31, 122, 140, 0.15);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
  transition: all var(--dur);
  white-space: nowrap;
}

.quick-reply:hover {
  background: var(--teal-pale);
}

.chat-input-row {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--ivory-dark);
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  border: 1.5px solid var(--ivory-dark);
  border-radius: var(--r-full);
  padding: 9px 16px;
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--ivory);
  outline: none;
  transition: border-color var(--dur);
}

.chat-input:focus {
  border-color: var(--teal);
  background: var(--white);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: var(--ink-mid);
  transform: scale(1.05);
}

.chat-send-btn svg {
  width: 16px;
  height: 16px;
  color: white;
}

/* ── SERVICES HUB (scalable service category cards) ───── */
.service-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.service-hub-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: all var(--dur) var(--ease);
}

.service-hub-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 140, 0.2);
}

.service-hub-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.service-hub-header h3 {
  font-size: var(--text-xl);
  font-weight: 500;
  margin: 0;
}

.service-hub-overview {
  font-size: var(--text-sm);
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

.service-hub-card.upcoming {
  opacity: 0.7;
  background: var(--ivory-mid);
}

.service-hub-upcoming-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mid);
  background: var(--ivory-dark);
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-left: var(--space-2);
  vertical-align: middle;
}

.service-hub-card .tags-row {
  margin-bottom: var(--space-5);
}

.service-hub-tags-more {
  margin-bottom: var(--space-5);
}

.service-hub-tags-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--teal);
}

.service-hub-tags-more summary::-webkit-details-marker {
  display: none;
}

.service-hub-tags-more summary::before {
  content: '+';
  display: inline-block;
}

.service-hub-tags-more[open] summary {
  margin-bottom: var(--space-3);
}

.service-hub-tags-more[open] summary::before {
  content: '−';
}

.topic-preview-list summary {
  list-style: none;
  cursor: pointer;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--teal);
  margin-top: var(--space-2);
}

.topic-preview-list summary::-webkit-details-marker {
  display: none;
}

.topic-preview-list-items {
  margin-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Future-section placeholders (Diagnosis/Treatment/FAQ) — deliberately styled
   as dashed/muted so they read as "not yet a link" rather than a broken one,
   reusing the same dashed-border "coming soon" convention already established
   on the Locations page's Cloudnine card. */
.service-hub-future-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.service-hub-future-pill {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-light);
  background: transparent;
  border: 1.5px dashed var(--ivory-dark);
  border-radius: var(--r-full);
  padding: 3px 12px;
}

/* Inside the muted .upcoming card the background is ivory-mid, not white —
   --ink-light alone (3.82:1) isn't enough there, so use --ink-mid (7.90:1). */
.service-hub-card.upcoming .service-hub-future-pill,
.service-hub-card.upcoming .service-hub-soon {
  color: var(--ink-mid);
}

.service-hub-reading {
  font-size: var(--text-xs);
  color: var(--ink-light);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

.service-hub-reading a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.service-hub-reading a:hover {
  text-decoration: underline;
}

.service-hub-soon {
  color: var(--ink-light);
  font-style: italic;
}

.service-hub-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ── BLOG LANDING: Featured Article ────── */
.featured-article {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-8);
  align-items: center;
  background: linear-gradient(145deg, var(--white) 0%, var(--teal-ghost) 100%);
  border: 1px solid rgba(31, 122, 140, 0.25);
  border-radius: var(--r-md);
  padding: var(--space-8);
}

.featured-article-thumb {
  height: 180px;
  background: var(--white);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-article-thumb svg {
  width: 64px;
  height: 64px;
  color: var(--teal);
  opacity: 0.5;
}

.featured-article-body h3 {
  font-size: var(--text-2xl);
  font-weight: 500;
  margin: var(--space-2) 0;
}

.featured-article-body p {
  font-size: var(--text-base);
  color: var(--ink-light);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

/* ── BLOG LANDING: Category chips ──────── */
.blog-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.blog-category-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  padding: var(--space-6);
  transition: all var(--dur) var(--ease);
}

.blog-category-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 140, 0.2);
}

.blog-category-card h3 {
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.blog-category-count-badge {
  display: block;
  font-size: var(--text-xs);
  color: var(--ink-light);
  margin: 2px 0 var(--space-3);
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .nav-actions .btn-primary,
  .nav-actions .btn-outline {
    display: none;
  }

  .nav-actions {
    gap: 4px;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .blog-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-hub-grid {
    grid-template-columns: 1fr;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }
}

/* ── CONTACT ───────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: stretch;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  padding: var(--space-5) var(--space-6);
  display: flex;
  gap: var(--space-4);
  align-items: center;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  color: inherit;
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 122, 140, 0.2);
  transform: translateX(4px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-icon-teal {
  background: var(--teal-ghost);
  color: var(--teal);
}

.contact-icon-wa {
  background: #e8faf1;
  color: #25D366;
}

.contact-icon-mail {
  background: #fff4e6;
  color: #e67e22;
}

.contact-icon-map {
  background: #f0f4ff;
  color: #3498db;
}

.contact-info-card h4 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--ink);
  font-family: var(--font-body);
}

.contact-info-card p {
  font-size: var(--text-xs);
  color: var(--ink-light);
}

.map-embed {
  width: 100%;
  height: 200px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--ivory-dark);
  margin-top: var(--space-5);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ADD — new rules */
.contact-left-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Locations — plain rectangle for the JS-API map. No aspect-ratio hack
   needed: Map/AdvancedMarkerElement size and center themselves against
   whatever real height this container has, so a fixed height is both
   simpler and more robust than the old square wrapper. */
.map-embed.map-embed-rect {
  height: 340px;
}

/* Contact — square wrapper for a plain <iframe> embed. The aspect-ratio
   trick is safe here (unlike with the JS API) because a static iframe
   has no marker math to get wrong — it just scales with the box. */
.map-embed.map-embed-square-iframe {
  height: auto;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.map-embed-square-inner {
  position: relative;
  padding-bottom: 100%;
  height: 0;
  border-radius: var(--r-md);
  overflow: hidden;
}

.clinic-map {
  background: var(--ivory-mid); /* visible tone while map tiles load, avoids a stark white flash */
}

.form-card {
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-lg);
  padding: var(--space-8);
}

.form-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: 4px;
}

.form-card .form-sub {
  font-size: var(--text-sm);
  color: var(--ink-light);
  margin-bottom: var(--space-6);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--error);
}

.form-error-text {
  font-size: 12px;
  color: var(--error);
  margin-top: 6px;
  min-height: 16px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ivory-dark);
  border-radius: var(--r-md);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--dur), box-shadow var(--dur);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink-light);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 122, 140, 0.08);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: var(--space-2);
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
}

.consent-row label {
  font-size: var(--text-xs);
  color: var(--ink-light);
  line-height: 1.55;
  cursor: pointer;
}

/* ── TESTIMONIALS PAGE ─────────────────── */
.testimonials-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 1024px) {

  /* Compact (not hide) the nav so it still fits down to 768px —
     the collapse-to-hamburger threshold moved to 768px below. */
  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 6px 7px;
    font-size: 12px;
  }

  .nav-actions .btn-primary,
  .nav-actions .btn-outline {
    padding: 7px 11px;
    font-size: 11px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-logo-sub {
    display: none;
  }

  .nav-logo-mark {
    width: 38px;
    height: 38px;
  }

  .nav-logo-name {
    font-size: 13px;
  }

  .nav-inner {
    gap: 12px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-img-stack {
    height: 400px;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    display: block;
    height: 220px;
    margin: 0 auto 16px;
  }

  .hero-inner {
    padding: var(--space-6) var(--space-5) var(--space-8);
    gap: var(--space-6);
  }

  .hero-cta-group {
    order: 3;
  }

  .hero-img-frame {
    width: 200px;
    height: 280px;
  }

  .hero-img-bg-shape {
    width: 230px;
    height: 310px;
  }

  .hero-card-top,
  .hero-card-bottom {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-img-stack {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .about-img-main,
  .about-img-secondary {
    position: static;
    width: 100%;
    max-width: 320px;
    height: 320px;
  }

  .about-exp-badge {
    position: static;
    margin: -20px auto 0;
    width: fit-content;
  }

  .hero-h1 {
    font-size: 36px;
  }

  .section-pad {
    padding: var(--space-16) var(--space-5);
  }

  .section-pad-lg {
    padding: 60px var(--space-5);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-page-grid {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .services-detail-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .type-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .chat-panel {
    width: calc(100vw - 56px);
    left: 16px;
    bottom: 90px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }

  .chat-fab {
    left: 16px;
    bottom: 16px;
  }

  .cta-band {
    padding: 60px var(--space-5);
  }

  .footer {
    padding: 48px var(--space-5) 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.assoc-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .assoc-locations-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .chat-fab,
  .whatsapp-float {
    width: 48px;
    height: 48px;
  }

  .footer {
    padding-bottom: 88px;
  }

  /* clears both FABs at page end */
  .location-earliest-slot {
    margin-bottom: 10px;
  }
  #page-locations {
    padding-bottom: 64px;     /* FAB clearance moved here, applies once at page end */
  }
}
  /* clears FABs on Locations page */

@media (max-width: 768px) {
  .chat-fab {
    background: rgba(18, 40, 45, 0.8);
  }

  /* opaque fallback when blur unsupported */
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  @media (max-width: 768px) {
    .chat-fab {
      background: rgba(18, 40, 45, 0.42);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
    }
  }
}

@media (max-width: 768px) {
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
  }

  .footer-links li {
    margin-bottom: 0;
  }

  .footer-links a {
    padding: 8px 3px;
    min-height: 40px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .mobile-menu a {
    padding: 12px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .mobile-menu nav {
    gap: 0;
  }

  .mobile-menu-divider {
    margin: 12px 0;
  }
}
/* ═══════════════════════════════════════════════════════════
   FERTILITY EDUCATION COMMUNITY — page-specific styles
   All values pull from existing design tokens (var(--ink), var(--gold),
   var(--ivory), var(--teal), --space-*, --r-*, --shadow-*, --font-*).
   No new colors, fonts, or spacing scale introduced.
═══════════════════════════════════════════════════════════ */

/* ── HERO ──────────────────────────────────────────────── */
.fc-hero {
  padding: 130px var(--space-6) 80px;
  background: linear-gradient(160deg, var(--ivory) 0%, var(--teal-ghost) 60%, var(--ivory) 100%);
  text-align: center;
}
.fc-hero-inner { max-width: 680px; margin: 0 auto; }
.fc-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: var(--space-4) 0 var(--space-5);
  letter-spacing: -0.01em;
}
.fc-hero-title em { font-style: italic; font-weight: 400; color: var(--teal); }
.fc-hero-sub { font-size: var(--text-md); color: var(--ink-light); line-height: 1.7; margin-bottom: var(--space-8); }
.fc-trust-line { font-size: var(--text-sm); color: var(--ink-light); margin-top: var(--space-4); }

/* Hero Join CTA — was stretching too wide; natural content width on desktop,
   comfortable near-full-width only on small mobile. */
.fc-btn-hero-cta {
  width: auto;
  max-width: 100%;
}
@media (max-width: 480px) {
  .fc-btn-hero-cta {
    display: block;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Mixed-typography section headings: sans-serif base (matches body font,
   dark ink) + italic serif accent (matches --font-display, teal) — reuses
   the exact base+em pattern already established in .hero-h1/.fc-hero-title
   rather than inventing a new type treatment. Scoped to these 4 headings
   only via .fc-mixed-heading, not applied to .section-title sitewide. */
.fc-mixed-heading {
  font-family: var(--font-body);
  color: var(--ink);
  text-align: center;
}
.heading-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}
@media (max-width: 480px) {
  .fc-mixed-heading { font-size: 26px; line-height: 1.25; }
}

/* ── PRINT — results summary only (Print/Save as PDF uses the browser's
   native print, no backend or client-side PDF library involved) ────────── */
@media print {
  body * { visibility: hidden; }
  .fq-print-area, .fq-print-area * { visibility: visible; }

  /* The print area lives inside #fqOverlay (position:fixed) > #fqSheet
     (position:relative, overflow:hidden, capped max-height) > .fq-body.
     Without resetting this whole chain, the absolutely-positioned print
     area gets clipped by the sheet's own fixed-height box instead of
     flowing naturally across as many printed pages as it needs. */
  #fqOverlay, #fqSheet, .fq-body {
    position: static !important;
    display: block !important;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .fq-print-area {
    position: static;
    width: 100%;
  }

  .fq-no-print { display: none !important; }
  .fq-print-only { display: flex !important; }
}
.fq-print-only {
  display: none;
}
.fq-print-header {
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ivory-dark);
}
.fq-print-header img {
  border-radius: 8px;
}
.fq-print-clinic-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-align: left;
}
.fq-print-clinic-sub {
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}
.fq-print-copyright {
  font-size: 10px;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid var(--ivory-dark);
}

/* Privacy assurance bullet — deliberately its own line, directly under the
   CTA, so it's read as reassurance immediately after the ask, not buried. */
.fc-privacy-bullet {
  text-align: center;
  margin: var(--space-5) auto 0;
  color: var(--ink-mid);
  line-height: 1.6;
}
.fc-privacy-line1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: var(--text-sm);
}
.fc-privacy-line1 svg { color: var(--teal); flex-shrink: 0; }
.fc-privacy-line1 strong { color: var(--ink); }
.fc-privacy-line2 {
  font-size: var(--text-sm);
  max-width: 480px;
  margin: 4px auto 0;
}

/* ── GOLD CTA BUTTON (modifier on existing .btn) ─────────── */
.fc-btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 4px 16px rgba(184, 146, 42, 0.3); }
.fc-btn-gold:hover { background: #a17f22; color: white; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184, 146, 42, 0.4); }

/* ── WHY JOIN — 2x2 benefit grid (cards reuse .why-card/.why-num) ─── */
.fc-benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
@media (max-width: 768px) { .fc-benefits-grid { grid-template-columns: 1fr; } }

/* ── PROMISE BAND (content styling on top of existing .cta-band) ── */
.fc-promise-band { text-align: center; }
.fc-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  color: white;
  line-height: 1.5;
  max-width: 720px;
  margin: var(--space-6) auto var(--space-6);
}
.fc-promise-sub { font-size: var(--text-md); color: rgba(255,255,255,0.7); max-width: 640px; margin: 0 auto; line-height: 1.7; }

/* ── AUDIENCE (patient card reuses .location-card; underline + list) ── */
.fc-underline { width: 40px; height: 2px; background: var(--gold); border: none; margin: var(--space-3) 0 var(--space-5); }
.fc-audience-list { list-style: none; }
.fc-audience-list li { position: relative; padding-left: 20px; margin-bottom: var(--space-3); font-size: var(--text-sm); color: var(--ink-mid); line-height: 1.6; }
.fc-audience-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.fc-audience-note { margin-top: var(--space-5); font-weight: 600; color: var(--ink); font-size: var(--text-sm); }

/* HCP callout — deliberately smaller/secondary, visually separated from
   the patient-facing card above via a plain (non-card) bordered strip. */
.fc-hcp-callout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  max-width: 560px;
  margin: var(--space-6) auto 0;
  padding: var(--space-4) var(--space-5);
  background: var(--ivory);
  border: 1px dashed var(--ivory-dark);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
}
.fc-hcp-callout strong { color: var(--ink); }
.fc-hcp-callout p { margin-top: 2px; color: var(--ink-light); }
.fc-hcp-callout a { color: var(--teal); font-weight: 600; text-decoration: none; }
.fc-hcp-callout a:hover { text-decoration: underline; }

/* ── JOURNEY GATEWAY — "Where are you in your journey?" (5 pathway cards) ── */
.fc-gateway-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) {
  .fc-gateway-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .fc-gateway-grid { grid-template-columns: 1fr; }
}
.fc-gateway-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  padding: var(--space-6) var(--space-5);
  text-align: center;
  text-decoration: none;
  transition: all var(--dur) var(--ease);
}
.fc-gateway-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.fc-gateway-icon {
  display: block;
  font-size: 28px;
  margin-bottom: var(--space-3);
}
.fc-gateway-card h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.fc-gateway-card p {
  font-size: 12px;
  color: var(--ink-light);
  line-height: 1.5;
}

/* ── FERTILITY QUESTIONNAIRE (reuses .bw-sheet/.bw-overlay/.bw-form-* from booking-widget.css) ── */
.fq-body {
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* only .fq-step-body scrolls now — nav can never get clipped */
}
.fq-intro {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ── WIZARD: progress + step controls ─────────────────────────────────── */
.fq-progress-wrap {
  flex-shrink: 0;
  padding: 0 24px 14px;
}
@media (max-width: 768px) { .fq-progress-wrap { padding: 0 16px 14px; } }
.fq-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.fq-progress-track {
  height: 5px;
  background: var(--ivory-dark);
  border-radius: var(--r-full);
  overflow: hidden;
}
.fq-progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: var(--r-full);
  transition: width var(--dur) var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .fq-progress-fill { transition: none; }
}
.fq-step-body {
  flex: 1;
  min-height: 0; /* required for a flex child to scroll properly instead of overflowing its column */
  overflow-y: auto;
  padding: 0 40px 0 24px; /* extra right padding absorbs the scrollbar so text doesn't hug it */
}
@media (max-width: 768px) {
  .fq-step-body { padding: 0 32px 0 16px; }
}
.fq-step-nav {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
  padding: 16px 24px 20px;
  margin-top: 4px;
  border-top: 1px solid var(--ivory-dark);
}
@media (max-width: 768px) {
  .fq-step-nav { padding: 16px 16px 16px; }
}
.fq-step-nav .bw-primary-btn,
.fq-step-nav .bw-done-btn {
  margin: 0;
  flex: 1;
}

/* Scoped to this widget only — booking/manage-booking's .bw-sheet is
   frozen/working, so overriding by #id rather than touching the shared
   class. Sits higher than the default bottom-sheet position and caps
   height a touch tighter so the step-nav footer is never flush against
   the viewport edge on short mobile screens. */
@media (max-width: 768px) {
  #fqSheet {
    margin-bottom: 32px;
    max-height: 76vh;
    max-height: 76dvh;
  }
}

.fq-field-error {
  font-size: 11.5px;
  color: var(--error);
  margin-top: -4px;
  margin-bottom: 10px;
  min-height: 14px;
}
.fq-input-error {
  border-color: var(--error) !important;
}

.fq-section {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ivory-dark);
}
.fq-section:last-of-type {
  border-bottom: none;
}
.fq-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.fq-optional {
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 12px;
}
.fq-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.fq-check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--teal);
  cursor: pointer;
}
/* Red flags get a visually distinct warning treatment — amber, not teal —
   so they read as a different KIND of input than lifestyle checkboxes,
   without escalating to alarming red or implying a diagnosis. */
.fq-redflags {
  background: var(--gold-pale);
  border: 1px solid rgba(184, 146, 42, 0.25);
  border-radius: var(--r-md);
  padding: 16px 16px 8px;
  border-bottom: none;
}
.fq-redflags h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a6a1f;
}
.fq-redflags h4::before {
  content: '⚠';
  font-size: 13px;
}
.fq-redflags .fq-check-row input[type="checkbox"] {
  accent-color: var(--gold);
}
.fq-redflags-note {
  font-size: 12px;
  color: #8a6a1f;
  margin-bottom: 8px;
}
.fq-demo-row {
  display: flex;
  gap: 12px;
}
.fq-contact-toggle {
  background: var(--ivory);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 12px;
}
.fq-privacy-note {
  font-size: 11px;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-top: 4px;
}
.fq-privacy-note a {
  color: var(--teal);
  text-decoration: underline;
}
.fq-error {
  font-size: 12px;
  color: var(--error);
  text-align: center;
  min-height: 16px;
  margin-bottom: 8px;
}

/* Results screen */
.fq-success-wrap {
  text-align: center;
  padding: 0 24px 20px;
}
@media (max-width: 768px) {
  .fq-success-wrap { padding: 0 16px 16px; }
}
.fq-success-tick {
  font-size: 44px;
  margin-bottom: 10px;
}
.fq-success-wrap h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}
.fq-followup-banner {
  background: var(--gold-pale);
  border: 1px solid rgba(184, 146, 42, 0.25);
  border-radius: var(--r-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
}
.fq-followup-banner strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 6px;
}
.fq-followup-banner p {
  font-size: 12px;
  color: var(--ink-light);
  margin-bottom: 10px;
}
.fq-result-row {
  text-align: left;
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.fq-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.fq-result-head span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.fq-result-row p {
  font-size: 12.5px;
  color: var(--ink-light);
  line-height: 1.55;
}
.fq-status-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.fq-status-strong { background: var(--sage-pale); color: var(--sage); }
.fq-status-attention { background: var(--teal-ghost); color: var(--teal); }
.fq-status-focus { background: var(--gold-pale); color: #8a6a1f; border: 1px solid rgba(184, 146, 42, 0.3); }

/* ── SOCIAL PROOF — reuses .testimonial-quote (existing decorative mark) ── */
.fc-testimonial-card {
  max-width: 560px;
  margin: 0 auto var(--space-6);
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-lg);
  padding: var(--space-8);
}
.fc-testimonial-text { font-size: var(--text-md); font-style: italic; color: var(--ink-mid); line-height: 1.7; margin-bottom: var(--space-4); }
.fc-testimonial-author { font-size: var(--text-sm); font-weight: 600; color: var(--ink); }
.fc-stat-line { font-size: var(--text-md); color: var(--ink); font-weight: 500; }
.fc-stat-line strong { color: var(--gold); font-family: var(--font-display); font-size: 1.15em; }
.fc-placeholder-note { font-size: 12px; color: var(--ink-faint); margin-top: var(--space-2); }

/* ── BOUNDARY STATEMENT CARDS ──────────────────────────── */
.fc-boundary-card {
  background: var(--ivory-mid);
  border-radius: var(--r-md);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ── DOCTOR BIO ────────────────────────────────────────── */
.fc-doctor-block { text-align: center; }
.fc-doctor-photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}
.fc-doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fc-doctor-subtitle { font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); margin-bottom: var(--space-5); }
.fc-doctor-bio { font-size: var(--text-md); color: var(--ink-light); line-height: 1.75; max-width: 620px; margin: 0 auto; }

/* ── FAQ CHEVRON (rotate-on-open, mirrors the existing
      .mb-past-details[open] summary::before pattern) ──────── */
.fc-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.fc-faq-chevron { flex-shrink: 0; transition: transform 0.2s ease; color: var(--teal); }
.fc-faq-item[open] .fc-faq-chevron { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
  .fc-faq-chevron { transition: none; }
}

/* ── DR PUJA'S CLINIC CONSENT BANNERS ────────────────────────────────────────── */
.dpc-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500; /* below .bw-overlay/.mb-overlay (2000) so modals always win; above nav (1000) */
  background: var(--white);
  border-top: 1px solid var(--ivory-dark);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5) var(--space-6);
}
.dpc-consent-banner[hidden] { display: none; }

.dpc-consent-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.dpc-consent-text { flex: 1; min-width: 240px; font-size: var(--text-sm); color: var(--ink-mid); line-height: 1.6; margin: 0; }
.dpc-consent-text a { color: var(--teal); font-weight: 600; text-decoration: underline; }
.dpc-consent-actions { display: flex; gap: var(--space-3); flex-shrink: 0; }

@media (max-width: 640px) {
  .dpc-consent-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .dpc-consent-actions { justify-content: center; }
}

/* Shift the floating buttons up while the banner is visible so nothing overlaps —
   same pattern already used for .footer/.location-earliest-slot FAB clearance. */
body.dpc-consent-visible .chat-fab,
body.dpc-consent-visible .whatsapp-float {
  bottom: 100px;
}
@media (max-width: 640px) {
  body.dpc-consent-visible .chat-fab,
  body.dpc-consent-visible .whatsapp-float {
    bottom: 150px; /* banner is taller once it stacks vertically on mobile */
  }
}

@media (prefers-reduced-motion: reduce) {
  .dpc-consent-banner { transition: none; }
}
/* ═══════════════════════════════════════════════════════════
   BLOG ARTICLE — READING EXPERIENCE ADDITIONS
   Additive only. Does not modify any existing .blog-* rule above —
   .blog-content-callout-info/-warning, .blog-faq-item,
   .blog-related-list, .blog-pillar-backlink, .blog-content-list,
   .blog-content-image, .blog-content-quote are all untouched.
═══════════════════════════════════════════════════════════ */

/* ── Typography hierarchy refinement (article body only) ──────────── */
.blog-article-content h2 {
  font-size: var(--text-xl);
  margin: var(--space-10) 0 var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--ivory-dark);
  color: var(--ink);
  scroll-margin-top: 90px; /* keeps a same-page-jump target clear of the fixed nav */
}
.blog-article-content h2:first-child { margin-top: 0; }
.blog-article-content > p:first-of-type {
  font-size: var(--text-lg);
  color: var(--ink-mid);
  line-height: 1.75;
}

/* ── "In This Article" TOC ─────────────────────────────────────────── */
.blog-toc {
  background: var(--teal-ghost);
  border: 1px solid rgba(31, 122, 140, 0.15);
  border-radius: var(--r-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-8);
}
.blog-toc summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--teal);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.blog-toc summary::-webkit-details-marker { display: none; }
.blog-toc summary::before {
  content: '≡';
  font-size: 15px;
}
.blog-toc ol {
  list-style: decimal;
  margin: var(--space-3) 0 0 var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blog-toc ol li a {
  font-size: var(--text-sm);
  color: var(--ink-mid);
  text-decoration: none;
}
.blog-toc ol li a:hover { color: var(--teal); text-decoration: underline; }

@media (min-width: 1024px) {
  .blog-toc {
    position: sticky;
    top: 86px;
    z-index: 5;
  }
}

/* ── Share bar ──────────────────────────────────────────────────────── */
.blog-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: var(--space-5) 0 var(--space-8);
  flex-wrap: wrap;
}
.blog-share-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-right: 4px;
}
.blog-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ivory-mid);
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.blog-share-btn:hover { background: var(--teal); color: white; transform: translateY(-1px); }
.blog-share-btn.blog-share-wa:hover { background: #25D366; }
.blog-share-btn.blog-share-native { display: none; }
@media (max-width: 640px) {
  /* Web Share API is far more common on mobile — show a native-share
     affordance there in addition to the explicit icon row. */
  .blog-share-btn.blog-share-native { display: flex; }
}

/* ── Interactive checklist ─────────────────────────────────────────── */
.blog-checklist {
  list-style: none;
  margin: var(--space-5) 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.blog-checklist-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--teal);
  cursor: pointer;
}
.blog-checklist-item label {
  font-size: var(--text-sm);
  color: var(--ink-mid);
  line-height: 1.55;
  cursor: pointer;
}
.blog-checklist-checkbox:checked + label {
  color: var(--ink-faint);
  text-decoration: line-through;
}
.blog-checklist-cta {
  text-align: center;
  margin: var(--space-2) 0 var(--space-8);
}

/* ── Internal link block ───────────────────────────────────────────── */
.blog-content-link {
  margin: var(--space-5) 0;
}
.blog-content-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur);
}
.blog-content-link a:hover { border-bottom-color: var(--teal); }

/* ── Callout: 3rd tone ("action" — e.g. the 30-Day Couple Fertility
   Reset) — reuses gold, the site's existing "actionable/featured" accent
   (already used for --gold-pale banners elsewhere), so this introduces no
   new color. ─────────────────────────────────────────────────────────── */
.blog-content-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.blog-callout-icon { font-size: 16px; line-height: 1.5; flex-shrink: 0; }
.blog-content-callout-action {
  background: var(--gold-pale);
  color: #7a5f1c;
  border: 1px solid rgba(184, 146, 42, 0.3);
}

/* ── Contextual "Book a Fertility Evaluation" inline CTA ─────────────── */
.blog-inline-cta {
  background: linear-gradient(145deg, var(--white) 0%, var(--teal-ghost) 100%);
  border: 1px solid rgba(31, 122, 140, 0.2);
  border-radius: var(--r-md);
  padding: var(--space-6);
  text-align: center;
  margin: var(--space-8) 0;
}
.blog-inline-cta p {
  font-size: var(--text-sm);
  color: var(--ink-mid);
  margin-bottom: var(--space-4);
}

/* ── "Was this article helpful?" feedback ─────────────────────────────── */
.blog-feedback {
  border-top: 1px solid var(--ivory-dark);
  border-bottom: 1px solid var(--ivory-dark);
  padding: var(--space-6) 0;
  margin: var(--space-10) 0;
  text-align: center;
}
.blog-feedback p { font-size: var(--text-sm); color: var(--ink-mid); margin-bottom: var(--space-3); }
.blog-feedback-actions { display: flex; gap: 10px; justify-content: center; }
#blogFeedbackSuggestBox { max-width: 420px; margin: var(--space-4) auto 0; text-align: left; }

/* ── Bottom "Next Steps" card ─────────────────────────────────────────── */
.blog-next-steps {
  background: var(--ivory-mid);
  border-radius: var(--r-lg);
  padding: var(--space-8);
  margin-top: var(--space-8);
  text-align: center;
}
.blog-next-steps h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-5);
}
.blog-next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.blog-next-step-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--ivory-dark);
  border-radius: var(--r-md);
  padding: var(--space-5) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.blog-next-step-btn span:first-child { font-size: 22px; }
.blog-next-step-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
  .blog-next-steps-grid { grid-template-columns: 1fr; }
}
