/* Template C39 v1 — "Merlot & glass" (sample: Boca Raton Impact Windows).
   Built from design/impactwindowbocaraton-handoff.html. Values are the design's; the type is not
   (Bricolage Grotesque is Template C1's and Figtree is C3/C7's), so Mukta + Sarabun stand in,
   picked by measured advance width: Mukta 800 = 100.7% of Bricolage 800, Sarabun = 96.5% of Figtree
   with the same x-height and cap height. Recolour a site with --accent / --accent-dark / --tint / --glass. */

@font-face { font-family: "Mukta"; src: url("/fonts/mukta-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; ascent-override: 93%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Mukta"; src: url("/fonts/mukta-800-latin.woff2") format("woff2"); font-weight: 800; font-display: swap; ascent-override: 93%; descent-override: 27%; line-gap-override: 0%; }
@font-face { font-family: "Sarabun"; src: url("/fonts/sarabun-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Sarabun"; src: url("/fonts/sarabun-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Sarabun"; src: url("/fonts/sarabun-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Sarabun"; src: url("/fonts/sarabun-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }

:root {
  --accent: #6B1E2E;        /* merlot: buttons, eyebrows, numbers, links */
  --accent-dark: #4A1220;   /* dark merlot: top bar, styles band, hover */
  --tint: #F5E9E6;          /* blush: hero, process, placeholders */
  --glass: #CDE4EC;         /* glass blue: highlight under the city, icons on dark */
  --ink: #1F1A1C;
  --ground: #FBFAF9;
  --white: #FFFFFF;
  --muted: #4A4346;
  --muted-2: #6B6366;
  --line: #E6DEDB;
  --line-2: #D9CFCB;
  --field: #CFC4C0;
  --hatch: #B9A9A4;
  --head: "Mukta", "Trebuchet MS", sans-serif;
  --body: "Sarabun", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --sec: clamp(56px, 7vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--ground); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); transition: color .15s; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; font-family: var(--head); }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.on-dark :focus-visible, .cta :focus-visible, .site-footer :focus-visible { outline-color: var(--glass); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--white); }
.wrap { max-width: 1240px; margin: 0 auto; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.h2 { font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.02em; }
.mark { background: linear-gradient(transparent 66%, var(--glass) 66%, var(--glass) 94%, transparent 94%); padding: 0 4px; margin: 0 -4px; }
.only-mobile { display: none; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 6px; font-weight: 700; font-size: 17px; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--accent-dark); }
.btn-white:hover { background: var(--tint); color: var(--accent-dark); }
.btn-line { border-color: var(--glass); color: var(--white); padding: 0 22px; }
.btn-line:hover { background: rgba(205, 228, 236, .14); color: var(--white); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------------------------------------------------------- top bar + header */
.topbar { background: var(--accent-dark); color: var(--tint); font-size: 14px; padding: 9px var(--pad); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; white-space: nowrap; }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); padding: 0 var(--pad); position: relative; z-index: 20; }
.header-inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo svg { width: 42px; height: 42px; flex-shrink: 0; }
.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: -.01em; }
.logo-sub { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.logo:hover { color: var(--ink); }
.logo-img { display: block; width: auto; height: 52px; }

.nav { display: flex; align-items: center; gap: 28px; font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.nav > a, .nav-toggle { color: var(--ink); text-decoration: none; padding: 10px 0; transition: color .15s; }
.nav > a:hover, .nav-toggle:hover, .nav-group.is-open .nav-toggle { color: var(--accent); }
.nav-group { position: relative; }
.nav-toggle { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; font-weight: 600; font-size: 15.5px; cursor: pointer; }
.nav-toggle svg { width: 13px; height: 13px; transition: transform .15s; }
.nav-group.is-open .nav-toggle svg { transform: rotate(180deg); }
.nav-panel { display: none; position: absolute; top: calc(100% + 8px); left: -18px; min-width: 260px; margin: 0; padding: 8px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 40px -22px rgba(74, 18, 32, .45); }
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-group.is-open .nav-panel { display: block; }
.nav-panel a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-panel a:hover { background: var(--tint); color: var(--accent); }
.nav-panel .panel-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.nav-panel .panel-all a { color: var(--accent); }
@media (hover: hover) and (min-width: 1100px) { .nav-group:hover .nav-panel { display: block; } }

.header-actions { display: flex; align-items: center; gap: 12px; }
.call-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 6px; background: var(--accent); color: var(--white); text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap; transition: background-color .15s; }
.call-pill:hover { background: var(--accent-dark); color: var(--white); }
.call-pill svg { width: 17px; height: 17px; }
.menu-button { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line-2); border-radius: 6px; background: var(--white); color: var(--ink); cursor: pointer; }
.menu-button svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- hero + quote form */
.hero { background: var(--tint); padding: clamp(36px, 4.6vw, 68px) var(--pad); }
.hero-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
@media (min-width: 1100px) { .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 4vw, 64px); } }
/* Photo hero: the picture shows through on the form side, the copy side stays blush for contrast. */
.hero--photo { background: linear-gradient(90deg, var(--tint) 0%, rgba(245, 233, 230, .95) 34%, rgba(245, 233, 230, .62) 60%, rgba(245, 233, 230, .24) 100%), url("/images/hero.webp") center 40% / cover no-repeat, var(--tint); }
@media (max-width: 1099px) { .hero--photo { background: linear-gradient(180deg, rgba(245, 233, 230, .9), rgba(245, 233, 230, .96) 55%, var(--tint)), url("/images/hero.webp") center top / cover no-repeat, var(--tint); } }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 4.7vw, 66px); line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.hero-lede { font-size: 19px; color: var(--muted); max-width: 540px; text-wrap: pretty; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; font-size: 16.5px; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero-call { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 16px; color: var(--muted); }
.hero-call a { gap: .28em; font-weight: 700; font-size: 20px; color: var(--accent); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.hero-call a:hover { color: var(--accent-dark); text-decoration: underline; }

.quote { background: var(--white); border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 18px 40px -22px rgba(74, 18, 32, .45); overflow: hidden; margin: 0; }
.quote-head { background: var(--accent); color: var(--white); padding: 20px 28px; display: flex; flex-direction: column; gap: 3px; }
.quote-title { font-family: var(--head); font-weight: 700; font-size: 28px; letter-spacing: -.01em; line-height: 1.15; }
.quote-sub { font-size: 15.5px; color: var(--tint); }
.quote-body { padding: 24px 28px 26px; display: flex; flex-direction: column; gap: 16px; }
/* Field layout by grid area: stacked pairs on tall screens, three rows on short ones, one column on phones. */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; grid-template-areas: "name name" "phone address" "need need" "details details"; }
.f-name { grid-area: name; } .f-phone { grid-area: phone; } .f-address { grid-area: address; } .f-need { grid-area: need; } .f-details { grid-area: details; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14.5px; font-weight: 700; line-height: 1.2; }
.field label span { font-weight: 500; color: var(--muted-2); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--field); border-radius: 6px; font-size: 16.5px; background: var(--white); color: var(--ink); transition: border-color .15s; }
.field input, .field select { height: 50px; padding: 0 14px; }
.field select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B1E2E' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field select:invalid { color: var(--muted-2); }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 50px; line-height: 1.4; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--hatch); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(107, 30, 46, .18); }
.quote button[type=submit] { height: 56px; border: 0; border-radius: 6px; background: var(--accent); color: var(--white); font-weight: 700; font-size: 18px; cursor: pointer; transition: background-color .15s; }
.quote button[type=submit]:hover { background: var(--accent-dark); }
.quote button[type=submit]:disabled { opacity: .7; cursor: progress; }
.quote-foot { font-size: 14px; color: var(--muted-2); text-align: center; line-height: 1.4; }
.form-error { font-size: 14.5px; color: #8A1C1C; background: #FBEAEA; border-radius: 6px; padding: 10px 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- trust strip */
.trust { background: var(--white); border-bottom: 1px solid var(--line); padding: 30px var(--pad); }
.trust-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px 36px; }
.trust-grid li { display: flex; flex-direction: column; gap: 4px; }
.trust-grid strong { font-weight: 700; }
.trust-grid span { font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--sec) var(--pad); }
.bg-tint { background: var(--tint); }
.bg-white { background: var(--white); }
.stack { display: flex; flex-direction: column; gap: 44px; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.sec-head p { color: var(--muted); font-size: 18px; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.svc { padding: 30px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--white); display: flex; flex-direction: column; gap: 10px; position: relative; transition: background-color .15s; }
.svc-num { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--accent); }
.svc h3 { font-weight: 700; font-size: 23px; letter-spacing: -.01em; line-height: 1.2; }
.svc h3 a { color: var(--ink); text-decoration: none; }
.svc h3 a::after { content: ""; position: absolute; inset: 0; }
.svc p { color: var(--muted); font-size: 16px; }
.svc-more { margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 15px; color: var(--accent); }
.svc:has(a):hover { background: #FFFCFB; }
.svc:has(a):hover h3 a { color: var(--accent); }

.on-dark { background: var(--accent-dark); color: var(--white); }
.on-dark .eyebrow { color: var(--glass); }
.on-dark .sec-head p { color: var(--tint); }
.styles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 36px 28px; list-style: none; margin: 0; padding: 0; }
.styles-grid li { display: flex; flex-direction: column; gap: 14px; }
.styles-grid svg { width: 100%; max-width: 150px; height: auto; }
.styles-grid strong { font-weight: 700; font-size: 17px; }
.styles-grid span { font-size: 14.5px; color: var(--tint); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split--center { align-items: center; }
.split-copy { display: flex; flex-direction: column; gap: 20px; }
.split-copy > p { color: var(--muted); font-size: 18px; }
.slot { border: 1.5px dashed var(--hatch); border-radius: 8px; background: var(--tint); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--accent); font-weight: 600; font-size: 15px; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-54 { aspect-ratio: 5 / 4; }
.ratio-32 { aspect-ratio: 3 / 2; }
.media { border-radius: 8px; overflow: hidden; background: var(--tint); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.rule-list { display: flex; flex-direction: column; }
.rule-list > div { padding: 24px 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 6px; }
.rule-list > div:first-child { border-top: 2px solid var(--ink); }
.rule-list > div:last-child { border-bottom: 1px solid var(--line-2); }
.rule-list h3 { font-weight: 700; font-size: 22px; line-height: 1.25; }
.rule-list p { color: var(--muted); font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.steps li { background: var(--white); border-radius: 8px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--head); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent); }
.steps h3 { font-weight: 700; font-size: 21px; line-height: 1.25; }
.steps p { color: var(--muted); font-size: 16px; }

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.price-list li:first-child { border-top: 2px solid var(--ink); }
.price-list li:last-child { border-bottom: 1px solid var(--line-2); }
.price-list span { font-weight: 600; }
.price-list strong { font-family: var(--head); font-weight: 800; font-size: 21px; color: var(--accent); white-space: nowrap; }
.price-note { margin-top: 16px; font-size: 15px; color: var(--muted); background: var(--tint); border-radius: 6px; padding: 12px 14px; }
.split-copy .btn { align-self: flex-start; }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 600; }
.chips li { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); }
.chips li:has(a) { padding: 0; }
.chips a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--accent); text-decoration: none; transition: background-color .15s; }
.chips a:hover { background: var(--tint); }
.areas-note { font-size: 15.5px; color: var(--muted); }

