/* ==========================================================================
   Dr. Deepali Lal, MD — Pediatrics
   Design system & styles
   ========================================================================== */

:root {
  --ink: #16323e;
  --ink-2: #3c5563;
  --muted: #61798a;
  --cream: #fbf6ef;
  --paper: #ffffff;
  --coral: #f4654a;
  --coral-dark: #d94e35;
  --coral-soft: #fde4db;
  --mint: #2fae93;
  --mint-dark: #228a74;
  --mint-soft: #dff3ec;
  --sky: #4e9fd8;
  --sky-soft: #e3f1fa;
  --sun: #f7b733;
  --sun-soft: #fcefd2;
  --line: #ece3d6;
  --line-strong: #dccfbe;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(22, 50, 62, .06), 0 4px 14px rgba(22, 50, 62, .05);
  --shadow-md: 0 2px 6px rgba(22, 50, 62, .06), 0 16px 40px rgba(22, 50, 62, .10);
  --shadow-lg: 0 4px 10px rgba(22, 50, 62, .06), 0 32px 80px rgba(22, 50, 62, .16);
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
}

p { margin: 0; }

::selection { background: var(--coral-soft); color: var(--coral-dark); }

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

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout helpers ---------- */

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section { padding: 92px 0; }
.section.tight { padding: 64px 0; }
.section-white { background: var(--paper); border-block: 1px solid var(--line); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 26px;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(244, 101, 74, .35);
}
.btn-primary:hover { background: var(--coral-dark); box-shadow: 0 14px 30px rgba(244, 101, 74, .4); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-mint {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 174, 147, .3);
}
.btn-mint:hover { background: var(--mint-dark); }

.btn-soft { background: var(--mint-soft); color: var(--mint-dark); }
.btn-soft:hover { background: #d2ede3; }

.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Top bar ---------- */

.topbar {
  background: var(--ink);
  color: #eaf2f5;
  font-size: 13.5px;
  font-weight: 600;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding-block: 6px;
}

.topbar-left { display: flex; align-items: center; gap: 20px; opacity: .92; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar a { transition: color .15s; }
.topbar a:hover { color: #fff; }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fd6b4;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(95, 214, 180, .25);
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 239, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(236, 227, 214, .8);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 44px; height: 44px; flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
}
.brand-sub {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background .15s, color .15s, box-shadow .15s;
}
.nav-links a:hover { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.nav-links a.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  place-items: center;
  color: var(--ink);
}

.mobile-menu {
  display: none;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 10px 0 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 15px;
  border-radius: 12px;
}
.mobile-menu a:hover { background: #fff; }
.mobile-menu .btn { margin: 10px 0 0; width: 100%; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 64px 0 76px; overflow: hidden; }

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 380px; height: 380px;
  right: -140px; top: -120px;
  background: radial-gradient(circle, rgba(223, 243, 236, .9), rgba(223, 243, 236, 0) 70%);
}
.hero::after {
  width: 300px; height: 300px;
  left: -140px; bottom: -120px;
  background: radial-gradient(circle, rgba(253, 228, 219, .9), rgba(253, 228, 219, 0) 70%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mint-dark);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex: none; }

.hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  font-weight: 700;
  margin: 22px 0 18px;
}

.hero h1 .accent { color: var(--coral); position: relative; white-space: nowrap; }
.hero h1 .accent svg {
  position: absolute;
  left: 2%;
  bottom: -9px;
  width: 96%;
  height: 14px;
  color: var(--sun);
}

.lead {
  font-size: 17.5px;
  color: var(--ink-2);
  max-width: 52ch;
  line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-strong);
}
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
}
.trust-item span {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .09em;
}

/* ---------- Hero artwork ---------- */

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}
.hero-svg { width: 100%; height: auto; display: block; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(236, 227, 214, .8);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  animation: float 6.5s ease-in-out infinite;
}
.float-card small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; margin-top: 2px; }

.fc-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 17px;
  font-weight: 900;
}

.fc-1 { top: 3%; right: 0; }
.fc-2 { bottom: 2%; left: 0; animation-delay: 1.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Insurance strip ---------- */

.insurance {
  background: var(--paper);
  border-block: 1px solid var(--line);
  padding: 20px 0;
}
.insurance-inner { display: flex; align-items: flex-start; gap: 22px; flex-wrap: wrap; }

.insurance-label {
  flex: none;
  padding-top: 9px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee { flex: 1; }
.marquee-track {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.marquee-track span {
  border: 1px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
}

/* ---------- Section headers ---------- */

.section-head { max-width: 660px; margin-bottom: 46px; }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}
.section-head.center .kicker::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}

.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-2); font-size: 16.5px; }

/* ---------- Service cards ---------- */

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--tint, var(--mint-soft));
  opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover::after { opacity: .7; }

