
:root { --navy: #062942; --deep: #0a385d; --blue: #0865a3; --cyan: #1aa7df; --ink: #162b35; --muted: #526a74; --line: #b8cbd2; --mist: #eef6f8; --sea: #d9edf3; --white: #fff; }
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif; color: var(--ink); background: var(--mist); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
html { scroll-padding-top: 150px; }
img { max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; top: -80px; left: 16px; background: var(--cyan); color: var(--navy); padding: 10px 14px; z-index: 50; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: linear-gradient(180deg, #07345a, #062942); border-bottom: 1px solid rgba(142,225,255,.22); box-shadow: 0 14px 34px rgba(5,33,54,.16); }
.utility-band { background: rgba(2,24,40,.86); color: #d9edf3; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.utility-inner { width: min(1180px, calc(100% - 40px)); margin: auto; min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.utility-inner a { color: #8ee1ff; font-weight: 850; text-decoration: none; white-space: nowrap; }
.nav { width: min(1180px, calc(100% - 40px)); margin: auto; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 0; }
.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: white; }
.brand { flex: 0 0 auto; min-height: 58px; }
.brand-image { display: block; width: 180px; height: 51px; object-fit: contain; background: transparent; }
.brand-mark { width: 52px; height: 64px; display: block; flex: 0 0 auto; background: transparent url('clearhaven-brand-symbol-transparent.png') center / contain no-repeat; }
.brand-text { display: grid; gap: 2px; line-height: 1; }
.brand-text strong { font-size: 1.55rem; letter-spacing: 0; font-weight: 900; color: white; }
.brand-text em { font-style: normal; text-transform: uppercase; letter-spacing: .28em; font-size: .66rem; font-weight: 850; color: #8ee1ff; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 750; color: #eaf8fb; }
.nav-links a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:hover, .nav-links a[aria-current='page'], .nav-links a.active-section { color: #8ee1ff; }
.nav-more { position: relative; }
.nav-more summary { display: flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary.active-section, .nav-more summary:hover { color: #8ee1ff; }
.nav-more summary img { transition: transform .15s; }
.nav-more[open] summary img { transform: rotate(180deg); }
.services-panel { position: absolute; top: calc(100% + 12px); left: -150px; width: 560px; max-height: calc(100dvh - 140px); overflow-y: auto; padding: 18px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.services-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; list-style: none; padding: 10px 0; margin: 0; }
.services-panel li { min-width: 0; }
.nav-links .services-panel a { display: flex; padding: 9px 10px; font-size: .9rem; line-height: 1.35; overflow-wrap: anywhere; }
.nav-links .services-panel a:hover, .nav-links .services-panel a[aria-current='page'] { color: var(--deep); background: var(--mist); }
.nav-links .services-panel .primary-service-link { border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--deep); }
.nav-links .services-panel .all-services-link { border-top: 1px solid var(--line); color: var(--deep); }
.nav-action, .button { border-radius: 4px; background: var(--blue); color: white; padding: 12px 18px; text-decoration: none; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--blue); }
.nav-links .nav-action { background: #8ee1ff; color: var(--navy); border-color: #8ee1ff; box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.button.secondary { background: white; color: var(--deep); border-color: #a9c7d2; }
.hero { color: white; background: linear-gradient(90deg, rgba(6,41,66,.9), rgba(6,41,66,.72) 43%, rgba(6,41,66,.08) 76%), url('clearhaven-home-water-damage.webp') center 38% / cover no-repeat; }
.hero-layout { min-height: 520px; display: flex; align-items: center; }
.hero-copy { max-width: 680px; }
.hero-copy h1 { font-size: 72px; }
.eyebrow { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 900; color: #bfeeff; }
.eyebrow.dark { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: 0; }
h1 { font-size: 72px; max-width: 850px; }
h2 { font-size: 48px; }
h3 { font-size: 1.35rem; }
.hero p:not(.eyebrow) { max-width: 660px; font-size: 1.15rem; color: #e6f6fb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-service-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; font-size: 16px; }
.hero-service-links a { color: #d9edf3; text-underline-offset: 4px; }
.hero-service-links a:hover { color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 32px; margin: 30px 0 0; }
.hero-facts div { display: flex; align-items: center; gap: 12px; }
.hero-facts dt { font-size: .85rem; color: #d9edf3; }
.hero-facts dd { margin: 0; font-size: 1.45rem; font-weight: 800; }
section { padding: 70px 0; }
.section-grid, .local-layout, .faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 54px; align-items: start; }
.section-grid p, .local-layout p, .faq-layout p { color: var(--muted); margin-top: 8px; }
.process { background: white; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 34px; }
.process-grid article, .service-card { border-top: 2px solid var(--line); padding-top: 20px; min-width: 0; }
.process-grid span, .service-card span { color: var(--blue); font-weight: 900; font-size: .82rem; }
.process-grid p, .service-card p { color: var(--muted); }
.services-band, .page-content { background: var(--sea); }
.main-service-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 32px; margin-bottom: 32px; }
.restoration-photo { margin: 0 0 32px; }
.restoration-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.main-service-overview .restoration-photo { margin: 0; }
.main-service-overview p { max-width: 720px; }
.main-service-overview .button { max-width: 100%; white-space: normal; text-align: center; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 34px; }
.service-card { background: rgba(255,255,255,.45); padding: 22px; border-radius: 6px; border: 1px solid #b7d1da; }
.service-card h3 { margin: 10px 0; }
.service-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 18px; }
.service-card { display: flex; flex-direction: column; }
.service-card > a { margin-top: auto; }
.service-card a, .text-link, .link-list a, .source-note a { color: var(--deep); text-decoration: underline; text-underline-offset: 4px; font-weight: 750; }
.local-band, .faq { background: white; }
.source-note { font-size: .92rem; }
.areas-preview { background: #eaf5f8; }
.state-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.state-pills a { background: white; border: 1px solid #bad2db; border-radius: 999px; padding: 8px 13px; text-decoration: none; color: var(--deep); font-weight: 750; }
.faq-items details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-items details:last-child { border-bottom: 1px solid var(--line); }
.faq-items summary { cursor: pointer; font-weight: 850; }
.site-footer { background: var(--navy); color: white; padding: 44px 0; }
.footer-inner { width: min(1180px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: minmax(260px, .9fr) minmax(0, 1.4fr); gap: 54px; align-items: start; }
.footer-logo { margin-bottom: 18px; }
.footer-logo .brand-image { width: 175px; height: 50px; }
.footer-logo .brand-text strong { font-size: 1.45rem; }
.footer-logo .brand-mark { width: 40px; height: 50px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-links div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.footer-links h2, .site-disclaimer h2 { font: inherit; font-weight: 900; color: #8ee1ff; margin: 0 0 8px; }
.footer-links a { color: #e8f7fb; text-decoration: none; overflow-wrap: anywhere; }
.site-disclaimer { width: min(1180px, calc(100% - 40px)); margin: 34px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); color: #d5e9ef; font-size: .92rem; }
.page-hero { background: var(--navy); color: white; padding: 46px 0; }
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: #aee9ff; margin-bottom: 18px; }
.breadcrumbs a { color: #d9f5ff; }
.page-hero h1 { font-size: 56px; }
.page-hero .intro { max-width: 800px; color: #d9edf3; font-size: 1.08rem; }
.page-content { padding: 52px 0 70px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, .8fr); gap: 46px; align-items: start; }
.article-copy { max-width: 780px; }
.article-copy h2 { font-size: 1.8rem; margin: 28px 0 12px; }
.article-copy h2:first-child { margin-top: 0; }
.article-copy p, .article-copy li { color: #344f5b; }
.guide-answer { border-left: 3px solid var(--blue); padding-left: 18px; margin: 28px 0; }
.guide-answer h2, .guide-contents h2 { font-size: 1.15rem; }
.guide-contents { border-top: 1px solid #adc8d2; border-bottom: 1px solid #adc8d2; padding: 16px 0; margin: 24px 0 32px; }
.guide-contents h2 { margin: 0 0 10px; }
.guide-contents ol { padding-left: 22px; margin: 0 0 10px; }
.guide-contents a { display: inline-block; padding: 7px 0; overflow-wrap: anywhere; }
.guide-section { padding: 0; margin-bottom: 32px; }
.guide-section p { max-width: 68ch; line-height: 1.8; }
.guide-note { border-top: 1px solid #adc8d2; padding-top: 16px; font-size: .92rem; line-height: 1.7; }
.service-comparison { padding: 0; margin: 38px 0; }
.service-comparison table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .95rem; }
.service-comparison caption { text-align: left; padding: 12px 0; color: var(--muted); }
.service-comparison th, .service-comparison td { padding: 14px 12px; border-bottom: 1px solid #adc8d2; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.service-comparison thead { background: var(--sea); }
.service-comparison a { display: inline-block; padding: 5px 0; }
.detail-list { padding-left: 22px; }
.detail-list li { margin: 8px 0; }
.link-list { list-style: none; padding: 0; margin: 16px 0; }
.link-list li { border-bottom: 1px solid #adc8d2; }
.link-list a { display: block; padding: 12px 0; }
.request-panel { background: white; border: 1px solid #b9d2db; border-radius: 6px; padding: 24px; position: sticky; top: 130px; }
.request-panel h2 { font-size: 1.45rem; margin-bottom: 10px; }
.request-panel h3 { margin-top: 24px; }
.call-context { margin: 18px 0; }
.call-context div { border-top: 1px solid #d2e3e9; padding: 10px 0; }
.call-context dt { color: var(--muted); font-size: .85rem; }
.call-context dd { margin: 3px 0 0; font-weight: 850; }
.request-links { display: grid; gap: 10px; margin-top: 20px; }
.availability { border-left: 4px solid var(--blue); padding: 12px 0 12px 18px; background: rgba(255,255,255,.34); margin: 20px 0; }
.area-controls { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(180px, 260px) auto; gap: 14px; align-items: end; margin: 24px 0; }
.area-controls label { display: grid; gap: 5px; font-weight: 850; color: var(--deep); }
.area-controls input, .area-controls select { width: 100%; min-height: 44px; border: 1px solid #a8c5cf; border-radius: 4px; padding: 9px 11px; font: inherit; background: white; }
.area-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.area-list li[hidden], [hidden] { display: none !important; }
.area-list a { display: flex; justify-content: space-between; gap: 10px; min-height: 48px; align-items: center; background: white; border: 1px solid #bdd4dd; border-radius: 4px; padding: 9px 11px; text-decoration: none; font-weight: 800; }
.area-list a span:last-child { color: var(--blue); }
.area-city { min-width: 0; display: grid; gap: 5px; }
.area-city small { color: var(--ink); font-size: .8rem; line-height: 1.45; font-weight: 400; overflow-wrap: anywhere; }
.area-state { flex: 0 0 auto; }
.state-directory { margin: 26px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.state-directory summary { cursor: pointer; font-weight: 850; color: var(--deep); min-height: 44px; padding: 8px 0; }
.state-directory summary:focus-visible, .state-links a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.state-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 20px; list-style: none; margin: 12px 0 0; padding: 0; }
.state-links li { min-width: 0; border-bottom: 1px solid var(--line); }
.state-links a { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 44px; padding: 9px 0; text-decoration: none; color: var(--deep); overflow-wrap: anywhere; }
.state-links a:hover { text-decoration: underline; }
.state-links a[aria-current='page'] { font-weight: 850; }
.state-links span { color: var(--muted); flex: 0 0 auto; font-size: .85rem; }
.state-city-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.neighborhood-section { padding: 0; margin: 30px 0; }
.neighborhood-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.neighborhood-list li { border-bottom: 1px solid #bdd4dd; padding: 14px 0; display: grid; gap: 4px; overflow-wrap: anywhere; }
.neighborhood-list span, .neighborhood-list a { font-size: .85rem; }
.neighborhood-list a { color: var(--deep); text-underline-offset: 3px; }
.neighborhood-attribution { margin-top: 25px; }
.phone { color: var(--deep); font-size: 2rem; font-weight: 900; }
address { font-style: normal; color: #344f5b; }
.nav-toggle { display: none; border: 1px solid #c8dde4; background: white; border-radius: 4px; padding: 9px; }
.menu-open .menu-open-icon, .menu-close-icon { display: none; }
.menu-open .menu-close-icon { display: block; }
@media (max-width: 950px) {
  .nav { flex-wrap: wrap; padding: 10px 0; }
  .nav-toggle { display: inline-flex; }
  .nav.menu-ready .nav-links { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav.menu-ready.menu-open .nav-links { display: flex; }
  .nav-links { max-height: calc(100dvh - 160px); overflow-y: auto; }
  .services-panel { position: static; width: 100%; max-height: none; padding: 8px; margin: 6px 0; box-shadow: none; }
  .nav-links a { padding: 6px 0; }
  .hero-layout, .section-grid, .local-layout, .faq-layout, .detail-layout, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { min-height: 470px; }
  .hero-copy h1 { font-size: 56px; }
  h2 { font-size: 38px; }
  .page-hero h1 { font-size: 44px; }
  .service-grid, .process-grid, .area-list, .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .state-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-panel { position: static; }
  .main-service-overview { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .wrap, .nav, .utility-inner, .footer-inner, .site-disclaimer { width: min(100% - 28px, 1180px); }
  .utility-inner { align-items: flex-start; flex-direction: column; gap: 4px; padding: 8px 0; }
  .brand-text strong { font-size: 1.25rem; }
  .brand-text em { font-size: .58rem; letter-spacing: .22em; }
  .brand-mark { width: 38px; height: 47px; }
  .brand-image { width: 160px; height: 45px; }
  .hero { background-image: linear-gradient(90deg, rgba(6,41,66,.86), rgba(6,41,66,.62)), url('clearhaven-home-water-damage.webp'); background-position: 65% center; }
  .hero-layout { min-height: 480px; }
  .hero-copy h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .page-hero h1 { font-size: 34px; overflow-wrap: anywhere; }
  .hero p:not(.eyebrow) { font-size: 1rem; }
  .hero-facts { gap: 12px 24px; }
  section { padding: 48px 0; }
  .service-grid, .process-grid, .area-list, .footer-links, .area-controls, .neighborhood-list { grid-template-columns: minmax(0, 1fr); }
  .state-links { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .button { width: 100%; }
  .services-panel ul { grid-template-columns: minmax(0, 1fr); }
  .service-comparison table, .service-comparison tbody, .service-comparison caption { display: block; }
  .service-comparison thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .service-comparison tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); border-bottom: 1px solid #adc8d2; padding: 14px 0; }
  .service-comparison tbody th, .service-comparison tbody td { display: block; padding: 5px 0; border: 0; }
}
