/* Owensboro Metal Roof Coating. Signature H17-S3-P7-B2-R7-F1-M48-C3-I1-E3, order V2, T1. */
:root {
  --brand: #22345A; --brand-2: #1a2946; --secondary: #5E7189; --accent: #C9252B;
  --cta: #C9252B; --cta-hover: #A81E23; --cta-text: #FFFFFF;
  --page: #FFFFFF; --alt: #F2F4F7; --tint: #E6EAF0; --dark: #0D1628;
  --text: #0D1628; --muted: #4F5F75; --border: #C9D1DC;
  --focus-light: #22345A; --focus-dark: #F2F4F7;
  --head: "Archivo Narrow", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
  --body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --radius: 8px; --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--page); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; }
.bg-band :focus-visible, .bg-dark :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--focus-dark); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); font-weight: 700; letter-spacing: -.005em; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.45rem); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem); font-weight: 700; }
p { margin: 0 0 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--brand); padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
svg.icon { width: 28px; height: 28px; flex: none; color: var(--brand); }
.bg-band svg.icon, .bg-dark svg.icon { color: var(--alt); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 6px;
  font-family: var(--head); font-weight: 700; font-size: 1.12rem; letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--cta); color: var(--cta-text); border-color: var(--cta); }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--brand); }
.bg-dark .btn-primary, .bg-band .btn-primary { border-color: #fff; }
.bg-dark .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.bg-dark .btn-secondary:hover { background: #fff; color: var(--brand); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 1.02rem; }
.btn svg.ui { flex: none; }
.btn-pair { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.btn-single { display: flex; justify-content: center; margin-top: 32px; }
@media (max-width: 640px) {
  .btn-pair { flex-direction: column; align-items: stretch; }
  .btn-pair .btn { width: 100%; }
  .btn-single .btn { width: 100%; }
}

/* header */
.site-head { background: var(--brand); color: #fff; position: relative; z-index: 50; }
.head-in { max-width: 1400px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 16px; min-height: 76px; }
.logo { display: block; background: #fff; border-radius: 6px; padding: 6px 10px; flex: none; }
.logo img { height: 44px; width: auto; }
.nav-desk { display: none; margin-left: auto; align-items: center; gap: 18px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; padding: 10px 8px; }
.nav-list > li > a:hover { text-decoration: underline; color: #fff; }
.sub-tog { background: none; border: 0; color: #fff; padding: 6px 4px; min-height: 36px; cursor: pointer; display: flex; align-items: center; border-radius: 4px; }
.dd { display: none; position: absolute; top: 100%; left: 0; background: #fff; list-style: none; margin: 0; padding: 10px; min-width: 250px;
  border-radius: 8px; box-shadow: 0 12px 30px rgba(13,22,40,.22); border-top: 3px solid var(--brand); }
.dd.dd-2 { columns: 2; min-width: 380px; }
.dd a { display: block; padding: 8px 10px; color: var(--text); text-decoration: none; font-size: .95rem; border-radius: 4px; break-inside: avoid; }
.dd a:hover, .dd a:focus-visible { background: var(--alt); color: var(--brand); }
.has-sub.open > .dd, .has-sub:hover > .dd { display: block; }
.has-sub.open > .sub-tog svg { transform: rotate(180deg); }
.nav-cta { display: flex; gap: 10px; }
.burger { margin-left: auto; background: transparent; border: 2px solid rgba(255,255,255,.7); color: #fff; width: 48px; height: 48px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.mnav { background: var(--brand-2); border-top: 1px solid rgba(255,255,255,.18); max-height: calc(100vh - 76px); overflow-y: auto; padding: 8px 20px 24px; }
.m-list { list-style: none; margin: 0; padding: 0; }
.m-list > li { border-bottom: 1px solid rgba(255,255,255,.14); }
.m-list a { color: #fff; text-decoration: none; display: block; padding: 13px 0; font-weight: 600; }
.m-row { display: flex; align-items: center; justify-content: space-between; }
.m-tog { background: none; border: 1px solid rgba(255,255,255,.4); color: #fff; width: 44px; height: 44px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.m-tog[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { list-style: none; margin: 0 0 10px; padding: 0 0 0 14px; }
.m-sub a { font-weight: 400; padding: 9px 0; }
.m-cta { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
.m-cta .btn { width: 100%; }
@media (min-width: 1200px) {
  .nav-desk { display: flex; }
  .burger, .mnav { display: none !important; }
  .logo img { height: 52px; }
}
@media (max-width: 420px) { .logo img { height: 38px; } .logo { padding: 5px 8px; } }

/* sections */
.sec { padding: 72px 0; }
.bg-page { background: var(--page); }
.bg-alt { background: var(--alt); }
.bg-tint { background: var(--tint); }
.bg-band { background: var(--brand); color: #fff; }
.bg-dark { background: var(--dark); color: #fff; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 36px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head .intro { color: var(--muted); font-size: 1.06rem; margin: 0; }
.bg-band .sec-head .intro, .bg-dark .sec-head .intro { color: #E6EAF0; }
.eyebrow, .chip { display: inline-block; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; color: var(--brand); }
.chip { background: var(--tint); padding: 5px 12px; border-radius: 99px; margin-bottom: 10px; }
@media (max-width: 760px) { .sec { padding: 48px 0; } }

/* H17 hanging plate */
.hero-h17 { position: relative; background: var(--dark); }
.h17-photo { position: relative; }
.h17-img { width: 100%; height: 580px; object-fit: cover; object-position: center; }
.h17-plate { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(760px, calc(100% - 40px));
  background: var(--page); color: var(--text); text-align: center; padding: 34px 56px 38px; border-radius: 8px; border-bottom: 3px solid var(--cta);
  box-shadow: 0 18px 40px rgba(13,22,40,.28); }
.h17-plate h1 { margin-bottom: .3em; }
.h17-plate .lead { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; margin: 0 0 12px; padding: 0; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.crumbs a { color: var(--muted); }
@media (max-width: 899px) {
  .h17-plate { position: static; transform: none; width: 100%; border-radius: 0; box-shadow: none; padding: 26px 20px 30px; }
  .h17-img { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
}

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

/* tables (S3, B2) */
.table-wrap { width: 100%; }
table { width: 100%; border-collapse: collapse; background: #fff; }
.spec th, .spec td, .b2 th, .b2 td { padding: 16px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); font-size: .98rem; }
.spec thead th, .b2 thead th { background: var(--brand); color: #fff; font-family: var(--head); font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; border-bottom: 0; }
.spec tbody th a { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.spec tbody th a span { text-decoration: underline; text-decoration-thickness: 1px; }
.spec tbody tr:nth-child(even) td, .spec tbody tr:nth-child(even) th { background: #F7F8FA; }
.b2 tbody th { display: table-cell; font-family: var(--head); font-size: 1.1rem; }
.b2 tbody th span { vertical-align: middle; }
.b2 tbody th svg.icon { display: inline-block; vertical-align: middle; margin-right: 8px; width: 24px; height: 24px; }
.b2 td:nth-child(2) { background: #F3F5F9; border-left: 3px solid var(--brand); }
.b2 thead th.hl { background: var(--brand-2); }
.table-note { text-align: center; margin: 22px auto 0; color: var(--muted); max-width: 760px; }
.L5 .wrap { max-width: 840px; }
@media (max-width: 820px) {
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack tr { margin-bottom: 16px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
  table.stack tbody th { background: var(--tint) !important; border-bottom: 1px solid var(--border); }
  table.stack td { border-bottom: 1px solid var(--alt); border-left: 0 !important; background: #fff !important; }
  table.stack td::before { content: attr(data-label); display: block; font-family: var(--head); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
}

/* K6 scenario cards */
.k6-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.k6-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.k6-grid.n5, .k6-grid.n6 { grid-template-columns: repeat(6, 1fr); }
.k6-grid.n5 .k6-card { grid-column: span 2; }
.k6-grid.n5 .k6-card:nth-child(4) { grid-column: 2 / span 2; }
.k6-grid.n6 .k6-card { grid-column: span 3; }
.k6-card { display: flex; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: 0 4px 14px rgba(13,22,40,.06); }
.k6-main { flex: 1; padding: 22px 22px 18px; }
.k6-label, .k6-small, .fit-l, .c3-label, .fig-label { display: block; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .07em; font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.k6-main h3 { font-size: 1.25rem; }
.k6-main p { margin: 0; color: var(--text); font-size: .97rem; }
.k6-panel { width: 200px; flex: none; background: var(--brand); color: #fff; padding: 22px 18px; display: flex; flex-direction: column; justify-content: center; }
.k6-panel.away { background: var(--secondary); }
.k6-panel svg.icon { color: #fff; margin-bottom: 8px; }
.k6-panel .k6-small { color: #E6EAF0; }
.k6-panel strong { font-family: var(--head); font-size: 1.25rem; line-height: 1.2; }
@media (max-width: 980px) {
  .k6-grid, .k6-grid.n3, .k6-grid.n5, .k6-grid.n6 { grid-template-columns: 1fr 1fr; }
  .k6-grid.n5 .k6-card, .k6-grid.n6 .k6-card, .k6-grid.n5 .k6-card:nth-child(4) { grid-column: auto; }
  .k6-grid.n5 .k6-card:last-child, .k6-grid.n3 .k6-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .k6-grid, .k6-grid.n3, .k6-grid.n5, .k6-grid.n6 { grid-template-columns: 1fr; }
  .k6-card { flex-direction: column; }
  .k6-panel { width: auto; flex-direction: row; align-items: center; gap: 10px; flex-wrap: wrap; }
  .k6-panel svg.icon { margin: 0; }
  .k6-panel .k6-small { margin: 0; }
}

/* C3 band */
.bg-band.sec { padding: 64px 0; }
.c3-card { background: #fff; color: var(--text); border-radius: 12px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; overflow: hidden; box-shadow: 0 16px 36px rgba(0,0,0,.25); }
.c3-card.rev .c3-text { order: 2; }
.c3-text { padding: 36px 36px; border-left: 6px solid var(--secondary); }
.c3-card.rev .c3-text { border-left: 0; border-right: 6px solid var(--secondary); }
.c3-text h2 { text-align: left; }
.c3-text p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.c3-ready { background: var(--alt); padding: 32px 36px; display: flex; flex-direction: column; gap: 14px; }
.c3-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.c3-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.c3-list svg.icon { color: var(--brand); width: 24px; height: 24px; }
.c3-ready .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 820px) {
  .c3-card { grid-template-columns: 1fr; }
  .c3-card.rev .c3-text { order: 0; border-right: 0; border-left: 6px solid var(--secondary); }
  .c3-text, .c3-ready { padding: 26px 22px; }
  .c3-ready .btn { align-self: stretch; }
}

/* P7 process */
.p7 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: none; }
.p7.n4 { grid-template-columns: repeat(4, 1fr); }
.p7-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.p7-num { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--page); }
.bg-alt .p7-num { box-shadow: 0 0 0 6px var(--alt); }
.p7-step:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: calc(50% + 34px); width: calc(100% - 68px + 22px); height: 2px; background: var(--border); }
.p7-media { width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.p7-media img { width: 100%; height: 100%; object-fit: cover; }
.p7-media.tint { background: var(--tint); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.p7-media.tint svg.icon { width: 52px; height: 52px; }
.p7-step h3 { font-size: 1.2rem; }
.p7-step p { font-size: .96rem; text-align: left; margin: 0; }
@media (max-width: 1100px) {
  .p7, .p7.n4 { grid-template-columns: repeat(6, 1fr); }
  .p7-step { grid-column: span 2; }
  .p7-step:nth-child(1), .p7-step:nth-child(2) { grid-column: span 3; }
  .p7-step::after { display: none; }
}
@media (max-width: 700px) {
  .p7, .p7.n4 { grid-template-columns: 1fr; }
  .p7-step, .p7-step:nth-child(1), .p7-step:nth-child(2) { grid-column: auto; }
  .p7-media { aspect-ratio: 16 / 9; }
}

/* R7 roof zones */
.r7 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 4px solid var(--brand); background: #fff; border-radius: 0 0 10px 10px; box-shadow: 0 4px 16px rgba(13,22,40,.06); }
.r7-zone { padding: 24px 20px; border-right: 1px solid var(--border); }
.r7-zone:last-child { border-right: 0; }
.r7-zone h3 { font-size: 1.18rem; margin-top: 12px; }
.r7-zone p { font-size: .95rem; margin: 0; }
@media (max-width: 1080px) {
  .r7 { grid-template-columns: repeat(6, 1fr); }
  .r7-zone { grid-column: span 2; border-bottom: 1px solid var(--border); }
  .r7-zone:nth-child(4), .r7-zone:nth-child(5) { grid-column: span 3; border-bottom: 0; }
  .r7-zone:nth-child(3) { border-right: 0; }
}
@media (max-width: 680px) {
  .r7 { grid-template-columns: 1fr; border-top: 0; background: none; box-shadow: none; gap: 14px; }
  .r7-zone, .r7-zone:nth-child(4), .r7-zone:nth-child(5) { grid-column: auto; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--brand); border-radius: 8px; }
}

/* M48 figure cards */
.figs { display: grid; gap: 18px; }
.feat-grid { grid-template-columns: repeat(4, 1fr); }
.feat-grid .feat { grid-column: span 2; }
.compact { grid-template-columns: repeat(5, 1fr); }
.fig-card { background: #fff; border-radius: 10px; padding: 22px 20px; border: 1px solid var(--border); border-bottom: 4px solid var(--brand); }
.fig-card h3.fig-town { font-size: 2.1rem; line-height: 1.05; margin: 0 0 6px; }
.fig-card.feat h3.fig-town { font-size: 2.8rem; }
.fig-card h3.fig-town a { color: var(--brand); text-decoration: none; }
.fig-card h3.fig-town a:hover { text-decoration: underline; }
.fig-card .fig-mi { display: block; font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--brand); margin: 2px 0 6px; }
.compact .fig-card h3.fig-town { font-size: 1.7rem; }
.fig-card p { margin: 0; font-size: .95rem; }
.sec-head .intro a { font-weight: 600; }
@media (max-width: 1080px) { .compact { grid-template-columns: repeat(2, 1fr); } .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .compact, .feat-grid { grid-template-columns: 1fr; } .feat-grid .feat { grid-column: auto; } }

/* F1 grouped accordion */
.f1-group { margin-top: 26px; }
.f1-sub { text-align: center; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.acc { background: #fff; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 10px; }
.acc summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 700; position: relative; min-height: 48px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.acc[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc[open] summary { border-bottom: 1px solid var(--alt); }
.acc-body { padding: 14px 18px 4px; }

/* closing */
.closing-in { text-align: center; max-width: 760px; margin: 0 auto; }
.closing-in p { color: #E6EAF0; font-size: 1.08rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px rgba(13,22,40,.15); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media.tint { background: var(--tint); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.split-media.tint svg.icon { width: 80px; height: 80px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg.icon { width: 24px; height: 24px; margin-top: 2px; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; gap: 26px; } .split.rev .split-media { order: 0; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards.n4 { grid-template-columns: repeat(2, 1fr); }
.cards.n5 { grid-template-columns: repeat(6, 1fr); }
.cards.n5 .card { grid-column: span 2; }
.cards.n5 .card:nth-child(4) { grid-column: 2 / span 2; }
.cards.n6 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 24px 22px; box-shadow: 0 4px 14px rgba(13,22,40,.05); }
.bg-page .card { background: var(--alt); }
.card h3 { margin-top: 12px; }
.card p { margin: 0 0 10px; font-size: .97rem; }
.card-link { font-weight: 700; display: inline-block; margin-top: 4px; }
@media (max-width: 980px) { .cards, .cards.n5, .cards.n6 { grid-template-columns: 1fr 1fr; } .cards.n5 .card, .cards.n5 .card:nth-child(4) { grid-column: auto; } .cards.n5 .card:last-child, .cards.n3 .card:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cards, .cards.n4, .cards.n5, .cards.n6 { grid-template-columns: 1fr; } }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.svc-grid .svc-card { grid-column: span 2; }
.svc-grid.n5 .svc-card:nth-child(4) { grid-column: 2 / span 2; }
.svc-grid.n2 .svc-card { grid-column: span 3; }
.svc-grid.n4 .svc-card { grid-column: span 3; }
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(13,22,40,.06); }
.sc-media { aspect-ratio: 3 / 2; overflow: hidden; }
.sc-media img { width: 100%; height: 100%; object-fit: cover; }
.sc-media.tint { background: var(--tint); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.sc-media.tint svg.icon { width: 64px; height: 64px; }
.sc-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.sc-body p { font-size: .97rem; margin: 0 0 10px; }
.sc-body .fit { border-top: 1px solid var(--alt); padding-top: 10px; }
.sc-body .card-link { margin-top: auto; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc-grid .svc-card, .svc-grid.n5 .svc-card:nth-child(4), .svc-grid.n2 .svc-card, .svc-grid.n4 .svc-card { grid-column: auto; } .svc-grid.n5 .svc-card:last-child, .svc-grid.n3 .svc-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* checklist */
.checklist { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; max-width: 980px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; background: var(--alt); border-radius: 8px; padding: 16px 18px; border-left: 4px solid var(--brand); }
@media (max-width: 700px) { .checklist { grid-template-columns: 1fr; } }

/* FAQ page */
.faq-band { text-align: center; }
.faq-band .band-intro { max-width: 820px; margin: 0 auto 26px; font-size: 1.08rem; color: #E6EAF0; }
.jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 99px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.jump a:hover { background: #fff; color: var(--brand); }
.jump svg.icon { width: 20px; height: 20px; }
.faq-cat { margin-bottom: 48px; scroll-margin-top: 20px; }
.faq-cat > h2 { text-align: left; border-bottom: 3px solid var(--brand); padding-bottom: 8px; }
.qa { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px 24px 8px; margin-bottom: 16px; }
.bg-alt .qa { background: #fff; }
.qa h3 { font-size: 1.3rem; }
.qa ul { padding-left: 1.2em; }
.qa table { margin: 0 0 1em; font-size: .94rem; }
.qa th, .qa td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.qa thead th { background: var(--tint); font-family: var(--head); }
.qa .table-wrap { overflow-x: auto; }
.qa-note { background: var(--alt); border-left: 4px solid var(--secondary); border-radius: 6px; padding: 12px 16px; margin: 0 0 1em; }
.qa-note p { margin: 0; }
.town-tag { display: inline-block; margin-bottom: 6px; }

/* utility pages */
.hero-text { padding: 48px 0 18px; text-align: center; }
.hero-text .crumbs ol { justify-content: center; }
.hero-text .lead { color: var(--muted); max-width: 680px; margin: 0 auto; font-size: 1.08rem; }
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 { font-size: 1.5rem; text-align: left; margin-top: 1.4em; }
.form-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px; box-shadow: 0 6px 20px rgba(13,22,40,.07); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); border: 2px solid var(--border); border-radius: 8px; padding: 12px 14px; min-height: 48px; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid rgba(34,52,90,.25); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #8e1a11; }
.field .err { color: #8e1a11; font-size: .92rem; margin-top: 4px; }
.field .opt { font-weight: 400; color: var(--muted); }
.honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 8px; padding: 12px 14px; margin: 14px 0 0; font-weight: 600; }
.form-status.ok { background: #e6f2ea; color: #1d5b33; }
.form-status.bad { background: #fbeceb; color: #8e1a11; }
.form-status.wait { background: var(--alt); color: var(--text); }
.side-card { background: var(--alt); border-radius: 12px; padding: 26px; border-top: 4px solid var(--brand); }
.side-card ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.side-card li { display: flex; gap: 10px; align-items: flex-start; }
.side-card svg.icon { width: 22px; height: 22px; margin-top: 3px; }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }

/* calculator skin */
.roof-calc { --calc-font-head: var(--head); --calc-font-body: var(--body); --calc-text: #0D1628; --calc-muted: #4F5F75; --calc-surface: #fff;
  --calc-surface-alt: #F2F4F7; --calc-border: #9AA7B8; --calc-accent: #C9252B; --calc-accent-text: #fff; --calc-accent-hover: #A81E23; --calc-track: #D5DBE4;
  --calc-focus: #22345A; --calc-radius: 12px; }
.roof-calc .calc-card { border-top: 5px solid var(--brand); box-shadow: 0 10px 30px rgba(13,22,40,.10); }
.roof-calc .question-step h2 { text-transform: none; letter-spacing: 0; }
.roof-calc .choice-card { border-width: 2px; }
.calc-sec { padding: 24px 0 72px; background: var(--alt); }

/* footer */
.site-foot { background: var(--dark); color: #DCE1E8; padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr .9fr; gap: 32px; }
.site-foot a { color: #fff; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.site-foot ul.two { grid-template-columns: 1fr 1fr; }
.foot-h { font-size: 1.05rem; letter-spacing: .08em; margin-bottom: 14px; color: #fff; }
.logo-plate { display: inline-block; background: #fff; border-radius: 6px; padding: 8px 12px; margin-bottom: 14px; }
.logo-plate img { height: 40px; width: auto; }
.foot-phone a { font-family: var(--head); font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.foot-legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: .9rem; }
.foot-legal p { margin: 0; }
.foot-legal ul { display: flex; gap: 22px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* mobile call bar */
.callbar { display: none; }
@media (max-width: 1199px) {
  .callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40; align-items: center; justify-content: center; gap: 10px;
    background: var(--cta); color: #fff; border: 2px solid #fff; border-radius: 10px; min-height: 52px; font-family: var(--head); font-weight: 700; font-size: 1.12rem; text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.3); }
  .callbar:hover { color: #fff; background: var(--cta-hover); }
  .foot-legal { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .calc-sec, .util-last { padding-bottom: 110px; }
  body.menu-open .callbar, body.no-callbar .callbar { display: none; }
}
