/* ==========================================================================
   Bloom Pediatrics — styles.css
   Concept design by AI Gaur Agency · aigaur.com
   ========================================================================== */

:root {
  --coral: #F4978E;
  --coral-dark: #E87A6F;
  --coral-soft: #FBD9D4;
  --yellow: #FFD166;
  --yellow-soft: #FFEFC4;
  --sage: #95D5B2;
  --sage-soft: #D7EFE0;
  --cream: #FFF9F0;
  --cream-deep: #FBF1DD;
  --charcoal: #2D3748;
  --grey: #718096;
  --grey-soft: #E2E8F0;
  --white: #FFFFFF;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(45,55,72,0.05);
  --shadow-md: 0 12px 32px rgba(45,55,72,0.08);
  --shadow-lg: 0 24px 60px rgba(45,55,72,0.12);

  --font-head: 'Quicksand', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --font-script: 'Caveat', cursive;

  --max: 1180px;
  --pad: clamp(20px, 4vw, 32px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--coral-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--coral); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p  { margin: 0 0 1em; }

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

/* Caveat script accent */
.caveat {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--coral-dark);
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(244,151,142,0.4);
}
.btn-coral:hover {
  background: var(--coral-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(244,151,142,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-cream {
  background: var(--cream);
  color: var(--charcoal);
}
.btn-cream:hover { background: var(--white); color: var(--charcoal); }

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ============== Top bar ============== */
.topbar {
  background: var(--cream);
  font-size: 0.85rem;
  color: var(--charcoal);
  padding: 8px 0;
  border-bottom: 1px solid rgba(45,55,72,0.05);
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item a { color: var(--charcoal); font-weight: 600; }
.topbar-item a:hover { color: var(--coral-dark); }
.topbar-divider { width: 1px; height: 14px; background: rgba(45,55,72,0.2); }
.topbar-link { color: var(--charcoal); font-weight: 600; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(74,222,128,0.2); }
  50%    { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
}

/* ============== Nav ============== */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  z-index: 80;
  border-bottom: 1px solid rgba(45,55,72,0.06);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark { display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 0.7rem;
  color: var(--grey);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  position: relative;
}
.nav-links a:hover { color: var(--coral-dark); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, var(--coral) 0%, #E87A6F 100%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  transform: translateX(100%);
  transition: transform .35s ease;
  visibility: hidden;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.mobile-links a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
}
.mobile-links a.btn { font-size: 1rem; padding: 14px 28px; margin-top: 10px; }
.mobile-foot {
  position: absolute;
  bottom: 36px; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.85);
}
.mobile-foot p { margin: 0 0 4px; font-size: 0.85rem; opacity: 0.9; }
.mobile-foot a { color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }

/* ============== Hero ============== */
.hero {
  position: relative;
  background: var(--cream);
  padding: clamp(48px, 7vw, 90px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
}
.blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.blob-sage {
  width: 720px; height: 720px;
  background: radial-gradient(circle at 30% 30%, var(--sage) 0%, var(--sage-soft) 60%, transparent 75%);
  top: -180px; right: -180px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: 0.55;
  animation: blob-float 18s ease-in-out infinite alternate;
}
.blob-yellow {
  width: 380px; height: 380px;
  background: radial-gradient(circle at 50% 50%, var(--yellow) 0%, var(--yellow-soft) 55%, transparent 70%);
  bottom: -120px; left: -100px;
  border-radius: 50% 60% 45% 55% / 55% 45% 60% 40%;
  opacity: 0.45;
  animation: blob-float 22s ease-in-out infinite alternate-reverse;
}
@keyframes blob-float {
  0%   { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(30px, -20px) rotate(15deg); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-soft);
}
.hl-coral { color: var(--coral); }
.hl-sage  { color: #5db888; }

.hero-lede {
  font-size: 1.15rem;
  color: var(--grey);
  margin: 18px 0 28px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(45,55,72,0.1);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1;
}
.hero-stats span {
  font-size: 0.82rem;
  color: var(--grey);
  margin-top: 6px;
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  border-radius: 36% 64% 54% 46% / 48% 42% 58% 52%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--cream-deep);
  animation: morph 14s ease-in-out infinite alternate;
}
@keyframes morph {
  0%   { border-radius: 36% 64% 54% 46% / 48% 42% 58% 52%; }
  50%  { border-radius: 54% 46% 38% 62% / 42% 58% 42% 58%; }
  100% { border-radius: 46% 54% 62% 38% / 56% 44% 56% 44%; }
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-card {
  position: absolute;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
}
.hero-card strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
  color: var(--charcoal);
}
.hero-card small { font-size: 0.78rem; color: var(--grey); }
.hero-card-1 {
  top: 10%;
  left: -28px;
  animation: float-y 6s ease-in-out infinite;
}
.hero-card-1 .hc-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: #b88a00;
  display: grid; place-items: center;
  font-weight: 700;
}
.hero-card-2 {
  bottom: 8%;
  right: -20px;
  animation: float-y 7s ease-in-out infinite reverse;
}
.hero-card-2 .hc-emoji {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sage-soft);
  display: grid; place-items: center;
  font-size: 1.25rem;
}
@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.hero-scribble {
  position: absolute;
  top: -16px;
  right: 30%;
  font-size: 1.6rem;
  color: var(--coral-dark);
  transform: rotate(-6deg);
}

/* ============== Quick action bar ============== */
.quick-bar {
  margin-top: -50px;
  position: relative;
  z-index: 5;
  padding-bottom: 30px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45,55,72,0.04);
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  transition: background .2s, transform .2s;
  color: var(--charcoal);
}
.quick-card:hover {
  background: var(--cream);
  transform: translateY(-2px);
  color: var(--charcoal);
}
.quick-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.quick-card h4 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}
.quick-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--grey);
  line-height: 1.4;
}

