/* Bowling Green Metal Roof Coating — site styles. Signature H52-S30-P2-B6-R4-F9-M43-C6-I3-E1, style mode T1. */
@font-face { font-family: "Poppins"; src: url(/assets/fonts/poppins-bold.woff) format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(/assets/fonts/poppins-medium.woff) format("woff"); font-weight: 500; font-display: swap; }

:root {
  --brand-dark: #3B4651;   /* gunmetal (supplied primary) */
  --ink: #181C20;          /* supplied dark neutral */
  --secondary: #7A858E;    /* borders and rules only */
  --accent: #E89A0C;       /* supplied amber: CTA fill */
  --cta-hover: #F2AE36;
  --accent-ink: #8A5600;   /* shade of the amber for links, eyebrows, numbers on light */
  --accent-on-dark: #F5B94A;
  --page: #FFFFFF;
  --alt: #F3F4F5;          /* supplied light neutral */
  --tint: #FBF1DF;         /* amber tint */
  --text: #181C20;
  --muted: #4F5862;
  --border: #D3D8DD;
  --icon-fill: #F8DDAA;
  --icon-stroke: #8A5600;
  --head: "Poppins", "Segoe UI", system-ui, Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --wrap: 1200px;
}
*, *::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.6; color: var(--text); background: var(--page); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; }
.bg-d :focus-visible, .bg-k :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-on-dark); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 12px; }

