/*
 * integra-ds.css — Integra Pool Covers Design System
 * Version: 1.0 · 2026-06-23
 * MOBILE-FIRST. All media queries are min-width (small → large).
 * Expects Google Fonts:
 *   Plus Jakarta Sans 700,800  (headlines)
 *   Manrope 300,400,500,600    (body / labels)
 */

/* ============================================================
   0. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@700;800&family=Manrope:wght@300;400;500;600&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --brand:       #0057B7;
  --brand-dark:  #00408B;

  /* Dark family — ONE dark, ONE deep-dark */
  --navy:        #0A2F54;
  --navy-deep:   #06203A;

  /* Text */
  --ink:         #14202E;
  --ink-2:       #3D4A59;
  --muted:       #6B7785;

  /* Structure */
  --line:        #E3E9F0;
  --soft:        #F5F8FB;
  --white:       #FFFFFF;

  /* Eyebrow on dark sections */
  --eyebrow-dark: #9FC0E3;

  /* Typography */
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Spacing scale */
  --section-py:  clamp(56px, 8vw, 96px);
  --section-px:  clamp(20px, 5vw, 40px);
  --max-w:       1120px;
  --hero-max-w:  760px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

ul { list-style: none; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.18;
  color: var(--ink);
  font-weight: 800;
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; }
h4 { font-size: clamp(16px, 1.8vw, 18px); font-weight: 700; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* Lead / subhead paragraph */
.lead {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Eyebrow / kicker */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

/* Eyebrow on dark backgrounds */
.eyebrow--dark,
.section--navy .eyebrow,
.hero .eyebrow,
.cta .eyebrow {
  color: var(--eyebrow-dark);
}

/* Fine print */
.fine-print {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

/* Primary — vivid brand blue, works on both light and dark */
.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: var(--white);
  text-decoration: none;
}

/* Secondary — for dark / hero backgrounds: white outline + white text */
.btn-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
}

/* Secondary on light — brand outline + brand text */
.btn-secondary--light {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn-secondary--light:hover,
.btn-secondary--light:focus-visible {
  background: rgba(0, 87, 183, 0.08);
  color: var(--brand-dark);
  border-color: var(--brand-dark);
  text-decoration: none;
}

/* Button group */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ============================================================
   5. SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(10, 47, 84, 0.07);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--section-px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header__logo img {
  height: 36px;
  width: auto;
}

/* Wordmark fallback */
.site-header__wordmark {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.site-header__wordmark span {
  color: var(--brand);
}

/* Nav */
.site-header__nav {
  display: none; /* hidden on mobile — shown >=860px */
}

.site-header__nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-header__nav a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.site-header__nav a:hover {
  color: var(--brand);
  background: rgba(0, 87, 183, 0.06);
  text-decoration: none;
}

.site-header__nav a.active {
  color: var(--brand);
  font-weight: 600;
}

/* Contact button in nav */
.site-header__cta {
  display: none; /* hidden on mobile */
}

/* Hamburger (mobile) */
.site-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 4px;
}

.site-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-2);
  border-radius: 2px;
  transition: background 0.15s;
}

.site-header__hamburger:hover span {
  background: var(--brand);
}

/* Mobile menu drawer */
.site-header__mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 16px var(--section-px) 24px;
  gap: 4px;
}

.site-header__mobile-menu.is-open {
  display: flex;
}

.site-header__mobile-menu a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.site-header__mobile-menu a:last-child {
  border-bottom: none;
}

.site-header__mobile-menu a:hover { color: var(--brand); }

/* Mobile menu CTA */
.site-header__mobile-menu .btn {
  margin-top: 12px;
  width: 100%;
}

/* Desktop nav + CTA — >=860px */
@media (min-width: 860px) {
  .site-header__nav    { display: flex; }
  .site-header__cta    { display: flex; align-items: center; flex-shrink: 0; }
  .site-header__hamburger { display: none; }
  .site-header__mobile-menu { display: none !important; }
}

/* ============================================================
   6. UNIVERSAL HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(440px, 60vh, 620px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Background image */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

/* Placeholder for hero bg when no real image yet */
.hero__bg--placeholder {
  position: absolute;
  inset: 0;
  background: var(--navy-deep);
  z-index: -2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
}

/* Caption sits as a small chip in the bottom-right corner so it never
   competes with the hero headline — it's a build note for the image slot. */
.hero__bg--placeholder::after {
  content: attr(data-caption);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255,255,255,0.45);
  text-align: right;
  padding: 6px 10px;
  border: 1px dashed rgba(255,255,255,0.28);
  border-radius: 6px;
  max-width: 260px;
  background: rgba(6,32,58,0.40);
}