/* ============== Sections shared ============== */
.section {
  padding: clamp(60px, 9vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head-tight { margin-bottom: 32px; }
.section-head p {
  color: var(--grey);
  font-size: 1.08rem;
  margin: 12px 0 0;
}
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: var(--coral-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.kicker-cream {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}
.link-arrow {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--coral-dark);
  display: inline-flex;
  gap: 6px;
  transition: gap .2s;
}
.link-arrow:hover { gap: 10px; }

/* ============== Services ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  transition: transform .25s, box-shadow .25s;
  border: 1px solid rgba(45,55,72,0.05);
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.svc-card .svc-icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--white);
  font-size: 1.7rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(45,55,72,0.06);
}
.svc-card h3 { margin: 0 0 8px; }
.svc-card p { font-size: 0.94rem; color: var(--grey); margin: 0; }

.svc-coral  { background: #FDECEA; }
.svc-sage   { background: #E5F4EC; }
.svc-yellow { background: #FFF4D6; }
.svc-cream  { background: var(--cream); }

/* ============== Why pillars ============== */
.why { background: var(--white); }
.blob-cream-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px; height: 800px;
  background: radial-gradient(ellipse, var(--cream) 0%, transparent 70%);
  z-index: 0;
}
.why .container { position: relative; z-index: 1; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45,55,72,0.06);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--coral-dark);
  background: var(--coral-soft);
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.pillar-mid .pillar-num { color: #5db888; background: var(--sage-soft); }
.pillar:nth-child(3) .pillar-num { color: #b88a00; background: var(--yellow-soft); }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--grey); margin: 0; }

/* ============== Doctors ============== */
.doctors { background: var(--cream); }
.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.doc-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.doc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.doc-photo {
  width: 140px; height: 140px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: 0 8px 22px rgba(45,55,72,0.1);
}
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-hi {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.doc-card h3 { margin: 0 0 4px; font-size: 1.15rem; }
.doc-role {
  font-size: 0.85rem;
  color: var(--grey);
  margin: 0 0 14px;
  font-weight: 600;
}
.doc-bio {
  font-size: 0.92rem;
  color: var(--grey);
  margin: 0 0 16px;
  line-height: 1.6;
}

/* ============== New Patients ============== */
.new-patients {
  background: linear-gradient(135deg, var(--coral) 0%, #E87A6F 50%, #d8695f 100%);
  color: var(--white);
  position: relative;
}
.new-patients::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.np-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.np-text h2 { color: var(--white); }
.np-lede { color: rgba(255,255,255,0.9); font-size: 1.08rem; margin-bottom: 32px; }
.np-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}
.np-col h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.check-list {
  list-style: none;
  margin: 0; padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
}
.check-list li::after {
  content: '';
  position: absolute;
  left: 5px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--coral);
  border-bottom: 2px solid var(--coral);
  transform: rotate(-45deg);
}
.np-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.np-visual {
  position: relative;
  height: 360px;
}
.np-bubble {
  position: absolute;
  width: 100px; height: 100px;
  background: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  box-shadow: var(--shadow-md);
  animation: float-y 5s ease-in-out infinite;
}
.np-bubble-1 { top: 20px; left: 20px; }
.np-bubble-2 { top: 80px; right: 30px; animation-delay: 1s; }
.np-bubble-3 { bottom: 50px; left: 60px; animation-delay: 2s; }
.np-bubble-4 { bottom: 20px; right: 50px; animation-delay: .5s; }
.np-scribble {
  position: absolute;
  bottom: 140px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  color: var(--white);
  font-size: 2rem;
}

/* ============== Insurance ============== */
.insurance { background: var(--white); padding-bottom: 80px; }
.ins-strip-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}
.ins-strip {
  display: flex;
  gap: 48px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--grey);
  white-space: nowrap;
  animation: scroll 35s linear infinite;
  padding: 8px 0;
}
.ins-strip span {
  flex-shrink: 0;
  padding: 8px 4px;
  border-right: 2px solid var(--grey-soft);
  padding-right: 48px;
}
.ins-strip span:last-child { border-right: 0; }
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ins-note {
  text-align: center;
  margin-top: 28px;
  color: var(--grey);
  font-size: 0.95rem;
}

