/* TerraShield Group - shared styles
   Palette: primary #153448, buttons #66C7BD, background #F4F7F6, text #263640.
   Burgundy (logo lettering) marks fire-safety items only.
   Type: headings Manrope Bold, service card headings Manrope SemiBold, paragraphs Inter Regular. */

:root {
  --ink: #263640;          /* body text */
  --navy: #153448;         /* primary: dark sections, header bars, dark buttons */
  --navy-2: #1D4259;       /* cards on dark sections */
  --navy-line: #335A72;    /* borders on dark sections */
  --navy-deep: #0F2736;    /* footer */
  --ink-2: #1D4259;
  --ink-line: #335A72;
  --accent: #1D6B64;       /* links / highlights on light (teal, 6:1 on white) */
  --burgundy: #8A1C2B;     /* fire-safety accent */
  --burgundy-soft: #F6E6E8;
  --beige: #D3EEEA;        /* soft teal tint: icon tiles, ticks, badges */
  --cream: #F4F7F6;        /* page background */
  --bg: #F4F7F6;
  --line: #D5DFDD;
  --muted: #4B5B66;        /* secondary text on light (6.6:1) */
  --muted-dark: #C7D6DE;   /* secondary text on dark */
  --cta: #66C7BD;          /* buttons */
  --cta-hover: #4FB6AB;
  --cta-ink: #153448;      /* text on buttons (6.5:1) */
  --error: #B3261E;
  --white: #FFFFFF;
  --radius: 16px;
  --font-display: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-brand: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 18px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--cta); border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--cta); color: var(--ink); padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 7vw, 104px) 0; }
.section--sm { padding: clamp(48px, 5vw, 80px) 0; }
.section--tint { background: var(--white); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark .muted, .section--dark .lead { color: var(--muted-dark); }
.section--dark .form-card .muted, .section--dark .card:not(.card--on-dark):not(.card--dark) .muted { color: var(--muted); }
.stack { display: flex; flex-direction: column; gap: var(--gap, 20px); }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split--center { align-items: center; }
.split > .side { flex: 1 1 360px; min-width: 0; }
.split > .main { flex: 999 1 560px; min-width: 0; }
.split > .half { flex: 1 1 440px; min-width: 0; }
.grid { display: grid; gap: var(--gap, 20px); grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 280px), 100%), 1fr)); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.measure { max-width: 720px; }
@media (min-width: 1000px) { .sticky { position: sticky; top: 24px; align-self: flex-start; } }