/* Dark overlay — identical on EVERY page */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,32,58,0.72), rgba(6,32,58,0.55));
  z-index: -1;
}

/* Inner content */
.hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 100px) var(--section-px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__content {
  max-width: var(--hero-max-w);
  width: 100%;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(6,32,58,0.4);
}

.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.90);
  max-width: 620px;
  margin: 0 auto 32px;
  font-weight: 400;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ============================================================
   7. SECTION SHELLS
   ============================================================ */
.section {
  background: var(--white);
}

.section--soft {
  background: var(--soft);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy p,
.section--navy .lead {
  color: rgba(255, 255, 255, 0.82);
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-py) var(--section-px);
}

/* Section head — eyebrow + h2 + lead paragraph */
.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}

.section__head h2 {
  margin-bottom: 14px;
}

.section__head .lead {
  margin-bottom: 0;
}

/* ============================================================
   8. STATS STRIP
   ============================================================ */
/* Always renders on navy (section--navy). Do not vary per page. */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* default: 2-up mobile */
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(24px, 4vw, 36px) clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.05);
  gap: 4px;
}

.stat__number {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat__slash {
  color: var(--eyebrow-dark);
}

.stat__term {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--eyebrow-dark);
  line-height: 1;
}

.stat__label {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* The stat top row: "ASTM F1346" + "Certified safety cover" rendered as two lines */
.stat__value {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.stat__subtitle {
  font-family: var(--font-body);
  font-size: clamp(12px, 1.4vw, 14px);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

/* 4-up on desktop */
@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* stats footnote */
.stats-footnote {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ============================================================
   9. FEATURE CARDS
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(24px, 3.5vw, 32px);
  /* Equal height in a row */
  height: 100%;
}

/* Soft fill variant (cards inside .section--soft) */
.section--soft .card,
.card--soft {
  background: var(--white);
  border-color: var(--line);
}

/* Card inside white sections — slightly softer fill */
.section .card {
  background: var(--soft);
  border-color: var(--line);
}

/* Card icon */
.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--brand);
  flex-shrink: 0;
}

.card h3 {
  color: var(--ink);
  margin-bottom: 10px;
  font-size: clamp(17px, 2vw, 20px);
}

.card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}

/* 3-up: 3 columns */
.cards--3 {
  grid-template-columns: 1fr;
}

/* 4-up: 4 columns */
.cards--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Cards CTA — centered link below the grid */
.cards-cta {
  margin-top: clamp(28px, 4vw, 40px);
  text-align: center;
}

/* ============================================================
   10. IMAGE GRID + MEDIA (EQUAL-SIZE IMAGES)
   ============================================================ */

/* .img-grid: a responsive grid of N equal media boxes */
.img-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* 3-up grid */
.img-grid--3 {
  grid-template-columns: 1fr;
}

/* 4-up grid */
.img-grid--4 {
  grid-template-columns: 1fr;
}

/* 7-up swatch grid */
.img-grid--7 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 600px) {
  .img-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .img-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .img-grid--7 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  .img-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .img-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .img-grid--7 { grid-template-columns: repeat(7, 1fr); }
}

/*
 * .media — THE critical image box.
 * Locks aspect-ratio so every image in a row renders at identical size.
 * object-fit:cover means real images never distort.
 * When empty (no <img>) renders as a dashed placeholder with caption.
 */
.media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--soft);
  display: block;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
}