.icon-badge {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--tint, var(--mint-soft));
  color: var(--ic, var(--mint-dark));
}
.icon-badge svg { width: 25px; height: 25px; }

.service-card h3 { position: relative; z-index: 1; font-size: 19px; margin-bottom: 8px; }
.service-card p { position: relative; z-index: 1; font-size: 14.5px; color: var(--muted); line-height: 1.62; }

.card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--coral-dark);
}
.card-link:hover { gap: 10px; }

/* ---------- Meet Dr. Lal ---------- */

.meet { background: var(--paper); border-block: 1px solid var(--line); }
.meet-inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: 60px; align-items: center; }

.portrait-card {
  position: relative;
  background: var(--mint-soft);
  border-radius: 36px;
  padding: 16px;
  transform: rotate(-2deg);
  max-width: 440px;
  margin-inline: auto;
  box-shadow: var(--shadow-md);
}
.portrait-photo {
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, #fde4db, #fcefd2);
}
.portrait-photo svg { display: block; width: 100%; height: auto; }

.portrait-tag {
  position: absolute;
  right: -18px;
  bottom: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  transform: rotate(2deg);
}
.portrait-tag strong { display: block; font-family: var(--font-display); font-size: 15px; }
.portrait-tag small { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.meet-copy .section-head { margin-bottom: 20px; }
.meet-copy > p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 14px; }

.meet-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.meet-stat {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.meet-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  color: var(--coral-dark);
}
.meet-stat span { font-size: 11.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.step-card:nth-child(2) .step-num { background: var(--mint); }
.step-card:nth-child(3) .step-num { background: var(--coral); }
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Testimonials ---------- */

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars { color: var(--sun); letter-spacing: 3px; font-size: 15px; }
.quote-card blockquote {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.68;
}
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 13px;
  flex: none;
}
.quote-who strong { display: block; font-size: 13.5px; }
.quote-who small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }

/* ---------- Locations ---------- */

.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.loc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.loc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.loc-tag {
  align-self: flex-start;
  background: var(--mint-soft);
  color: var(--mint-dark);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.loc-card:nth-child(2) .loc-tag { background: var(--sky-soft); color: #2c6f9e; }

.loc-card h3 { font-size: 21px; }

.loc-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-2);
}
.loc-row svg { flex: none; margin-top: 2px; color: var(--coral); }
.loc-row strong { color: var(--ink); }

.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- CTA banner ---------- */

.cta-wrap { padding: 0 0 92px; }

