/* =========================================================
   A&D Specialists — styles.css
   Mobile-first. Tokens → base → components → sections → utilities.
   ========================================================= */

:root {
  --blue: #306FB6;
  --blue-deep: #24589A;
  --blue-ink: #0F2A47;
  --blue-tint: #E7EFF8;
  --green: #84AF51;
  --green-deep: #6C943F;
  --green-tint: #EEF4E5;
  --ink: #0C1416;
  --muted: #4E5E61;
  --line: #DCE3E0;
  --ground: #FFFFFF;
  --ground-alt: #F6F8F7;
  --header-bg: 249, 244, 234;   /* warm cream, echoes the hero sunset; never reads as plain white */

  --font-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --container: 1160px;
  --gutter: 20px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(12, 20, 22, 0.08);
  --header-h: 72px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  padding-bottom: 76px; /* mobile sticky bar */
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
strong { font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button { font: inherit; }
a, button, summary, label, input, select, textarea { touch-action: manipulation; -webkit-tap-highlight-color: rgba(48,111,182,.15); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1 { font-size: clamp(2.125rem, 6.2vw, 3.5rem); font-weight: 800; }   /* 34 → 56 */
h2 { font-size: clamp(1.625rem, 3.6vw, 2.25rem); font-weight: 700; }  /* 26 → 36 */
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 700; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 .9rem;
  display: flex; align-items: flex-start; gap: .6rem;
  line-height: 1.5;
}
.eyebrow::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--green); margin-top: .3em;
}
.eyebrow-light { color: #E6EFF8; }
.eyebrow-green { color: var(--green); }
.lede { font-size: 1.1875rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-border: var(--blue);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: 8px;
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 150ms var(--ease), box-shadow 150ms var(--ease), background-color 150ms var(--ease);
}
.btn::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 6px; height: 2px;
  background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(12,20,22,.14); color: var(--btn-fg); }
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .95rem 1.5rem; font-size: 1.0625rem; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--blue-ink); --btn-border: #fff; }
.btn-light:hover { --btn-bg: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--blue); --btn-border: var(--blue); }
.btn-sm { padding: .55rem .9rem; font-size: .875rem; }

.text-link {
  font-family: var(--font-display); font-weight: 600; font-size: .9375rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: .35rem;
}
.text-link::after { content: "→"; transition: transform 150ms var(--ease); }
.text-link:hover::after { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 4px 16px rgba(12,20,22,.06);
  transition: box-shadow 200ms;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the fixed-position mobile drawer and clip it. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(var(--header-bg), .96);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  transition: background-color 200ms;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(12,20,22,.09); }
.site-header.is-scrolled::before { background: rgba(var(--header-bg), .99); }
.site-header::after {
  /* thin brand rule along the bottom edge: blue → green */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 55%, var(--green) 100%);
  opacity: .9;
}
.header-inner {
  max-width: 1400px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 44px; height: 44px; flex: none; will-change: transform; }
.wordmark { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.wordmark-top { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; color: var(--blue); letter-spacing: -.02em; }
.wordmark-bottom { font-family: var(--font-display); font-weight: 600; font-size: .5625rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); margin-top: 2px; }

