/* Jeffersontown Metal Roof Coating · signature H4-S20-P4-B8-R7-F6-M42-C8-I5-E5 · T1 */
:root {
  --cobalt: #1F4E9A;
  --cobalt-dk: #173C78;
  --sec: #6C86A8;
  --amber: #F2A007;
  --amber-hv: #FFB52E;
  --ink: #0F2342;
  --alt: #F1F4F8;
  --tint: #E8EEF7;
  --white: #FFFFFF;
  --text: #0F2342;
  --muted: #4A5A72;
  --on-dark: #A9C0E3;
  --border: #C9D3E1;
  --focus-light: #0F2342;
  --focus-dark: #FFB52E;
  --head: "Bree Serif", "Roboto Slab", Rockwell, "Rockwell Nova", Georgia, serif;
  --body: "Libre Franklin", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --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.62; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; }
a:hover { color: var(--cobalt-dk); }
:focus-visible { outline: 3px solid var(--focus-light); outline-offset: 3px; }
.bg-d :focus-visible, .site-footer :focus-visible, .hero-h4 :focus-visible { outline-color: var(--focus-dark); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2rem, 1.45rem + 2.2vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); }
h3 { font-size: clamp(1.18rem, 1.1rem + .35vw, 1.4rem); }
h4 { font-family: var(--body); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; }
.skip:focus { left: 10px; top: 10px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 8px;
  font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; text-align: center; }