/* ---------- type ---------- */
.h1 { font-weight: 700; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.h2 { font-weight: 700; font-size: clamp(30px, 3.3vw, 46px); letter-spacing: -0.015em; text-wrap: balance; }
.h3 { font-weight: 700; font-size: 22px; line-height: 1.25; }
.lead { font-size: clamp(19px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.small { font-size: 16px; }
.tiny { font-size: 15px; }
.eyebrow {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 9px; border-radius: 6px; background: var(--navy); color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--beige); }
.eyebrow--light { background: var(--beige); color: var(--ink); }
.eyebrow--light::before { background: var(--navy); }
.big-phone { font-family: var(--font-display); font-weight: 700; font-size: 26px; text-decoration: none; letter-spacing: -0.01em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 10px; border: 2px solid var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap; background: var(--white); color: var(--ink);
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { color: var(--ink); background: var(--cream); }
.btn--cta { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.btn--cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: var(--cta-ink); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: #0F2736; color: var(--white); }
.btn--on-dark { background: transparent; color: var(--white); border-color: var(--white); }
.btn--on-dark:hover { background: rgba(255,255,255,.1); color: var(--white); }
.section--dark .btn--cta, .cta-band .btn--cta { border-color: var(--cta); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn svg { flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 17px; }

/* ---------- header ---------- */
.topbar { background: var(--navy); color: var(--muted-dark); font-size: 15px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; }
.topbar .reply { display: inline-flex; align-items: center; gap: 8px; }
.topbar .reply svg { color: var(--beige); }
.topbar-right { display: flex; align-items: center; gap: 20px; }

.site-header { position: relative; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 64px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-brand); font-size: 22px; letter-spacing: 0.14em; color: var(--burgundy); text-transform: uppercase; }
.brand-sub { font-family: var(--font-brand); font-size: 12px; letter-spacing: 0.5em; color: var(--burgundy); padding-top: 5px; }

.main-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav li { position: static; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; color: var(--ink);
  font-family: var(--font-display); font-weight: 600; font-size: 16px; white-space: nowrap;
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: transparent;
}
.nav-link:hover { color: var(--ink); text-decoration-color: var(--line); }
.nav-link[aria-current="page"], .nav-link.is-section { text-decoration-color: var(--cta); }
.mega-toggle { display: inline-grid; place-items: center; width: 32px; height: 44px; margin-left: -8px; border: 0; background: none; cursor: pointer; color: var(--ink); border-radius: 6px; }
.mega-toggle svg { transition: transform .15s ease; }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.icon-btn { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; border: 2px solid var(--ink); background: var(--cta); color: var(--ink); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(21,52,72,.14); }
.mega .container { padding-top: 28px; padding-bottom: 32px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-label { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.mega-col a { display: block; padding: 10px 12px; margin: 0 -12px; border-radius: 10px; text-decoration: none; }
.mega-col a:hover { background: var(--cream); color: var(--ink); }
.mega-col a strong { font-family: var(--font-display); }
.mega-col a span { display: block; color: var(--muted); font-size: 16px; }
.mega-aside { padding: 24px; border-radius: 14px; background: var(--cream); display: flex; flex-direction: column; gap: 12px; align-self: start; }

/* mobile menu uses <details> so it works without JavaScript */
.mobile-menu { display: none; }
.mobile-menu > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: var(--navy); color: var(--white); cursor: pointer; }
.mobile-menu > summary::-webkit-details-marker { display: none; }
.mobile-menu .icon-close { display: none; }
.mobile-menu[open] .icon-open { display: none; }
.mobile-menu[open] .icon-close { display: block; }
.mobile-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(21,52,72,.14); padding: 8px 16px 24px; }
.mobile-panel ul { list-style: none; }
.mobile-panel a.m-link { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid #E2EAE8; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.mobile-panel a.m-sub { min-height: 50px; padding-left: 16px; font-family: var(--font-body); font-weight: 400; font-size: 18px; }
.mobile-panel a[aria-current="page"] { color: var(--accent); }
.mobile-panel .btn-row { flex-direction: column; align-items: stretch; padding-top: 20px; }

.site-header .container, .topbar .container { max-width: 1400px; }
@media (max-width: 1400px) { .hide-md { display: none !important; } }
@media (max-width: 1200px) {
  .hide-sm { display: none !important; }
  .icon-btn, .mobile-menu { display: inline-flex; }
  .mobile-menu { display: block; }
  .brand img { width: 52px; }
  .brand-name { font-size: 19px; }
}
@media (max-width: 440px) {
  .brand { gap: 10px; }
  .brand-name { font-size: 16px; letter-spacing: 0.1em; }
  .brand-sub { font-size: 10px; letter-spacing: 0.42em; }
}
@media (max-width: 340px) { .brand-text { display: none; } }

/* ---------- breadcrumb & page hero ---------- */
.breadcrumb { font-size: 15px; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; padding: 0 8px; }
.breadcrumb a { color: inherit; }
.section--dark .breadcrumb { color: var(--muted-dark); }
.section--dark .breadcrumb [aria-current] { color: var(--white); }
.page-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 5vw, 72px); }
.hero { padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 6vw, 88px); }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; padding-top: 8px; }
.hero-form { flex: 1 1 400px; max-width: 500px; min-width: 0; width: 100%; }
.hero-call { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--ink-line); }
.hero-call .big-phone { color: var(--white); display: inline-flex; align-items: center; gap: 10px; }
.hero-call .big-phone svg { color: var(--cta); }

