/*
 * Symptom-led LP system — v2.0.0
 * All layouts start at mobile and expand deliberately at desktop.
 * Theme files own color values; this file owns component and responsive behavior.
 */
html { scroll-behavior: smooth; }
body { background: var(--page-bg, #fff); color: var(--text-body, #1d2c3a); }
body .sticky-header { background: color-mix(in srgb, var(--header-bg) 92%, #000 8%); z-index: 50; }
body .header-cta { border-radius: 999px; font-size: .69rem; letter-spacing: .05em; }
body .sticky-header { display: flex; gap: 8px; align-items: center; justify-content: flex-end; padding-inline: 12px; min-height: 48px; }
body .sticky-header .header-phone { margin-right: auto; }
body .header-text { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 11px; border: 1px solid color-mix(in srgb, var(--accent) 60%, #fff); border-radius: 999px; color: var(--accent); font-size: .72rem; font-weight: 900; text-decoration: none; }
body .sticky-header .header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 11px; }
.container { width: min(100% - 40px, 1160px); margin-inline: auto; }
.section-narrow { max-width: 760px; }

.symptom-hero { min-height: 638px; position: relative; overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.symptom-hero-media, .symptom-hero-scrim { position: absolute; inset: 0; }
.symptom-hero-media { background-position: 64% center; background-size: cover; z-index: -2; }
.symptom-hero-scrim { background: linear-gradient(180deg, rgba(3, 14, 28, .2) 0%, rgba(3, 14, 28, .55) 42%, rgba(3, 14, 28, .96) 100%); z-index: -1; }
.symptom-hero-content { padding: 126px 0 48px; color: #fff; }
.eyebrow { display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .13em; font-size: .67rem; font-weight: 800; margin: 0 0 14px; color: color-mix(in srgb, var(--accent) 92%, #fff 8%); }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 99px; }
.eyebrow-accent { color: var(--accent); }
.symptom-hero h1 { color: #fff; font-size: clamp(2.55rem, 9vw, 4.75rem); line-height: .97; letter-spacing: -.055em; max-width: 720px; margin: 0; font-weight: 900; text-wrap: balance; }
.hero-subtitle { color: rgba(255,255,255,.86); max-width: 560px; font-size: 1.02rem; line-height: 1.55; margin: 19px 0 28px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 16px; padding: 0 21px; border-radius: 12px; font-weight: 800; font-size: .85rem; line-height: 1; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--cta-color, #fff); background: var(--cta-bg, var(--accent)); box-shadow: 0 12px 28px color-mix(in srgb, var(--cta-bg, var(--accent)) 32%, transparent); }
.button-secondary { color: var(--button-secondary-color, #fff); background: var(--button-secondary-bg, var(--accent)); white-space: nowrap; }
.hero-microcopy { color: rgba(255,255,255,.58); margin: 14px 0 0; font-size: .72rem; }

.symptom-section, .provider-section, .faq-section { padding: 64px 0; }
.symptom-section { background: var(--section-light-bg, #f6fbfc); }
.symptom-section h2, .provider-section h2, .faq-section h2, .next-step-section h2 { color: var(--heading-color, #102b45); letter-spacing: -.035em; font-size: clamp(1.75rem, 5.5vw, 2.75rem); line-height: 1.05; margin: 0; text-wrap: balance; }
.section-intro { max-width: 620px; color: var(--text-muted, #5d6c79); line-height: 1.62; margin: 16px 0 28px; }
.symptom-grid { display: grid; gap: 11px; }
.symptom-card { display: grid; grid-template-columns: 42px minmax(0,1fr) 20px; gap: 14px; align-items: center; padding: 17px 16px; border-radius: 16px; background: var(--card-bg, #fff); border: 1px solid color-mix(in srgb, var(--accent) 13%, #dce5ea); box-shadow: 0 8px 28px rgba(15, 39, 59, .05); }
.symptom-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, #fff); }
.symptom-icon svg { width: 21px; height: 21px; fill: currentColor; }
.symptom-copy h3 { color: var(--heading-color, #102b45); font-size: .92rem; line-height: 1.2; margin: 0; font-weight: 800; }
.symptom-copy p { margin: 4px 0 0; color: var(--text-muted, #5d6c79); font-size: .78rem; line-height: 1.4; }
.symptom-arrow { color: var(--accent); font-weight: 800; font-size: 1.2rem; }
.screening-note { display: flex; gap: 10px; align-items: flex-start; padding: 17px 0 0; color: var(--text-muted, #5d6c79); font-size: .77rem; line-height: 1.5; }
.screening-note span { color: var(--accent); font-weight: 900; }
.screening-note p { margin: 0; }

.provider-section { background: var(--provider-bg, #fff); }
.provider-card { display: grid; gap: 18px; padding: 20px; background: var(--provider-card-bg, #fff); border-radius: 22px; border: 1px solid color-mix(in srgb, var(--accent) 15%, #dce5ea); box-shadow: 0 16px 40px rgba(15, 39, 59, .08); }
.provider-profile { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 16px; align-items: center; }
.doctor-photo { width: 78px; height: 78px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 17%, #fff), color-mix(in srgb, var(--accent) 6%, #f5f7f8)); border: 1px dashed color-mix(in srgb, var(--accent) 48%, #a8b5bd); overflow: hidden; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo-placeholder { color: var(--heading-color); font-size: .57rem; font-weight: 900; line-height: 1.05; text-align: center; }
.provider-copy .eyebrow { margin-bottom: 7px; font-size: .57rem; }
.provider-copy h2 { font-size: 1.25rem; }
.provider-practice { color: var(--accent); font-size: .77rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0; }
.provider-bio, .provider-location { color: var(--text-muted, #5d6c79); font-size: .78rem; line-height: 1.5; margin: 0; }
.provider-location { margin-top: 7px; font-weight: 700; }
.provider-card-local { align-items: center; }
.provider-actions { display: grid; gap: 10px; align-content: center; }
.provider-actions a { display: flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--accent) 35%, #dce5ea); border-radius: 12px; color: var(--heading-color, #102b45); background: var(--review-bg, color-mix(in srgb, var(--accent) 7%, #fff)); font-size: .84rem; font-weight: 900; text-decoration: none; }
.review-placeholder { padding: 18px; border-radius: 16px; background: var(--review-bg, color-mix(in srgb, var(--accent) 7%, #fff)); border: 1px solid color-mix(in srgb, var(--accent) 18%, #dce5ea); }
.review-label { color: var(--accent); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .08em; font-size: .62rem; font-weight: 900; }
.review-placeholder blockquote { color: var(--heading-color, #102b45); margin: 0; font-size: 1rem; line-height: 1.38; font-weight: 700; }
.review-attribution { margin: 9px 0 0; color: var(--text-muted, #5d6c79); font-size: .75rem; }

.next-step-section { padding: 56px 0; background: var(--next-step-bg, var(--header-bg)); color: #fff; }
.next-step-inner { display: grid; gap: 24px; align-items: end; }
.next-step-section .eyebrow { color: color-mix(in srgb, var(--accent) 90%, #fff); }
.next-step-section h2 { color: #fff; }
.next-step-section p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.72); line-height: 1.56; margin: 14px 0 0; }

.faq-section { background: var(--page-bg, #fff); }
.faq-list { border-top: 1px solid color-mix(in srgb, var(--accent) 15%, #dce5ea); margin-top: 26px; }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--accent) 15%, #dce5ea); }
.faq-question { background: none; border: 0; color: var(--heading-color, #102b45); cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; text-align: left; width: 100%; font: inherit; font-size: .95rem; line-height: 1.4; font-weight: 800; }
.faq-question span { color: var(--accent); font-size: 1.2rem; line-height: 1; }
.faq-answer { display: none; color: var(--text-muted, #5d6c79); font-size: .88rem; line-height: 1.6; padding: 0 0 19px; }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-question span { transform: rotate(45deg); }
.faq-answer p { margin: 0; }
.medical-disclaimer { padding: 24px 0 34px; color: var(--text-muted, #5d6c79); background: var(--page-bg, #fff); }
.medical-disclaimer p { border-top: 1px solid color-mix(in srgb, var(--accent) 13%, #dce5ea); margin: 0; padding-top: 18px; font-size: .72rem; line-height: 1.5; }
.dentist-profile-section { padding: 64px 0; background: color-mix(in srgb, var(--section-light-bg, #f6fbfc) 78%, #fff); }
.dentist-profile-layout { display: grid; gap: 30px; }
.dentist-profile-intro-with-photo { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; }
.dentist-photo-placeholder { display: grid; gap: 8px; margin: 0; padding: 10px; border: 1px dashed color-mix(in srgb, var(--accent) 48%, #a8b5bd); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 17%, #fff), color-mix(in srgb, var(--accent) 6%, #f5f7f8)); color: var(--accent); text-align: center; }
.dentist-photo-illustration { display: grid; min-height: 72px; place-items: center; background: rgba(255,255,255,.45); }
.dentist-photo-illustration svg { width: 39px; height: 39px; }
.dentist-photo-placeholder figcaption { display: grid; gap: 2px; }
.dentist-photo-placeholder strong { color: var(--heading-color, #102b45); font-size: .57rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.dentist-photo-placeholder small { color: var(--text-muted, #5d6c79); font-size: .54rem; font-weight: 800; }
.dentist-photo-placeholder.dentist-photo-approved { border-style: solid; padding: 0; background: color-mix(in srgb, var(--accent) 10%, #fff); overflow: hidden; }
.dentist-photo-placeholder.dentist-photo-approved img { display: block; width: 100%; height: 96px; object-fit: cover; object-position: center; }
.dentist-photo-placeholder.dentist-photo-approved figcaption { padding: 8px 8px 9px; }
.dentist-profile-intro h2 { max-width: 15ch; margin: 0; color: var(--heading-color, #102b45); font-size: clamp(1.85rem, 5vw, 2.95rem); line-height: 1.04; letter-spacing: -.04em; }
.dentist-profile-intro > p:not(.landing-eyebrow) { max-width: 610px; margin: 15px 0 0; color: var(--text-muted, #5d6c79); line-height: 1.62; }
.dentist-credential-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dentist-credential-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; align-items: center; padding: 16px; border: 1px solid color-mix(in srgb, var(--accent) 17%, #dce5ea); background: var(--card-bg, #fff); }
.dentist-credential-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.dentist-credential-icon svg { width: 21px; height: 21px; }
.dentist-credential-list small { display: block; margin-bottom: 3px; color: var(--text-muted, #5d6c79); font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.dentist-credential-list strong { color: var(--heading-color, #102b45); font-size: .87rem; line-height: 1.28; }

@media (min-width: 760px) {
  .container { width: min(100% - 80px, 1160px); }
  .symptom-hero { min-height: 650px; align-items: center; }
  .symptom-hero-media { background-position: 74% center; }
  .symptom-hero-scrim { background: linear-gradient(90deg, rgba(3, 14, 28, .94) 0%, rgba(3, 14, 28, .78) 36%, rgba(3, 14, 28, .25) 73%, rgba(3, 14, 28, .1) 100%); }
  .symptom-hero-content { padding: 110px 0 40px; }
  .hero-subtitle { font-size: 1.12rem; }
  .symptom-section, .provider-section, .faq-section { padding: 96px 0; }
  .symptom-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .symptom-card { min-height: 114px; }
  .provider-card { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: stretch; padding: 30px; gap: 30px; }
  .provider-profile { grid-template-columns: 104px minmax(0,1fr); gap: 22px; }
  .doctor-photo { height: 104px; width: 104px; }
  .provider-copy h2 { font-size: 1.65rem; }
  .provider-card-local { grid-template-columns: minmax(0, 1.35fr) minmax(200px, .65fr); }
  .dentist-profile-section { padding: 92px 0; }
  .dentist-profile-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
  .dentist-profile-intro-with-photo { grid-template-columns: 128px minmax(0, 1fr); gap: 24px; }
  .dentist-photo-placeholder { padding: 13px; }
  .dentist-photo-illustration { min-height: 105px; }
  .dentist-photo-illustration svg { width: 52px; height: 52px; }
  .dentist-photo-placeholder strong { font-size: .68rem; }
  .dentist-photo-placeholder small { font-size: .62rem; }
  .dentist-photo-placeholder.dentist-photo-approved img { height: 128px; }
  .dentist-credential-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dentist-credential-list li { display: grid; grid-template-columns: 1fr; align-content: start; min-height: 158px; padding: 20px; }
  .review-placeholder { display: flex; flex-direction: column; justify-content: center; }
  .next-step-inner { grid-template-columns: minmax(0,1fr) auto; gap: 40px; }
  .next-step-section { padding: 76px 0; }
}

@media (max-width: 374px) {
  .container { width: min(100% - 28px, 1160px); }
  .symptom-hero h1 { font-size: 2.28rem; }
  .button { width: 100%; padding-inline: 14px; }
  body .sticky-header { gap: 5px; padding-inline: 8px; }
  body .sticky-header .header-phone { font-size: .65rem; }
  body .header-text, body .sticky-header .header-cta { padding-inline: 8px; font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
