/* Template C19 v1 — "Gulf sunset" (clearwaterimpactwindows.com handoff).
   Desktop values come from design/clearwaterimpactwindows-handoff.md (fluid desktop page), moved out
   of inline styles; below 768px the 390px mobile artboard takes over.
   The design ships `*{box-sizing:border-box}`, so `max-width:1240px; padding:0 32px` is the OUTER
   width (1176px of content). .wrap is border-box on purpose — unlike C3/C4/C14.
   Type: the design's Schibsted Grotesk + Albert Sans is Template C11's pairing, so headings are
   Funnel Display and body Funnel Sans at the design's weights and sizes.
   Recolor levers per site: --accent (coral) and --dark (the why/footer brown). */

/* ---------- 1. Fonts + tokens ---------- */
@font-face { font-family: "Funnel Display"; src: url("/fonts/funnel-display-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url("/fonts/funnel-sans-latin.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --bg: #FFFBF6;          /* warm white */
  --ink: #1F1A17;         /* charcoal */
  --accent: #C8401A;      /* coral: buttons, accents */
  --accent-hover: #A93514;
  --accent-text: #B23A16; /* coral as text on light */
  --peach: #FF9E6E;       /* city underline, dots on dark */
  --tint: #FFF4EA;
  --dark: #231C19;
  --dark-2: #2E2521;
  --dark-line: #4A3D36;
  --on-dark: #E6DAD2;
  --line: #EADFD3;
  --line-2: #E2D5C8;
  --hatch: #EBDCCD;
  --field: #94877C;
  --text: #5A504A;
  --text-2: #6B5F57;
  --logo-fill: #FFEFE3;
  --head: "Funnel Display", "Trebuchet MS", sans-serif;
  --body: "Funnel Sans", "Segoe UI", system-ui, sans-serif;
  --shadow: 0 18px 40px rgba(60, 35, 20, 0.10);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); transition: color .15s ease-out; }