/* Placeholder state — dashed border + centered caption */
.media--placeholder {
  border: 2px dashed var(--line);
  background: var(--soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.media--placeholder::after {
  content: attr(data-caption);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  white-space: pre-line;
}

/* 16:9 variant */
.media--16x9 {
  aspect-ratio: 16 / 9;
}

/* Wide hero-ish variant */
.media--16x10 {
  aspect-ratio: 16 / 10;
}

/* Square (swatch) variant */
.media--square {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
}

/* Color card (swatch + name) */
.color-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.color-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.color-card p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* ============================================================
   11. SPLIT BLOCK
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

/* Image always first on mobile (stacks: image top, text below) */
.split__img {
  order: -1;
}

.split__body {
  order: 0;
}

.split__body h2,
.split__body h3 {
  margin-bottom: 16px;
}

.split__body p {
  color: var(--ink-2);
  margin-bottom: 20px;
}

.split__body p:last-child {
  margin-bottom: 0;
}

/* Tablet+ : side-by-side */
@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .split__img {
    order: 0; /* image left by default */
  }

  /* .split--reverse: image right, text left */
  .split--reverse .split__img {
    order: 1;
  }

  .split--reverse .split__body {
    order: -1;
  }
}

/* Dual audience split (home page §5.1 section 5) */
.dual-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.dual-split__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dual-split__col .media {
  margin-bottom: 0;
}

.dual-split__col h3 { margin-bottom: 8px; }
.dual-split__col p  { color: var(--ink-2); margin-bottom: 16px; }

@media (min-width: 768px) {
  .dual-split {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   12. FAQ ACCORDION
   ============================================================ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq details {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.faq details:last-child {
  border-bottom: none;
}

.faq details[open] {
  background: var(--soft);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 600;
  color: var(--ink);
  gap: 16px;
  user-select: none;
}

.faq summary::-webkit-details-marker { display: none; }

/* The +/- marker */
.faq summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--brand);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: '−';
}

.faq summary:hover {
  background: rgba(0, 87, 183, 0.04);
}

.faq__answer {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}

.faq__answer p { margin-bottom: 0.75em; }
.faq__answer p:last-child { margin-bottom: 0; }

/* FAQ group label */
.faq-group {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.faq-group__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  padding-left: 4px;
}

/* ============================================================
   13. CTA BANNER
   ============================================================ */
.cta {
  background: var(--navy);
  color: var(--white);
}

.cta__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 80px) var(--section-px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.cta h2 {
  color: var(--white);
  max-width: 580px;
}

.cta .lead {
  color: rgba(255, 255, 255, 0.80);
  max-width: 520px;
  margin: 0 auto;
}

.cta .btn-group {
  justify-content: center;
  margin-top: 8px;
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
}

.footer__main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) var(--section-px) clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Brand column */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo img {
  height: 32px;
  width: auto;
}

.footer__wordmark {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer__wordmark span {
  color: var(--eyebrow-dark);
}

.footer__address {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.60);
}

.footer__phone {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer__phone:hover { color: var(--white); text-decoration: none; }

/* Link columns */
.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow-dark);
  margin-bottom: 14px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__col a:hover {
  color: var(--white);
  text-decoration: none;
}

/* Legal */
.footer__legal {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--section-px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.footer__legal p,
.footer__legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.40);
}

.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* Desktop: brand col + 4 link cols */
@media (min-width: 640px) {
  .footer__links {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .footer__main {
    grid-template-columns: 260px 1fr;
    gap: 60px;
  }
}

/* ============================================================
   15. STAT STRIP IN-SECTION SHORTCUT
   ============================================================ */
/*
 * When .stats is used inside .section--navy, the navy-on-navy
 * nested look doesn't work — use .stats directly WITHOUT an
 * additional wrapping navy section; the stat strip IS the navy section.
 * See COMPONENTS.md for correct HTML pattern.
 */

/* ============================================================
   16. PROCESS / STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
}

.step h3 {
  font-size: clamp(16px, 1.8vw, 18px);
  margin-bottom: 6px;
}

.step p {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   17. FORM GROUP (visual only — no functionality)
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 540px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.field--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

.form-phone-note {
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
}

.form-phone-note a {
  color: var(--brand);
  font-weight: 600;
}

/* ============================================================
   18. BADGE / PILL STRIP
   ============================================================ */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 87, 183, 0.08);
  border: 1px solid rgba(0, 87, 183, 0.2);
  color: var(--brand);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.badge--dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

/* ============================================================
   19. UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-brand  { color: var(--brand); }
.text-muted  { color: var(--muted); }
.text-white  { color: var(--white); }

.mt-s  { margin-top: 16px; }
.mt-m  { margin-top: 28px; }
.mt-l  { margin-top: 40px; }

.mb-s  { margin-bottom: 16px; }
.mb-m  { margin-bottom: 28px; }
.mb-l  { margin-bottom: 40px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ============================================================
   20. RESPONSIVE SAFETY NET
   ============================================================ */
@media (max-width: 480px) {
  /* Ensure buttons don't overflow on very small screens */
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; justify-content: center; }

  /* Hero actions always column on mobile */
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 320px; }

  /* Stats: always 2-up minimum */
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Prevent any horizontal overflow globally */
.section__inner,
.hero__inner,
.cta__inner,
.footer__main,
.footer__legal {
  overflow: hidden;
  max-width: 100%;
}

/* Images never exceed their container */
img { max-width: 100%; height: auto; }

/* Hide the hero image-slot placeholder caption on small screens so it never
   overlaps the stacked hero buttons (the real image replaces it in production). */
@media (max-width: 639px) {
  .hero__bg--placeholder::after { display: none; }
}
