/* Homepage composition, 2026-09-22. Loaded after shared component styles.
   The shared theme owns the brand; this file owns only the homepage layout. */
.home-page {
  --home-space: 88px;
  background: #fff;
}

.home-page .shell { max-width: 1200px; }
.home-page .site-header { border: 0; }
.home-page .header-inner { min-height: 88px; }
.home-page .hero {
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 64px;
  min-height: 0;
  margin-top: 36px;
  margin-bottom: 40px;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}
.home-page .hero-copy { padding: 0; }
.home-page .place {
  max-width: none;
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.home-page .hero h1 {
  max-width: 16ch;
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 550;
  text-wrap: balance;
}
.home-page .hero-lead {
  max-width: 37ch;
  margin: 24px 0 28px;
  font-size: 18px;
  line-height: 1.6;
}
.home-page .hero-actions { align-items: center; gap: 16px 24px; }
.home-page .hero-actions > a { width: auto; }
.home-page .home-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--green);
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 4px;
}
.home-page .home-link:hover { text-decoration: underline; }
.home-page .hero-reassurance { margin-top: 14px; font-size: 14px; line-height: 1.5; }
.home-page .hero-reassurance a { color: inherit; text-underline-offset: 3px; }
.home-page .hero-media {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  align-self: center;
}
.home-page .hero-media picture { display: block; }
.home-page .hero-media img.home-hero-original {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

/* Compare doctors: one boundary, exact price, optional detail. */
.home-page .doctors-section { padding: 0; background: #fff; }
.home-page .doctors-heading { display: flex; align-items: baseline; gap: 20px; }
.home-page .section-title,
.home-page .contact-title {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.home-page .doctor-count { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; }
.home-page .doctor-marketplace { margin-top: 24px; }
.home-page .doctor-filter-panel { margin: 0; }
.home-page .doctor-filters-disclosure { max-width: 420px; }
.home-page .doctor-filters-disclosure summary { min-height: 48px; padding: 10px 14px; font-size: 15px; }
.home-page .doctor-schedule-disclosure { margin: 12px 0 24px; font-size: 14px; color: var(--muted); }
.home-page .doctor-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}
.home-page .doctor-card { min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.home-page .doctor-card-inner {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-rows: auto;
  grid-template-areas: "media body" "commercial commercial" "decision decision" "detail detail";
  align-content: start;
  align-items: start;
  height: auto;
  min-height: 0;
  padding: 22px;
  gap: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  overflow: visible;
}
.home-page .doctor-card-media {
  grid-area: media;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}
.home-page .doctor-card-media picture { display: block; width: 112px; height: 140px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; }
.home-page .doctor-card-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.home-page .doctor-card-body { grid-area: body; min-width: 0; padding: 2px 0 0; }
.home-page .doctor-card-specialty { margin: 0 0 8px; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--muted); }
.home-page .doctor-card-name { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 650; letter-spacing: -.02em; }
.home-page .doctor-card-profile-link { color: var(--ink); text-decoration: none; }
.home-page .doctor-card-profile-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.home-page .doctor-experience { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.home-page .doctor-commercial-route { grid-area: commercial; margin: 0; padding: 0; border: 0; }
.home-page .doctor-commercial-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; }
.home-page .doctor-commercial-price span { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--muted); }
.home-page .doctor-commercial-price strong { flex: 0 0 auto; font-size: 20px; line-height: 1.4; color: var(--ink); white-space: nowrap; }
.home-page .doctor-card-decision { grid-area: decision; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }
.home-page .doctor-card-quick-proof { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.home-page .doctor-card-quick-proof .doctor-card-review-rating,
.home-page .doctor-card-quick-proof .doctor-card-review-count { font-size: 14px; font-weight: 500; white-space: nowrap; }
.home-page .doctor-card-quick-proof .doctor-card-review-icon { width: 15px; height: 15px; }
.home-page .doctor-card-profile-action { grid-area: profile; justify-self: end; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 650; text-decoration: none; color: var(--green); }
.home-page .doctor-card-profile-action:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-page .doctor-card-details { grid-area: detail; min-width: 0; }
.home-page .doctor-card-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  list-style: none;
}
.home-page .doctor-card-details summary::-webkit-details-marker { display: none; }
.home-page .doctor-card-details summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--green); }
.home-page .doctor-card-details[open] summary::after { content: "−"; }
.home-page .doctor-card-expanded { padding-top: 14px; }
.home-page .doctor-commercial-directions { margin: 0 0 12px; gap: 4px 18px; }
.home-page .doctor-commercial-direction-chip { padding: 8px 0; border: 0; border-radius: 0; background: none; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.home-page .doctor-commercial-choice { display: inline-flex; align-items: center; min-height: 44px; margin: 0; font-size: 14px; }
.home-page .doctor-card-review { margin: 18px 0; padding: 0; border: 0; background: transparent; }
.home-page .doctor-card-review-heading { display: none; }
.home-page .doctor-card-review-source-row { gap: 8px 12px; margin-bottom: 12px; }
.home-page .doctor-card-review-patients { font-size: 14px; font-weight: 500; }
.home-page .doctor-card-review-quote { margin: 0; font-size: 16px; line-height: 1.6; }
.home-page .doctor-card-schedule { margin: 20px 0 0; padding: 0; border: 0; border-radius: 0; background: none; }
.home-page .doctor-card-schedule-title { margin: 0 0 8px; font-size: 15px; }
.home-page .doctor-card-schedule-note { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.home-page .additional-specialists { margin-top: 28px; padding: 0; border: 0; }
.home-page .additional-specialists > summary { margin: 0 auto; min-height: 48px; border-color: var(--line); font-size: 15px; }
.home-page .additional-full-card-grid { margin-top: 24px; }
.home-page .route-help-band { margin: 32px 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.home-page .route-help-band h2 { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 500; color: var(--muted); }
.home-page .route-help-band > a { font-size: 15px; font-weight: 650; }

/* Quiet secondary content: spacing and fine rules separate sections. */
.home-page .director-note { margin: 0 0 var(--home-space); padding: 0; }
.home-page .director-note-inner { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 28px 36px; border: 1px solid var(--line); border-radius: 14px; background: var(--mint); }
.home-page .director-note-copy { max-width: 740px; }
.home-page .director-note h2 { max-width: 40ch; margin: 0 0 14px; font-size: clamp(23px, 2.4vw, 30px); font-weight: 550; line-height: 1.3; letter-spacing: -.02em; }
.home-page .director-note-copy > p:last-child { max-width: 72ch; font-size: 16px; line-height: 1.6; }
.home-page .director-note-signature { display: grid; flex: 0 0 175px; gap: 2px; margin: 0; font-size: 14px; line-height: 1.6; }
.home-page .director-note-signature strong { margin: 0; font-size: 14px; font-weight: 650; }
.home-page .director-note-signature span { font-size: 14px; color: var(--muted); }
.home-page .director-note-signature a { margin-top: 8px; color: var(--action); font-weight: 650; text-underline-offset: 3px; }
.home-page .price-path { padding: calc(var(--home-space) * .72) 0 0; background: #fff; color: var(--ink); }
.home-page .price-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: calc(var(--home-space) * .28); border-top: 1px solid var(--line); }
.home-page .price-title,
.home-page .homepage-articles-heading h2 { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 550; letter-spacing: -.025em; }
.home-page .price-copy { max-width: 49ch; margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.home-page .home-price-actions { display: grid; flex-shrink: 0; gap: 4px; }
.home-page .homepage-articles { padding: calc(var(--home-space) * .72) 0 0; border: 0; background: #fff; }
.home-page .homepage-articles-layout { display: block; padding-top: calc(var(--home-space) * .28); border-top: 1px solid var(--line); }
.home-page .homepage-articles-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.home-page .homepage-articles-heading .text-action { margin: 0; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
.home-page .homepage-article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 0; margin: 24px 0 0; border: 0; list-style: none; }
.home-page .homepage-article-list li { padding-top: 16px; border-top: 1px solid var(--line); }
.home-page .homepage-article-list a { display: flex; flex-direction: column; gap: 10px; height: 100%; min-height: 0; padding: 0; border: 0; }
.home-page .homepage-article-list a > span { font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.home-page .homepage-article-list strong { max-width: none; font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; }
.home-page .homepage-article-list small { align-self: start; padding-top: 2px; font-size: 13px; color: var(--muted); }
.home-page .contacts { padding: calc(var(--home-space) * .72) 0 64px; border: 0; background: #fff; }
.home-page .contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; padding-top: calc(var(--home-space) * .28); border-top: 1px solid var(--line); }
.home-page .contact-title { max-width: 16ch; }
.home-page .contact-copy { margin: 24px 0 0; font-size: 18px; line-height: 1.5; font-style: normal; }
.home-page .home-contact-note { margin: 12px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.home-page .contact-actions { margin-top: 24px; gap: 8px; }
.home-page .contact-phone { margin-bottom: 8px; }
.home-page .footer-map { min-height: 0; height: 340px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--mint); }
.home-page .footer-map img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-page .site-footer { padding: 0 0 28px; background: #fff; color: var(--muted); border: 0; }
.home-page .footer-inner { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.home-page .footer-inner strong { font-weight: 500; color: var(--muted); }
.home-page .footer-links { margin: 0; }
.home-page .footer-links a { color: var(--muted); font-size: 14px; }
.home-page .home-mobile-cta { box-shadow: none; background: #fff; }

@media (max-width: 1023px) {
  .home-page { --home-space: 64px; }
  .home-page .hero { gap: 32px; margin-top: 24px; }
  .home-page .hero h1 { font-size: 44px; }
  .home-page .hero-lead { font-size: 17px; }
  .home-page .place { font-size: 14px; }
  .home-page .doctor-card-inner { grid-template-columns: 88px minmax(0, 1fr); padding: 18px; gap: 16px; }
  .home-page .doctor-card-media picture { width: 88px; height: 110px; }
  .home-page .doctor-card-name { font-size: 20px; }
  .home-page .doctor-commercial-price { flex-direction: column; gap: 6px; }
  .home-page .doctor-card-profile-action { font-size: 14px; }
  .home-page .contact-layout { gap: 32px; }
}

@media (max-width: 767px) {
  .home-page { --home-space: 52px; }
  .home-page .header-inner { min-height: 76px; }
  .home-page .hero { grid-template-columns: 1fr; gap: 24px; margin-top: 22px; margin-bottom: 24px; padding: 0; }
  .home-page .place { margin-bottom: 16px; }
  .home-page .hero h1 { max-width: 15ch; font-size: clamp(34px, 9.2vw, 40px); line-height: 1.1; }
  .home-page .hero-lead { max-width: 36ch; margin: 18px 0 22px; font-size: 17px; line-height: 1.55; }
  .home-page .hero-actions { gap: 8px 20px; flex-direction: row; }
  .home-page .hero-actions .primary-action { width: auto; padding-inline: 20px; }
  .home-page .hero-actions .home-link { font-size: 15px; }
  .home-page .hero-reassurance { margin-top: 12px; font-size: 13px; }
  .home-page .hero-media { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .home-page .doctors-heading { flex-wrap: wrap; gap: 8px 16px; }
  .home-page .section-title, .home-page .contact-title { font-size: 28px; }
  .home-page .doctor-count { font-size: 14px; }
  .home-page .doctor-marketplace { margin-top: 20px; }
  .home-page .doctor-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-page .doctor-card-inner { padding: 18px; gap: 16px; }
  .home-page .doctor-card-specialty { font-size: 13px; }
  .home-page .doctor-experience { font-size: 13px; margin-top: 10px; }
  .home-page .doctor-commercial-price { flex-direction: row; }
  .home-page .doctor-commercial-price span { font-size: 14px; }
  .home-page .doctor-commercial-price strong { font-size: 18px; }
  .home-page .doctor-card-details summary { font-size: 14px; }
  .home-page .route-help-band { display: block; margin-top: 24px; }
  .home-page .route-help-band > a { display: inline-flex; flex-wrap: wrap; gap: 0 6px; min-height: 44px; align-items: center; }
  .home-page .route-help-band > a span { margin-left: 0; }
  .home-page .director-note-inner { display: block; padding: 24px; }
  .home-page .director-note h2 { font-size: 24px; }
  .home-page .director-note-copy > p:last-child { font-size: 15px; }
  .home-page .director-note-signature { display: block; margin-top: 16px; }
  .home-page .price-inner { display: block; }
  .home-page .price-title, .home-page .homepage-articles-heading h2 { font-size: 25px; }
  .home-page .home-price-actions { margin-top: 18px; gap: 2px; }
  .home-page .homepage-articles-heading { display: block; }
  .home-page .homepage-articles-heading .text-action { margin-top: 8px; }
  .home-page .homepage-article-list { grid-template-columns: 1fr; gap: 24px; margin-top: 18px; }
  .home-page .homepage-article-list a { gap: 6px; }
  .home-page .homepage-article-list strong { font-size: 18px; }
  .home-page .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .home-page .contact-title { max-width: 19ch; }
  .home-page .contact-copy { margin-top: 20px; font-size: 17px; }
  .home-page .footer-map { height: 280px; }
  .home-page .contacts { padding-bottom: 40px; }
  .home-page .footer-inner { display: block; }
  .home-page .footer-links { margin-top: 12px; }
}