a:hover { color: var(--ink); }
input, textarea, select, button { font: inherit; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.on-dark a:focus-visible, .on-dark button:focus-visible, .band a:focus-visible, .site-footer a:focus-visible { outline-color: var(--peach); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
section[id], form[id] { scroll-margin-top: 12px; }
h1, h2, h3 { font-family: var(--head); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 90; background: #FFFFFF; color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.only-mobile { display: none; }

.h2 { margin: 0; font-weight: 800; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
.muted { margin: 0; color: var(--text); }
.section { padding-top: 88px; padding-bottom: 88px; }
.bg-white { background: #FFFFFF; border-top: 1px solid var(--line); }
.bg-tint { background: var(--tint); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 10px; border: 0; text-decoration: none; font-weight: 700; font-size: 17px; cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out; }
.btn-accent { background: var(--accent); color: #FFFFFF; }
.btn-accent:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn-ink { background: var(--ink); color: #FFFFFF; }
.btn-ink:hover { background: #3A322D; color: #FFFFFF; }
.btn-white { background: #FFFFFF; color: var(--ink); }
.btn-white:hover { background: var(--tint); color: var(--ink); }
.btn-line { background: #FFFFFF; color: var(--ink); border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--accent); color: var(--ink); }

/* ---------- 3. Header + dropdown nav ---------- */
.site-header { position: relative; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-top { font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.logo-sub { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 600; }
.nav > a, .nav-toggle { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav > a:hover, .nav-toggle:hover { color: var(--accent-text); }
.nav-group { position: relative; }
.nav-toggle { gap: 6px; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle svg { width: 14px; height: 14px; transition: transform .15s ease-out; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-panel { display: none; position: absolute; top: 100%; left: -16px; margin: 10px 0 0; padding: 8px; list-style: none; min-width: 280px; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); z-index: 50; }
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-group:hover .nav-panel, .nav-group:focus-within .nav-panel, .nav-group.is-open .nav-panel { display: block; }
.nav-panel a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; transition: background-color .15s ease-out, color .15s ease-out; }
.nav-panel a:hover { background: var(--tint); color: var(--accent-text); }
.nav-panel .panel-all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.nav-panel .panel-all a { color: var(--accent-text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.call-pill { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; background: var(--ink); color: #FFFFFF; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 17px; white-space: nowrap; transition: background-color .15s ease-out; }
.call-pill:hover { background: #3A322D; color: #FFFFFF; }
.call-pill svg { width: 17px; height: 17px; flex: none; }
.menu-button { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink); cursor: pointer; transition: border-color .15s ease-out; }
.menu-button:hover { border-color: var(--accent); }
.menu-button svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .nav-toggle svg { transition: none; } }

/* ---------- 4. Hero ---------- */
.hero-inner { padding-top: 56px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 72px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; padding-top: 16px; }
.hero-head { display: flex; flex-direction: column; gap: 26px; }
.hero-body { display: flex; flex-direction: column; gap: 26px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.eyebrow::before { content: ""; flex: none; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.hero h1 { margin: 0; font-weight: 800; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.mark { white-space: nowrap; text-decoration: underline; text-decoration-color: var(--peach); text-decoration-thickness: 8px; text-underline-offset: 9px; text-decoration-skip-ink: none; }
.hero-lede { margin: 6px 0 0; font-size: 20px; line-height: 1.5; color: var(--text); max-width: 540px; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks svg { width: 22px; height: 22px; flex: none; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-cta .btn { min-height: 54px; padding: 0 28px; font-size: 18px; }
.hero-cta > span { font-size: 15.5px; color: var(--text); }
.hero-quote { flex: 0 1 430px; min-width: 0; }

/* ---------- 5. Quote form ---------- */
.quote { background: #FFFFFF; border: 1px solid var(--line-2); border-top: 6px solid var(--accent); border-radius: 14px; padding: 24px 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.quote-title { margin: 0; font-family: var(--head); font-weight: 800; font-size: 25px; line-height: 1.15; letter-spacing: -0.015em; }
.quote-sub { margin: 4px 0 0; font-size: 15px; color: var(--text); }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--text-2); }
.field input, .field textarea, .field select { width: 100%; padding: 0 14px; border: 1px solid var(--field); border-radius: 8px; font-size: 16px; background: #FFFFFF; color: var(--ink); }
.field input, .field select { height: 46px; }
.field select { padding-right: 36px; appearance: none; -webkit-appearance: none; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231C1917' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field textarea { padding-top: 10px; padding-bottom: 10px; resize: vertical; min-height: 0; line-height: normal; }
.field-row { display: flex; gap: 12px; }
.field-row .field:first-child { flex: 0 0 38%; }
.field-row .field:last-child { flex: 1 1 0; }
.quote button[type="submit"] { height: 54px; border: 0; border-radius: 10px; background: var(--accent); color: #FFFFFF; font-weight: 700; font-size: 18px; cursor: pointer; transition: background-color .15s ease-out; }
.quote button[type="submit"]:hover { background: var(--accent-hover); }
.quote button[type="submit"]:disabled { opacity: .7; cursor: progress; }
.quote-foot { margin: 0; font-size: 13px; color: var(--text-2); text-align: center; }
.form-error { margin: 0; font-size: 14.5px; color: var(--accent-text); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 6. Trust strip ---------- */
.trust { padding-bottom: 72px; }
.trust-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.trust-grid li { padding: 22px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; }
.trust-grid strong { display: block; font-weight: 700; }
.trust-grid li > span { display: block; font-size: 15px; color: var(--text); }

/* ---------- 7. Services ---------- */
.stack { display: flex; flex-direction: column; gap: 44px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; }
.sec-head .h2 { flex: 1 1 480px; }
.sec-head p { margin: 0; flex: 1 1 380px; max-width: 480px; color: var(--text); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s ease-out; }
.svc svg { width: 40px; height: 40px; flex: none; }
.svc h3 { margin: 4px 0 0; font-weight: 700; font-size: 23px; letter-spacing: -0.015em; line-height: 1.55; }
.svc p { margin: 0; color: var(--text); }
.svc h3 a { color: var(--ink); text-decoration: none; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.svc-more { margin-top: auto; padding-top: 2px; font-weight: 700; font-size: 15.5px; color: var(--accent-text); }
.svc:has(h3 a):hover { border-color: var(--accent); }
.svc:has(h3 a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.svc h3 a:focus-visible { outline: 0; }

/* ---------- 8. Why impact (dark) ---------- */
.on-dark { background: var(--dark); color: #FFFFFF; }
.why-inner { display: flex; flex-wrap: wrap; align-items: stretch; gap: 48px 72px; }
.why-photo { flex: 1 1 400px; min-width: 0; min-height: 420px; border-radius: 14px; overflow: hidden; position: relative; }
.why-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-copy { flex: 1.3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.why-head { display: flex; flex-direction: column; gap: 16px; }
.why-head p { margin: 0; color: var(--on-dark); max-width: 560px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 28px 40px; }
.why-item { display: flex; flex-direction: column; gap: 6px; }
.why-item h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; line-height: 1.55; }
.why-item h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--peach); }
.why-item p { margin: 0; color: var(--on-dark); }

/* Placeholder slots (template only): hatched boxes from the design. */
.slot { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 14px; font-weight: 600; color: var(--text); border-radius: 14px; border: 1px solid var(--line-2); background: repeating-linear-gradient(135deg, var(--hatch) 0, var(--hatch) 2px, transparent 2px, transparent 12px), #FFFFFF; }
.on-dark .slot { align-items: flex-end; border: 0; color: var(--on-dark); background: repeating-linear-gradient(135deg, var(--dark-line) 0, var(--dark-line) 2px, transparent 2px, transparent 12px), var(--dark-2); }

/* ---------- 9. CTA band ---------- */
.band { background: var(--accent); color: #FFFFFF; }
.band-inner { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.band-title { margin: 0; font-family: var(--head); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.02em; }
.band-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 10. Process ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; }
.step-num { font-family: var(--head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent); }
.step h3 { margin: 0; font-weight: 700; font-size: 21px; line-height: 1.55; }
.step p { margin: 0; color: var(--text); }

/* ---------- 11. Pricing summary (added: BUILD-SYSTEM §7c) ---------- */
.pricing-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 72px; }
.pricing-copy { flex: 1 1 340px; max-width: 440px; display: flex; flex-direction: column; gap: 18px; }
.pricing-copy .btn { align-self: flex-start; }
.pricing-rows { flex: 999 1 560px; min-width: 0; }
.price-rows { margin: 0; padding: 0; list-style: none; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.price-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 24px; border-top: 1px solid var(--line); }
.price-rows li:first-child { border-top: 0; }
.price-rows span { color: var(--text); }
.price-rows strong { font-family: var(--head); font-weight: 700; font-size: 20px; white-space: nowrap; }
.price-note { margin: 14px 0 0; font-size: 15px; color: var(--text); }

/* ---------- 12. Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--tint); border-radius: 14px; }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.review figcaption { font-weight: 700; }
.review figcaption span { font-weight: 400; color: var(--text); }

/* ---------- 13. Service areas ---------- */
.areas-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.areas-map { flex: 1 1 400px; min-width: 0; height: 400px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #FFFFFF; }
.areas-map img { width: 100%; height: 100%; object-fit: cover; }
.areas-map.slot { padding: 24px; }
.areas-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.areas-copy > p { margin: 0; color: var(--text); max-width: 520px; }
.towns { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 28px; font-weight: 600; }
.towns li { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.towns a { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; display: inline-flex; min-height: 24px; align-items: center; }
.towns a:hover { color: var(--ink); }
.areas-note { color: var(--text); }
.areas-note a { font-weight: 700; }

/* ---------- 14. FAQ ---------- */
.faq-inner { max-width: 920px; display: flex; flex-direction: column; gap: 36px; }
.faq-inner > .h2 { text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: #FFFFFF; border: 1px solid var(--line-2); border-radius: 12px; padding: 20px 24px; }
.faq-list summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.55; }
.faq-list summary::after { content: "+"; flex: none; color: var(--accent); font-weight: 700; transition: transform .15s ease-out; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent-text); }
.faq-list details p { margin: 12px 0 0; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .faq-list summary::after { transition: none; } }

/* ---------- 15. Contact / about ---------- */
.contact-inner { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 72px; }
.contact-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-copy > p { margin: 0; color: var(--text); max-width: 540px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.facts > div { padding: 18px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.facts dt { font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.facts .fact-phone dd { font-weight: 700; font-size: 20px; }
.facts dd a { color: var(--ink); text-decoration: none; }
.facts dd a:hover { color: var(--accent-text); }
.contact-form { flex: 0 1 430px; min-width: 0; }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); font-size: 15px; }
.footer-top { padding-top: 48px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 56px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; max-width: 340px; }
.footer-col { display: flex; flex-direction: column; }
.footer-col h2 { margin: 0 0 6px; font-family: var(--body); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--peach); }
.footer-col a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: 34px; }
.footer-col a:hover, .footer-brand a:hover { color: #FFFFFF; }
.footer-brand a { color: #FFFFFF; font-weight: 700; text-decoration: none; }
.footer-bottom { padding-top: 36px; padding-bottom: 36px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-name { font-family: var(--head); font-weight: 800; font-size: 18px; color: #FFFFFF; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.footer-bottom nav a { color: var(--on-dark); text-decoration: none; }
.footer-bottom nav a:hover { color: #FFFFFF; }
.call-bar { display: none; }

/* ---------- 17. Inner pages ---------- */
.page-hero .hero-inner { padding-top: 40px; padding-bottom: 64px; }
.page-hero .hero-copy { padding-top: 0; gap: 20px; }
.page-hero h1 { font-size: clamp(38px, 4.2vw, 54px); }
.breadcrumb ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; font-size: 14px; color: var(--text); }
.breadcrumb li + li::before { content: "/"; margin: 0 10px; color: var(--field); }
.breadcrumb a { color: var(--text); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-text); text-decoration: underline; }
.page-body { background: #FFFFFF; border-top: 1px solid var(--line); padding-top: 72px; padding-bottom: 96px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
.prose { max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-weight: 800; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; margin: 48px 0 14px; text-wrap: balance; }
.prose h3 { font-weight: 700; font-size: 21px; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: var(--text); }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; text-decoration-color: var(--peach); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose .answer { font-size: 19px; color: var(--ink); padding: 22px 24px; background: var(--tint); border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; }
.prose figure { margin: 32px 0; }
.prose figure img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.prose figure .slot { aspect-ratio: 3 / 2; }
.prose figcaption { margin-top: 8px; font-size: 14px; color: var(--text); }
.estimate-note { font-size: 15.5px; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 18px; background: var(--bg); }
.table-wrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line-2); border-radius: 12px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
.price-table caption { caption-side: bottom; text-align: left; font-size: 14px; color: var(--text); padding: 10px 16px; border-top: 1px solid var(--line-2); }
.price-table th, .price-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--dark); color: #FFFFFF; font-family: var(--head); font-weight: 700; font-size: 15px; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:nth-child(2) { font-weight: 700; white-space: nowrap; color: var(--ink); }
.prose .faq-list summary { font-size: 19px; }
.aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.side-card { border: 1px solid var(--line-2); border-radius: 14px; padding: 24px; background: var(--bg); }
.side-card h2 { margin: 0 0 10px; font-weight: 800; font-size: 21px; line-height: 1.2; }
.side-card p { margin: 0 0 16px; color: var(--text); font-size: 16px; }
.side-card ul { margin: 0; padding: 0; list-style: none; }
.side-card li { border-top: 1px solid var(--line); }
.side-card li a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; }
.side-card li a:hover { color: var(--accent-text); }
.side-card--dark { background: var(--dark); border-color: var(--dark); color: #FFFFFF; }
.side-card--dark p { color: var(--on-dark); }
.side-card--dark .btn { width: 100%; }
.updated { font-size: 14px; color: var(--text); margin-top: 36px; }
.simple .hero-copy { max-width: 760px; }
.simple .hero-inner { padding-bottom: 96px; }

/* ---------- 18. Width steps the design does not draw ---------- */
/* The design hides its six-link nav at 980px. With dropdowns + About it has seven items,
   so the hamburger takes over below 1100px and the nav tightens below 1240px. */
@media (max-width: 1239.98px) {
  .nav { gap: 22px; font-size: 15.5px; }
  .header-inner { gap: 18px; }
}
@media (max-width: 1099.98px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #FFFFFF; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 20px 16px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav > a, .nav-toggle { min-height: 50px; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-group:hover .nav-panel, .nav-group:focus-within .nav-panel { display: none; }
  .nav-group.is-open .nav-panel { display: block; }
  .nav-panel { position: static; margin: 0; padding: 4px 0 8px 12px; min-width: 0; border: 0; box-shadow: none; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-panel::before { display: none; }
  .menu-button { display: inline-flex; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero-quote, .contact-form { flex: 1 1 100%; }
}

/* Short desktop viewports: keep the quote form above the fold (BUILD-SYSTEM §7d). */
@media (min-width: 1024px) and (max-height: 760px) {
  .hero-inner { padding-top: 36px; }
  .hero-copy { padding-top: 8px; gap: 22px; }
  .hero-head, .hero-body { gap: 22px; }
  .quote { padding: 20px 24px; gap: 11px; }
}
@media (min-width: 1024px) and (max-height: 680px) {
  .hero-inner { padding-top: 28px; }
  .quote { gap: 9px; }
  .quote-sub { display: none; }
}

/* ---------- 19. Mobile artboard (< 768px) ---------- */
@media (max-width: 767.98px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 48px; padding-bottom: 48px; }
  .h2 { font-size: 28px; line-height: 1.12; }

  .header-inner { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .logo { gap: 10px; }
  .logo svg { width: 34px; height: 34px; }
  .logo-top { font-size: 17px; letter-spacing: 0; }
  .logo-sub { font-size: 10.5px; letter-spacing: 0.14em; }
  .call-pill { min-height: 44px; height: 44px; padding: 0 14px; gap: 8px; font-size: 15px; }
  .call-pill svg { width: 15px; height: 15px; }
  .call-pill .pill-num { display: none; }
  .call-pill .pill-call { display: inline; }
  .nav { padding: 8px 16px 16px; }

  /* Hero: head, then the form, then the checks (mobile artboard order). */
  .hero-inner { padding-top: 26px; padding-bottom: 36px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 20px; }
  .hero-copy { display: contents; }
  .hero-head { order: 1; gap: 14px; }
  .hero-quote { order: 2; flex: none; }
  .hero-body { order: 3; gap: 20px; }
  .eyebrow { font-size: 12px; gap: 8px; }
  .eyebrow::before { width: 22px; }
  .hero h1 { font-size: 37px; line-height: 1.1; }
  .mark { text-decoration-thickness: 6px; text-underline-offset: 6px; }
  .hero-lede { margin-top: 4px; font-size: 16.5px; }
  .checks { gap: 8px; font-size: 15.5px; }
  .checks li { gap: 10px; }
  .checks svg { width: 20px; height: 20px; }
  .hero .hero-cta { display: none; }
  .page-hero .hero-cta { display: flex; }
  .page-hero .hero-cta .btn { width: 100%; }
  .page-hero h1 { font-size: 33px; }
  .page-hero .hero-inner { padding-bottom: 40px; }
  .simple .hero-inner { padding-bottom: 56px; }
  .simple .hero-cta .btn { width: 100%; }

  .quote { padding: 18px 16px; gap: 12px; box-shadow: 0 14px 30px rgba(60, 35, 20, 0.10); }
  .quote-title { font-size: 22px; letter-spacing: 0; }
  .quote-sub, .quote-foot { display: none; }
  .field { gap: 4px; }
  .field label { font-size: 13px; }
  .field input, .field textarea { padding-left: 12px; padding-right: 12px; }
  .field select { padding-left: 12px; }
  .field-row { gap: 10px; }
  .field-row .field:first-child { flex-basis: 40%; }
  .quote button[type="submit"] { height: 52px; font-size: 17px; }

  .trust { padding-bottom: 44px; }
  .trust-grid { grid-template-columns: 1fr 1fr; font-size: 14.5px; }
  .trust-grid li { padding: 16px; }
  .trust-grid li > span { font-size: 14.5px; }

  .stack { gap: 24px; }
  .sec-head { flex-direction: column; align-items: stretch; gap: 10px; }
  .sec-head .h2, .sec-head p { flex: none; }
  .svc-grid { gap: 12px; }
  .svc { flex-direction: row; align-items: flex-start; gap: 14px; padding: 18px; }
  .svc svg { width: 34px; height: 34px; }
  .svc h3 { margin: 0; font-size: 19px; letter-spacing: 0; }
  .svc p { margin-top: 4px; font-size: 15.5px; }
  .svc-more { display: block; margin-top: 6px; font-size: 15px; }

  .why-inner { flex-direction: column; flex-wrap: nowrap; gap: 24px; }
  .why-photo { flex: none; min-height: 0; height: 200px; }
  .on-dark .slot { padding: 16px; font-size: 13px; }
  .why-copy { flex: none; gap: 24px; }
  .why-head { gap: 24px; }
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .why-item { gap: 4px; }
  .why-item h3 { font-size: 19px; }

  .band-inner { padding-top: 32px; padding-bottom: 32px; flex-direction: column; align-items: stretch; gap: 16px; }
  .band-title { font-size: 24px; }
  .band-actions { flex-direction: column; gap: 16px; }
  .band-actions .btn { width: 100%; height: 52px; }

  #process .stack, #reviews .stack, .pricing .stack { gap: 22px; }
  .steps { gap: 12px; }
  .step { flex-direction: row; gap: 16px; padding: 18px; }
  .step-num { flex: none; font-size: 30px; }
  .step h3 { font-size: 19px; }
  .step p { font-size: 15.5px; }

  .pricing-inner { flex-direction: column; flex-wrap: nowrap; gap: 22px; }
  .pricing-copy, .pricing-rows { flex: none; max-width: none; }
  .pricing-copy { gap: 12px; }
  .pricing-copy .btn { align-self: stretch; }
  .price-rows li { padding: 14px 16px; font-size: 15.5px; }
  .price-rows strong { font-size: 17px; }

  .reviews-grid { gap: 22px; }
  .review { gap: 12px; padding: 20px; }
  .review blockquote { font-size: 17px; }

  /* Areas: heading, map, towns, note (mobile artboard order). */
  .areas-inner { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 20px; }
  .areas-copy { display: contents; }
  .areas-copy .h2 { order: 1; }
  .areas-map { order: 2; flex: none; height: 200px; }
  .areas-map.slot { padding: 16px; font-size: 13px; }
  .areas-copy > p { display: none; }
  .towns { order: 3; grid-template-columns: 1fr 1fr; gap: 0 20px; font-size: 15.5px; }
  .towns li { padding: 9px 0; }
  .towns .town-extra { display: none; }
  .areas-note { order: 4; font-size: 15.5px; }

  .faq-inner { gap: 20px; }
  .faq-inner > .h2 { text-align: left; }
  .faq-list { gap: 10px; }
  .faq-list details { padding: 16px; }
  .faq-list summary { gap: 16px; font-size: 17.5px; line-height: 1.3; }
  .faq-list details p { margin-top: 10px; font-size: 15.5px; }

  .contact-inner { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 20px; }
  .contact-copy { flex: none; gap: 20px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; font-size: 15px; }
  .facts > div { padding: 14px; }
  .facts dt { font-size: 12px; }
  .facts dd { margin-top: 2px; }
  .facts .fact-phone dd { font-size: 15px; }
  .contact-form { flex: none; }

  .footer-top { padding-top: 32px; padding-bottom: 16px; flex-direction: column; gap: 22px; }
  .footer-bottom { padding-top: 24px; padding-bottom: 32px; flex-direction: column; align-items: flex-start; gap: 16px; font-size: 14.5px; }
  .footer-bottom nav { gap: 4px 22px; }
  .footer-bottom nav a { padding: 10px 0; }
  .call-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--bg); border-top: 1px solid var(--line-2); padding: 10px 16px; }
  .call-bar a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 17px; transition: background-color .15s ease-out; }
  .cb-call { background: var(--accent); color: #FFFFFF; }
  .cb-call:hover { background: var(--accent-hover); color: #FFFFFF; }
  .cb-quote { background: var(--ink); color: #FFFFFF; }
  .cb-quote:hover { background: #3A322D; color: #FFFFFF; }

  .page-body { padding-top: 44px; padding-bottom: 56px; }
  .page-grid { gap: 36px; }
  .prose h2 { font-size: 25px; margin-top: 36px; }
  .prose .answer { font-size: 17px; padding: 18px; }
}
@media (min-width: 768px) { .call-pill .pill-call { display: none; } }
@media (max-width: 369.98px) {
  .logo svg { width: 30px; height: 30px; }
  .logo-top { font-size: 15.5px; }
  .logo-sub { font-size: 9.5px; letter-spacing: 0.1em; }
  .call-pill { padding: 0 12px; }
  .hero h1 { font-size: 33px; }
}

/* ---------- 20. Card bodies (desktop column, mobile icon row) ---------- */
.svc-body, .step-body { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; min-width: 0; }
.step-body { gap: 10px; }
@media (max-width: 767.98px) {
  .svc-body, .step-body { gap: 0; }
  .step-body p { margin-top: 0; }
}

/* ---------- 21. Tap targets (44px minimum, WCAG 2.5.5 / house rule) ---------- */
.towns li:has(a) { padding-top: 0; padding-bottom: 0; }
.towns a { min-height: 44px; }
.faq-list details { padding: 0; }
.faq-list summary { padding: 20px 24px; }
.faq-list details p { margin: -8px 0 0; padding: 0 24px 20px; }
.fact-phone { position: relative; }
.footer-brand a { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; }
.facts .fact-phone dd a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
@media (max-width: 767.98px) {
  .faq-list details { padding: 0; }
  .faq-list summary { padding: 16px; }
  .faq-list details p { margin-top: -6px; padding: 0 16px 16px; }
  .footer-col a { min-height: 44px; }
  .footer-bottom nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
}

/* ---------- 22. Service-area map: show the whole map at every width ---------- */
/* A fixed 400px (200px mobile) box cropped the 3:2 map — at 1024px only the middle 60% showed,
   losing Palm Harbor and Largo. The real map keeps its own shape; the template slot keeps the design's box. */
.areas-map:not(.slot) { height: auto; aspect-ratio: 3 / 2; }
.areas-map:not(.slot) img { object-fit: contain; }
@media (min-width: 768px) and (max-width: 1023.98px) { .areas-map:not(.slot) { flex-basis: 100%; } }
@media (max-width: 767.98px) { .areas-map:not(.slot) { height: auto; } }

/* Very small phones: stack paired form fields so inputs stay wide enough to type in. */
@media (max-width: 380px) {
  .field-row { flex-direction: column; gap: 10px; }
  .field-row .field:first-child { flex-basis: auto; }
}

/* Owner-supplied logo (2026-10-18): one image replaces the icon + two-line wordmark. */
.logo-img { display: block; height: 52px; width: auto; }
@media (max-width: 900px) { .logo-img { height: 42px; } }
@media (max-width: 380px) { .logo-img { height: 36px; } }

/* Faint local photo behind the homepage hero (Brandon likes one). Decorative only. */
.hero--home { position: relative; isolation: isolate; }
.hero--home::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/images/hero-bg.webp") center / cover no-repeat; opacity: 0.12; pointer-events: none; }
