/* Yuma Commercial Roofing Contractor | signature H3-S6-P7-B4-R2-F2-M3-C2-I4-E2
   Palette: saguaro green + sun amber, terracotta. Fonts: Barlow Condensed / Barlow. */
:root {
  --brand: #1E3A2F;
  --deep: #14271F;
  --accent: #9A4A22;
  --cta: #E9A23B;
  --cta-hover: #F2B65A;
  --cta-text: #1A1F1C;
  --page: #FFFFFF;
  --surface: #FFFFFF;
  --alt: #F6F1E7;
  --tint: #E8EFE9;
  --text: #1C2420;
  --muted: #56615B;
  --border: #8A958F;
  --line: #D6DCD7;
  --focus-light: #9A4A22;
  --focus-dark: #F2B65A;
  --head: "Barlow Condensed", "Arial Narrow", "DejaVu Sans Condensed", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--page); color: var(--text); font-family: var(--body); font-size: 17.5px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; }
.bg-brand :focus-visible, .bg-deep :focus-visible, .hero :focus-visible { outline-color: var(--focus-dark); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; color: var(--text); margin: 0 0 .5em; letter-spacing: .005em; overflow-wrap: normal; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.45rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--cta); color: var(--cta-text); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* backgrounds */
.bg-page { background: var(--page); }
.bg-alt { background: var(--alt); }
.bg-tint { background: var(--tint); }
.bg-brand { background: var(--brand); color: #fff; }
.bg-deep { background: var(--deep); color: #fff; }
.bg-brand h2, .bg-deep h2, .bg-brand h3, .bg-deep h3 { color: #fff; }
main > section { padding: clamp(48px, 6vw, 84px) 0; }

/* section heading system E2: short accent rule over a centered H2 */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); }
.sec-head .rule { display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--accent); margin: 0 auto 14px; }
.sec-head h2 { margin-bottom: .35em; }
.sec-intro { color: var(--muted); font-size: 1.05rem; margin: 0 auto; max-width: 640px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 8px;
  font-family: var(--head); font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease; cursor: pointer; line-height: 1.1; text-align: center; }
