:root {
  --paper: #fffcf6;
  --cream: #faf3e6;
  --honey-soft: #ffefc6;
  --honey-outline: #dfc681;
  --line: #ded8cb;
  --muted: #45636a;
}

body { background:var(--paper) }
header { background:var(--paper) }
.review { background:var(--cream); color:var(--ink); border-bottom:1px solid var(--line); padding-block:6px }
.review b { color:var(--ink) }
.nav { height:96px }
.logo img { width:133px; height:78px }
.links a.active { box-shadow:0 3px var(--honey-outline); border-radius:1px }
.btn { border-radius:12px; text-align:center }
.btn.light { background:var(--paper); border-color:#a9b5b2 }
.menu { min-height:44px }
.hero { background:var(--cream) }

.home-hero {
  background:linear-gradient(115deg,var(--paper),var(--cream));
  padding:clamp(38px,5.5vw,80px) 0;
}
.home-hero .hero-grid { grid-template-columns:1.04fr 1fr; gap:clamp(28px,5vw,76px) }
.home-hero h1 { font-size:clamp(2.55rem,4.7vw,4.45rem); letter-spacing:-.052em; max-width:13ch }
.home-hero h1 span { color:var(--teal); display:block }
.home-hero .eyebrow { margin-bottom:13px }
.home-hero .lead { font-size:17px; margin-top:12px; max-width:42ch; color:var(--muted) }
.home-hero .hero-support { margin-top:23px; font-size:clamp(1.05rem,2vw,1.3rem); font-weight:600 }
.home-hero .actions { margin-top:23px }
.home-hero .visit-link { display:inline-block; margin-top:20px; font-size:14px; color:var(--teal); font-weight:500 }
.home-hero .hero-photo { isolation:isolate; margin:0 12px 12px 0 }
.home-hero .hero-photo::before {
  content:"";
  position:absolute;
  inset:13px -13px -13px 15px;
  background:var(--honey-soft);
  border-radius:32px 116px 32px 92px;
  z-index:-1;
}
.home-hero .hero-photo>img {
  height:auto;
  aspect-ratio:1.16;
  object-position:50% 49%;
  border-radius:32px 116px 32px 92px;
}

.quick-paths { background:var(--paper); border-left:0; border-top:0; }
.quick-paths>a { padding:23px 24px; min-width:0 }
.quick-paths>a:first-child { border-left:1px solid var(--line) }
.quick-paths>a:hover { background:var(--cream) }
.quick-paths b { color:var(--teal) }
.card,.guide,.booking-box { background:#fffefa }
.card.featured,.guide-related,.library-hero { background:var(--cream) }
.featured-guide { background:var(--wash); border-color:#c8dcdc }
.guide-contents,.help { background:var(--honey-soft) }
#home-view .home-teen-card { background:var(--honey-soft); justify-content:center }
#home-view .home-teen-card h3 { font-size:clamp(1.6rem,3vw,2.4rem) }
#home-view .home-teen-card a { margin-top:8px }
#home-view .quiet .doctor { background:var(--paper) }
#home-view .quiet .doctor img { padding:10px 10px 0 }
.footer { background:var(--cream) }

@media(max-width:785px) {
  .nav { height:78px }
  .logo img { width:118px; height:68px }
  .links { top:78px; background:var(--paper) }
  body.home-view-active .mobile-book { display:none }
  body.home-view-active .footer { padding-bottom:40px }
}

@media(max-width:650px) {
  .home-hero .hero-grid { grid-template-columns:1fr; gap:23px }
  .home-hero h1 { font-size:clamp(2.35rem,10vw,3.8rem) }
  .home-hero .hero-support { margin-top:16px }
  .home-hero .lead { font-size:16px; line-height:1.65 }
  .home-hero .actions .btn { flex:0 1 auto; padding-inline:15px }
  .home-hero .hero-photo>img,.home-hero .hero-photo::before { border-radius:22px 65px 22px 54px }
  .quick-paths { border:1px solid var(--line); border-top:0 }
  .quick-paths>a,.quick-paths>a:first-child { border-left:0; border-right:0; padding:16px 18px }
  #home-view .home-teen-card { min-height:0 }
}

/* Page rhythm and alignment */
.view > section.content {padding-block:clamp(36px,5.3vw,68px)}
.section-top {display:block;margin-bottom:clamp(20px,3vw,32px)}
.section-top h2 {max-width:28ch}
.home-care .service-grid,.home-resources .split {align-items:stretch}
#home-view .home-teen-card {justify-content:flex-start}
#home-view .home-teen-card h3 {font-size:clamp(1.3rem,2.1vw,1.55rem)}
#home-view .home-teen-card a {margin-top:auto}
.home-resource {border:1px solid var(--line);border-radius:20px;padding:clamp(22px,3vw,34px);background:#fffefa}
.home-resource h2,.service-next h2 {font-size:clamp(1.4rem,2.5vw,1.9rem)}
.home-resource p,.service-next p {margin:10px 0 16px;color:var(--muted)}
.home-resource .actions {margin-top:0;gap:12px 20px}
.home-resource .actions a,.service-next a {color:var(--teal);font-weight:600}
#home-view .home-resources {padding-bottom:0}
#home-view .home-booking {padding-top:clamp(24px,4vw,48px)}
#services-view .hero-photo img,#baby-view .hero-photo img {height:clamp(250px,33vw,390px);object-position:center 42%}
#services-view .card {min-height:0}
#services-view :is(#children-care,#teen-care) {scroll-margin-top:24px}
#services-view :is(#children-care,#teen-care):focus-visible {outline:3px solid #b65b00;outline-offset:3px}
#baby-view .detail-grid aside {order:initial}
#your-visit-view .visit-panel h3 {margin-bottom:14px}
#health-guides-view .library,#articles-view .library {padding-top:30px}
#cough-view .symptom-layout {align-items:start}
@media (max-width:650px) {
  .home-resources .split {gap:14px}
  .home-care .card {min-height:0}
  .home-care .home-service-card img {height:200px}
  .doctor-feature:first-child {margin-top:0}
  #services-view .hero-photo img,#baby-view .hero-photo img {height:clamp(200px,64vw,300px)}
}

/* Homepage shortcuts, trust and booking */
.home-first-steps .quick-paths {display:none}
.home-trust {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-bottom:1px solid var(--line);
}
.trust-item {padding:19px 22px;display:grid;align-content:center;gap:3px;text-decoration:none}
.trust-item+ .trust-item {border-left:1px solid var(--line)}
.trust-item strong {color:var(--teal);font-size:15px;font-weight:600}
.trust-item span {font-size:13px;color:var(--muted)}
.trust-item:hover {background:var(--cream)}
.trust-reviews strong::before {content:"";display:inline-block;width:7px;height:7px;margin:0 9px 2px 0;background:#c4952a;border-radius:50%}
.home-topic-panel {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:15px 26px;
  padding:clamp(16px,2.4vw,25px);
  margin-top:clamp(18px,3vw,34px);
  background:var(--wash);
  border:1px solid #d5e7e5;
  border-radius:17px;
}
.home-topic-panel h2 {font-size:clamp(1.2rem,2.1vw,1.52rem);font-weight:550;letter-spacing:-.025em}
.home-topic-panel p {margin-top:5px;font-size:14px;color:var(--muted)}
.home-topic-links {display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.home-topic-links a {background:var(--paper);border:1px solid #c8dcdc;border-radius:24px;padding:8px 13px;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;color:var(--ink);font-weight:500;font-size:14px}
.home-topic-links a:hover {background:var(--aqua)}
.home-topic-links .home-topic-all {background:transparent;border-color:transparent;color:var(--teal)}
.home-floating-book[hidden] {display:none}
.home-floating-book {
  position:fixed;
  z-index:6;
  right:max(16px,env(safe-area-inset-right));
  bottom:calc(14px + env(safe-area-inset-bottom,0px));
  min-height:44px;
  border-radius:999px;
  padding:9px 17px;
  box-shadow:0 3px 14px #01394626;
}
@media (max-width:650px) {
  .home-trust {grid-template-columns:1fr}
  .home-trust .trust-credential,.home-trust .trust-practical {display:none}
  .trust-reviews {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 0}
  .trust-reviews strong {font-size:14px}
  .trust-reviews span {font-size:12px}
  .home-first-steps .quick-paths {display:grid;border:0;margin-top:8px}
  .home-first-steps .quick-paths a {padding:10px 0;border-top:0;border-bottom:1px solid var(--line);display:flex;gap:3px 12px;flex-wrap:wrap;align-items:baseline}
  .home-first-steps .quick-paths b {font-size:14px;margin:0}
  .home-first-steps .quick-paths span {font-size:12px}
  .home-topic-panel {gap:11px}
  .home-topic-links a {font-size:13px;padding-inline:10px}
}

.parent-panel {display:grid;grid-template-columns:1fr 1fr;align-items:start;scroll-margin-top:6rem}
.parent-guide {display:grid;gap:12px}
.parent-guide a:first-child {display:grid;padding:14px 18px;background:var(--paper);border:1px solid #c8dcdc;border-radius:12px;text-decoration:none;color:var(--ink)}
.parent-guide a:first-child:hover {border-color:var(--teal)}
.parent-guide span {font-size:.875rem;color:var(--muted)}
.parent-browse {justify-self:start;color:var(--teal)}
.parent-panel .parent-emergency {grid-column:1/-1;border-top:1px solid #c8dcdc;padding-top:12px;margin:0}
@media(max-width:700px){.parent-panel {grid-template-columns:1fr}}

.hero-clinicians,.clinician-pair {display:flex;align-items:center}
.hero-clinicians {gap:12px;margin:20px 0}
.hero-clinicians p,.home-hero .booking-hint {font-size:.875rem;line-height:1.45;color:var(--muted)}
.hero-clinicians strong {color:var(--ink);font-weight:600}
.clinician-pair img {width:44px;height:44px;object-fit:cover;object-position:center 25%;border-radius:50%;background:var(--paper);border:2px solid var(--paper)}
.clinician-pair img+img {margin-left:-8px}
.guide-index-link {display:inline-flex;align-items:center;min-height:44px;color:var(--teal);text-underline-offset:4px}
.home-hero .booking-hint {margin-top:8px}
.parent-panel {display:block}
.featured-symptom {display:flex;align-items:center;gap:clamp(16px,4vw,48px);text-decoration:none;color:var(--ink)}
.featured-symptom img {width:32%;height:clamp(120px,14vw,175px);object-fit:cover;border-radius:12px}
.featured-symptom div>span {display:inline-block;margin-top:12px;color:var(--teal);font-weight:600}
.featured-symptom:hover div>span {text-decoration:underline}
.parent-panel .parent-emergency {margin-top:16px}

.reading-next {margin:28px 0;padding:clamp(18px,3vw,30px);border-radius:16px;background:var(--wash);color:var(--ink)}
.reading-next p {margin:8px 0 16px}

/* Health Hive templates inherit practice typography and use the shared palette. */
.reading-next {background:var(--cream);border-inline-start:4px solid var(--gold);padding:clamp(20px,3vw,30px)}
#cough-view .library-hero {background:var(--paper);padding-block:clamp(20px,4vw,48px) 20px}
#cough-view .guide-byline {margin-top:12px}
#cough-view .symptom-section {max-width:65ch;scroll-margin-top:7rem}
#cough-view .symptom-section + .symptom-section {margin-top:clamp(30px,4vw,44px)}
#cough-view .symptom-body h3 {margin:22px 0 6px;font-size:1.08rem;line-height:1.45;font-weight:600}
#cough-view .reading-next h3 {margin-top:0}
#cough-view .reading-next .btn {margin-top:0}
#cough-view .reading-photo {margin:24px 0;max-width:65ch}
#cough-view .urgent-callout {background:var(--honey-soft);border-color:var(--ink);scroll-margin-top:7rem}
#cough-view .urgent-callout h2 {color:var(--ink)}
#cough-view .reading-list {padding-inline-start:1.4em;margin-block:12px}
.symptom-guide [tabindex="-1"]:focus {outline:2px solid var(--teal);outline-offset:4px}

#home-view .home-testimonials {padding-block:clamp(28px,5vw,56px);background:var(--cream)}
.home-testimonials h2 {margin-bottom:20px}
.testimonial-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%, 16rem),1fr));gap:16px}
.testimonial-grid figure {margin:0;padding:clamp(18px,3vw,30px);background:var(--paper);border:1px solid var(--line);border-radius:16px;border-inline-start:4px solid var(--gold)}
.testimonial-grid blockquote {margin:0;font-size:clamp(1rem,2vw,1.15rem);line-height:1.55}
.testimonial-grid figcaption {margin-top:12px;color:var(--muted);font-size:.875rem}

#home-view .home-connect {display:grid;grid-template-columns:minmax(0, .8fr) minmax(0,1fr);align-items:center;gap:clamp(20px,5vw,68px);padding:clamp(18px,4vw,48px);background:var(--ink);color:var(--paper)}
.home-connect > img {width:100%;height:clamp(245px,35vw,410px);object-fit:cover;object-position:center 40%;border-radius:16px}
.home-connect p {color:inherit}
.home-connect .actions {margin-top:20px}
@media (max-width:650px) {
  #home-view .home-connect {grid-template-columns:1fr}
  .home-connect > img {height:270px}
}
.footer .wrap {flex-wrap:wrap}