/* surfaces */
.sec { padding: 80px 0; }
.bg-w { background: var(--page); }
.bg-a { background: var(--alt); }
.bg-t { background: var(--tint); }
.bg-d { background: var(--brand-dark); color: #fff; }
.bg-k { background: var(--ink); color: #fff; }
.bg-d h2, .bg-d h3, .bg-k h2, .bg-k h3 { color: #fff; }

/* E1 heading system: uppercase eyebrow over a centered H2 */
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.eyebrow { font-family: var(--head); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 10px; }
.bg-d .eyebrow, .bg-k .eyebrow { color: var(--accent-on-dark); }
.sec-intro { color: var(--muted); font-size: 1.05rem; margin: 0 auto; max-width: 680px; }
.center-btn { text-align: center; margin-top: 40px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 8px; font-family: var(--head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center; border: 2px solid transparent; transition: background-color .15s, color .15s; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--cta-hover); color: var(--ink); }
.btn-secondary { background: transparent; color: var(--brand-dark); border-color: var(--brand-dark); }
.btn-secondary:hover { background: var(--brand-dark); color: #fff; }
.bg-d .btn-primary, .bg-k .btn-primary { border-color: var(--accent); }
.bg-d .btn-secondary, .bg-k .btn-secondary, .call-bar { color: #fff; border-color: #fff; }
.bg-d .btn-secondary:hover, .bg-k .btn-secondary:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: .92rem; }
.btn-pair { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-pair.left { justify-content: flex-start; }
.more { font-weight: 700; text-decoration: none; color: var(--accent-ink); }
.more:hover { text-decoration: underline; }

/* icons, I1 plain line icons (no container, no fill) */
.icon { width: 30px; height: 30px; flex: none; stroke: var(--icon-stroke); }
.icon .f { display: none; }
.bg-d .icon, .bg-k .icon { stroke: var(--accent-on-dark); }

/* header and nav */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 40; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; max-width: 1320px; }
.logo img { height: 56px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { display: block; padding: 10px 9px; color: var(--ink); font-family: var(--head); font-weight: 500; font-size: .93rem; text-decoration: none; }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--accent-ink); }
.sub-toggle { background: none; border: 0; padding: 8px 4px; cursor: pointer; margin-left: -6px; min-height: 36px; }
.chev { display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; color: var(--ink); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent); box-shadow: 0 12px 28px rgba(24,28,32,.14); list-style: none; padding: 8px; margin: 0; border-radius: 0 0 8px 8px; }
.has-sub:hover .dropdown, .has-sub:focus-within .dropdown, .has-sub.open .dropdown { display: block; }
.dropdown a { padding: 9px 12px; border-radius: 6px; }
.dropdown a:hover { background: var(--tint); }
.nav-ctas { display: flex; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border: 2px solid var(--brand-dark); border-radius: 8px; background: #fff; padding: 10px 9px; cursor: pointer; flex-direction: column; justify-content: space-between; margin-right: -4px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-nav { border-top: 1px solid var(--border); background: #fff; max-height: calc(100vh - 72px); overflow-y: auto; padding: 8px 20px 24px; }
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-family: var(--head); font-weight: 500; border-bottom: 1px solid var(--alt); }
.m-row { display: flex; align-items: center; justify-content: space-between; }
.m-row a { flex: 1; }
.m-toggle { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.m-list a { padding-left: 18px; font-weight: 400; }
.m-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.m-ctas .btn { width: 100%; padding-left: 8px; padding-right: 8px; }
@media (max-width: 1199px) {
  .main-nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 420px) { .logo img { height: 46px; } .head-row { min-height: 72px; } }

/* H52 two-photo step pair */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.chip { display: inline-block; background: var(--tint); color: var(--accent-ink); border: 1px solid #EBCB91; font-family: var(--head); font-weight: 500; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero h1 { text-align: left; }
.hero-intro { font-size: 1.12rem; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; height: 520px; }
.step-photo { margin: 0; position: relative; border-radius: 12px; overflow: hidden; height: 430px; box-shadow: 0 16px 36px rgba(24,28,32,.16); }
.step-photo img { width: 100%; height: 100%; object-fit: cover; }
.sp2 { align-self: end; }
.step-tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; background: var(--brand-dark); color: #fff; font-family: var(--head); font-weight: 500; font-size: .86rem; padding: 6px 12px 6px 6px; border-radius: 6px; max-width: calc(100% - 24px); }
.step-tag b { display: inline-grid; place-items: center; width: 26px; height: 26px; background: var(--accent); color: var(--ink); border-radius: 4px; font-weight: 700; flex: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photos { height: auto; gap: 12px; }
  .step-photo { height: 260px; }
  .sp2 { margin-top: 36px; }
}
@media (max-width: 760px) {
  .hero { padding: 32px 0 48px; }
  .btn-pair { flex-direction: column; align-items: stretch; }
  .btn-pair .btn { width: 100%; }
  .step-photo { height: 210px; }
  .step-tag { font-size: .76rem; }
}

/* fact strip */
.facts { padding: 26px 0; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact-list li { display: flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 500; font-size: .98rem; }
@media (max-width: 900px) { .fact-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fact-list { grid-template-columns: 1fr; } }

/* S30 part-coverage cards */
.pc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.pc-card { grid-column: span 2; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.pc-grid.n5 .pc-card:nth-child(4) { grid-column: 2 / span 2; }
.pc-card > img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-body p { color: var(--muted); }
.pc-body .more { margin-top: auto; }
.coverage ul { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.coverage li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 2px 6px; border-radius: 6px; border: 1px solid transparent; font-size: .66rem; text-align: center; line-height: 1.1; }
.coverage .part { width: 22px; height: 22px; }
.coverage li.on { background: var(--tint); border-color: var(--brand-dark); font-weight: 700; color: var(--ink); }
.coverage li.off { color: #6A737C; }
.coverage li.off .part { stroke: #A9B1B8; --icon-fill: #EEF0F2; }
@media (max-width: 1000px) { .pc-grid { grid-template-columns: 1fr 1fr; } .pc-card, .pc-grid.n5 .pc-card:nth-child(4) { grid-column: auto; } .pc-grid.n5 .pc-card:last-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; } }
@media (max-width: 640px) { .pc-grid { grid-template-columns: 1fr; } .pc-grid.n5 .pc-card:last-child { max-width: none; } }

/* R4 severity-chip checklist */
.sev-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; align-items: center; font-size: .9rem; color: var(--muted); margin: -20px 0 28px; }
.sev-list { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 12px; }
.sev-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--brand-dark); border-radius: 8px; padding: 18px 20px; }
.bg-w .sev-row { background: var(--alt); border-color: transparent; border-left-color: var(--brand-dark); }
.sev-row .icon { width: 36px; height: 36px; }
.sev-text h3 { margin-bottom: 4px; font-size: 1.1rem; }
.sev-text p { margin: 0; color: var(--muted); }
.sev-chip { display: inline-block; white-space: nowrap; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 2px solid; }
.sev-chip.watch { color: #3B4651; border-color: #3B4651; background: #fff; }
.sev-chip.repair { color: var(--ink); background: var(--tint); border-color: var(--accent-ink); }
.sev-chip.call { color: #fff; background: var(--ink); border-color: var(--ink); }
@media (max-width: 640px) { .sev-row { grid-template-columns: 36px 1fr; } .sev-chip { grid-column: 2; justify-self: start; } }

/* K3 VS cards */
.vs-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1040px; margin: 0 auto; }
.vs-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--border); }
.vs-card.match { border-color: var(--brand-dark); }
.vs-card > img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.vs-body { padding: 22px 24px 24px; }
.vs-label { font-family: var(--head); font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 6px; }
.vs-body > p { color: var(--muted); }
.vs-body dl { margin: 0; border-top: 1px solid var(--border); }
.vs-body dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.vs-body dt { font-weight: 700; font-size: .9rem; color: var(--ink); }
.vs-body dd { margin: 0; font-size: .95rem; color: var(--text); }
.vs-badge { position: absolute; left: 50%; top: 150px; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--ink); border: 4px solid #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.15rem; box-shadow: 0 6px 16px rgba(24,28,32,.2); z-index: 2; }
@media (max-width: 820px) { .vs-grid { grid-template-columns: 1fr; gap: 56px; } .vs-badge { top: 50%; } .vs-body dl div { grid-template-columns: 1fr; gap: 2px; } }

/* C6 stub band */
.band { padding: 64px 0; }
.stub { display: grid; grid-template-columns: 1fr 24px 300px; background: #fff; color: var(--text); border-radius: 12px; max-width: 980px; margin: 0 auto; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.stub-main { display: flex; gap: 18px; align-items: flex-start; padding: 30px 8px 30px 32px; }
.stub-main .icon { width: 44px; height: 44px; stroke: var(--brand-dark); --icon-fill: var(--icon-fill); margin-top: 4px; }
.stub-main h2 { color: var(--ink); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); margin-bottom: 8px; }
.stub-main p { margin: 0; color: var(--muted); }
.stub-perf { position: relative; background: radial-gradient(circle at 50% 0, var(--brand-dark) 12px, transparent 13px), radial-gradient(circle at 50% 100%, var(--brand-dark) 12px, transparent 13px); }
.stub-perf::before { content: ""; position: absolute; top: 16px; bottom: 16px; left: calc(50% - 1px); border-left: 3px dashed var(--secondary); }
.stub-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 26px 24px; background: var(--tint); border-radius: 0 12px 12px 0; }
.stub-side .btn { width: 100%; }
.stub-phone { font-family: var(--head); font-weight: 500; font-size: .9rem; color: var(--accent-ink); }
@media (max-width: 760px) {
  .stub { grid-template-columns: 1fr; }
  .stub-main { padding: 24px 20px 18px; }
  .stub-perf { height: 24px; background: radial-gradient(circle at 0 50%, var(--brand-dark) 12px, transparent 13px), radial-gradient(circle at 100% 50%, var(--brand-dark) 12px, transparent 13px); }
  .stub-perf::before { top: calc(50% - 1px); bottom: auto; left: 16px; right: 16px; border-left: 0; border-top: 3px dashed var(--secondary); }
  .stub-side { border-radius: 0 0 12px 12px; }
}

/* P2 horizontal strip */
.strip-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 40px; }
.strip-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.strip-photos img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; counter-reset: s; }
.strip::before { content: ""; position: absolute; top: 24px; left: 10%; right: 10%; height: 3px; background: repeating-linear-gradient(90deg, var(--accent) 0 14px, transparent 14px 22px); }
.strip-step { position: relative; text-align: left; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 66px 18px 20px; }
.bg-a .strip-step { border-color: transparent; }
.strip-step .num { position: absolute; top: 0; left: 18px; width: 50px; height: 50px; border-radius: 50%; background: var(--brand-dark); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.2rem; border: 4px solid var(--accent); }
.strip-step h3 { font-size: 1.08rem; }
.strip-step p { margin: 0; font-size: .96rem; color: var(--muted); }
.strip { padding-top: 0; }
.strip-step { margin-top: 0; }
.strip-step .num { transform: translateY(0); }
@media (max-width: 1100px) { .strip { grid-template-columns: repeat(3, 1fr); } .strip::before { display: none; } }
@media (max-width: 760px) {
  .strip { grid-template-columns: 1fr; gap: 14px; }
  .strip::before { display: block; top: 0; bottom: 0; left: 25px; right: auto; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 14px, transparent 14px 22px); }
  .strip-step { padding: 18px 18px 18px 74px; }
  .strip-step .num { top: 16px; left: 0; }
  .strip-photos { grid-template-columns: 1fr; gap: 12px; }
}