.faq-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 36px; }
.faq-list details { border-top: 1px solid var(--line-2); padding: 6px 0; }
.faq-list details:first-child { border-top: 2px solid var(--ink); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-2); }
.faq-list summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.3; list-style: none; transition: color .15s; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 26px; color: var(--accent); flex-shrink: 0; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { margin: 0 0 18px; color: var(--muted); font-size: 16.5px; }

.facts { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15.5px; font-weight: 600; margin: 0; }
.facts div { display: flex; gap: 6px; }
.facts dt { color: var(--muted-2); font-weight: 500; }
.facts dd { margin: 0; }

.cta { background: var(--accent); color: var(--white); padding: clamp(48px, 6vw, 80px) var(--pad); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-copy { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.cta h2 { font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -.02em; }
.cta p { color: var(--tint); font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------------------------------------------------------------- footer + call bar */
.site-footer { background: var(--ink); color: var(--line); padding: 56px var(--pad) 32px; font-size: 15.5px; }
.footer-inner { display: flex; flex-direction: column; gap: 36px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 36px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h2 { font-family: var(--body); font-size: 15.5px; font-weight: 700; color: var(--white); }
.footer-col .footer-name { font-family: var(--head); font-weight: 800; font-size: 20px; color: var(--white); }
.footer-col a { color: var(--line); text-decoration: none; padding: 2px 0; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-col a.footer-phone { color: var(--glass); font-weight: 700; }
.footer-bottom { border-top: 1px solid var(--muted); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--hatch); }
.footer-bottom a { color: var(--hatch); }
.footer-bottom a:hover { color: var(--white); }
.call-bar { display: none; }

/* ---------------------------------------------------------------- inner pages */
.page-hero h1 { font-size: clamp(36px, 4.4vw, 58px); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--hatch); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.page-hero.simple .hero-inner { grid-template-columns: 1fr; max-width: 820px; margin: 0; }
.page-hero.simple { padding-bottom: clamp(48px, 6vw, 80px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-body { padding: clamp(48px, 6vw, 84px) var(--pad); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { max-width: 760px; font-size: 17.5px; line-height: 1.65; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.015em; margin-top: 44px; }
.prose h3 { font-weight: 700; font-size: 22px; line-height: 1.25; margin-top: 30px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose .answer { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 6px; padding: 18px 20px; }
.prose .estimate-note { background: var(--tint); border-radius: 6px; padding: 14px 16px; font-size: 16px; }
.prose figure { margin: 30px 0 0; }
.prose figure img, .prose figure .slot { border-radius: 8px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.prose figcaption { font-size: 14px; color: var(--muted-2); margin-top: 8px; }
.prose .updated { font-size: 14px; color: var(--muted-2); margin-top: 36px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.4; }
.price-table caption { caption-side: bottom; text-align: left; font-size: 13.5px; color: var(--muted-2); padding: 10px 14px; border-top: 1px solid var(--line); }
.price-table th, .price-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.price-table thead th { border-top: 0; background: var(--tint); font-weight: 700; font-size: 14px; }
.price-table td:nth-child(2) { font-weight: 700; color: var(--accent); white-space: nowrap; }

.aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.side-card h2 { font-weight: 700; font-size: 21px; line-height: 1.25; }
.side-card p { color: var(--muted); font-size: 15.5px; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-card li a { display: block; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.side-card li:first-child a { border-top: 0; }
.side-card li a:hover { color: var(--accent); }
.side-card--dark { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.side-card--dark p { color: var(--tint); }
.side-card--dark .btn { width: 100%; }

/* ---------------------------------------------------------------- short desktop screens: keep the form above the fold (BUILD-SYSTEM §7d) */
@media (min-width: 1100px) and (max-height: 800px) {
  .hero { padding-top: 30px; padding-bottom: 36px; }
  .hero-copy { gap: 18px; }
  .hero-inner { align-items: start; }
  /* Keep the two columns level: a smaller headline stops the copy running far below the form. */
  .hero h1 { font-size: clamp(40px, 3.9vw, 56px); }
  .hero-lede { font-size: 18px; }
  .checks { gap: 8px; }
  .hero-copy { align-self: center; }
  .quote-head { padding: 16px 26px; }
  .quote-body { padding: 18px 26px 18px; gap: 12px; }
  .quote-grid { gap: 12px 14px; grid-template-areas: "name phone" "address need" "details details"; }
  .field textarea { height: 50px; }
}

/* ---------------------------------------------------------------- tablet + mobile */
@media (max-width: 1099px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; box-shadow: 0 18px 30px -24px rgba(74, 18, 32, .5); max-height: calc(100vh - 120px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav > a, .nav-toggle { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 0; font-size: 17px; }
  .nav-panel { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .nav-panel::before { display: none; }
  .menu-button { display: inline-flex; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
}
@media (min-width: 1100px) and (max-width: 1179px) {
  .nav { gap: 22px; }
  .pill-num { display: none; }
  .call-pill { padding: 0; width: 46px; justify-content: center; }
}
@media (max-width: 900px) {
  .topbar-right, .pill-num { display: none; }
  .call-pill { padding: 0; width: 46px; justify-content: center; }
}
@media (max-width: 720px) {
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
  body { padding-bottom: 64px; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -6px 20px -10px rgba(31, 26, 28, .45); }
  .call-bar a { min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 17px; text-decoration: none; }
  .call-bar svg { width: 18px; height: 18px; }
  .cb-call { background: var(--accent); color: var(--white); }
  .cb-quote { background: var(--white); color: var(--accent-dark); border-top: 1px solid var(--line); }
  .cb-call:hover { color: var(--white); background: var(--accent-dark); }
  .cb-quote:hover { color: var(--accent-dark); background: var(--tint); }
  .logo-top { font-size: 18px; }
  .logo-sub { font-size: 11px; }
  .logo svg { width: 38px; height: 38px; }
  .logo-img { height: 44px; }
  .header-inner { height: 72px; }
  .hero-lede { font-size: 18px; }
  .quote-head, .quote-body { padding-left: 20px; padding-right: 20px; }
  .quote-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "phone" "address" "need" "details"; }
  .svc, .steps li, .side-card { padding: 24px; }
  .price-list li { flex-direction: column; gap: 2px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .prose { font-size: 17px; }
  .footer-col a { min-height: 44px; display: flex; align-items: center; padding: 0; }
  .footer-col { gap: 0; }
  .footer-col h2, .footer-col .footer-name { margin-bottom: 6px; }
  .chips a { min-height: 44px; display: flex; align-items: center; }
  .logo { min-height: 44px; }
  .price-table { font-size: 14.5px; }
  .price-table th, .price-table td { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.ruled { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