.site-nav ul { list-style: none; display: flex; flex-wrap: nowrap; gap: 1.5rem; }
.site-nav a {
  display: inline-block; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--ink);
  text-decoration: none; position: relative; padding: .5rem 0;
  transition: color 150ms;
}
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease); }
.site-nav a:hover { color: var(--blue); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 1rem; flex: none; }
.header-phone {
  display: none; align-items: center; gap: .45rem; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: .9375rem; color: var(--ink);
  text-decoration: none; padding: .5rem .25rem; transition: color 150ms;
}
.header-phone svg { color: var(--green); }
.header-phone:hover { color: var(--blue); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; border-radius: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 200ms var(--ease), opacity 200ms; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
@media (max-width: 1023.98px) {
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: rgb(var(--header-bg));
    padding: 1.5rem var(--gutter) 2rem;
    display: flex; flex-direction: column; justify-content: space-between;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s 200ms;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 1rem 0; font-size: 1.125rem; }
  .site-nav a::after { display: none; }
  .nav-mobile-actions { display: grid; gap: .75rem; padding-top: 1.5rem; }
  body.nav-open { overflow: hidden; }
}
/* Desktop: nav + phone. The CTA button joins only when there is genuinely room for it. */
@media (min-width: 1024px) {
  .site-nav { display: block; }
  .nav-mobile-actions { display: none; }
  .nav-toggle { display: none; }
  .header-phone { display: inline-flex; }
  .site-nav ul { gap: 1.1rem; }
  .site-nav a { font-size: .875rem; }
}
@media (min-width: 1200px) {
  .site-nav ul { gap: 1.5rem; }
  .site-nav a { font-size: .9375rem; }
}
@media (min-width: 1300px) {
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture, .hero-bg {
  position: absolute; inset: -20% 0; width: 100%; height: 140%;
  object-fit: cover; object-position: center 60%;
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,20,22,.35) 0%, rgba(12,20,22,.55) 60%, rgba(12,20,22,.75) 100%),
    linear-gradient(90deg, rgba(15,42,71,.55) 0%, rgba(15,42,71,.05) 70%);
}
.hero-inner { padding: 4.5rem var(--gutter) 5rem; }
.hero-copy { max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; text-wrap: balance; }
.hero-sub { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.5; max-width: 58ch; color: rgba(255,255,255,.92); margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 768px) {
  .hero { min-height: min(88vh, 820px); }
  .hero-inner { padding: 6rem var(--gutter) 7rem; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--blue-ink); color: #fff; }
.trust-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.trust-list li {
  display: flex; align-items: center; gap: .7rem;
  padding: 1rem .5rem 1rem 0; font-size: .9375rem; line-height: 1.3;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.trust-list li strong { display: block; font-family: var(--font-display); font-weight: 700; color: #fff; }
.trust-list li span { color: rgba(255,255,255,.78); }
.trust-list svg { width: 26px; height: 26px; flex: none; color: var(--green); }
/* 3 items on a 2-col mobile grid: last one spans the row instead of leaving a hole */
.trust-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(3, 1fr); }
  .trust-list li:last-child:nth-child(odd) { grid-column: auto; }
  .trust-list li { border-bottom: 0; padding: 1.25rem 1rem 1.25rem 0; }
  .trust-list li + li { border-left: 1px solid rgba(255,255,255,.12); padding-left: 1.25rem; }
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; scroll-margin-top: var(--header-h); }
#how-it-works, #home { scroll-margin-top: var(--header-h); }
.section-alt { background: var(--ground-alt); }
.section-dark { background: var(--blue-ink); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lede { color: rgba(255,255,255,.8); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head h2 { text-wrap: balance; }
@media (min-width: 768px) { .section { padding: 6rem 0; } .section-head { margin-bottom: 3.5rem; } }

/* ---------- Residential ---------- */
.situation-grid { display: grid; gap: 1rem; }
.situation {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; flex-direction: column;
  border-top: 4px solid var(--blue);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.situation:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.situation h3 { font-size: 1.1875rem; }
.situation p { flex: 1; color: var(--muted); }
@media (min-width: 768px) { .situation-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.how { margin-top: 3.5rem; }
.how-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
.timeline { list-style: none; display: grid; gap: 1.75rem; position: relative; counter-reset: step; }
.timeline li { position: relative; padding-left: 3.25rem; }
.timeline-node {
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--green); background: #fff; color: var(--blue);
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  display: grid; place-items: center;
}
.timeline li::before {
  content: ""; position: absolute; left: 19px; top: 40px; bottom: -1.75rem; width: 2px; background: var(--line);
}
.timeline li:last-child::before { display: none; }
.timeline h4 { margin-bottom: .3rem; }
.timeline p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .timeline li { padding-left: 0; padding-top: 3.5rem; }
  .timeline li::before { left: 40px; right: -2rem; top: 19px; bottom: auto; width: auto; height: 2px; }
}

.family {
  margin-top: 4rem; display: grid; gap: 2rem; align-items: center;
}
.family h3 { font-size: 1.75rem; }
.family-copy p { color: var(--muted); }
.ethos { display: flex; gap: 1rem; margin: 1.25rem 0 0; font-family: var(--font-display); font-weight: 700; color: var(--ink) !important; }
.ethos span { padding-left: .9rem; position: relative; }
.ethos span::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
@media (min-width: 900px) { .family { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

/* ---------- Placeholders ---------- */
.placeholder {
  border: 2px dashed var(--blue); border-radius: var(--radius-lg);
  background: repeating-linear-gradient(135deg, var(--blue-tint) 0 12px, #fff 12px 24px);
  display: grid; place-items: center; text-align: center; padding: 1rem;
  color: var(--blue); font-family: var(--font-display); font-weight: 600; font-size: .9375rem;
}
.placeholder-dark { border-color: var(--green); color: #fff; background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 12px, transparent 12px 24px); }
.ph-4x3 { aspect-ratio: 4 / 3; }
.ph-3x4 { aspect-ratio: 3 / 4; max-height: 520px; }

/* ---------- Slot photos (real images in the former placeholder slots) ---------- */
.slot-photo { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius-lg); }
.slot-photo-beach { object-position: 50% 62%; }
.slot-figure { margin: 0; }
.photo-caption { margin-top: .6rem; font-size: .875rem; line-height: 1.4; color: var(--muted); }

/* ---------- Services ---------- */
.service-grid { display: grid; gap: 1rem; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem; display: flex; flex-direction: column;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms;
}
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green); }
.service h3 { font-size: 1.1875rem; }
.service p { flex: 1; color: var(--muted); font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.chip {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px; background: var(--blue-tint); color: var(--blue);
}
.chip-new { background: var(--green-tint); color: var(--green-deep); }
.service-extras { margin-top: 1.75rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--green); color: var(--muted); font-size: 1rem; }
.service-extras p { margin: 0; }
/* 5 cards: 3 testing/decon cards, then the 2 cleanup cards (.service-pair) as a deliberate pair row */
@media (min-width: 640px) and (max-width: 1023.98px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid > .service:nth-child(3) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
  .service-grid > .service { grid-column: span 2; }
  .service-grid > .service-pair { grid-column: span 3; }
}

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--blue); color: #fff; padding: 3rem 0; }
.cta-banner-inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 1.875rem); margin-bottom: .35rem; }
.cta-banner p { margin: 0; color: rgba(255,255,255,.88); max-width: 52ch; }
.cta-banner-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-banner .btn-primary { --btn-bg: var(--blue-ink); --btn-border: var(--blue-ink); }
.cta-banner .btn-primary:hover { background: #0A1F36; }
@media (min-width: 900px) { .cta-banner-inner { grid-template-columns: 1fr auto; } }

/* ---------- Commercial ---------- */
.agency-grid { display: grid; gap: 2rem; align-items: start; }
.check-list { list-style: none; display: grid; gap: .9rem; margin-bottom: 1.75rem; }
.check-list li { position: relative; padding-left: 2rem; color: rgba(255,255,255,.85); }
.check-list li strong { color: #fff; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230F2A47' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.signoff { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: #fff; margin-bottom: 1.5rem; }
@media (min-width: 900px) { .agency-grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }

.credentials { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.14); }
.credentials-title {
  font-family: var(--font-body); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1.25rem;
}
.credential-list { list-style: none; display: grid; gap: .75rem; }
.credential-list li {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1rem; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.credential-text { display: flex; flex-direction: column; gap: .15rem; font-size: .9375rem; color: rgba(255,255,255,.72); line-height: 1.35; }
.credential-text strong { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1rem; }
@media (min-width: 640px) { .credential-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .credential-list { gap: 1rem; } }

/* ---------- Quote / Tabs ---------- */
.tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.tab-list { display: grid; grid-template-columns: 1fr 1fr; background: var(--ground-alt); border-bottom: 1px solid var(--line); }
.tab {
  padding: 1rem .75rem; background: none; border: 0; border-bottom: 3px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--muted); cursor: pointer;
  transition: color 150ms, border-color 150ms, background-color 150ms;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--green); background: #fff; }
.tab-panel { padding: 1.5rem var(--gutter) 2rem; }
@media (min-width: 768px) { .tab { font-size: 1.0625rem; padding: 1.1rem 1rem; } .tab-panel { padding: 2rem 2.5rem 2.5rem; } }

.notice { border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.75rem; font-size: 1rem; }
.notice p { margin: 0; }
.notice-info { background: var(--green-tint); border-left: 4px solid var(--green); }
.notice-strong { background: var(--blue-tint); border-left: 4px solid var(--blue); }

.quote-form fieldset { border: 0; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.quote-form legend {
  font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: var(--blue);
  padding: 0; margin-bottom: .75rem; width: 100%; border-bottom: 1px solid var(--line); padding-bottom: .5rem;
}
@media (min-width: 640px) {
  .quote-form fieldset { grid-template-columns: repeat(2, 1fr); column-gap: 1.25rem; }
  .quote-form legend { grid-column: 1 / -1; }
  .quote-form .span-2 { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .quote-form fieldset { grid-template-columns: repeat(6, 1fr); }
  .quote-form .field { grid-column: span 3; }
  .quote-form .field-sm { grid-column: span 2; }
  .quote-form .span-2 { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: .35rem; }
.field label, .field .label { font-weight: 600; font-size: .9375rem; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; font: inherit; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  transition: border-color 150ms, box-shadow 150ms;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48,111,182,.18); }
.field input[type="file"] { padding: .5rem; font-size: .9375rem; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C23B3B; }
.field textarea { resize: vertical; min-height: 88px; }
.help { margin: 0; font-size: .875rem; color: var(--muted); }
.error { margin: 0; font-size: .875rem; color: #C23B3B; font-weight: 600; min-height: 0; }
.error:empty { display: none; }
.radio-row, .radio-stack { display: flex; gap: 1.25rem; flex-wrap: wrap; padding: .3rem 0; }
.radio-stack { flex-direction: column; gap: .5rem; }
.radio-row label, .radio-stack label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 400; cursor: pointer; }
.radio-row input, .radio-stack input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }

.form-footer { display: grid; gap: .75rem; align-items: center; }
.form-fine { margin: 0; font-size: .9375rem; color: var(--muted); }
@media (min-width: 640px) { .form-footer { grid-template-columns: auto 1fr; gap: 1.25rem; } }

.confirmation {
  background: var(--green-tint); border: 1px solid var(--green); border-radius: var(--radius-lg);
  padding: 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: start;
}
.confirmation svg { width: 32px; height: 32px; color: var(--green-deep); grid-row: span 2; }
.confirmation h3 { margin: .1rem 0 .25rem; font-size: 1.125rem; }
.confirmation p { margin: 0; color: var(--muted); }

.emergency {
  margin-top: 1.5rem; display: flex; align-items: center; gap: .9rem;
  background: #fff; border: 1.5px solid var(--blue); border-radius: var(--radius); padding: 1rem 1.25rem;
}
.emergency svg { width: 28px; height: 28px; color: var(--blue); flex: none; }
.emergency p { margin: 0; font-size: 1.0625rem; }
.emergency a { font-family: var(--font-display); font-weight: 700; text-decoration: none; }

/* Confirmation actions + toast */
.confirm-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .9rem; }
.confirm-addresses { flex-basis: 100%; margin: .35rem 0 0; font-size: .875rem; color: var(--muted); word-break: break-word; }
.toast {
  position: fixed; left: 50%; bottom: 1.25rem; z-index: 120;
  transform: translate(-50%, 16px); opacity: 0; visibility: hidden; pointer-events: none;
  display: flex; align-items: center; gap: .75rem; max-width: min(92vw, 640px);
  padding: .8rem .9rem .8rem 1.1rem; border-radius: 12px;
  background: var(--blue-ink); color: #fff; font-size: .9375rem; line-height: 1.4;
  box-shadow: 0 14px 40px rgba(12,20,22,.28);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease), visibility 0s 200ms;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.toast > span { min-width: 0; overflow-wrap: anywhere; }
.toast .btn { flex: none; }
.toast .btn-ghost { --btn-fg: #fff; --btn-border: rgba(255,255,255,.6); white-space: nowrap; }
.toast .btn-ghost:hover { --btn-bg: rgba(255,255,255,.1); }
.toast-close { background: none; border: 0; color: rgba(255,255,255,.7); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 .25rem; }
.toast-close:hover { color: #fff; }
@media (max-width: 767.98px) { .toast { bottom: calc(76px + env(safe-area-inset-bottom) + .75rem); } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq[open] { border-color: var(--green); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); transition: transform 200ms var(--ease);
}
.faq[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:hover { color: var(--blue); }
.faq-body { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq-body p:last-child { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
.contact-row { margin-bottom: 1rem; }
.contact-link { font-family: var(--font-display); font-weight: 600; text-decoration: none; word-break: break-all; }
.contact-meta { margin: 1.5rem 0 2rem; display: grid; gap: .75rem; }
.contact-meta div { display: grid; grid-template-columns: 140px 1fr; gap: .5rem; font-size: 1rem; }
.contact-meta dt { font-weight: 700; }
.contact-meta dd { margin: 0; color: var(--muted); }
.contact-form { display: grid; gap: 1rem; background: var(--ground-alt); border-radius: var(--radius-lg); padding: 1.5rem; }
.contact-form h3 { margin: 0; font-size: 1.125rem; }
.contact-form .btn { justify-self: start; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--ground-alt); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } .map-wrap { min-height: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-ink); color: rgba(255,255,255,.8); padding: 3.5rem 0 1.5rem; font-size: .9375rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand .brand-mark { width: 56px; height: 56px; }
.footer-brand .wordmark-top, .footer-brand .wordmark-bottom { color: #fff; }
.footer-brand .wordmark-top { font-size: 1.625rem; }
.footer-brand .wordmark-bottom { font-size: .6875rem; }
.footer-tagline { margin: 1.25rem 0 .5rem; color: #fff; font-family: var(--font-display); font-weight: 600; }
.footer-certs { margin: 0; font-size: .875rem; color: rgba(255,255,255,.65); }
.footer-nav ul { list-style: none; display: grid; gap: .5rem; }
.footer-nav a { font-family: var(--font-display); font-weight: 600; }
.footer-contact p { margin: 0 0 .5rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.6);
}
.footer-bottom p { margin: 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }

/* ---------- Mobile sticky bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sticky-bar .btn { padding: .8rem .5rem; font-size: .875rem; }
.sticky-bar .btn-light { --btn-fg: var(--blue); --btn-border: var(--blue); }
@media (min-width: 768px) { .sticky-bar { display: none; } }

/* ---------- Reveal (GSAP sets initial state via JS; CSS fallback keeps content visible) ---------- */
.js [data-reveal] > * { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
