/* Florence Metal Roof Coating: site styles. Signature H48-S9-P7-B7-R1-F8-M41-C1-I2-E4 (K4 · T1). */
:root {
  --navy: #22345A;
  --ink: #0D1628;
  --steel: #5E7189;
  --muted: #4C5D74;
  --yellow: #F2B90F;
  --yellow-hover: #FFC93A;
  --gold-ink: #7A5A00;
  --page: #FFFFFF;
  --alt: #F2F4F7;
  --tint: #FDF6DD;
  --line: #D5DBE4;
  --head: "Zilla Slab", Rockwell, "Roboto Slab", "DejaVu Serif", Georgia, serif;
  --body: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(13, 22, 40, .12);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body); font-size: 17.5px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.on-dark :focus-visible, .sec.bg-dark :focus-visible, .site-footer :focus-visible, .hero-wash :focus-visible { outline-color: var(--yellow); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.01em; }
h2 { font-size: clamp(27px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 1.8vw, 23px); }
h4 { font-size: 15px; font-family: var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 10px 16px; z-index: 200; border-radius: 6px; font-weight: 700; }
.skip:focus { left: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 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: 17px; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn-primary { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--yellow-hover); color: var(--ink); }
.btn-call { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-call:hover { background: var(--navy); color: #fff; }
.on-dark .btn-call, .bg-dark .btn-call { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row, .btn-row.center { justify-content: center; }
.one-btn { text-align: center; margin-top: 34px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.page-utility .site-header { position: relative; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 84px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 64px; width: auto; }
.main-nav { display: none; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 10px 10px; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav-list > li > a:hover, .nav-list > li > a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-thickness: 2px; }
.sub-toggle { background: none; border: 0; padding: 6px 4px; margin-left: -6px; cursor: pointer; color: var(--ink); min-width: 28px; min-height: 36px; }
.sub-toggle svg { width: 14px; height: 14px; fill: currentColor; transition: transform .15s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--yellow); border-radius: 0 0 8px 8px; box-shadow: var(--shadow); padding: 8px 0; display: none; }
.submenu a { display: block; padding: 9px 18px; text-decoration: none; color: var(--ink); font-weight: 600; }
.submenu a:hover { background: var(--alt); color: var(--navy); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { display: block; }
.has-sub.closed > .submenu { display: none !important; }
.nav-ctas { display: flex; gap: 10px; margin-left: 12px; }
.nav-ctas .btn { min-height: 46px; padding: 10px 14px; font-size: 15.5px; white-space: nowrap; }
.nav-list > li > a { padding: 10px 9px; }
.burger { margin-left: auto; margin-right: -6px; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 2px solid var(--navy); border-radius: 8px; cursor: pointer; color: var(--navy); }
.burger svg { width: 24px; height: 24px; fill: currentColor; }
.mobile-menu { position: fixed; inset: 84px 0 0 0; background: #fff; overflow-y: auto; padding: 14px 20px 40px; border-top: 1px solid var(--line); z-index: 60; }
.mobile-menu[hidden] { display: none; }
.m-list { list-style: none; }
.m-list > li { border-bottom: 1px solid var(--line); }
.m-row { display: flex; align-items: center; justify-content: space-between; }
.m-row a, .m-list > li > a { display: block; padding: 14px 4px; font-weight: 700; font-size: 18px; text-decoration: none; color: var(--ink); flex: 1; }
.m-sub-toggle { width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.m-sub-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.m-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { list-style: none; padding: 0 0 10px 12px; }
.m-sub a { display: block; padding: 10px 4px; text-decoration: none; color: var(--navy); font-weight: 600; }
.m-ctas { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 22px; }
.m-ctas .btn { width: 100%; }
body.menu-open { overflow: hidden; }
@media (min-width: 1180px) {
  .main-nav { display: flex; align-items: center; margin-left: auto; }
  .burger, .mobile-menu { display: none !important; }
}
@media (max-width: 1179px) {
  .head-row { min-height: 72px; }
  .brand img { height: 52px; }
  .mobile-menu { inset: 72px 0 0 0; }
}

/* Breadcrumb */
.crumbs { font-size: 14.5px; margin-bottom: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.crumbs a { color: inherit; }

/* Sections and E4 headings */
.sec { padding: 76px 0; }
.bg-page { background: var(--page); }
.bg-alt { background: var(--alt); }
.bg-tint { background: var(--tint); }
.bg-dark { background: var(--navy); color: #fff; }
.bg-ink { background: var(--ink); color: #fff; }
.bg-dark h2, .bg-dark h3, .bg-ink h2, .bg-ink h3 { color: #fff; }
.sec-head { text-align: center; max-width: 780px; margin: 0 auto 38px; }
.sec-head h2 em { font-style: italic; color: var(--gold-ink); }
.bg-dark .sec-head h2 em, .bg-ink .sec-head h2 em, .bg-dark h2 em, .bg-ink h2 em { color: var(--yellow); }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.bg-dark .sec-head p, .bg-ink .sec-head p { color: #DCE3EE; }
.sec-head p a { font-weight: 700; }
@media (max-width: 760px) { .sec { padding: 52px 0; } .sec-head { margin-bottom: 28px; } }

/* I2 icons */
svg.icon { width: 48px; height: 48px; flex: none; }
svg.icon .ic-bg { fill: var(--navy); }
svg.icon .ic-fg { fill: var(--yellow); }
.bg-dark svg.icon .ic-bg, .bg-ink svg.icon .ic-bg, .hero-wash svg.icon .ic-bg { fill: var(--yellow); }
.bg-dark svg.icon .ic-fg, .bg-ink svg.icon .ic-fg, .hero-wash svg.icon .ic-fg { fill: var(--ink); }
svg.icon.sm { width: 36px; height: 36px; }

/* H48 hero: diagonal brand wash */
.hero-h48 { position: relative; overflow: hidden; background: var(--page); padding: 46px 0 64px; }
.hero-h48::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, #0D1628 0%, #22345A 58%, #5E7189 100%); clip-path: polygon(0 0, 100% 0, 100% 26%, 0 88%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 34px; }
.hero-text { color: #fff; }
.hero-text h1 { color: #fff; text-align: left; }
.hero-text .crumbs { color: #E3E9F2; }
.hero-text .crumbs a { color: #fff; }
.pill { display: inline-block; border: 1.5px solid var(--yellow); color: #fff; border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; }
.hero-intro { font-size: 19px; color: #F1F4F8; max-width: 560px; margin-bottom: 26px; }
.hero-photo { position: relative; justify-self: center; width: 100%; max-width: 620px; }
.hero-photo .frame { background: #fff; padding: 10px; border-radius: 16px; box-shadow: 0 24px 50px rgba(13, 22, 40, .35); }
.hero-photo img { border-radius: 9px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
@media (min-width: 980px) {
  .hero-h48 { padding: 64px 0 84px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; gap: 46px; }
  .hero-text { padding-bottom: 40px; }
}
@media (max-width: 979px) {
  .hero-h48 { padding-top: 0; }
  .hero-h48::before { display: none; }
  .hero-text { position: relative; padding: 34px 0 64px; }
  .hero-text::before { content: ""; position: absolute; top: 0; bottom: 0; left: -20px; right: -20px; background: linear-gradient(115deg, #0D1628 0%, #22345A 62%, #5E7189 100%); clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); z-index: -1; }
  .hero-grid { gap: 8px; z-index: 0; }
  .hero-text .btn-row { flex-direction: column; }
  .hero-text .btn-row .btn { width: 100%; }
  .hero-photo img { aspect-ratio: 4 / 3; }
}

/* Fact strip */
.facts-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.facts-list li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 17px; line-height: 1.3; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sec.facts { padding: 34px 0; }
@media (max-width: 980px) { .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts-list { grid-template-columns: 1fr; } }

/* R1 icon card grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.r1-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; box-shadow: 0 2px 0 rgba(13, 22, 40, .04); }
.r1-card svg.icon { margin-bottom: 14px; }
.r1-card p { margin: 0; color: #253049; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

/* S9 roof-type selector */
.selector { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 34px; }
.selector a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 10px; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; background: #fff; height: 100%; }
.selector a:hover { border-color: var(--navy); }
.selector svg.icon { width: 64px; height: 64px; }
.selector small { display: block; font-weight: 600; color: var(--muted); font-size: 14px; }
.s9-panels { display: grid; gap: 26px; }
.s9-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; scroll-margin-top: 110px; }
.s9-panel img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.s9-body { padding: 28px 30px; }
.s9-tag { display: inline-block; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 6px 0 14px; }
.ticks { list-style: none; }
.ticks li { position: relative; padding-left: 22px; margin-bottom: 6px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink); }
.ticks.warn li::before { background: #fff; box-shadow: 0 0 0 1.5px var(--navy); border-radius: 50%; }
.more { font-weight: 700; }
@media (max-width: 980px) { .selector { grid-template-columns: repeat(3, minmax(0, 1fr)); } .s9-panel { grid-template-columns: 1fr; } .s9-panel img { min-height: 0; aspect-ratio: 16 / 7; } }
@media (max-width: 560px) { .selector { grid-template-columns: repeat(2, minmax(0, 1fr)); } .selector li:last-child { grid-column: 1 / -1; } .two-lists { grid-template-columns: 1fr; } .s9-body { padding: 22px 20px; } }

/* K4 scale rows */
.k4 { max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 30px 18px; }
.k4-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; margin-bottom: 18px; font-weight: 700; }
.k4-legend li { display: flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 18px; height: 18px; flex: none; }
.dot-a { background: var(--yellow); border: 2px solid var(--ink); border-radius: 50%; }
.dot-b { background: var(--navy); border-radius: 3px; transform: rotate(45deg) scale(.85); }
.dot-c { background: #fff; border: 2.5px solid var(--steel); border-radius: 50%; }
.k4-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.k4-row h3 { font-size: 19px; margin: 0; }
.k4-track { position: relative; height: 10px; background: linear-gradient(var(--line), var(--line)) center / 100% 4px no-repeat; margin: 6px 9px 0; }
.k4-track .dot { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.k4-track .dot-b { transform: translate(-50%, -50%) rotate(45deg) scale(.85); }
.k4-ends { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); margin-top: 10px; gap: 12px; }
.k4-ends span:last-child { text-align: right; }
.k4-note { text-align: center; color: var(--muted); font-size: 15px; margin: 14px 0 0; }
@media (max-width: 700px) { .k4 { padding: 20px 18px 12px; } .k4-row { grid-template-columns: 1fr; gap: 10px; } }

/* C1 band */
.band-c1 { padding: 56px 0; }
.band-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; max-width: 820px; margin: 0 auto; }
.band-inner svg.icon { width: 64px; height: 64px; }
.band-copy h2 { margin-bottom: 6px; }
.band-copy p { margin: 0; color: #E6EBF3; font-size: 18px; }
.band-inner .btn { flex: none; }
@media (max-width: 820px) { .band-inner .btn { width: 100%; max-width: 420px; } }

/* B7 before / after */
.b7 { max-width: 1040px; margin: 0 auto; display: grid; gap: 16px; }
.b7-head { display: grid; grid-template-columns: 260px 1fr 1fr; gap: 16px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; padding: 0 4px; }
.b7-row { display: grid; grid-template-columns: 260px 1fr 1fr; gap: 16px; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.b7-name { display: flex; align-items: center; gap: 12px; }
.b7-name h3 { margin: 0; font-size: 20px; }
.b7-cell { border-radius: 8px; padding: 12px 14px; }
.b7-cell p { margin: 0; }
.b7-before { background: var(--alt); border-left: 4px solid var(--steel); }
.b7-after { background: var(--tint); border-left: 4px solid var(--yellow); }
.b7-cell b { display: none; }
@media (max-width: 860px) { .b7-head { display: none; } .b7-row { grid-template-columns: 1fr; } .b7-cell b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; } }

/* P7 numbered circles with photos */
.p7 { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.p7::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 3px; background: var(--yellow); }
.p7 li { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px 16px; }
.p7-num { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: -2px auto 12px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-family: var(--head); font-weight: 700; font-size: 24px; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--navy); position: relative; top: -1px; }
.p7 h3 { text-align: center; font-size: 19px; }
.p7 p { font-size: 16px; color: #253049; flex: 1; margin-bottom: 14px; }
.p7 img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 1100px) { .p7 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .p7 li { grid-column: span 2; } .p7 li:nth-child(1), .p7 li:nth-child(2) { grid-column: span 3; } .p7::before { display: none; } .p7 li { margin-top: 30px; } .p7-num { margin-top: -28px; } }
@media (max-width: 640px) { .p7 { grid-template-columns: 1fr; } .p7 li, .p7 li:nth-child(1), .p7 li:nth-child(2) { grid-column: auto; } }

/* M41 coverage table */
.cov { max-width: 1040px; margin: 0 auto; border-collapse: collapse; width: 100%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.cov th { background: var(--ink); color: #fff; text-align: left; padding: 14px 18px; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; }
.cov td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.cov td:first-child { font-weight: 700; white-space: nowrap; }
.cov td:first-child a { font-size: 18px; }
.cov .home-row td { background: var(--tint); }
.mark { display: inline-block; margin-left: 8px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; vertical-align: middle; }
@media (max-width: 760px) {
  .cov, .cov tbody, .cov tr, .cov td { display: block; width: 100%; }
  .cov thead { position: absolute; left: -9999px; }
  .cov { box-shadow: none; background: transparent; }
  .cov tr { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
  .cov td { border-top: 0; padding: 8px 16px; white-space: normal !important; }
  .cov td:first-child { padding-top: 14px; }
  .cov td::before { content: attr(data-label); display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
}

/* F8 question index with open answers */
.f8-index { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0 auto 30px; }
.f8-index a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--navy); text-decoration: none; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.f8-index a:hover { background: var(--navy); color: #fff; }
.f8-list { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.f8-item { background: #fff; border-left: 5px solid var(--yellow); border-radius: 0 10px 10px 0; padding: 20px 24px; box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); scroll-margin-top: 110px; }
.f8-item h3 { font-size: 20px; }
.f8-item p:last-child { margin-bottom: 0; }

/* Closing */
.closing { text-align: center; }
.closing p { max-width: 640px; margin: 0 auto 26px; color: #DCE3EE; font-size: 18px; }
.closing h2 em { color: var(--yellow); }
@media (max-width: 640px) { .closing .btn-row { flex-direction: column; } .closing .btn-row .btn { width: 100%; } }

/* Split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.split img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split .ticks { margin-top: 6px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 26px; } }

/* Tables */
.tbl-wrap { max-width: 1060px; margin: 0 auto; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.tbl thead th { background: var(--navy); color: #fff; border-top: 0; font-size: 15.5px; }
.tbl tbody th { font-family: var(--body); font-weight: 700; width: 24%; }
@media (max-width: 760px) {
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100% !important; }
  .tbl thead { position: absolute; left: -9999px; }
  .tbl { box-shadow: none; background: transparent; }
  .tbl tr { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
  .tbl th, .tbl td { border-top: 0; padding: 8px 16px; }
  .tbl tbody th { background: var(--alt); padding-top: 12px; padding-bottom: 12px; }
  .tbl td::before { content: attr(data-label); display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
}

/* Service cards */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards > * { grid-column: span 2; }
.cards.n5 > :nth-child(4), .cards.n5 > :nth-child(5) { grid-column: span 3; }
.cards.n4 > * { grid-column: span 3; }
.cards.n2 > * { grid-column: span 3; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.svc-card img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.svc-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-card p { flex: 1; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.info-card svg.icon { margin-bottom: 12px; }
.info-card p { margin: 0; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards > *, .cards.n5 > :nth-child(4), .cards.n4 > *, .cards.n2 > * { grid-column: auto; } .cards.n5 > :nth-child(5), .cards.n3 > :nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .cards.n5 > :nth-child(5), .cards.n3 > :nth-child(3) { grid-column: auto; } }

/* Checklist */
.check-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; max-width: 1000px; margin: 0 auto; }
.check-grid li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.check-grid li p { margin: 0; }
@media (max-width: 760px) { .check-grid { grid-template-columns: 1fr; } }

/* FAQ page */
.faq-intro { max-width: 860px; margin: 0 auto; text-align: center; }
.faq-intro p { font-size: 19px; }
.jump { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.jump a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; }
.faq-cat { max-width: 860px; margin: 0 auto 46px; scroll-margin-top: 110px; }
.faq-cat:last-child { margin-bottom: 0; }
.faq-cat > h2 { text-align: left; border-bottom: 3px solid var(--yellow); padding-bottom: 8px; }
.faq-cat > h2 em { color: var(--gold-ink); }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 24px; margin-top: 16px; }
.qa h3 { font-size: 21px; }
.qa ul { margin: 0 0 1em 1.2em; }
.qa li { margin-bottom: 4px; }
.qa > div > :last-child { margin-bottom: 0; }
.qa table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 16px; }
.qa th, .qa td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.qa thead th { background: var(--alt); }
.sources { list-style: none; columns: 2; column-gap: 30px; }
.sources li { margin-bottom: 8px; break-inside: avoid; }
@media (max-width: 700px) { .sources { columns: 1; } .qa { padding: 18px; } .qa table { display: block; overflow-x: auto; } }

/* Utility pages */
.util-hero { background: var(--alt); padding: 44px 0 30px; border-bottom: 1px solid var(--line); }
.util-hero h1 { font-size: clamp(32px, 4vw, 46px); }
.util-hero p { max-width: 720px; color: var(--muted); font-size: 18px; margin: 0; }
.util-body { padding: 44px 0 72px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; box-shadow: var(--shadow); }
.f-field { margin-bottom: 18px; }
.f-field label { display: block; font-weight: 700; margin-bottom: 6px; }
.f-field .opt { font-weight: 400; color: var(--muted); }
.f-field input, .f-field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #6C7C93; border-radius: 8px; background: #fff; color: var(--ink); min-height: 48px; }
.f-field input:focus, .f-field textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; }
.f-field [aria-invalid="true"] { border-color: #A3201B; }
.f-err { color: #A3201B; font-size: 15px; margin-top: 4px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 8px; 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(--ink); }
.side-card { background: var(--navy); color: #fff; border-radius: 14px; padding: 26px; }
.side-card h2 { color: #fff; font-size: 26px; }
.side-card a { color: #fff; font-weight: 700; }
.side-card .ticks li::before { box-shadow: 0 0 0 1.5px #fff; }
.legal { max-width: 820px; }
.legal h2 { font-size: 26px; margin-top: 34px; }
.legal ul { margin: 0 0 1em 1.3em; }

/* Calculator restyle (kit classes) */
.roof-calc { --calc-font-head: var(--head); --calc-font-body: var(--body); --calc-text: #0D1628; --calc-muted: #4C5D74; --calc-surface: #fff; --calc-surface-alt: #F2F4F7; --calc-border: #8C99AC; --calc-accent: #22345A; --calc-accent-text: #fff; --calc-accent-hover: #0D1628; --calc-track: #D5DBE4; --calc-focus: #22345A; --calc-radius: 12px; }
/* keep each hidden radio inside its own card so a click on the card always selects it */
.roof-calc .choice-card { position: relative; }
.roof-calc .choice-card input { left: 12px; top: 50%; }
.roof-calc .calc-card { box-shadow: var(--shadow); border-top: 6px solid var(--yellow); }
.roof-calc .calc-btn-primary { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); }
.roof-calc .calc-btn-primary:hover { background: var(--yellow-hover); color: var(--ink); }
.roof-calc .choice-card:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); background: var(--tint); }
.roof-calc .step-index { color: var(--gold-ink); font-weight: 700; }
.roof-calc progress::-webkit-progress-value { background: var(--navy); }
.roof-calc progress::-moz-progress-bar { background: var(--navy); }

/* Footer */
.site-footer { background: var(--ink); color: #DCE3EE; padding: 56px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.foot-logo { display: inline-block; background: #fff; padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; }
.foot-logo img { height: 52px; width: auto; }
.site-footer h2 { color: #fff; font-size: 18px; font-family: var(--body); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #fff; }
.foot-base { border-top: 1px solid #2C3A55; margin-top: 34px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; font-size: 15px; }
.foot-base ul { display: flex; gap: 20px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Fixed mobile call bar */
.call-bar { display: none; }
@media (max-width: 1179px) {
  .call-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--ink); box-shadow: 0 -4px 16px rgba(0, 0, 0, .2); }
  .call-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 8px; background: var(--yellow); color: var(--ink); font-weight: 700; text-decoration: none; border: 2px solid var(--yellow); }
  .call-bar svg { width: 18px; height: 18px; fill: currentColor; }
  body.has-callbar .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  body.menu-open .call-bar, body.dialog-open .call-bar { display: none; }
}

/* Callback dialog */
.cb-wrap[hidden] { display: none; }
.cb-wrap { position: fixed; inset: 0; z-index: 120; background: rgba(13, 22, 40, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cb-box { background: #fff; border-radius: 14px; max-width: 440px; width: 100%; padding: 26px; position: relative; border-top: 6px solid var(--yellow); max-height: calc(100vh - 32px); overflow-y: auto; }
.cb-box h2 { font-size: 26px; padding-right: 40px; }
.cb-close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 28px; line-height: 1; color: var(--ink); }
.cb-call { display: block; margin-top: 14px; text-align: center; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