.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-radius: 36px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  color: #fff;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  right: -100px;
  top: -140px;
  background: radial-gradient(circle, rgba(47, 174, 147, .35), rgba(47, 174, 147, 0) 70%);
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  left: -80px;
  bottom: -140px;
  background: radial-gradient(circle, rgba(244, 101, 74, .3), rgba(244, 101, 74, 0) 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-banner p { color: #b9cbd4; margin-top: 12px; max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta-banner .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-banner .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Footer ---------- */

.footer { background: #102833; color: #b7c8d1; padding: 68px 0 28px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7f99a6; }
.footer-blurb { font-size: 14px; line-height: 1.7; max-width: 34ch; }
.footer-langs { margin-top: 14px; font-size: 12.5px; color: #8aa0ab; }

.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer a { display: block; padding: 5px 0; font-size: 14px; color: #b7c8d1; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer-contact { font-size: 14px; line-height: 1.7; }
.footer-contact strong { color: #fff; display: block; margin-top: 14px; }
.footer-contact strong:first-child { margin-top: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 46px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #8aa0ab;
}

/* ---------- Inner page hero ---------- */

.page-hero { position: relative; padding: 60px 0 44px; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -120px; top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 243, 236, .9), rgba(223, 243, 236, 0) 70%);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.3rem); }
.page-hero p { max-width: 62ch; margin-top: 16px; color: var(--ink-2); font-size: 17px; }

.crumbs { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--coral-dark); }

/* ---------- Forms ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.label { font-size: 13px; font-weight: 800; color: var(--ink-2); }

.input, .select, .textarea {
  width: 100%;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  padding: 13px 15px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2361798a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(47, 174, 147, .14);
}
.textarea { min-height: 110px; resize: vertical; }
.help { font-size: 12.5px; color: var(--muted); }

/* ---------- Booking wizard ---------- */

.booking-layout {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 28px;
  align-items: start;
}

.wizard-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.wiz-progress { display: flex; gap: 8px; margin-bottom: 34px; }
.wiz-step { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.wiz-step .bar { height: 5px; border-radius: 99px; background: var(--line); transition: background .2s; }
.wiz-step.done .bar { background: var(--mint); }
.wiz-step.current .bar { background: var(--coral); }
.wiz-step.current { color: var(--ink); }

.wiz-title { font-size: 24px; margin-bottom: 6px; }
.wiz-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice {
  border: 1.5px solid var(--line-strong);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.choice:hover { border-color: var(--mint); }
.choice[aria-pressed="true"] {
  border-color: var(--mint);
  background: var(--mint-soft);
  box-shadow: 0 0 0 3px rgba(47, 174, 147, .12);
}
.choice .c-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cream);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--coral-dark);
}
.choice[aria-pressed="true"] .c-ico { background: #fff; }
.choice .c-ico svg { width: 21px; height: 21px; }
.choice strong { display: block; font-size: 15px; line-height: 1.3; }
.choice small { color: var(--muted); font-size: 12.5px; font-weight: 600; line-height: 1.4; display: block; margin-top: 3px; }

.seg-toggle { display: inline-flex; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.seg-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 9px 20px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--muted);
}
.seg-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.date-row { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 16px; scrollbar-width: none; }
.date-row::-webkit-scrollbar { display: none; }
.date-chip {
  flex: none;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  border-radius: 14px;
  padding: 11px 16px;
  text-align: center;
  min-width: 88px;
  transition: border-color .15s, background .15s, color .15s;
}
.date-chip small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.date-chip strong { font-size: 17px; font-family: var(--font-display); }
.date-chip:hover { border-color: var(--mint); }
.date-chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.date-chip[aria-pressed="true"] small { color: #a9c0cc; }

.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slot {
  border: 1.5px solid var(--line-strong);
  background: #fff;
  border-radius: 10px;
  padding: 11px 6px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: border-color .15s, background .15s, color .15s;
}
.slot:hover:not(:disabled) { border-color: var(--mint); color: var(--mint-dark); }
.slot[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: #fff; }
.slot:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.summary-panel {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.summary-panel h3 { font-size: 18px; margin-bottom: 6px; }
.summary-sub { font-size: 12.5px; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.summary-row span { color: var(--muted); font-weight: 700; flex: none; }
.summary-row strong { text-align: right; font-weight: 800; }

.wiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.confirmation { text-align: center; padding: 14px 8px; }
.check-burst {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--mint-soft);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  color: var(--mint-dark);
  animation: pop .45s cubic-bezier(.2, .9, .3, 1.4);
}
@keyframes pop {
  from { transform: scale(.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.confirmation h2 { font-size: 28px; margin-bottom: 10px; }
.confirmation > p { color: var(--muted); max-width: 46ch; margin: 0 auto 22px; }
.confirm-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  text-align: left;
  max-width: 420px;
  margin: 0 auto 24px;
}
.confirm-card .summary-row:last-child { border-bottom: 0; }
.confirm-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.booking-note { font-size: 13px; color: var(--muted); margin-top: 16px; text-align: center; }
.booking-note strong { color: var(--coral-dark); }

/* ---------- Portal ---------- */

.auth-shell {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding: 64px 0 80px;
  position: relative;
}
.auth-shell::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 243, 236, .8), rgba(223, 243, 236, 0) 70%);
  pointer-events: none;
}
.auth-card {
  position: relative;
  width: min(460px, 100%);
  margin-inline: auto;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 42px;
}
.auth-card .brand { justify-content: center; margin-bottom: 22px; }
.auth-card h1 { font-size: 26px; text-align: center; }
.auth-sub { text-align: center; color: var(--muted); font-size: 14px; margin: 8px 0 24px; }
.demo-hint {
  background: var(--sun-soft);
  border: 1px dashed #e3c06a;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #6d5416;
  margin: 18px 0 4px;
}
.auth-links { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-top: 16px; }
.auth-links a { color: var(--mint-dark); }
.auth-links a:hover { text-decoration: underline; }

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.dash-head h1 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.dash-head p { color: var(--muted); margin-top: 6px; }

.dash-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; align-items: start; }
.dash-col { display: grid; gap: 22px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel-head h3 { font-size: 17px; }
.panel-head a { font-size: 12.5px; font-weight: 800; color: var(--coral-dark); }
.panel-head a:hover { text-decoration: underline; }

.child-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.child-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  border-radius: 999px;
  padding: 7px 16px 7px 7px;
  font-weight: 800;
  font-size: 13.5px;
}
.child-chip .avatar { width: 30px; height: 30px; font-size: 11px; }
.child-chip[aria-pressed="true"] { border-color: var(--mint); background: var(--mint-soft); }
.child-chip.add { padding: 8px 16px; border-style: dashed; color: var(--muted); background: transparent; }

.appt-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  background: linear-gradient(120deg, #fff, #fdfaf6);
  flex-wrap: wrap;
}
.appt-date {
  background: var(--mint-soft);
  color: var(--mint-dark);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  flex: none;
  min-width: 72px;
}
.appt-date small { display: block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.appt-date strong { font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.appt-info { flex: 1; min-width: 180px; }
.appt-info strong { display: block; font-size: 15.5px; }
.appt-info span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.appt-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quick-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-weight: 800;
  font-size: 13.5px;
  color: var(--ink);
  text-align: left;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.quick-btn:hover { border-color: var(--mint); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.quick-btn .q-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--tint, var(--mint-soft));
  color: var(--ic, var(--mint-dark));
}
.quick-btn .q-ico svg { width: 18px; height: 18px; }
.quick-btn small { color: var(--muted); font-weight: 700; font-size: 11.5px; }

.vax-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.vax-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.vax-table td { padding: 11px 10px; border-bottom: 1px solid var(--line); }
.vax-table tr:last-child td { border-bottom: 0; }

.pill-ok, .pill-due {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 800;
}
.pill-ok { background: var(--mint-soft); color: var(--mint-dark); }
.pill-due { background: var(--sun-soft); color: #8a6510; }

.msg-thread { display: grid; gap: 12px; }
.msg { border-radius: 14px; padding: 13px 16px; font-size: 13.5px; line-height: 1.55; }
.msg.doctor { background: var(--mint-soft); border-bottom-left-radius: 4px; }
.msg.parent { background: var(--cream); margin-left: auto; border-bottom-right-radius: 4px; max-width: 88%; }
.msg small { display: block; font-size: 11px; font-weight: 800; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }

.billing-big { font-family: var(--font-display); font-size: 34px; line-height: 1; }
.billing-sub { font-size: 12.5px; color: var(--muted); font-weight: 700; margin-top: 4px; }
.billing-row { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.billing-row:last-of-type { border-bottom: 0; }

.care-team { display: flex; align-items: center; gap: 14px; }
.care-team .avatar { width: 52px; height: 52px; font-size: 16px; }
.care-team strong { display: block; font-size: 15px; }
.care-team span { display: block; font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; max-width: 840px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-weight: 800;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  color: var(--coral);
  transition: transform .2s;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 0 20px; color: var(--ink-2); font-size: 14.5px; line-height: 1.68; }

/* ---------- Misc content ---------- */

.check-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.check-list li::before {
  content: "✓";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-dark);
  font-weight: 900;
  font-size: 12px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-item { background: var(--cream); border-radius: 14px; padding: 14px 16px; }
.info-item span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.info-item strong { font-size: 14px; line-height: 1.45; display: block; }

.timeline { position: relative; display: grid; gap: 26px; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line-strong);
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
}
.timeline-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--coral-dark);
  letter-spacing: .05em;
  text-transform: uppercase;
}
.timeline-item p { font-size: 14.5px; color: var(--ink-2); margin-top: 3px; }

.note-card {
  background: var(--sun-soft);
  border: 1px solid #f0d79a;
  border-radius: 18px;
  padding: 22px 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #6d5416;
}
.note-card strong { color: #4d3a0c; }

.emergency {
  background: var(--coral-soft);
  border: 1px solid #f6c2b4;
  border-radius: 18px;
  padding: 22px 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #7c2f1e;
}
.emergency strong { color: #5e2012; }

.service-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  scroll-margin-top: 110px;
}
.service-detail h3 { font-size: 19px; margin: 16px 0 10px; }
.service-detail > p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.service-detail .check-list li { font-size: 13.5px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { display: block; width: 100%; height: 260px; border: 0; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 120;
  box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

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

/* ---------- Responsive ---------- */

@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 560px; margin-inline: auto; width: 100%; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .meet-inner { grid-template-columns: 1fr; gap: 44px; }
  .booking-layout { grid-template-columns: 1fr; }
  .summary-panel { position: static; }
  .dash-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .hide-sm { display: none !important; }
  .topbar-right { gap: 12px; }
  .section { padding: 66px 0; }
  .section.tight { padding: 48px 0; }
  .services-grid, .testi-grid, .steps, .loc-grid, .contact-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .choice-grid { grid-template-columns: 1fr; }
  .wizard-card { padding: 24px; }
  .cta-banner { padding: 36px; flex-direction: column; align-items: flex-start; }
  .cta-wrap { padding-bottom: 66px; }
  .meet-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .float-card { padding: 10px 14px; font-size: 12.5px; }
  .fc-icon { width: 32px; height: 32px; font-size: 14px; }
  .fc-1 { right: 0; top: 0; }
  .fc-2 { left: 0; bottom: 0; }
  .wiz-step span { display: none; }
  .page-hero { padding: 44px 0 34px; }
  .portrait-tag { right: 0; }
  .auth-card { padding: 30px 24px; }
  .dash-grid { gap: 16px; }
  .quick-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 17px; }
  .hero-trust { gap: 18px; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .confirm-actions .btn { width: 100%; }
  .wiz-nav { flex-direction: column-reverse; }
  .wiz-nav .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
}