/* B6 icon tile grid */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { background: #fff; border-radius: var(--radius); padding: 26px 22px; border-top: 4px solid var(--brand-dark); box-shadow: 0 6px 18px rgba(24,28,32,.06); }
.tile .icon { width: 42px; height: 42px; margin-bottom: 14px; }
.tile h3 { font-size: 1.12rem; }
.tile p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 1000px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* M43 town accordion */
.area-intro { text-align: center; margin: -28px auto 32px; }
.towns { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.town { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.town summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; }
.town summary::-webkit-details-marker { display: none; }
.town summary h3 { margin: 0; font-size: 1.18rem; }
.town summary .chev { transition: transform .15s; }
.town[open] summary .chev { transform: rotate(-135deg); margin-top: 4px; }
.town[open] { border-color: var(--brand-dark); box-shadow: inset 4px 0 0 var(--accent); }
.town-body { padding: 0 22px 20px; }
.town-body p { color: var(--muted); }
.town-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 14px; }
.town-facts div { background: var(--alt); border-radius: 6px; padding: 8px 10px; }
.town-facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.town-facts dd { margin: 0; font-weight: 700; font-size: .92rem; }
@media (max-width: 640px) { .town-facts { grid-template-columns: 1fr; } }

/* F9 two-pane question index */
.qa { display: grid; grid-template-columns: 380px 1fr; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(24,28,32,.07); }
.bg-w .qa { background: #fff; }
.qa-index { display: flex; flex-direction: column; background: var(--alt); }
.qa-index button { text-align: left; background: none; border: 0; border-left: 5px solid var(--border); padding: 16px 18px; font: inherit; font-family: var(--head); font-weight: 500; font-size: .95rem; line-height: 1.35; color: var(--ink); cursor: pointer; border-bottom: 1px solid var(--border); }
.qa-index button:hover { background: #fff; }
.qa-index button[aria-selected="true"] { background: var(--brand-dark); color: #fff; border-left-color: var(--accent); }
.qa-pane { display: grid; grid-template-columns: 1fr 230px; gap: 26px; padding: 30px 30px; align-items: start; }
.qa-topic { font-family: var(--head); font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 6px; }
.qa-panel h3 { font-size: 1.3rem; }
.qa-panel p { color: var(--text); }
.qa-photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.qa-photo img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.qa.js-on .qa-panel[hidden] { display: none; }
.qa:not(.js-on) .qa-panel + .qa-panel { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 8px; }
@media (max-width: 1000px) { .qa { grid-template-columns: 300px 1fr; } .qa-pane { grid-template-columns: 1fr; } .qa-photo { display: none; } }
@media (max-width: 760px) {
  .qa { grid-template-columns: 1fr; }
  .qa-index { display: none; }
  .qa-pane { padding: 22px 20px; }
  .qa .qa-panel[hidden] { display: block !important; }
  .qa .qa-panel + .qa-panel { border-top: 1px solid var(--border); padding-top: 18px; margin-top: 8px; }
}

/* closing */
.closing { padding: 72px 0; text-align: center; }
.closing-in { max-width: 720px; margin: 0 auto; }
.closing p { color: #D5DADF; font-size: 1.08rem; margin-bottom: 26px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split figure { margin: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 30px rgba(24,28,32,.12); }
.split img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { width: 26px; height: 26px; margin-top: 1px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.card { grid-column: span 2; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-grid.n4 .card { grid-column: span 3; }
.card-grid.n2 .card { grid-column: span 3; }
.card-grid.n5 .card:nth-child(4) { grid-column: 2 / span 2; }
.card > .icon { width: 44px; height: 44px; margin: 24px 24px 0; }
.card.photo > img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 18px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.card-body .more { margin-top: auto; }
.card-tag { font-family: var(--head); font-weight: 500; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink) !important; margin: 0 0 4px; }
.card-grid.n4.photo-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid.n4.photo-grid .card { grid-column: auto; }
@media (max-width: 1000px) { .card-grid, .card-grid.n4.photo-grid { grid-template-columns: 1fr 1fr; } .card, .card-grid.n4 .card, .card-grid.n2 .card, .card-grid.n5 .card:nth-child(4) { grid-column: auto; } .card-grid.n5 .card:last-child, .card-grid.n3 .card:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .card-grid, .card-grid.n4.photo-grid { grid-template-columns: 1fr; } }

/* checklist */
.check-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.check-wrap figure { margin: 0; border-radius: 12px; overflow: hidden; }
.check-wrap img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; background: var(--alt); padding: 14px 16px; border-radius: 8px; }
@media (max-width: 860px) { .check-wrap { grid-template-columns: 1fr; } }

/* FAQ page */
.faq-intro-band { text-align: center; }
.faq-intro-band .intro-copy { max-width: 820px; margin: 0 auto 24px; font-size: 1.08rem; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.jump a { display: inline-block; padding: 8px 14px; border: 2px solid var(--brand-dark); border-radius: 999px; text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 500; font-size: .9rem; background: #fff; }
.jump a:hover { background: var(--brand-dark); color: #fff; }
.faq-cat { max-width: 900px; margin: 0 auto 48px; scroll-margin-top: 20px; }
.faq-cat:last-child { margin-bottom: 0; }
.faq-cat > h2 { text-align: left; display: flex; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 3px solid var(--accent); }
.faq-item { background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--brand-dark); border-radius: 8px; padding: 22px 24px; margin-top: 16px; }
.faq-item h3 { font-size: 1.15rem; }
.faq-item ul, .faq-item ol { padding-left: 1.2em; }
.faq-item table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: .95rem; }
.faq-item th, .faq-item td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.faq-item th { background: var(--brand-dark); color: #fff; font-family: var(--head); font-weight: 500; }
.sources { font-size: .9rem; }
.sources ul { columns: 2; padding-left: 1.1em; }
@media (max-width: 760px) {
  .sources ul { columns: 1; }
  .faq-item table, .faq-item thead, .faq-item tbody, .faq-item tr, .faq-item td { display: block; width: 100%; }
  .faq-item thead { display: none; }
  .faq-item tr { border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; padding: 6px 10px; }
  .faq-item td { border: 0; padding: 4px 0; }
  .faq-item td::before { content: attr(data-label) ": "; font-weight: 700; }
}

/* utility pages */
.util { padding: 56px 0 80px; }
.util-head { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.util-head h1 { text-align: center; }
.util-head p { color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; max-width: 1040px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.fld { display: grid; gap: 6px; margin-bottom: 16px; }
.fld label { font-weight: 700; }
.fld input, .fld textarea { font: inherit; padding: 12px 14px; border: 2px solid #8A939B; border-radius: 8px; min-height: 48px; width: 100%; color: var(--text); background: #fff; }
.fld input:focus, .fld textarea:focus { border-color: var(--brand-dark); }
.fld [aria-invalid="true"] { border-color: #A3261B; }
.fld .err { color: #A3261B; font-size: .9rem; min-height: 1em; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; font-weight: 700; }
.form-msg.ok { color: #1D5B33; }
.form-msg.bad { color: #A3261B; }
.side-card { background: var(--tint); border-radius: 12px; padding: 26px; }
.side-card h2 { font-size: 1.3rem; }
.side-card ul { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.side-card li { display: flex; gap: 10px; align-items: flex-start; }
.side-card .icon { width: 24px; height: 24px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 { font-size: 1.4rem; margin-top: 1.6em; }
.calc-shell { background: var(--alt); }

/* calculator restyle (look only; behavior locked in the kit) */
.roof-calc {
  --calc-font-head: var(--head); --calc-font-body: var(--body); --calc-text: #181C20; --calc-muted: #4F5862;
  --calc-surface: #fff; --calc-surface-alt: #F3F4F5; --calc-border: #8A939B; --calc-accent: #E89A0C; --calc-accent-text: #181C20;
  --calc-accent-hover: #F2AE36; --calc-track: #DDE1E5; --calc-focus: #8A5600; --calc-radius: 12px;
}
.roof-calc .calc-btn-primary { border: 2px solid #181C20 !important; }
.roof-calc .choice-card:has(input:checked) { border-color: #3B4651; background: #FBF1DF; }

/* footer */
.site-footer { background: var(--ink); color: #C9D0D6; padding: 56px 0 96px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; }
.foot-logo img { height: 40px; width: auto; }
.foot-h { font-family: var(--head); font-weight: 700; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #E4E8EB; text-decoration: none; }
.site-footer a:hover { color: var(--accent-on-dark); text-decoration: underline; }
.foot-phone { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--accent-on-dark) !important; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #39414A; }
.foot-legal ul { display: flex; gap: 18px; }
.foot-legal p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* fixed mobile tap-to-call bar */
.call-bar { display: none; }
@media (max-width: 760px) {
  .call-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; align-items: center; justify-content: center; gap: 10px; min-height: 52px; background: var(--brand-dark); color: #fff; border: 2px solid var(--accent); border-radius: 10px; font-family: var(--head); font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
  .call-bar .cb-icon { width: 22px; height: 22px; stroke: #fff; --icon-fill: rgba(245,185,74,.5); }
  body.menu-open .call-bar, body.form-active .call-bar { display: none; }
  .site-footer { padding-bottom: 120px; }
}

/* callback dialog */
.cb-wrap { position: fixed; inset: 0; background: rgba(24,28,32,.55); display: grid; place-items: center; z-index: 60; padding: 16px; }
.cb-wrap[hidden] { display: none; }
.cb-box { position: relative; background: #fff; border-radius: 12px; max-width: 440px; width: 100%; padding: 28px 26px; border-top: 5px solid var(--accent); }
.cb-box h2 { font-size: 1.35rem; padding-right: 30px; }
.cb-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--ink); }

@media (max-width: 760px) {
  .sec { padding: 52px 0; }
  .sec-head { margin-bottom: 30px; }
  body { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.stub .btn-secondary { color: var(--brand-dark); border-color: var(--brand-dark); }
.stub .btn-secondary:hover { background: var(--brand-dark); color: #fff; }
.stub .btn-primary { border-color: var(--ink); }
.roof-calc .choice-card { position: relative; }
.roof-calc .choice-card input { left: 12px; top: 50%; }
/* calculator pages: compact shell so a step change never needs to scroll the form */
.calc-shell.util { padding: 20px 0 64px; }
.calc-shell .util-head { margin-bottom: 14px; }
.calc-shell .util-head h1 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 4px; }
.calc-shell .util-head p { margin: 0; }
.roof-calc .calc-card { padding: 22px 28px; }
.roof-calc #form-progress { margin-bottom: 16px; }
.roof-calc .question-help { margin-bottom: 12px; }
.roof-calc .choice-card { min-height: 54px; padding: 8px 14px; }
.roof-calc .choice-list, .roof-calc .choice-grid { gap: 8px; }
.qa-panel { border-left: 4px solid var(--accent); padding-left: 20px; }
.k-estimate .call-bar, .k-thank-you .call-bar, .k-contact .call-bar { display: none !important; }