/* ============== Testimonials ============== */
.testimonials { background: var(--cream); }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.t-card {
  padding: 36px 30px 28px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-quote {
  position: absolute;
  top: 12px; left: 24px;
  font-family: 'Quicksand', serif;
  font-size: 5rem;
  color: rgba(255,255,255,0.7);
  line-height: 1;
  font-weight: 700;
}
.t-card p {
  position: relative;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 22px 0 24px;
}
.t-card footer { display: flex; flex-direction: column; }
.t-card footer strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
}
.t-card footer span {
  font-size: 0.84rem;
  color: var(--grey);
  margin-top: 2px;
}
.t-card-coral  { background: #FDE5E1; }
.t-card-sage   { background: #DCEFE3; }
.t-card-yellow { background: #FFEFC4; }

/* ============== Resources ============== */
.r-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.r-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(45,55,72,0.06);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.r-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.r-image {
  height: 200px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.r-img-1 {
  background-image: linear-gradient(135deg, rgba(244,151,142,0.6), rgba(244,151,142,0.2)), url('https://images.unsplash.com/photo-1530026405186-ed1f139313f8?w=800&q=80');
}
.r-img-2 {
  background-image: linear-gradient(135deg, rgba(255,209,102,0.5), rgba(255,209,102,0.15)), url('https://images.unsplash.com/photo-1503443207922-dff7d543fd0e?w=800&q=80');
}
.r-img-3 {
  background-image: linear-gradient(135deg, rgba(149,213,178,0.55), rgba(149,213,178,0.2)), url('https://images.unsplash.com/photo-1612277795421-9bc7706a4a34?w=800&q=80');
}
.r-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.r-tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-dark);
  margin-bottom: 10px;
}
.r-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.r-card p {
  color: var(--grey);
  font-size: 0.92rem;
  margin: 0 0 18px;
  flex: 1;
}

/* ============== FAQ ============== */
.faq { background: var(--cream); }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(45,55,72,0.06);
  transition: box-shadow .2s;
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--coral-soft);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--coral-dark);
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral-soft);
  flex-shrink: 0;
  transition: transform .25s, background .2s;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-item summary:hover { color: var(--coral-dark); }
.faq-body {
  padding: 0 26px 24px;
  color: var(--grey);
  font-size: 0.96rem;
  line-height: 1.7;
}
.faq-body p { margin: 0; }

/* ============== Contact ============== */
.contact { background: var(--white); }
.c-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  align-items: start;
}
.c-form-wrap h2 { margin-top: 14px; }
.c-lede {
  color: var(--grey);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.c-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--cream);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(45,55,72,0.05);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.c-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--charcoal);
}
.c-form label span em {
  color: var(--grey);
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
}
.c-form input,
.c-form select,
.c-form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--charcoal);
  transition: border .2s, box-shadow .2s;
  font-weight: 500;
  width: 100%;
}
.c-form input:focus,
.c-form select:focus,
.c-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
}
.c-form textarea { resize: vertical; min-height: 100px; }

.form-fineprint {
  font-size: 0.78rem;
  color: var(--grey);
  text-align: center;
  margin: 4px 0 0;
}
.form-msg {
  margin: 8px 0 0;
  padding: 14px 18px;
  background: var(--sage-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  color: #2c6b48;
  display: none;
}
.form-msg.show { display: block; }

/* Contact info side */
.c-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.c-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  border: 1px solid rgba(45,55,72,0.05);
}
.c-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.c-card p { margin: 0 0 10px; color: var(--grey); font-size: 0.94rem; }
.c-line { color: var(--charcoal) !important; }
.c-line strong { font-family: var(--font-head); }
.hours {
  list-style: none;
  margin: 0; padding: 0;
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--grey-soft);
  font-size: 0.92rem;
  color: var(--charcoal);
}
.hours li:last-child { border-bottom: 0; }
.hours li small { color: var(--grey); font-size: 0.8rem; }
.hours-note {
  background: var(--coral-soft);
  border-radius: var(--radius-sm);
  padding: 10px 14px !important;
  margin-top: 8px;
  border: 0 !important;
}
.hours-note span:last-child a { color: var(--coral-dark); font-weight: 700; }