.btn-primary { background: var(--cta); color: var(--cta-text); border-color: #B97A1F; }
.btn-primary:hover { background: var(--cta-hover); color: var(--cta-text); }
.btn-secondary { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.btn-secondary.on-dark { color: #fff; border-color: #fff; }
.btn-secondary.on-dark:hover { background: #fff; color: var(--brand); }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: 1.05rem; }
.btn-ico { width: 18px; height: 18px; flex: none; }
.btn-pair { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.center-cta { text-align: center; margin-top: 36px; }

/* icon tiles (I4) */
.icon { width: 24px; height: 24px; flex: none; }
.tile { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--accent); flex: none; }
.bg-tint .tile { background: #fff; }
.tile .icon { width: 26px; height: 26px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.logo { display: block; flex: none; }
.logo img { height: 64px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-links > li > a { display: block; padding: 10px 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav-links > li > a:hover { color: var(--accent); }
.sub-toggle { background: none; border: 0; padding: 6px 4px; margin-left: -6px; cursor: pointer; color: var(--text); display: inline-flex; min-width: 28px; min-height: 36px; align-items: center; justify-content: center; }
.sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .15s ease; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px; box-shadow: 0 12px 28px rgba(20, 39, 31, .14); padding: 8px 0; z-index: 60; }
.submenu a { display: block; padding: 10px 18px; color: var(--text); text-decoration: none; font-weight: 600; }
.submenu a:hover, .submenu a:focus-visible { background: var(--tint); color: var(--brand); }
.has-sub.open > .submenu { display: block; }
@media (hover: hover) and (min-width: 1181px) { .has-sub:hover > .submenu { display: block; } }
.nav-ctas { display: flex; gap: 10px; }
.burger { display: none; }

@media (max-width: 1180px) {
  .hdr { min-height: 72px; }
  .logo img { height: 52px; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; margin-right: -6px; padding: 0 11px;
    background: none; border: 0; cursor: pointer; }
  .burger span { display: block; height: 2.5px; background: var(--brand); border-radius: 2px; transition: transform .15s ease, opacity .15s ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-nav { display: none; position: fixed; left: 0; right: 0; top: 72px; bottom: 0; background: #fff; overflow-y: auto; flex-direction: column;
    align-items: stretch; padding: 12px 20px 28px; border-top: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-links > li > a { flex: 1; padding: 14px 4px; font-size: 1.1rem; }
  .sub-toggle { min-width: 48px; min-height: 48px; margin: 0; }
  .submenu { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--accent); border-radius: 0; width: 100%; margin: 0 0 10px; padding: 0; min-width: 0; }
  .nav-ctas { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .nav-ctas .btn { width: 100%; min-height: 50px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 380px) { .logo img { height: 46px; } }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .9rem; margin-bottom: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .7; }
.crumbs a { color: inherit; }
.hero .crumbs { color: #E8EFE9; }

/* hero H3 */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--deep); padding: clamp(40px, 6vw, 88px) 0; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 39, 31, .94) 0%, rgba(20, 39, 31, .86) 46%, rgba(20, 39, 31, .55) 100%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero h1 { color: #fff; text-align: left; }
.hero-intro { font-size: 1.2rem; max-width: 34em; color: #F2F4F2; }
.hero .btn-pair { justify-content: flex-start; margin-top: 8px; }
.starter-card { background: #fff; color: var(--text); border-radius: 12px; padding: 26px 26px 20px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); border-top: 5px solid var(--cta); }
.starter-title { font-family: var(--head); font-weight: 700; font-size: 1.45rem; margin: 0 0 14px; }
.starter-card li { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.starter-card li:last-child { border-bottom: 0; }
.starter-foot { margin: 12px 0 0; font-size: .98rem; color: var(--muted); }
.hero-text-only { text-align: center; }
.hero-text-only .crumbs ol { justify-content: center; }
.hero-text-only .hero-intro { margin: 0 auto 18px; color: var(--muted); }

/* facts strip */
.facts { padding: 28px 0 !important; }
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact-strip li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.02rem; }

/* S6 service cards */
.s6-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.s6-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.s6-card .tile { margin-bottom: 14px; }
.s6-card p { flex: 1; }
.card-link { font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* R2 symptom rows */
.sym-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.sym-head, .sym-row { display: grid; grid-template-columns: 1.05fr 1fr 1.25fr; gap: 24px; padding: 18px 24px; }
.sym-head { background: var(--brand); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.1rem; letter-spacing: .03em; }
.sym-row + .sym-row { border-top: 1px solid var(--line); }
.sym-row h3 { font-size: 1.25rem; margin: 0; }
.sym-c1 { display: flex; gap: 14px; align-items: flex-start; }
.sym-row p { margin: 0; }
.col-label { display: none; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); margin-bottom: 2px; }

/* B4 chips + benefits */
.chips-label { text-align: center; font-weight: 700; color: var(--muted); margin-bottom: 10px; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--brand); }
.chips .icon { color: var(--accent); width: 20px; height: 20px; }
.ben-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ben-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tick { color: #1F6B45; flex: none; }
.tick .icon { width: 30px; height: 30px; }
.ben-card p { margin: 0; }

/* compare */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp-col { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.cmp-good { border-top: 5px solid #1F6B45; }
.cmp-warn { border-top: 5px solid var(--accent); }
.cmp-col li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.cmp-col li:last-child { border-bottom: 0; }
.cmp-good .icon { color: #1F6B45; }
.cmp-warn .icon { color: var(--accent); }

/* tables */
.table-split { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec th, .spec td { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec thead th { background: var(--brand); color: #fff; font-family: var(--head); font-size: 1.1rem; letter-spacing: .02em; }
.spec tbody th { font-weight: 700; color: var(--brand); }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: 0; }
.table-pic img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }

/* P7 process: numbered circles in a row with a photo under each */
.steps7 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps7.n4 { grid-template-columns: repeat(4, 1fr); }
.steps7::before { content: ""; position: absolute; top: 26px; left: 27px; right: 10%; height: 3px; background: var(--line); }
.step { position: relative; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff;
  font-family: var(--head); font-size: 1.5rem; font-weight: 700; border: 4px solid var(--cta); margin-bottom: 14px; position: relative; }
.step h3 { font-size: 1.28rem; }
.step p { font-size: 1rem; flex: 1; }
.step-pic { width: 100%; margin-top: 6px; }
.step-pic img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* map M3 */
.map-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.map-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.region-map { width: 100%; height: auto; display: block; font-family: var(--body); }
.m-land { fill: var(--tint); stroke: var(--border); stroke-width: 1.5; }
.m-river { fill: none; stroke: #5B8DA8; stroke-width: 4; stroke-linecap: round; }
.m-border { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 7 6; }
.m-road { fill: none; stroke: #9AA39D; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.m-shield rect { fill: var(--brand); }
.m-shield text { fill: #fff; font-size: 12px; font-weight: 700; text-anchor: middle; }
.m-city circle { fill: var(--accent); }
.m-city .m-dot { fill: #fff; }
.m-city text { fill: var(--accent); font-weight: 700; font-size: 19px; font-family: var(--head); }
.m-town circle { fill: var(--brand); stroke: #fff; stroke-width: 2.5; }
.m-town text { fill: var(--brand); font-weight: 700; font-size: 15px; }
.m-town.m-hi circle { fill: var(--cta); stroke: var(--brand); stroke-width: 3; }
.m-note { fill: var(--muted); font-size: 12px; font-style: italic; }
.m-compass path { fill: var(--brand); }
.m-compass text { fill: var(--brand); font-size: 13px; font-weight: 700; text-anchor: middle; }
.town-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.town-list li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.town-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.town-list .icon { color: var(--accent); margin-top: 3px; }
.town-list h3 { font-size: 1.2rem; margin: 0 0 4px; }
.town-list h3 a { color: var(--brand); text-decoration: none; }
.town-list h3 a:hover { text-decoration: underline; }
.town-list p { margin: 0; font-size: 1rem; }

/* F2 FAQ two-column accordion */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; }
details.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-family: var(--head); font-size: 1.22rem; font-weight: 600; position: relative; line-height: 1.25; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--body); font-weight: 700; font-size: 1.2rem; }
details.faq[open] summary::after { content: "−"; }
details.faq .ans { padding: 0 20px 6px; }
details.faq[open] { border-color: var(--border); }

/* C2 split band */
.band { padding: 0 !important; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; padding: 0; max-width: none; }
.band-pic img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.band-copy { padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.band-copy h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.band-copy p { color: #E7ECE8; font-size: 1.1rem; max-width: 34em; }

/* closing */
.closing { text-align: center; }
.closing p { color: #E7ECE8; font-size: 1.12rem; max-width: 36em; margin: 0 auto 22px; }

/* split + checklist */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split-pic img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.ticks li, .checklist li { display: flex; gap: 12px; padding: 8px 0; }
.ticks .icon { color: #1F6B45; }
.checklist li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px; }
.checklist .icon { color: var(--accent); }

/* links (nearby towns) */
.links-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.map-box.small { padding: 10px; }
.link-list { display: grid; gap: 12px; }
.link-list a { display: block; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 14px 18px; text-decoration: none; color: var(--text); }
.link-list a:hover { border-color: var(--brand); }
.ln-name { display: block; font-family: var(--head); font-size: 1.25rem; font-weight: 700; color: var(--brand); }
.ln-text { display: block; font-size: 1rem; color: var(--text); }

/* icon card grid */
.card-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.card-grid > * { grid-column: span 2; }
.card-grid.n4 > *, .card-grid.n2 > * { grid-column: span 3; }
.card-grid.n5 > *:nth-child(n+4) { grid-column: span 3; }
.i-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.i-card .tile { margin-bottom: 12px; }
.i-card p { margin: 0; }

/* service image cards */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.svc-grid > * { grid-column: span 2; }
.svc-grid.n4 > *, .svc-grid.n2 > * { grid-column: span 3; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.svc-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.svc-body { padding: 22px; flex: 1; }
.svc-body h3 a { color: var(--brand); text-decoration: none; }
.svc-body h3 a:hover { text-decoration: underline; }
.fit { margin: 0; font-size: .98rem; padding-top: 10px; border-top: 1px solid var(--line); }

/* FAQ page */
.jump ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.jump a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--tint); color: var(--brand); font-weight: 700; text-decoration: none; min-height: 44px; }
.jump a:hover { background: var(--brand); color: #fff; }
.faq-cats { max-width: 900px; margin: 0 auto; }
.faq-cat { margin-bottom: 40px; scroll-margin-top: 100px; }
.faq-cat > .tile { margin-right: 12px; vertical-align: middle; }
.cat-title { display: inline-block; vertical-align: middle; font-size: 1.7rem; margin: 0 0 16px; }
.ans table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: .97rem; }
.ans th, .ans td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.ans thead th { background: var(--tint); }
.ans ul { margin: 0 0 1em; }
.ans ul li { padding-left: 20px; position: relative; margin-bottom: 6px; }
.ans ul li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.ans .tbl-wrap { overflow-x: auto; }
.sources { max-width: 900px; margin: 10px auto 0; border-top: 1px solid var(--line); padding-top: 18px; }
.sources-title { font-weight: 700; margin-bottom: 8px; }
.sources ul { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; }

/* utility pages */
.utility h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-phone { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 1.6rem; font-weight: 700; }
.contact-phone a { color: var(--brand); text-decoration: none; }
.contact-phone .icon { color: var(--accent); }
.contact-pic img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; margin-top: 10px; }
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
.form-title { font-family: var(--head); font-size: 1.5rem; font-weight: 700; margin-bottom: 14px; }
.fld { display: grid; gap: 6px; margin-bottom: 16px; }
.fld label { font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.fld input, .fld textarea { font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px; min-height: 48px; border: 2px solid var(--border); border-radius: 8px; color: var(--text); background: #fff; }
.fld input:focus, .fld textarea:focus { border-color: var(--brand); outline: 3px solid var(--focus-light); outline-offset: 1px; }
.fld input[aria-invalid="true"], .fld textarea[aria-invalid="true"] { border-color: #A3261A; }
.fld .err { color: #A3261A; font-size: .92rem; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.form-status.is-error { background: #FBECEB; color: #8E1A11; }
.form-status.is-ok { background: #E3F1E8; color: #1D5B33; }
.form-status.is-busy { background: var(--tint); color: var(--brand); }
.form-submit { width: 100%; }
.form-submit[disabled] { opacity: .7; cursor: progress; }
.form-note { font-size: .92rem; color: var(--muted); margin: 12px 0 0; }
.calc-h1 { text-align: center; }
.calc-intro { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.utility .crumbs ol { justify-content: flex-start; }
.kind-estimate .crumbs ol, .kind-thank-you .crumbs ol { justify-content: center; }
.legal h2 { font-size: 1.7rem; margin-top: 1.4em; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.updated { color: var(--muted); }
.nf { padding: 80px 20px; text-align: center; }

/* calculator: map --calc-* variables to the site's tokens */
.roof-calc {
  --calc-font-head: var(--head);
  --calc-font-body: var(--body);
  --calc-text: #1C2420;
  --calc-muted: #56615B;
  --calc-surface: #ffffff;
  --calc-surface-alt: #F6F1E7;
  --calc-border: #8A958F;
  --calc-accent: #1E3A2F;
  --calc-accent-text: #ffffff;
  --calc-accent-hover: #14271F;
  --calc-track: #D6DCD7;
  --calc-focus: #9A4A22;
  --calc-radius: 12px;
}
.roof-calc .calc-card { border-top: 5px solid var(--cta); box-shadow: 0 10px 30px rgba(20, 39, 31, .08); }
.roof-calc .calc-btn-primary { background: var(--cta) !important; color: var(--cta-text) !important; border-color: #B97A1F !important; }
.roof-calc .calc-btn-primary:hover { background: var(--cta-hover) !important; }
.roof-calc .choice-card:has(input:checked) { border-color: var(--brand); background: var(--tint); }

/* footer */
.site-footer { padding: 56px 0 0; font-size: 1rem; }
.ft-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ft-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; }
.ft-logo img { height: 76px; width: auto; }
.site-footer p { color: #DCE3DE; }
.ft-h { font-family: var(--head); font-size: 1.25rem; font-weight: 700; color: #fff !important; margin-bottom: 10px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--cta-hover); }
.ft-phone a { font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: var(--cta-hover) !important; }
.ft-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 32px; padding-top: 18px; padding-bottom: 22px; }
.ft-legal ul { display: flex; gap: 22px; }
.ft-legal p { margin: 0; }

/* mobile call bar */
.callbar { display: none; }

/* callback prompt */
.cb-backdrop { position: fixed; inset: 0; background: rgba(20, 39, 31, .55); z-index: 90; }
.callback { position: fixed; z-index: 91; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; border-radius: 14px; border-top: 6px solid var(--cta); padding: 28px 24px 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.callback .lead-form { border: 0; padding: 0; }
.cb-title { font-family: var(--head); font-size: 1.6rem; font-weight: 700; margin: 0 0 6px; padding-right: 30px; }
.cb-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--muted); }
.cb-backdrop[hidden], .callback[hidden] { display: none; }

/* responsive */
@media (max-width: 1100px) {
  .steps7 { grid-template-columns: repeat(6, 1fr); }
  .steps7 > li { grid-column: span 3; }
  .steps7.n5 > li:nth-child(n+3) { grid-column: span 2; }
  .steps7.n4 > li { grid-column: span 3; }
  .steps7::before { display: none; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .map-grid, .split-grid, .contact-grid, .links-grid, .table-split, .band-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .band-pic img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .card-grid > *, .card-grid.n5 > *:nth-child(n+4), .svc-grid > * { grid-column: span 3; }
  .card-grid.n5 > *:last-child, .card-grid.n3 > *:last-child, .svc-grid.n3 > *:last-child, .svc-grid.n5 > *:last-child { grid-column: 1 / -1; }
  .table-pic img { aspect-ratio: 16 / 9; }
}
@media (max-width: 799px) {
  body { padding-bottom: 68px; }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: center; gap: 10px;
    min-height: 56px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--cta); color: var(--cta-text); font-family: var(--head);
    font-size: 1.2rem; font-weight: 700; text-decoration: none; border-top: 2px solid #B97A1F; }
  .callbar .btn-ico { width: 20px; height: 20px; }
  body.menu-open .callbar, body.typing .callbar, body.cb-open .callbar { display: none; }
  .kind-estimate, .kind-thank-you { padding-bottom: 0; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  .s6-grid, .ben-grid, .cmp-grid, .faq-cols, .town-list, .card-grid, .svc-grid { grid-template-columns: 1fr; }
  .card-grid > *, .card-grid.n5 > *:nth-child(n+4), .svc-grid > *, .svc-grid.n4 > *, .card-grid.n4 > * { grid-column: auto; }
  .steps7, .steps7.n4 { grid-template-columns: 1fr; }
  .steps7 > li, .steps7.n5 > li:nth-child(n+3), .steps7.n4 > li { grid-column: auto; }
  .btn-pair { flex-direction: column; align-items: stretch; }
  .btn-pair .btn { width: 100%; }
  .hero .btn-pair { justify-content: stretch; }
  .center-cta .btn, .band-copy .btn { width: 100%; }
  .band-copy { align-items: stretch; }
  .sym-head { display: none; }
  .sym-row { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .col-label { display: block; }
  .spec thead { display: none; }
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec tr { border-bottom: 2px solid var(--line); padding: 8px 0; }
  .spec tbody th { background: var(--tint); }
  .spec td { border-bottom: 0; padding: 6px 16px; }
  .spec td::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
  .fact-strip { grid-template-columns: 1fr; gap: 10px; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-legal { flex-direction: column; }
  .town-list li:last-child:nth-child(odd) { grid-column: auto; }
  details.faq summary { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