/* tick list */
.ticks { list-style: none; display: grid; gap: 14px 24px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; margin-top: 1px;
  background: var(--beige) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23153448' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.creds { list-style: none; }
.creds li { flex-direction: row; align-items: center; padding: 22px 24px; }
.creds li::before {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--beige) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23153448' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.creds li.todo-item::before { background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355504A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / 18px no-repeat; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D6B64' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.dots { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.dots li { display: flex; gap: 12px; }
.dots li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); margin-top: 11px; }

/* ---------- cards ---------- */
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); border: 1.5px solid var(--line); background: var(--white); color: var(--ink); text-decoration: none; }
.card--lg { padding: 32px; border-radius: 18px; }
.card--flush { padding: 0; overflow: hidden; gap: 0; }
.card--tint { background: var(--cream); border-color: transparent; }
.card--dark { background: var(--navy); color: var(--white); border-color: var(--ink); }
.card--dark .muted { color: var(--muted-dark); }
.section--dark .card--on-dark { background: var(--ink-2); border-color: var(--ink-line); color: var(--white); }
.section--dark .card--on-dark p { color: var(--muted-dark); }
.card--cta { background: var(--cta); border-color: var(--cta); }
.card--dashed { border-style: dashed; border-color: #8A97A8; }
a.card:hover { color: var(--ink); }
.lift { transition: transform .18s ease, box-shadow .18s ease; }
.lift:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(21,52,72,.12); }
.card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* photo cards */
.card-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--cream); }
.card-img--icon { display: grid; place-items: center; color: var(--burgundy); background: linear-gradient(135deg, var(--cream), var(--beige)); }
.card-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.photo { margin: 0; border-radius: 18px; overflow: hidden; background: var(--cream); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { padding: 12px 16px; font-size: 15px; color: var(--muted); background: var(--white); }

/* hero with a subdued background photo */
.hero--photo { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 45%; filter: saturate(.6); }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21,52,72,.95) 0%, rgba(21,52,72,.88) 50%, rgba(21,52,72,.82) 100%); }
@media (max-width: 860px) {
  .hero-bg img { filter: blur(6px) saturate(.6); transform: scale(1.08); }
  .hero--photo::before { background: rgba(21,52,72,.86); }
}
/* "questions to ask" comparison */
.ask-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.ask-table th, .ask-table td { text-align: left; padding: 18px 22px; border-top: 1px solid var(--line); vertical-align: top; }
.ask-table thead th { border-top: 0; background: var(--navy); color: var(--white); font-family: var(--font-display); }
.ask-table tbody th { font-weight: 700; width: 46%; }
.ask-table .yes { display: flex; gap: 12px; align-items: flex-start; }
.ask-table .yes::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--beige) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23153448' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (max-width: 640px) {
  .ask-table thead { display: none; }
  .ask-table tr { display: block; border-top: 1px solid var(--line); padding: 16px 18px; }
  .ask-table tr:first-child { border-top: 0; }
  .ask-table tbody th, .ask-table td { display: block; width: auto; padding: 0; border: 0; }
  .ask-table tbody th { margin-bottom: 8px; }
}