.c-map {
  position: relative;
  height: 200px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, var(--sage-soft) 0%, var(--cream) 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(45,55,72,0.05);
}
.c-map::before, .c-map::after {
  content: '';
  position: absolute;
  background: rgba(45,55,72,0.06);
}
.c-map::before {
  top: 30%; left: 0; right: 0; height: 1px;
}
.c-map::after {
  top: 0; bottom: 0; left: 40%; width: 1px;
}
.map-pin {
  font-size: 2.4rem;
  filter: drop-shadow(0 4px 6px rgba(244,151,142,0.4));
  animation: float-y 3s ease-in-out infinite;
  z-index: 2;
}
.map-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}

/* ============== Footer ============== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.78);
  padding: 70px 0 0;
}
.f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.brand-light .brand-name { color: var(--white); }
.brand-light .brand-sub  { color: rgba(255,255,255,0.55); }
.f-brand p {
  margin: 16px 0 20px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 320px;
}
.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  transition: background .2s;
}
.f-social a:hover { background: var(--coral); color: var(--white); }
.f-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li { margin-bottom: 10px; font-size: 0.92rem; }
.f-col a { color: rgba(255,255,255,0.7); }
.f-col a:hover { color: var(--coral); }
.f-contact li { color: rgba(255,255,255,0.7); line-height: 1.6; }

.f-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
}
.f-bottom-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.f-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.f-bottom a { color: var(--coral); font-weight: 600; }
.f-disclaimer strong { color: var(--coral); }

/* ============== Mobile call FAB ============== */
.mobile-call {
  position: fixed;
  bottom: 18px; right: 18px;
  background: var(--coral);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--font-head);
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 28px rgba(244,151,142,0.5);
  z-index: 70;
  text-decoration: none;
}
.mobile-call:hover { color: var(--white); background: var(--coral-dark); }

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .hero-stats strong { font-size: 1.35rem; }
  .services-grid,
  .pillars,
  .doc-grid,
  .t-grid,
  .r-grid,
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-grid > :nth-child(3) { grid-column: span 2; }
  .np-grid { grid-template-columns: 1fr; gap: 36px; }
  .np-visual { max-width: 420px; margin: 0 auto; }
  .c-grid { grid-template-columns: 1fr; gap: 36px; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .topbar-row { justify-content: center; gap: 12px; font-size: 0.78rem; }
  .topbar-divider { display: none; }
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .hamburger { display: flex; }

  h1 { font-size: 2.2rem; }
  .hero { padding-bottom: 80px; }
  .hero-card-1 { left: 0; }
  .hero-card-2 { right: 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .quick-bar { margin-top: -30px; }
  .quick-grid { padding: 16px; }
  .quick-card { padding: 12px; }

  .services-grid,
  .pillars,
  .doc-grid,
  .t-grid,
  .r-grid {
    grid-template-columns: 1fr;
  }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid > :nth-child(3) { grid-column: auto; }

  .np-cols { grid-template-columns: 1fr; gap: 18px; }
  .form-row { grid-template-columns: 1fr; }

  .f-grid { grid-template-columns: 1fr; gap: 28px; }
  .f-bottom-row { justify-content: center; text-align: center; }

  .mobile-call { display: inline-flex; }
}

@media (max-width: 480px) {
  :root { --pad: 18px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.65rem; }
  .hero { padding-top: 36px; }
  .eyebrow { font-size: 0.78rem; }
  .hero-lede { font-size: 1rem; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  .btn-lg { padding: 14px 22px; font-size: 0.94rem; }
  .hero-card { padding: 10px 14px; }
  .hero-card strong { font-size: 0.85rem; }
  .hero-card small { font-size: 0.7rem; }
  .hero-card-1 { top: 6%; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .c-form { padding: 22px; }
  .svc-card { padding: 24px 22px; }
  .pillar { padding: 28px 22px; }
  .doc-card { padding: 26px 22px; }
  .new-patients { padding: 56px 0; }
  .np-visual { height: 280px; }
  .np-bubble { width: 80px; height: 80px; font-size: 1.8rem; }
  .ins-strip { font-size: 1rem; gap: 32px; }
  .ins-strip span { padding-right: 32px; }
  .faq-item summary { padding: 18px 20px; font-size: 0.95rem; }
  .faq-body { padding: 0 20px 20px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
