/* ==========================================================
   Hood Guard Services — site styles
   Dark graphite base, chrome + red accents from the logo,
   with a few light "steel" sections for contrast.
   ========================================================== */

:root {
  /* Surfaces */
  --bg: #0e1116;
  --bg-2: #12161c;
  --surface: #181d25;
  --surface-2: #1f2530;
  --line: #2a313d;
  --line-soft: rgba(255, 255, 255, .07);

  /* Text */
  --text: #eef1f5;
  --muted: #a5afbd;
  --dim: #7d8796;

  /* Brand */
  --red: #e2231a;
  --red-hi: #ff3a2e;
  --red-deep: #9e130d;
  --chrome-1: #ffffff;
  --chrome-2: #c7ced7;
  --chrome-3: #868f9c;
  --chrome: linear-gradient(180deg, #ffffff 0%, #dfe4ea 38%, #8d96a3 52%, #cfd5dc 70%, #f4f6f8 100%);

  /* Light "steel" sections */
  --steel: #eceff3;
  --steel-2: #dfe3e9;
  --ink: #12161c;
  --ink-muted: #4a5361;

  /* Type */
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 76px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul, ol.steps, ol.system { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; font-weight: 700; }
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red-hi);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 800; text-transform: uppercase; font-style: italic;
}
.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--chrome-2);
}
.red-text { color: var(--red-hi); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.5em; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .06em; text-transform: uppercase;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(226, 35, 26, .8); }
.btn-red:hover { background: var(--red-hi); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .28); color: var(--text); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--red-hi); }
.text-link .icon { transition: transform .2s ease; }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(14, 17, 22, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 50px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 10px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--red); border-radius: 2px; margin-top: 2px; }
.header-cta { padding-inline: 1.2em; min-height: 46px; font-size: 1.1rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(calc(100svh - var(--header-h)), 820px);
  display: flex; align-items: center;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(226, 35, 26, .12), transparent 60%),
    var(--bg);
}
.hero-media {
  position: absolute; inset: 0 0 0 auto; width: 60%; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-content { padding-block: clamp(56px, 9vw, 110px); max-width: 640px; }
.hero h1 {
  font-size: clamp(3rem, 7.2vw, 5.8rem); font-weight: 800; font-style: italic;
  text-transform: uppercase; line-height: .92; margin-bottom: .35em;
}
.hero h1 span { display: block; }
.hero .lead { color: #c3cad4; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 1.4rem; color: var(--dim); font-size: .95rem; display: flex; align-items: center; gap: .5em; }
.hero-note .icon { color: var(--red-hi); }
.hero-note strong { color: #e6eaef; font-weight: 700; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-list li {
  display: flex; align-items: center; gap: 12px; padding: 22px 18px;
  border-left: 1px solid var(--line-soft);
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15;
}
.trust-list li:first-child { border-left: 0; }
.trust-list .icon { width: 28px; height: 28px; color: var(--red-hi); }
.trust-list strong { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.trust-list small { display: block; color: var(--muted); font-size: .9rem; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-alt { background: var(--bg-2); }
.section.tight { padding-block: clamp(48px, 6vw, 72px); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { max-width: 760px; margin-inline: auto; }

/* Light steel section (the "mixed" part of the theme) */
.section-light { background: var(--steel); color: var(--ink); }
.section-light .lead, .section-light p { color: var(--ink-muted); }
.section-light .eyebrow { color: var(--red); }
.section-light .section-title { color: var(--ink); }

/* ---------- Steps (Set it & forget it) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 3.4rem; line-height: 1;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 18px;
}
.step .icon { position: absolute; top: 30px; right: 26px; width: 30px; height: 30px; color: var(--red-hi); }
.step h3 { font-size: 1.55rem; text-transform: uppercase; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 56px; right: -20px; width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #000;
}
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.ratio-16x9 { aspect-ratio: 16 / 9; }
.media-frame.ratio-4x3 { aspect-ratio: 4 / 3; }
.media-frame.ratio-4x5 { aspect-ratio: 4 / 5; }
.split.stretch { align-items: stretch; }
.split.stretch .media-frame { height: 100%; min-height: 420px; width: 100%; aspect-ratio: auto; }
.split.stretch .media-frame video { position: absolute; inset: 0; object-position: 65% 50%; }
.media-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: .5em;
  padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px);
  font-size: .85rem; font-weight: 600; color: #fff;
}
.media-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 0 4px rgba(255, 58, 46, .25); }

.time-slots { display: grid; gap: 14px; margin: 28px 0; }
.time-slot {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line);
}
.time-slot .icon-wrap { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(226, 35, 26, .12); color: var(--red-hi); }
.time-slot .icon { width: 24px; height: 24px; }
.time-slot h3 { font-size: 1.35rem; text-transform: uppercase; margin: 2px 0 2px; }
.time-slot p { margin: 0; color: var(--muted); font-size: 1rem; }

.callout {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(226, 35, 26, .16), rgba(226, 35, 26, .03));
  border: 1px solid rgba(226, 35, 26, .35);
}
.callout .icon { width: 28px; height: 28px; color: var(--red-hi); margin-top: 2px; }
.callout h3 { font-size: 1.35rem; text-transform: uppercase; margin-bottom: .2em; }
.callout p { margin: 0; color: #d3d9e1; font-size: 1rem; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ba-grid.two { grid-template-columns: repeat(2, 1fr); }
.ba-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.ba-pair figure { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.ba-pair img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ba-card:hover .ba-pair img { transform: scale(1.04); }
.ba-label {
  position: absolute; top: 12px; left: 12px; padding: 4px 11px; border-radius: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(0, 0, 0, .72); color: #fff;
}
.ba-label.after { background: var(--red); }
.ba-caption { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.ba-caption strong { line-height: 1.15; font-family: var(--font-head); font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; }
.ba-caption span { color: var(--muted); font-size: .95rem; }

/* ---------- Compliance / frequency table ---------- */
.freq-wrap > *, .split > * { min-width: 0; }
.freq-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.freq-table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px -30px rgba(18, 22, 28, .5);
  border: 1px solid var(--steel-2);
}
.freq-table caption { caption-side: bottom; text-align: left; padding-top: 12px; font-size: .9rem; color: var(--ink-muted); }
.freq-table th, .freq-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--steel-2); vertical-align: top; }
.freq-table thead th { white-space: nowrap;
  background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase;
}
.freq-table tbody tr:last-child td { border-bottom: 0; }
.freq-table td:first-child strong { display: block; font-size: 1.08rem; color: var(--ink); }
.freq-table td:first-child span { font-size: .95rem; color: var(--ink-muted); }
.freq-pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--steel); color: var(--ink);
}
.freq-pill.hot { background: var(--red); color: #fff; }
.freq-pill.warm { background: #ffe3e1; color: var(--red-deep); }

.checklist { display: grid; gap: 14px; margin: 24px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px;
  background: var(--red); color: #fff;
}
.checklist .tick .icon { width: 15px; height: 15px; }
.section-light .checklist li { color: var(--ink); }

/* ---------- Who shows up teaser ---------- */
.who {
  position: relative; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); background: var(--surface);
}
.who-media { min-height: 420px; position: relative; }
.who-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who-body { padding: clamp(32px, 5vw, 64px); align-self: center; }
.who-points { display: grid; gap: 12px; margin: 22px 0 28px; }
.who-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.who-points .icon { color: var(--red-hi); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(80px, 12vw, 150px) clamp(64px, 9vw, 110px);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 17, 22, .97) 0%, rgba(14, 17, 22, .86) 45%, rgba(14, 17, 22, .55) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 40%);
}
.page-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 800; font-style: italic; text-transform: uppercase; line-height: .95; max-width: 14ch; }
.page-hero .lead { color: #c3cad4; }
.crumbs { display: flex; gap: 8px; color: var(--dim); font-size: .9rem; margin-bottom: 18px; }
.crumbs a:hover { color: #fff; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 30px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: rgba(226, 35, 26, .5); transform: translateY(-4px); }
.card .icon-badge {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(145deg, #2a313d, #161b22); border: 1px solid #39414f; color: var(--red-hi);
}
.card .icon-badge .icon { width: 28px; height: 28px; }
.card h3 { font-size: 1.6rem; text-transform: uppercase; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card.feature { grid-column: span 3; display: grid; grid-template-columns: 56px 1fr auto; gap: 24px; align-items: center; background: linear-gradient(135deg, rgba(226, 35, 26, .14), var(--surface) 55%); border-color: rgba(226, 35, 26, .35); }
.card.feature .icon-badge { margin: 0; }
.card.feature h3 { margin-bottom: .2em; }
.section-light .card { background: #fff; border-color: var(--steel-2); }
.section-light .card h3 { color: var(--ink); }
.section-light .card p { color: var(--ink-muted); }
.section-light .card .icon-badge { background: var(--ink); border-color: var(--ink); }

/* ---------- System path (Services) ---------- */
.system { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.system-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.system-item .thumb { aspect-ratio: 4 / 3; overflow: hidden; }
.system-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.system-item .body { padding: 20px 22px 24px; }
.system-item .num {
  position: absolute; top: 14px; left: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
}
.system-item h3 { font-size: 1.45rem; text-transform: uppercase; }
.system-item p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--steel-2); font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; color: var(--ink);
}
.industry .icon { width: 28px; height: 28px; color: var(--red); }

/* ---------- About ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.stat { padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.stat strong {
  display: block; font-family: var(--font-head); font-weight: 800; font-style: italic; font-size: 2.6rem; line-height: 1;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat > span { color: var(--muted); font-size: .95rem; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin-inline: auto; }
.team-callout { max-width: 780px; margin: 24px auto 0; }
.team-card { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.team-photo { aspect-ratio: 4 / 5; background: radial-gradient(circle at 50% 35%, #2a313d, #12161c 70%); display: grid; place-items: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-body { padding: 20px 22px 24px; }
.team-body h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: .1em; }
.team-body .role { color: var(--red-hi); font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; }
.team-body p { color: var(--muted); font-size: .98rem; margin: .6em 0 0; }

.cred-panel {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: #fff; border: 1px solid var(--steel-2);
}
.cred-panel img { width: 120px; }
.cred-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cred-list li { display: flex; gap: 12px; align-items: flex-start; }
.cred-list .icon { width: 26px; height: 26px; color: var(--red); margin-top: 2px; }
.cred-list strong { display: block; font-family: var(--font-head); font-size: 1.25rem; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.cred-list span { font-size: .95rem; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease; }
.faq details[open] { border-color: rgba(226, 35, 26, .45); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; border-right: 2.5px solid var(--red-hi); border-bottom: 2.5px solid var(--red-hi);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 32px 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease;
}
a.contact-card:hover { border-color: rgba(226, 35, 26, .55); transform: translateY(-4px); }
.contact-card .icon-badge { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; margin-bottom: 14px; }
.contact-card .icon-badge .icon { width: 26px; height: 26px; }
.contact-card .label { font-family: var(--font-head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-size: .95rem; }
.contact-card .value { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; word-break: break-word; }
.contact-card .value.small { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.contact-card .value.email { font-size: clamp(1rem, 1.3vw, 1.15rem); word-break: normal; overflow-wrap: anywhere; }
.contact-card p { color: var(--muted); margin: 6px 0 0; font-size: .98rem; }
.contact-card.primary { background: linear-gradient(145deg, rgba(226, 35, 26, .22), var(--surface) 60%); border-color: rgba(226, 35, 26, .5); }

/* ---------- CTA banner (every page) ---------- */
.cta-band { padding-block: clamp(56px, 7vw, 88px); background: var(--bg); }
.cta-box {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 60px); border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(120deg, #b5170f 0%, #e2231a 45%, #7d0f0a 100%);
  box-shadow: 0 30px 80px -30px rgba(226, 35, 26, .55);
}
.cta-box::before {
  content: ""; position: absolute; right: -60px; top: 50%; width: 340px; height: 340px; transform: translateY(-50%); z-index: -1;
  background: url("../img/shield-512.png") center / contain no-repeat; opacity: .14; filter: grayscale(1) brightness(2);
}
.cta-box h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; font-style: italic; text-transform: uppercase; margin-bottom: .2em; }
.cta-box p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.1rem; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta-actions .btn-light { background: #fff; color: var(--ink); }
.cta-actions .btn-light:hover { background: #f1f1f1; }
.cta-actions .btn-outline-light { border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; font-size: 1rem; text-transform: none; letter-spacing: .02em; font-family: var(--font-body); font-weight: 600; }
.cta-actions .btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #090b0f; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .98rem; }
.footer-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px 32px; align-items: center; padding-block: 40px; }
.footer-logo img { width: 190px; min-width: 190px; }
.footer-services { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 10px 28px; }
.footer-services li { display: flex; align-items: center; gap: 10px; }
.footer-services li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.footer-services a { white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .2s ease; }
.footer-services a:hover { color: #fff; }
.footer-cta { display: flex; gap: 12px; }
.footer-cta .btn { min-height: 46px; font-size: 1.02rem; padding-inline: 1.2em; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding-block: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; color: var(--dim); }
.footer-bottom button { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.footer-bottom button:hover { color: #fff; }

/* ---------- Terms dialog ---------- */
.terms-dialog {
  width: min(640px, calc(100% - 32px)); max-height: 85vh; padding: 0; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: var(--shadow);
}
.terms-dialog::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.terms-inner { padding: 36px 32px 32px; }
.terms-inner h2 { font-size: 2rem; text-transform: uppercase; font-style: italic; }
.terms-inner p { color: var(--muted); }
.terms-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.terms-close:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .steps, .steps.three { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .system { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 24px; }
  .cred-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: rgba(12, 15, 19, .98); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 14px 8px; font-size: 1.35rem; border-radius: 8px; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--red-hi); }
  body.nav-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  body.nav-open .nav-toggle .i-open { display: none; }
  body.nav-open .nav-toggle .i-close { display: block; }
  .header-cta { margin-left: auto; }

  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; inset: auto; width: 100%; aspect-ratio: 3 / 2; -webkit-mask-image: none; mask-image: none; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, transparent 45%); }
  .hero-content { padding-top: 8px; max-width: none; }

  .split, .freq-wrap, .who { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .split.stretch .media-frame { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .who-media { min-height: 0; aspect-ratio: 4 / 3; }
  .card-grid, .contact-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid.two { grid-template-columns: 1fr 1fr; }
  .card.feature { grid-column: span 2; grid-template-columns: 56px 1fr; }
  .card.feature .btn { grid-column: 1 / -1; justify-self: start; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .cred-panel { grid-template-columns: 1fr; }
  .cred-panel img { width: 90px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  /* tighter spacing on phones */
  .section { padding-block: 52px; }
  .section.tight { padding-block: 40px; }
  .section-head { margin-bottom: 28px; }
  .page-hero { padding-block: 56px 44px; }
  .hero-content { padding-block: 4px 44px; }
  .cta-band { padding-block: 40px; }
  .cta-box { padding: 26px 20px; gap: 22px; }
  .step, .card, .contact-card { padding: 22px 20px; }
  .step::before { font-size: 2.8rem; margin-bottom: 12px; }
  .step .icon { top: 22px; right: 20px; }
  .steps, .card-grid, .contact-grid, .ba-grid, .system, .team-grid, .industries, .time-slots, .faq { gap: 14px; }
  .time-slot { padding: 14px 16px; }
  .callout { padding: 18px; }
  .who-body { padding: 26px 20px; }
  .ba-caption { padding: 12px 14px; }
  .system-item .body, .team-body { padding: 16px 18px 18px; }
  .footer-main { padding-block: 32px; gap: 20px; }
  .lead { margin-bottom: .8em; }
  .header-cta .num { display: none; }
  .header-cta { width: 46px; min-height: 46px; padding: 0; }
  .header-cta .icon { width: 20px; height: 20px; }
  .header-inner { gap: 10px; }
  .trust-list { grid-template-columns: minmax(0, 1fr); }
  .trust-list li { border-left: 0 !important; border-top: 1px solid var(--line-soft); padding: 14px 4px; font-size: .98rem; }
  .trust-list li:first-child { border-top: 0; }
  .trust-list strong { font-size: 1.3rem; }
  .steps, .steps.three, .system, .ba-grid, .ba-grid.two, .card-grid, .contact-grid, .team-grid, .team-grid.two, .industries, .stat-row { grid-template-columns: 1fr; }
  .card.feature { grid-column: auto; grid-template-columns: 1fr; gap: 16px; }
  .btn { white-space: normal; text-align: center; }
  .hero-actions .btn, .cta-actions .btn, .freq-wrap .btn, .card.feature .btn { width: 100%; }
  .freq-table th, .freq-table td { padding: 14px 12px; }
  .freq-table thead th { white-space: normal; font-size: .95rem; }
  .freq-pill { font-size: .9rem; padding: 5px 10px; }
  .footer-cta { flex-direction: column; width: 100%; }
  .footer-cta .btn { width: 100%; }
  .footer-services { grid-template-columns: auto; gap: 10px; justify-items: start; }
  .footer-bottom { justify-content: center; text-align: center; }
  .faq summary { font-size: 1.2rem; padding: 18px 18px; }
  .faq .answer { padding: 0 18px 18px; }
}