.icon-tile { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--beige); color: var(--ink); }
.icon-tile--sm { width: 44px; height: 44px; }
.icon-tile--fire { background: var(--burgundy); color: var(--white); }
.icon-tile--soft { background: var(--cream); }
.icon-tile--fire-soft { background: var(--burgundy-soft); color: var(--burgundy); }
.tile-head { display: flex; align-items: center; gap: 14px; }
.kicker { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.service-card .body { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.service-card .more { margin-top: auto; background: var(--cream); padding: 20px 32px 24px; display: flex; flex-direction: column; }
.service-card .more a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.service-card .more a:last-child { border-bottom: 0; }
.service-card .more strong { font-family: var(--font-display); font-size: 18px; }
.service-card .more span span { display: block; color: var(--muted); font-size: 16px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pills li, .pill { padding: 6px 12px; border-radius: 999px; background: var(--cream); font-size: 16px; }
.jump { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; }
.jump a, .chip-link { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); text-decoration: none; font-weight: 700; font-size: 16px; }
.jump a:hover, .chip-link:hover { border-color: var(--ink); color: var(--ink); }
.jump-bar { background: var(--white); border-bottom: 1px solid var(--line); }

.items { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.items li { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.items li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.items--fire li::before { background: var(--burgundy); }

.note { display: flex; gap: 18px; padding: 24px 28px; border-radius: var(--radius); background: var(--beige); align-items: flex-start; }
.note--fire { background: var(--burgundy-soft); }
.note svg { flex: none; margin-top: 2px; }
.goodtoknow { padding: 14px 16px; border-radius: 10px; background: var(--cream); font-size: 16px; }

/* stat bar */
.stats { background: var(--white); border-bottom: 1px solid var(--line); padding: 36px 0; }
.stat-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1.1; color: var(--navy); }

/* steps */
.steps { list-style: none; }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1; color: var(--accent); }
.section--dark .step-num { color: var(--beige); }

/* rows list (why choose) */
.rows { background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; }
.rows > div { display: flex; gap: 20px; padding: 28px 32px; border-bottom: 1px solid var(--line); }
.rows > div:last-child { border-bottom: 0; }

/* report illustration */
.report { background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px rgba(21,52,72,.10); overflow: hidden; }
.report-head { background: var(--navy); color: var(--white); padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--beige); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.report-meta { padding: 22px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 14px 24px; border-bottom: 1px solid var(--line); }
.report-meta span { display: block; font-size: 14px; color: var(--muted); }
.report-rows { padding: 8px 24px 4px; font-variant-numeric: tabular-nums; }
.report-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #E2EAE8; }
.report-rows div:last-child { border-bottom: 0; }
.report-remind { margin: 8px 24px 24px; padding: 14px 16px; border-radius: 12px; background: var(--cream); display: flex; align-items: center; gap: 12px; }
.fail { color: var(--burgundy); }

/* table */
.table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; font-size: 17px; min-width: 520px; }
.table th { background: var(--navy); color: var(--white); text-align: left; padding: 16px 22px; font-family: var(--font-display); font-weight: 700; }
.table td { padding: 16px 22px; border-top: 1px solid var(--line); }
.table tbody tr:nth-child(even) { background: #F4F7F6; }
.table td:last-child { font-weight: 700; white-space: nowrap; }

/* photo placeholder */
.photo-slot {
  min-height: 380px; border-radius: 18px; border: 1.5px dashed #8A97A8; padding: 24px; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(135deg, #E6ECF3 0 14px, #F2F5F9 14px 28px); color: var(--muted); font-size: 16px;
}
.photo-slot > span { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; max-width: 30ch; }
.photo-slot strong { color: var(--ink); }
.photo-slot--portrait { aspect-ratio: 4 / 5; min-height: 0; }

/* placeholders that still need client details */
.todo { padding: 22px 24px; border-radius: 14px; border: 1.5px dashed #8A97A8; color: var(--muted); }

/* ---------- FAQ (native details) ---------- */
.faq { background: var(--white); border-radius: 18px; border: 1.5px solid var(--line); padding: 4px 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23153448' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.faq details[open] summary::after { background-color: var(--beige); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23153448' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.faq details p { margin: 0 0 24px; max-width: 64ch; color: var(--muted); }
@media (max-width: 600px) { .faq { padding: 4px 20px; } .faq summary { font-size: 18px; } }

/* ---------- forms ---------- */
.form-card { background: var(--white); color: var(--ink); border-radius: 18px; border: 1.5px solid var(--line); box-shadow: 0 24px 60px rgba(10,30,42,.35); padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 20px; }
.form-card .form-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.form-card h2 { font-weight: 700; font-size: 28px; line-height: 1.15; }
.progress { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.progress span { height: 6px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--navy); }
.qf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qf legend { padding: 0 0 8px; font-weight: 700; font-size: 17px; }
.qf form, .qf-step { display: flex; flex-direction: column; gap: 18px; }
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-weight: 700; font-size: 16px; }
.opt { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; min-height: 52px; padding: 0 14px; border-radius: 10px; border: 2px solid #7A8698;
  font: inherit; font-size: 18px; color: var(--ink); background: var(--white);
}
textarea.input { padding: 12px 14px; min-height: 96px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--error); }
.error { color: var(--error); font-weight: 700; font-size: 16px; }
.choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 10px; cursor: pointer;
  border: 2px solid #C3CEDB; background: var(--white); font-weight: 700; font-size: 16px; line-height: 1.25;
}
.choice label::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 5px; border: 2px solid #7A8698; background: var(--white) center / 12px no-repeat; }
.choice input:checked + label { border-color: var(--ink); background: #E3F4F2; }
.choice input:checked + label::before { border-color: var(--ink); background-color: var(--cta); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23153448' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.choice input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--cta); }
.choice--radio label { justify-content: center; }
.choice--radio label::before { border-radius: 50%; }
.choice--radio input:checked + label { background: var(--navy); color: var(--white); }
.choice--radio input:checked + label::before { background-image: none; box-shadow: inset 0 0 0 3px var(--ink); background-color: var(--cta); border-color: var(--white); }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.form-done { display: flex; flex-direction: column; gap: 16px; }
.done-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--cta); display: grid; place-items: center; }
.summary { padding: 16px; border-radius: 12px; background: var(--cream); display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 16px; margin: 0; }
.summary dt { font-weight: 700; }
.summary dd { margin: 0; }

/* contact list on dark */
.contact-list { padding: 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 18px; }
.contact-list > div { display: flex; gap: 14px; }
.contact-list .icon-tile { width: 44px; height: 44px; background: var(--beige); }
.contact-list span.lbl { display: block; color: var(--muted-dark); font-size: 15px; }
.contact-list a { color: var(--white); }
.numbered { list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: n; }
.numbered li { display: flex; gap: 12px; counter-increment: n; }
.numbered li::before { content: counter(n); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }

/* FAQ page filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 46px; padding: 0 18px; border-radius: 999px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 16px; background: var(--white); color: var(--ink); border: 2px solid var(--ink); }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.search-wrap { position: relative; max-width: 640px; }
.search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.search-wrap .input { padding-left: 50px; min-height: 56px; border-radius: 12px; }

/* CTA band */
.cta-band { padding: clamp(32px, 4vw, 56px); border-radius: 22px; background: var(--navy); color: var(--white); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band > div:first-child { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cta-band p { color: var(--muted-dark); font-size: 19px; }
.cta-band--light { background: var(--cream); color: var(--ink); }
.cta-band--light p { color: var(--muted); }

/* ---------- footer ---------- */
.footer-cta { background: var(--beige); color: var(--ink); }
.footer-cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 28px; }
.footer-cta strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.site-footer { background: var(--navy-deep); color: var(--muted-dark); font-size: 17px; }
.footer-grid { padding-top: 56px; padding-bottom: 32px; display: grid; gap: 40px 32px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.footer-logo { width: 150px; border-radius: 12px; background: var(--white); padding: 10px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer h2 { font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--beige); font-weight: 700; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .strong-link { color: var(--white); font-weight: 700; }
.footer-base { border-top: 1px solid #24475C; padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 15px; color: #A9BCC6; }

/* sticky mobile action bar */
.mobile-bar { display: none; position: sticky; bottom: 0; z-index: 40; gap: 10px; padding: 12px 16px; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(21,52,72,.12); }
.mobile-bar .btn { flex: 1; min-height: 52px; padding: 0 12px; }
.mobile-bar .btn--cta { flex: 1.4; }
@media (max-width: 1200px) { .mobile-bar { display: flex; } }

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .rows > div { padding: 22px 20px; gap: 14px; }
  .card--lg, .service-card .body { padding: 24px; }
  .service-card .more { padding: 16px 24px 20px; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- guides (resources) ---------- */
.guide-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.guide-card:hover { color: var(--ink); }
.guide-tag { height: 170px; border-radius: 18px; display: flex; align-items: flex-end; padding: 20px; font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; background: var(--navy); color: var(--white); transition: transform .18s ease; }
.guide-card:hover .guide-tag { transform: translateY(-3px); }
.guide-tag--gold { background: var(--beige); color: var(--navy); }
.guide-tag--fire { background: var(--burgundy); color: var(--white); }
.guide-tag--light { background: var(--cream); color: var(--navy); border: 1.5px solid var(--line); }
.guide-meta { font-size: 15px; color: var(--muted); }
.guide-title { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.3; }
.answer { padding: 20px 24px; border-radius: 14px; background: var(--white); border-left: 5px solid var(--navy); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 28px; font-weight: 700; margin: 36px 0 12px; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- key facts box (service hero) ---------- */
.facts { padding: 26px; border-radius: 18px; background: var(--navy-2); border: 1px solid var(--navy-line); }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 16px; }
.facts dt { color: var(--muted-dark); }
.facts dd { margin: 0; font-weight: 700; color: var(--white); }

/* ---------- sample report (HTML version of the PDF) ---------- */
.sample-report { background: var(--white); border: 1.5px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px rgba(21,52,72,.10); overflow: hidden; }
.sr-bar { height: 8px; background: var(--navy); }
.sr-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 20px 22px 16px; border-bottom: 1px solid var(--line); }
.sr-head img { width: 64px; height: auto; }
.sr-head .sr-title { flex: 1 1 220px; }
.sr-head .sr-title small { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--navy); }
.sr-head .sr-title strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--navy); }
.sr-head .sr-title span { font-size: 14px; color: var(--muted); }
.sr-badge { padding: 6px 12px; border-radius: 8px; background: #D99A2B; color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .05em; }
.sr-table-wrap { overflow-x: auto; }
.sr-table { width: 100%; min-width: 760px; font-size: 14px; font-variant-numeric: tabular-nums; }
.sr-table th { background: var(--navy); color: var(--white); text-align: left; padding: 10px 12px; font-family: var(--font-display); font-weight: 700; border-bottom: 3px solid #D99A2B; }
.sr-table td { padding: 9px 12px; white-space: nowrap; }
.sr-table tbody tr:nth-child(even) { background: #F1F5F4; }
.sr-table tr.sr-fail { background: #FDECEC !important; }
.sr-pass { color: #1E7A4C; font-weight: 700; }
.sr-failtxt { color: #B3261E; font-weight: 700; }
.sr-foot { padding: 14px 22px 18px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 8px; }
.sr-foot strong { color: var(--ink); }

/* ---------- service list cards ---------- */
.svc-card .std { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.svc-card .std b { color: var(--accent); }
.cat-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
/* ---------- type roles ---------- */
/* service / card headings: Manrope SemiBold */
.card h3, .card .h3, .service-card .more strong, .mega-col a strong, .guide-title { font-family: var(--font-display); font-weight: 600; }
/* paragraphs: Inter Regular */
p, li, td, dd { font-family: var(--font-body); }

/* ---------- home: report image left, copy right ---------- */
.report-split { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.report-shot { margin: 0; padding: clamp(16px, 2.6vw, 32px); border-radius: 22px; background: var(--navy); }
.report-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); align-items: start; }
.report-page { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.report-page:hover { color: var(--white); }
.report-page img { width: 100%; border-radius: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.35); transition: transform .2s ease; }
.report-page:hover img { transform: translateY(-4px); }
.report-shot figcaption { margin-top: 16px; font-size: 15px; color: var(--muted-dark); }
@media (min-width: 1000px) {
  .report-split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; }
  .report-page + .report-page { margin-top: 48px; }

}

/* ---------- home: service areas image ---------- */
.areas-split { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.areas-photo { margin: 0; border-radius: 22px; overflow: hidden; background: var(--navy); }
.areas-photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
@media (min-width: 1000px) {
  .areas-split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 64px; }
  .areas-photo img { aspect-ratio: 4 / 5; }
}

/* resources: sample report cards */
.report-card { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.report-card > .stack { flex: 1 1 220px; min-width: 0; }
.report-thumb { flex: 0 1 200px; display: block; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(21,52,72,.12); }
.report-thumb img { width: 100%; transition: transform .2s ease; }
.report-thumb:hover img { transform: scale(1.02); }
/* hidden spam trap on forms (bots fill it in, people never see it) */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
button[aria-busy="true"] { opacity: .7; cursor: progress; }