.btn .ph { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.btn-primary { background: var(--amber); color: var(--ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--amber-hv); color: var(--ink); }
.btn-secondary { background: var(--white); color: var(--cobalt); border-color: var(--cobalt); }
.btn-secondary:hover { background: var(--tint); color: var(--cobalt-dk); }
.btn-secondary-light { background: transparent; color: #fff; border-color: #fff; }
.btn-secondary-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #1b3560; color: #fff; }
.btn-sm { min-height: 44px; padding: 9px 15px; font-size: .95rem; }
.bg-d .btn-primary, .hero-h4 .btn-primary { border-color: var(--amber); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.txtlink { font-weight: 700; text-decoration: none; color: var(--cobalt); display: inline-block; margin-top: 6px; }
.txtlink:hover { text-decoration: underline; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--border); }
.calc-page .site-header, .k-contact .site-header { position: relative; }
.hdr { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.brand { flex: 0 0 auto; display: block; }
.brand img { height: 58px; width: auto; }
.main-nav { display: none; margin-left: auto; align-items: center; gap: 14px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 9px; font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; }
.nav-list > li > a:hover { color: var(--cobalt); text-decoration: underline; }
.sub-toggle, .m-toggle { background: none; border: 0; padding: 8px 6px; cursor: pointer; color: var(--ink); display: inline-flex; align-items: center; min-height: 40px; }
.chev { width: 12px; height: 8px; fill: none; stroke: currentColor; stroke-width: 2; }
.sub-toggle[aria-expanded="true"] .chev, .m-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sub { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--cobalt); border-radius: 0 0 8px 8px; box-shadow: 0 12px 28px rgba(15,35,66,.14); list-style: none; margin: 0; padding: 8px 0; z-index: 60; }
.sub a { display: block; padding: 9px 16px; color: var(--ink); text-decoration: none; font-weight: 600; }
.sub a:hover, .sub a:focus { background: var(--tint); color: var(--cobalt); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.nav-cta { display: flex; gap: 8px; }
.burger { margin-left: auto; width: 48px; height: 48px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: var(--white); border: 2px solid var(--ink); border-radius: 8px; cursor: pointer; margin-right: -2px; }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }
.mobile-menu { border-top: 1px solid var(--border); background: #fff; max-height: calc(100vh - 76px); overflow-y: auto; }
.m-list { list-style: none; margin: 0; padding: 8px 20px; }
.m-list > li { border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.m-list > li > a { display: block; padding: 13px 0; font-weight: 600; color: var(--ink); text-decoration: none; flex: 1; }
.m-list ul { list-style: none; margin: 0 0 10px; padding: 0 0 0 14px; width: 100%; }
.m-list ul a { display: block; padding: 9px 0; color: var(--cobalt); font-weight: 600; text-decoration: none; }
.m-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
.m-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px 22px; }
.m-cta .btn { width: 100%; }
@media (max-width: 380px) { .m-cta { grid-template-columns: 1fr; } }
@media (min-width: 1200px) {
  .main-nav { display: flex; }
  .burger, .mobile-menu { display: none !important; }
}

/* ---------- sections */
.sec { padding: 72px 0; }
.bg-w { background: var(--white); }
.bg-a { background: var(--alt); }
.bg-t { background: var(--tint); }
.bg-d { background: var(--ink); color: #fff; }
.bg-band { background: var(--amber); color: var(--ink); }
@media (max-width: 800px) { .sec { padding: 48px 0; } }
.sec-head { max-width: 760px; margin: 0 auto 36px; }
.sec-head.center { text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head .intro { color: var(--muted); font-size: 1.06rem; margin: 0; }
.chip { display: inline-block; font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--cobalt); background: var(--tint); border: 1px solid #c6d4ea; border-radius: 999px; padding: 5px 14px; margin-bottom: 14px; }
.bg-t .chip { background: #fff; }
.chip-light { color: var(--ink); background: var(--amber); border-color: var(--amber); }
.sec-head h2 { margin-bottom: 12px; }

/* ---------- H4 hero */
.hero-h4 { position: relative; padding: 0; overflow: hidden; background: var(--ink); color: #fff; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-body { position: relative; }
.hero-inner { text-align: center; padding-top: 40px; padding-bottom: 44px; }
.hero-h4 h1 { color: #fff; margin: 0 auto 14px; max-width: 900px; }
.hero-h4 h1 em { font-style: italic; color: #fff; }
.hero-intro { max-width: 680px; margin: 0 auto 18px; font-size: 1.12rem; color: #E9EFF8; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 0 0 14px; padding: 0; font-size: .88rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--on-dark); }
.crumbs a { color: #fff; }
.crumbs [aria-current] { color: var(--on-dark); }
@media (min-width: 801px) {
  .hero-h4 { min-height: 560px; display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,35,66,.62) 0%, rgba(15,35,66,.72) 55%, rgba(15,35,66,.80) 100%); }
  .hero-body { width: 100%; }
  .hero-inner { padding-top: 72px; padding-bottom: 72px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
}
@media (max-width: 800px) {
  .hero-h4 { display: flex; flex-direction: column-reverse; }
  .hero-media img { aspect-ratio: 16 / 10; height: auto; }
  .hero-h4 .btn-row { flex-direction: column; align-items: stretch; }
  .hero-h4 .btn { width: 100%; }
}

/* ---------- facts strip */
.facts-strip { padding: 26px 0; border-bottom: 1px solid var(--border); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { display: flex; gap: 12px; align-items: center; }
.fact-l { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact-v { display: block; font-weight: 700; color: var(--ink); line-height: 1.3; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* ---------- icons (I5) */
.icon { width: 36px; height: 36px; flex: 0 0 auto; fill: none; stroke: var(--cobalt); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.icon .dot { fill: var(--amber); stroke: none; }
.bg-d .icon { stroke: #fff; }

/* ---------- R7 zones */
.zones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 4px solid var(--sec); }
.zone { padding: 22px 18px 6px; border-right: 1px solid var(--border); position: relative; }
.zone:last-child { border-right: 0; }
.zone::before { content: ""; position: absolute; top: -10px; left: 18px; width: 16px; height: 16px; border-radius: 50%; background: var(--cobalt); border: 3px solid #fff; }
.bg-t .zone::before { border-color: var(--tint); }
.zone .icon { margin: 6px 0 10px; }
.zone h3 { font-size: 1.16rem; }
.zone p { font-size: .97rem; margin: 0; }
@media (max-width: 1080px) { .zones { grid-template-columns: repeat(3, 1fr); } .zone:nth-child(3) { border-right: 0; } .zone:nth-child(n+4) { border-top: 1px solid var(--border); } }
@media (max-width: 1080px) and (min-width: 701px) { .zones { grid-template-columns: repeat(6, 1fr); } .zone { grid-column: span 2; } .zone:nth-child(4) { grid-column: 2 / span 2; } .zone:nth-child(5) { grid-column: 4 / span 2; border-right: 0; } .zone:nth-child(4) { border-left: 1px solid var(--border); } }
@media (max-width: 700px) { .zones { grid-template-columns: 1fr; border-top: 0; } .zone { border: 1px solid var(--border); border-top: 4px solid var(--sec); border-radius: 8px; background: #fff; margin-bottom: 14px; padding-bottom: 18px; } .zone::before { display: none; } }

/* ---------- S20 banner rows */
.brows { display: grid; gap: 34px; }
.brow { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(15,35,66,.07); }
.brow + .brow { border-top: 0; }
.brow-photo { position: relative; }
.brow-photo img { width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.brow-tab { position: absolute; left: 0; bottom: 0; margin: 0; background: var(--cobalt); padding: 10px 20px 10px 18px; border-top-right-radius: 8px; font-size: 1.25rem; }
.brow-tab a { color: #fff; text-decoration: none; }
.brow-tab a:hover { text-decoration: underline; }
.brow-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 26px; padding: 22px 24px 20px; }
.brow-cols .fit { margin: 0; }
.brow-list ul { margin: 0 0 4px; }
@media (max-width: 900px) { .brow-photo img { aspect-ratio: 2.4 / 1; } .brow-cols { grid-template-columns: 1fr; gap: 14px; } }
ul.ticks, ul.warns { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li, ul.warns li { position: relative; padding-left: 26px; margin-bottom: 6px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--cobalt); border-bottom: 3px solid var(--cobalt); transform: rotate(-45deg); }
ul.ticks.light li::before { border-color: var(--amber); }
ul.warns li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 10px; border-radius: 2px; background: var(--amber); outline: 2px solid var(--ink); outline-offset: -1px; }

/* ---------- B8 */
.b8 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: stretch; }
.b8-feature { background: var(--cobalt); color: #fff; border-radius: var(--radius); padding: 32px; border-top: 6px solid var(--amber); }
.b8-feature .icon { stroke: #fff; width: 44px; height: 44px; margin-bottom: 12px; }
.b8-feature h3 { color: #fff; font-size: 1.55rem; }
.b8-feature p { color: #EDF2FA; }
.b8-small { display: grid; gap: 16px; }
.b8-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--cobalt); border-radius: 8px; padding: 18px 20px; }
.bg-w .b8-card { background: var(--alt); }
.b8-card .icon { grid-row: span 2; }
.b8-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.b8-card p { margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .b8 { grid-template-columns: 1fr; } .b8-feature { padding: 24px; } }

/* ---------- C8 band */
.bg-band { padding: 52px 0; }
.c8 { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.c8-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.c8-icon .icon { width: 44px; height: 44px; stroke: #fff; }
.c8-text h2 { margin: 0 0 6px; color: var(--ink); }
.c8-text p { margin: 0; color: var(--ink); font-size: 1.05rem; max-width: 640px; }
@media (max-width: 800px) { .c8 { grid-template-columns: 1fr; text-align: center; justify-items: center; } .c8 .btn { width: 100%; max-width: 360px; } }

/* ---------- K2 table */
.tbl-wrap { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: .98rem; }
table.spec thead th { background: var(--ink); color: #fff; text-align: left; font-weight: 700; padding: 14px 16px; font-size: .9rem; letter-spacing: .02em; }
table.spec tbody th { text-align: left; font-weight: 700; color: var(--ink); background: var(--alt); width: 30%; }
table.spec th, table.spec td { padding: 13px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.spec tbody tr:last-child th, table.spec tbody tr:last-child td { border-bottom: 0; }
.tbl-note { color: var(--muted); font-size: .95rem; margin: 14px 0 0; text-align: center; }
@media (max-width: 700px) {
  table.spec thead { position: absolute; left: -9999px; }
  table.spec, table.spec tbody, table.spec tr, table.spec th, table.spec td { display: block; width: 100%; }
  table.spec tr { border-bottom: 6px solid var(--alt); }
  table.spec tbody th { background: var(--tint); width: 100%; }
  table.spec td { padding-top: 6px; }
  table.spec td::before { content: attr(data-label); display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
}

/* ---------- P4 */
.p4 { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.p4-photos { display: grid; gap: 14px; }
.p4-photos img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (min-width: 901px) { .p4-side { position: sticky; top: 100px; } .calc-page .p4-side { top: 20px; } }
.steps { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px dashed var(--sec); }
.step:first-child { padding-top: 0; }
.num { width: 44px; height: 44px; border-radius: 50%; background: var(--cobalt); color: #fff; font-family: var(--head); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; }
.tag { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: .76rem; font-weight: 700; letter-spacing: .1em; color: var(--ink); background: var(--amber); padding: 2px 8px; border-radius: 4px; margin-bottom: 6px; }
.step h3 { margin: 0 0 4px; font-family: var(--body); font-weight: 700; font-size: 1.12rem; }
.step p { margin: 0; }
@media (max-width: 900px) { .p4 { grid-template-columns: 1fr; gap: 26px; } .p4-photos { grid-template-columns: 1fr 1fr; } }

/* ---------- tabs (M42, F6) */
.tablist { display: none; }
.js .tablist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; justify-content: center; }
.tablist [role=tab] { font: 700 .98rem var(--body); color: var(--cobalt); background: #fff; border: 2px solid var(--cobalt); border-radius: 999px; padding: 9px 18px; cursor: pointer; min-height: 44px; }
.tablist [role=tab][aria-selected="true"] { background: var(--cobalt); color: #fff; }
.tablist [role=tab]:hover { background: var(--tint); }
.tablist [role=tab][aria-selected="true"]:hover { background: var(--cobalt-dk); }
.tabpanel { margin-bottom: 22px; }
.js .tabpanel { margin-bottom: 0; }
.tabpanel[hidden] { display: none; }
@media (max-width: 700px) { .js .town-tabs .tablist { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; -webkit-overflow-scrolling: touch; } .town-tabs .tablist [role=tab] { flex: 0 0 auto; } }
.town-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.town-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.town-text { padding: 28px 30px; }
.ico-list { list-style: none; padding: 0; margin: 0 0 12px; }
.ico-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.ico-list .icon { width: 30px; height: 30px; }
@media (max-width: 800px) { .town-panel { grid-template-columns: 1fr; } .town-photo img { min-height: 0; aspect-ratio: 16 / 9; } .town-text { padding: 22px; } }
.faq-tabs .qa { background: var(--alt); border: 1px solid var(--border); border-left: 5px solid var(--cobalt); border-radius: 8px; padding: 18px 22px; margin-bottom: 14px; }
.bg-a .faq-tabs .qa { background: #fff; }
.qa h3 { font-size: 1.15rem; margin-bottom: 6px; }
.qa p { margin: 0; }

/* ---------- option cards (L2), svc cards, card grid */
.split-l2 { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 44px; align-items: start; }
@media (min-width: 901px) { .split-head { position: sticky; top: 100px; } }
.opts { display: grid; gap: 18px; }
.opt { display: grid; grid-template-columns: 220px 1fr; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.bg-w .opt { background: var(--alt); }
.opt img { width: 100%; height: 100%; object-fit: cover; min-height: 170px; }
.opt-body { padding: 18px 22px; }
.opt-body h3 { margin-bottom: 6px; }
.opt-body p { margin: 0 0 4px; }
@media (max-width: 900px) { .split-l2 { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 600px) { .opt { grid-template-columns: 1fr; } .opt img { aspect-ratio: 16 / 9; min-height: 0; } }
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.svc { grid-column: span 2; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
.svc-grid.n2 .svc { grid-column: span 3; }
.svc-grid.n5 .svc:nth-child(4) { grid-column: 2 / span 2; }
.svc-grid.n4 .svc { grid-column: span 3; }
.svc img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.svc-body { padding: 18px 20px 20px; }
.svc-body h3 a { color: var(--ink); text-decoration: none; }
.svc-body h3 a:hover { color: var(--cobalt); text-decoration: underline; }
.svc-body p { margin: 0 0 4px; font-size: .98rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc, .svc-grid.n2 .svc, .svc-grid.n4 .svc { grid-column: span 1; } .svc-grid.n5 .svc:nth-child(4) { grid-column: span 1; } .svc-grid.n5 .svc:nth-child(5), .svc-grid.n3 .svc:nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc-grid .svc { grid-column: 1 / -1 !important; } }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.n4 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--cobalt); border-radius: 8px; padding: 22px; }
.bg-w .card { background: var(--alt); }
.card .icon { margin-bottom: 10px; }
.card p { margin: 0; }
@media (max-width: 900px) { .card-grid, .card-grid.n4 { grid-template-columns: 1fr 1fr; } .card-grid.n3 .card:nth-child(3), .card-grid.n5 .card:nth-child(5) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .card-grid, .card-grid.n4 { grid-template-columns: 1fr; } }

/* ---------- split L3 */
.split-l3 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.split-l3.rev .split-text { order: 2; }
.split-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .split-l3 { grid-template-columns: 1fr; gap: 22px; } .split-l3.rev .split-text { order: 0; } }

/* ---------- checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 14px 18px; }
.bg-w .checklist li { background: var(--alt); }

/* ---------- closing */
.closing-inner { max-width: 760px; }
.bg-d h2 { color: #fff; }
.bg-d p { color: #DDE6F3; font-size: 1.08rem; }
@media (max-width: 800px) { .bg-d .btn-row { flex-direction: column; align-items: stretch; } }

/* ---------- FAQ page */
.faq-intro p { color: var(--ink); font-size: 1.06rem; }
.jump { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.jump a { display: inline-block; padding: 8px 14px; background: #fff; border: 2px solid var(--cobalt); border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .95rem; }
.jump a:hover { background: var(--cobalt); color: #fff; }
.faq-cat { margin-bottom: 44px; scroll-margin-top: 100px; }
.faq-cat > h2 { padding-bottom: 10px; border-bottom: 3px solid var(--amber); margin-bottom: 18px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-left: 5px solid var(--cobalt); border-radius: 8px; padding: 20px 24px; margin-bottom: 14px; }
.bg-w .faq-item { background: var(--alt); }
.faq-item h3 { margin-bottom: 8px; }
.faq-answer > :last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { padding-left: 22px; margin: 0 0 1em; }
.faq-answer li { margin-bottom: 4px; }
.faq-answer .tbl-wrap { margin: 4px 0 14px; }
.faq-sources ul { columns: 2; padding-left: 20px; }
@media (max-width: 700px) { .faq-sources ul { columns: 1; } }

/* ---------- forms */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
.form-card label { display: block; font-weight: 700; margin: 0 0 6px; }
.form-card input, .form-card textarea, .callback input { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 2px solid #8396b2; border-radius: 8px; padding: 12px 14px; min-height: 48px; margin-bottom: 16px; }
.form-card textarea { min-height: 120px; resize: vertical; }
.form-card input[aria-invalid=true], .callback input[aria-invalid=true] { border-color: #A3271B; }
.form-card .submit, .callback .submit { width: 100%; min-height: 50px; font: 700 1.02rem var(--body); background: var(--amber); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; cursor: pointer; }
.form-card .submit:hover, .callback .submit:hover { background: var(--amber-hv); }
.form-card .submit:disabled, .callback .submit:disabled { opacity: .65; cursor: wait; }
.form-status { min-height: 1.5em; font-weight: 600; margin: 0 0 12px; }
.form-status.error { color: #A3271B; }
.form-status.ok { color: #1D5B33; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.optional { font-weight: 400; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.contact-side { background: var(--alt); border-radius: var(--radius); padding: 26px; }
.contact-side .icon { margin-bottom: 8px; }
.big-phone { font-family: var(--head); font-size: 1.7rem; text-decoration: none; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.util-head { padding: 44px 0 10px; }
.util-head h1 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem); }
.util-head p { color: var(--muted); max-width: 720px; }
.legal { max-width: 820px; }
.legal h2 { font-size: 1.45rem; margin-top: 1.6em; }
.legal ul { padding-left: 22px; }

/* ---------- callback */
.callback { position: fixed; inset: 0; z-index: 120; background: rgba(15,35,66,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.callback[hidden] { display: none; }
.cb-box { position: relative; background: #fff; border-radius: var(--radius); border-top: 6px solid var(--amber); width: 100%; max-width: 420px; padding: 28px 26px 22px; max-height: calc(100vh - 32px); overflow-y: auto; }
.cb-box h2 { font-size: 1.45rem; padding-right: 30px; }
.cb-box label { display: block; font-weight: 700; margin-bottom: 6px; }
.cb-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink); }
.cb-direct { margin: 12px 0 0; text-align: center; }

/* ---------- footer + call bar */
.site-footer { background: var(--ink); color: #DDE6F3; padding: 56px 0 0; border-top: 4px solid var(--amber); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-h { font-family: var(--body); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--amber-hv); }
.logo-plate { display: inline-block; background: #fff; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; }
.logo-plate img { height: 56px; width: auto; }
.foot-phone a { font-family: var(--head); font-size: 1.35rem; }
.foot-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 16px; padding-bottom: 20px; font-size: .9rem; color: var(--on-dark); }
.foot-base p { margin: 0; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }
.callbar { display: none; }
@media (max-width: 799px) {
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 14px rgba(0,0,0,.18); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 8px; background: var(--amber); color: var(--ink); font-weight: 700; text-decoration: none; border: 2px solid var(--amber); }
  .callbar .ph { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
  .cb-num { font-weight: 600; }
  body:not(.no-bar) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.menu-open .callbar { display: none; }
}

/* ---------- calculator restyle (kit classes, locked markup) */
.calc-wrap { padding: 10px 0 64px; }
.roof-calc {
  --calc-font-head: var(--head); --calc-font-body: var(--body);
  --calc-text: #0F2342; --calc-muted: #4A5A72; --calc-surface: #FFFFFF; --calc-surface-alt: #E8EEF7; --calc-border: #8396B2;
  --calc-accent: #1F4E9A; --calc-accent-text: #FFFFFF; --calc-accent-hover: #173C78; --calc-track: #D4DCE8; --calc-focus: #0F2342;
  --calc-success-bg: #E6F2EA; --calc-success-text: #1D5B33; --calc-pending-bg: #F1F4F8; --calc-pending-text: #2E3A4E; --calc-error-bg: #FBECEB; --calc-error-text: #8E1A11;
  --calc-radius: 10px;
}
.roof-calc .calc-card { border-top: 6px solid var(--amber); box-shadow: 0 10px 30px rgba(15,35,66,.08); }
.roof-calc .question-step h2 { font-weight: 400; }
.roof-calc .calc-btn-primary { background: var(--amber); color: var(--ink); border-color: var(--ink); }
.roof-calc .calc-btn-primary:hover { background: var(--amber-hv); border-color: var(--ink); }
.roof-calc .restart { background: var(--amber); color: var(--ink); border-color: var(--ink); }
.roof-calc .restart:hover { background: var(--amber-hv); border-color: var(--ink); }
.roof-calc .choice-card:has(input:checked) { border-color: var(--cobalt); box-shadow: inset 0 0 0 1px var(--cobalt); }
.roof-calc .step-index { color: var(--cobalt); font-weight: 700; }
.roof-calc .amount { color: var(--ink); }
.roof-calc .cost-card { border-top: 4px solid var(--cobalt); }

.answer-note { border-left: 4px solid var(--amber); background: #fff; padding: 10px 14px; border-radius: 6px; margin: 0 0 1em; }
.answer-note p { margin: 0; }
.bg-w .faq-item .answer-note { background: #fff; }
.util-crumbs ol { justify-content: flex-start; margin: 18px 0 0; }
.util-crumbs a { color: var(--cobalt); }
.util-crumbs [aria-current] { color: var(--muted); }
.util-crumbs li + li::before { color: var(--muted); }
.util-head.center p { margin-left: auto; margin-right: auto; }
.form-note { font-size: .92rem; color: var(--muted); margin: 12px 0 0; }
