/* Shared EJS, content and media; mobile reference: figma/Home-page-mobile.pdf. */
:root { --page-margin: 12px; --site-header-height: 96px; }
body { min-width: 0; background: var(--light-01); }
.container, .wide-panel { width: calc(100% - 24px); }
.display-heading, .hero h1 { font-size: 24px; line-height: 1.3; }
.display-heading br { display: none; }
.section-space { margin-top: 96px; }
.button { min-height: 44px; padding: 9px 18px; }
.utility-bar { height: 34px; gap: 6px; font-size: 12px; line-height: 18px; white-space: nowrap; }
.utility-bar__separator { display: none; }
.site-header { background: var(--light-01); }
.header-inner { height: 62px; gap: 12px; }
.header-inner .brand-placeholder { width: 112px; height: 40px; flex-basis: 112px; }
.header-inner .brand-placeholder span:first-child { font-size: 22px; }
.header-inner .brand-placeholder span:last-child { font-size: 10px; }
.header-phone { display: none; }
.menu-toggle { display: flex; width: 44px; height: 44px; margin-left: auto; padding: 10px 8px; flex-direction: column; justify-content: space-around; border: 0; background: transparent; }
.menu-toggle[aria-expanded="true"] { background: var(--light-02); }
.menu-toggle span { display: block; width: 28px; height: 2px; background: var(--dark); transition: transform 150ms; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { visibility: hidden; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.main-nav { position: fixed; inset: var(--site-header-height) 0 0; display: none; height: calc(100dvh - var(--site-header-height)); flex-direction: column; align-items: stretch; background: var(--white); }
.main-nav.is-open { display: flex; }
.main-nav__links { display: block; flex: 1; min-height: 0; height: auto; padding: 24px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.main-nav .nav-link { width: 100%; min-height: 64px; padding: 16px; border-bottom: 1px solid var(--light-02); border-left: 4px solid transparent; font-size: 24px; font-weight: 600; line-height: 32px; }
.main-nav a.nav-link:hover { background: var(--light-01); text-decoration: none; }
.main-nav .nav-link[aria-current="page"] { border-left-color: var(--brand-green); background: var(--light-01); border-radius: 8px; }
.main-nav .services-menu summary { justify-content: space-between; }
.services-menu__panel { position: static; width: calc(100% - 24px); margin: 8px 12px 16px; padding: 8px; border: 0; background: var(--light-01); box-shadow: none; }
.services-menu__panel a { min-height: 44px; padding: 12px; font-size: 16px; line-height: 24px; }
.services-menu__panel a[aria-current="page"] { background: var(--brand-green); }
.mobile-nav-cta { display: grid; flex: 0 0 auto; gap: 12px; padding: 20px 24px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--light-02); background: var(--white); box-shadow: 0 -8px 24px #0f1e3b08; text-align: center; }
.mobile-nav-cta p { color: var(--dark-01); font-size: 14px; line-height: 21px; }
.mobile-nav-cta .button { width: 100%; min-height: 56px; }
html.mobile-menu-open { overflow: hidden; }
body.mobile-menu-open { position: fixed; inset-inline: 0; width: 100%; overflow: hidden; }

.hero { display: flex; min-height: 0; flex-direction: column; gap: 24px; padding: 40px 20px 20px; }
.hero-copy { width: 100%; padding: 0; text-align: center; }
.hero-copy > .hero-trust { display: flex; justify-content: center; margin: 0; font-size: 14px; line-height: 21px; }
.hero-trust::before { width: 8px; height: 8px; flex-basis: 8px; }
.hero h1 { max-width: none; margin-top: 12px; }
.hero-copy > p:not(.hero-trust) { max-width: none; margin-top: 16px; font-size: 14px; line-height: 21px; }
.hero-actions { flex-direction: column; gap: 24px; margin-top: 24px; }
.hero-actions .button { width: 100%; }
.hero-media { width: 100%; min-height: 0; aspect-ratio: 592 / 656; }
.trust-strip { display: block; margin-top: 24px; }
.trust-strip > .dot-label { display: none; }
.trust-badges { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; }
.trust-badges li { min-width: 0; min-height: 40px; padding: 8px; gap: 8px; font-size: 12px; line-height: 18px; }
.trust-badges li:nth-child(4) { grid-row: 1; grid-column: 2; }
.trust-badges li:nth-child(2) { grid-row: 2; grid-column: 2; }
.trust-badges li:nth-child(3) { grid-row: 2; grid-column: 1; }
.trust-badges .icon-placeholder { width: 18px; height: 18px; flex-basis: 18px; }

.section-heading-row { display: contents; }
.section-description { margin-top: 24px; font-size: 14px; line-height: 21px; }
.three-column-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
.symptoms-section, .causes-section { display: grid; }
.symptoms-section .section-heading-row > div, .causes-section .section-heading-row > div:first-child { grid-row: 1; }
.symptoms-grid, .causes-grid { grid-row: 2; margin-top: 32px; }
.symptoms-section .section-heading-row > .button { grid-row: 3; margin-top: 32px; }
.symptom-card { min-height: 190px; padding: 24px; }
.symptom-card h3 { margin-top: 12px; font-size: 16px; line-height: 24px; }
.symptom-card p { margin-top: 16px; font-size: 14px; line-height: 21px; }

.split-section { grid-template-columns: minmax(0,1fr); gap: 0; }
.section-sidebar { display: contents; }
.section-body { grid-column: 1; min-width: 0; }
.services-section .section-sidebar > .dot-label { grid-row: 1; margin-bottom: 8px; }
.services-section .section-body { grid-row: 2; }
.services-section .section-sidebar > .support-card { grid-row: 3; }
.service-list { margin-top: 32px; gap: 16px; }
.service-card, .service-card:nth-child(6) { min-height: 0; padding: 24px; border: 1px solid var(--light-02); border-radius: 12px; background: var(--white); }
.service-number, .service-card:nth-child(6) .service-number { margin-bottom: 32px; }
.service-card h3 { font-size: 16px; line-height: 24px; }
.service-card p { margin-top: 16px; font-size: 14px; line-height: 21px; }
.service-card:first-child p { max-width: 280px; font-size: 16px; line-height: 24px; }
.text-link { margin-top: 16px; }
.support-card { margin-top: 24px; padding: 24px; }
.support-card h3 { margin-top: 24px; font-size: 20px; line-height: 24px; }
.support-card h3 br:first-child { display: none; }
.support-card p { max-width: 280px; }
.support-card .button { margin-top: 24px; }
.support-card .button--small { min-height: 40px; }
.causes-section .call-prompt { grid-row: 3; margin-top: 32px; }
.causes-section { margin-top: 112px; }
.causes-grid { margin-top: 24px; }
.call-prompt p { margin-bottom: 16px; font-size: 16px; line-height: 24px; }
.cause-card { min-height: 68px; padding: 11px 12px; gap: 16px; }
.cause-card h3 { font-size: 16px; line-height: 24px; }

.step-card { padding: 12px; }
.step-card__copy { min-height: 200px; padding: 12px 12px 16px; }
.step-card h3 { margin-top: 24px; font-size: 16px; line-height: 24px; }
.step-card p { margin-top: 16px; }
.step-media { aspect-ratio: 342 / 290; }
.pricing-section { display: flex; width: 100%; min-height: 0; padding: 0; flex-direction: column; border: 0; border-radius: 0; background: var(--dark); }
.pricing-copy { order: 1; width: 100%; padding: 56px 12px 24px; text-align: center; }
.pricing-copy .dot-label { justify-content: center; }
.pricing-copy h2 { margin-top: 16px; }
#pricing-title br:first-of-type { display: block; }
.pricing-copy .button { width: 100%; margin-top: 32px; }
.pricing-visual { position: relative; inset: auto; order: 2; width: 100%; min-height: 0; aspect-ratio: 390 / 300; padding: 0; border-radius: 0; }
.pricing-visual .media-image { object-position: right center; }
.pricing-visual .media-placeholder__label { margin: 24px; }
.results-section > h2 { margin-bottom: 32px; }
.stats-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
.stat-card { min-height: 173px; padding: 24px; gap: 24px; }
.stat-value { font-size: 48px; line-height: 1.3; }
.stat-label { max-width: none; font-size: 14px; font-weight: 500; line-height: 21px; }
.testimonial-grid { grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 96px; }
.testimonial-card { min-height: 355px; padding: 24px; }
.testimonial-card__top > p { font-size: 16px; line-height: 24px; }
.testimonial-card blockquote { padding-top: 56px; margin-bottom: 24px; font-size: 20px; line-height: 30px; }
.testimonial-card figcaption { gap: 8px; font-size: 12px; }
.video-card { padding: 12px; }
.video-media { aspect-ratio: 342 / 400; }
.video-play { width: 56px; height: 56px; }

.coverage-section { display: flex; width: 100%; flex-direction: column; gap: 20px; padding: 32px 12px; border-radius: 0; }
.coverage-card { order: 1; min-height: 0; padding: 20px; gap: 32px; }
.coverage-card h2 { margin-top: 16px; }
.coverage-card > div > p:last-child { font-size: 14px; line-height: 21px; }
.area-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; align-self: flex-start; }
.area-pill { min-height: 40px; padding: 8px 12px; justify-content: flex-start; font-size: 12px; line-height: 18px; }
.coverage-map { order: 2; padding: 12px; }
.map-media { min-height: 0; height: auto; aspect-ratio: 342 / 370; }
.faq-section .section-body { grid-row: 1; }
.faq-section .section-sidebar > .dot-label { display: none; }
.faq-section .support-card { grid-row: 2; margin-top: 32px; }
.faq-list { margin-top: 24px; gap: 16px; }
.faq-item summary { min-height: 56px; padding: 16px; gap: 24px; font-size: 16px; line-height: 24px; }
.faq-item .ui-chevron { margin-right: 4px; }
.faq-answer { padding: 0 16px 20px; font-size: 14px; line-height: 21px; }

.contact-section { padding: 32px 24px; }
.contact-layout { grid-template-columns: minmax(0,1fr); gap: 0; }
.contact-sidebar { display: contents; }
.contact-sidebar > .dot-label { grid-row: 1; margin-bottom: 16px; }
.contact-body { grid-column: 1; grid-row: 2; }
.contact-body h2 br { display: none; }
.contact-description { margin-top: 24px; font-size: 14px; line-height: 21px; }
.contact-form { margin-top: 32px; }
.form-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
.form-field { gap: 12px; }
.form-field label { font-size: 14px; line-height: 21px; }
.form-field input, .form-field select, .form-field textarea { padding-inline: 16px; font-size: 14px; }
.form-field textarea { min-height: 140px; }
.form-actions { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 32px; }
.form-actions > p { font-size: 14px; line-height: 21px; text-align: center; }
.contact-details { grid-row: 3; width: 100%; max-width: none; margin-top: 32px; padding: 32px; }

.site-footer { display: flex; width: 100%; margin-top: 64px; margin-bottom: 0; padding: 32px 20px; flex-direction: column; border-radius: 0; }
.footer-main { display: contents; }
.footer-about { order: 1; width: 100%; max-width: none; }
.brand-placeholder--footer { width: 268px; height: 120px; }
.footer-about > p { margin-top: 24px; }
.footer-about .button { width: 100%; margin-top: 24px; }
.footer-benefits { order: 2; flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 24px; padding-bottom: 32px; border: 0; }
.footer-benefits li + li { padding-left: 0; border: 0; }
.footer-benefits p { white-space: normal; }
.footer-column { order: 3; padding: 32px 0; border-top: 1px solid var(--dark-01); }
.footer-column h2 { margin-bottom: 24px; }
.footer-column ul, .footer-column address { gap: 14px; }
.footer-bottom { order: 4; margin-top: 0; padding-top: 24px; flex-direction: column; align-items: flex-start; gap: 20px; border-top: 1px solid var(--dark-01); }
.footer-bottom > span { order: -1; }

@media (max-width: 374px) {
  .utility-bar { gap: 4px; font-size: 10px; }
  .hero { padding-inline: 16px; }
  .hero h1 { font-size: clamp(20px, 6.15vw, 24px); }
  .hero-copy > .hero-trust { font-size: 12px; }
  .trust-badges li { font-size: 11px; gap: 6px; }
  .symptom-card, .service-card, .support-card { padding: 20px; }
  .contact-section { padding-inline: 20px; }
  .contact-details { padding: 24px; }
}

@media (min-width: 600px) {
  .container, .wide-panel { max-width: 720px; }
  .hero-media { max-height: 560px; aspect-ratio: 1; }
  .symptoms-grid, .causes-grid, .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero h1 { font-size: 32px; }
  .display-heading { font-size: 28px; }
  .hero-copy > p:not(.hero-trust) { max-width: 520px; margin-inline: auto; }
}
