/* ==========================================================================
   Redline Garage Door Co. — Design System
   Reference: a1garage.com (A1 Garage Door Service) — real pulled tokens.
   See index.html header comment for full parentage + corrections notes.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; } /* Lenis drives smooth scroll when available */
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }

:root {
  /* --- Colors (pulled from a1garage.com theme CSS custom properties) --- */
  --red: #d22630;
  --red-dark: #a00d25;
  --ink: #0a0a0a;
  --ink-soft: #1c1c1e;
  --muted: #555;
  --muted-2: #7a7a7e;
  --bg-soft: #f1f1f2;
  --border: #e7e7e7;
  --white: #ffffff;

  /* --- Typography ---
     Real stack: body = Barlow; display headings = "Directors Gothic Bold"
     (self-hosted proprietary webfont, not on any public CDN). We substitute
     Oswald 600/700 — the closest freely-licensed condensed-grotesk match —
     for headline weight/proportions. Barlow Semi Condensed (real h5/eyebrow
     face) is used as-is since it IS a Google Font. */
  --font-display: "Oswald", "Barlow Semi Condensed", Arial, Helvetica, sans-serif;
  --font-body: "Barlow", Arial, Helvetica, sans-serif;
  --font-condensed: "Barlow Semi Condensed", Arial, Helvetica, sans-serif;

  /* --- Spacing / Radius / Container (pulled) --- */
  --radius: 8px;
  --radius-sm: 6px;
  --container: 1140px;
  --pad: 24px;
  --section-pad-desktop: 88px;
  --section-pad-mobile: 56px;

  /* --- Motion --- */
  --ease: cubic-bezier(.16,.84,.44,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
  --header-h: 84px;

  /* --- Shadows --- */
  --shadow-sm: 0 2px 10px rgba(10,10,10,.06);
  --shadow-md: 0 14px 34px -12px rgba(10,10,10,.22);
  --shadow-lg: 0 26px 60px -18px rgba(10,10,10,.32);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; line-height: 1.08; text-transform: uppercase; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.05rem; letter-spacing: .04em; }
h5, .h5 { font-family: var(--font-condensed); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--red); }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section-pad-desktop) 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink .lede { color: rgba(255,255,255,.68); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-condensed); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--red); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); display: inline-block; }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::before { display: none; }

/* --- Reveal / motion utilities --- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-condensed); font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  font-size: .85rem; padding: 15px 28px; border-radius: var(--radius);
  border: 2px solid transparent; transition: transform .25s var(--ease-bounce), background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
  transform: translate(var(--mx,0), var(--my,0));
  white-space: nowrap;
}
.btn--primary { background: var(--red); color: var(--white); border-color: var(--red); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--ghost { background: var(--bg-soft); color: var(--ink); border-color: var(--bg-soft); }
.btn--ghost:hover { background: var(--border); border-color: var(--border); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: .78rem; }

/* --- Disclosure banner (fictional-content notice, mandatory) --- */
.disclosure {
  background: var(--ink); color: rgba(255,255,255,.86);
  font-size: .74rem; letter-spacing: .02em; text-align: center;
  padding: 8px var(--pad);
  font-family: var(--font-condensed); text-transform: uppercase; letter-spacing: .08em;
}
.disclosure strong { color: var(--white); }

/* --- Header / Nav --- */
header { position: sticky; top: 0; z-index: 60; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 16px var(--pad); background: var(--white); border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), padding .25s var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); padding: 10px var(--pad); }
.nav__logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); }
.nav__logo .mark { width: 34px; height: 34px; border-radius: 8px; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 800; flex-shrink: 0; }
.nav__logo span.sub { display: block; font-family: var(--font-condensed); font-size: .55rem; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.nav__links { display: flex; align-items: center; gap: 1.7rem; font-family: var(--font-condensed); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.nav__links a { color: var(--ink-soft); position: relative; padding: 4px 0; }
.nav__links a::after { content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px; background:var(--red); transition:right .25s var(--ease); }
.nav__links a:hover::after, .nav__links a.active::after { right: 0; }
.nav__links a.active { color: var(--red); }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__phone { font-family: var(--font-condensed); font-weight: 700; font-size: .92rem; color: var(--ink); display: flex; align-items: center; gap: .4rem; }
.nav__phone svg { color: var(--red); }
.nav__burger { display: none; width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white); align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav__burger span { width: 18px; height: 2px; background: var(--ink); display: block; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--white); transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--pad); border-bottom: 1px solid var(--border); }
.mobile-menu__links { padding: 8px var(--pad); overflow-y: auto; flex: 1; }
.mobile-menu__links a { display: block; padding: 16px 0; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; }
.mobile-menu__links a.active { color: var(--red); }
.mobile-menu__cta { padding: var(--pad); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: .7rem; }

/* Sticky bottom mobile icon nav — real A1 mechanic (Home/Reviews/Services/Call/Menu) */
.mobile-tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(0,0,0,.06);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.mobile-tabbar__row { display: grid; grid-template-columns: repeat(5, 1fr); }
.mobile-tabbar a, .mobile-tabbar button {
  background: none; border: none; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-family: var(--font-condensed); font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  color: var(--muted); padding: 6px 0;
}
.mobile-tabbar a.active, .mobile-tabbar button.active { color: var(--red); }
.mobile-tabbar svg { width: 20px; height: 20px; }

/* --- Hero --- */
.hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 2.4rem; min-height: 560px; }
.hero__copy { padding: 64px 0; }
.hero__copy h1 { color: var(--white); margin-bottom: 1.1rem; }
.hero__copy .lede { color: rgba(255,255,255,.72); font-size: 1.15rem; margin-bottom: 1.6rem; }
.hero__stars { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 8px 16px; border-radius: 999px; margin-bottom: 1.8rem; font-family: var(--font-condensed); font-weight: 600; font-size: .85rem; }
.hero__stars .stars { color: #ffb400; letter-spacing: 1px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__media { position: relative; height: 100%; min-height: 420px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.hero__floats { position: absolute; inset: 0; pointer-events: none; }
.hero-float { position: absolute; background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px 16px; font-family: var(--font-condensed); }
.hero-float__title { display: block; font-weight: 700; font-size: .95rem; }
.hero-float__sub { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.hero-float--a { top: 8%; left: -6%; }
.hero-float--b { bottom: 6%; left: -4%; }

/* --- Trust strip --- */
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.2rem; padding: 20px var(--pad); background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.trust-strip .item { display: flex; align-items: center; gap: 8px; font-family: var(--font-condensed); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.trust-strip svg { color: var(--red); flex-shrink: 0; }

/* --- Marquee --- */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee__group span { font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; padding: 0 1.2rem; white-space: nowrap; }
.marquee__dot { color: var(--red); font-size: .9rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* --- Grid utilities --- */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- Cards --- */
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-bounce), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(210,38,48,.25); }
.card__icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--red); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .6rem; font-size: 1.1rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; font-family: var(--font-condensed); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }

.stat-card { text-align: center; padding: 1.6rem 1rem; }
.stat-card .num { font-family: var(--font-display); font-size: clamp(2rem,4vw,2.8rem); color: var(--red); display: block; }
.stat-card .label { font-family: var(--font-condensed); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--muted); }

/* --- Process steps --- */
.process { counter-reset: step; }
.process__step { position: relative; padding-left: 3.6rem; }
.process__step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.1rem; }

/* --- Reviews carousel --- */
.reviews { position: relative; }
.reviews__track { display: flex; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review-card { scroll-snap-align: start; flex: 0 0 min(360px, 86vw); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.review-card .stars { color: #ffb400; letter-spacing: 2px; margin-bottom: .8rem; display: block; }
.review-card p.body { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1rem; }
.review-card .name { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .05em; color: var(--muted); }
.reviews__nav { display: flex; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.reviews__nav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; }
.reviews__nav button:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* --- Gallery / Inspiration carousel --- */
.insp-carousel { position: relative; overflow: hidden; border-radius: var(--radius); }
.insp-carousel__track { display: flex; transition: transform .5s var(--ease); }
.insp-carousel__track img { width: 100%; flex-shrink: 0; aspect-ratio: 4/3; object-fit: cover; }
.insp-dots { display: flex; gap: 8px; justify-content: center; margin-top: 1.2rem; }
.insp-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--border); border: none; padding: 0; }
.insp-dots button.current { background: var(--red); width: 22px; border-radius: 5px; transition: width .25s var(--ease); }
.insp-arrows { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; pointer-events: none; }
.insp-arrows button { pointer-events: all; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); border: none; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }

.gallery-filters { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }
.gallery-filters button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--white); font-family: var(--font-condensed); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); transition: all .2s var(--ease); }
.gallery-filters button.active, .gallery-filters button:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__tag { position: absolute; left: 12px; bottom: 12px; background: rgba(10,10,10,.75); color: var(--white); font-family: var(--font-condensed); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; }
.gallery-item.hide { display: none; }

/* --- FAQ accordion --- */
.faq__item { border-bottom: 1px solid var(--border); }
.faq__trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; background: none; border: none; padding: 1.3rem 0; font-family: var(--font-display); font-size: 1.05rem; text-transform: none; color: var(--ink); }
.faq__trigger .plus { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease); font-size: 1.1rem; color: var(--red); }
.faq__trigger[aria-expanded="true"] .plus { transform: rotate(45deg); }
.faq__panel { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__panel.open { max-height: 320px; }
.faq__panel p { padding-bottom: 1.3rem; color: var(--muted); }

/* --- Estimator wizard --- */
.estimator { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; }
.estimator__head { background: var(--ink); color: var(--white); padding: 1.6rem 2rem; }
.estimator__head h3 { color: var(--white); margin-bottom: .3rem; }
.estimator__progress { display: flex; gap: 6px; margin-top: 1rem; }
.estimator__progress span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); }
.estimator__progress span.done { background: var(--red); }
.estimator__body { padding: 2rem; min-height: 300px; }
.estimator__step { display: none; }
.estimator__step.active { display: block; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.estimator__question { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1.4rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.choice {
  border: 2px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease-bounce);
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
}
.choice:hover { border-color: var(--red); transform: translateY(-2px); }
.choice.selected { border-color: var(--red); background: rgba(210,38,48,.06); }
.choice__label { font-family: var(--font-condensed); font-weight: 700; text-transform: uppercase; font-size: .88rem; }
.choice__sub { display: block; font-family: var(--font-body); font-weight: 400; text-transform: none; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.choice__check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; }
.choice.selected .choice__check { border-color: var(--red); background: var(--red); box-shadow: inset 0 0 0 3px var(--white); }

.slider-row { margin-top: .5rem; }
.slider-row output { font-family: var(--font-display); font-size: 1.6rem; color: var(--red); display: block; margin-bottom: .6rem; }
input[type="range"] { width: 100%; accent-color: var(--red); height: 6px; }

.estimator__nav { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 2rem; border-top: 1px solid var(--border); background: var(--bg-soft); }
.estimator__result { text-align: center; padding: 1rem 0; }
.estimator__result .range { font-family: var(--font-display); font-size: clamp(2.2rem,5vw,3.2rem); color: var(--red); display: block; margin: .6rem 0; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-condensed); font-weight: 600; text-transform: uppercase; font-size: .74rem; letter-spacing: .05em; color: var(--muted); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .95rem; background: var(--white); color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(210,38,48,.12); }
.field--error input, .field--error select, .field--error textarea { border-color: #c0392b; }
.field__error { color: #c0392b; font-size: .78rem; margin-top: .3rem; display: none; }
.field--error .field__error { display: block; }
.form-msg { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-family: var(--font-condensed); font-weight: 600; margin-top: 1rem; }
.form-msg.show { display: block; }
.form-msg--ok { background: #e6f4ea; color: #1e7a34; }

/* --- Map fallback (static photo behind a styled panel — no live iframe) --- */
.map-fallback {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px;
  background: var(--ink) center/cover no-repeat;
}
.map-fallback::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.15), rgba(10,10,10,.7)); }
.map-fallback__pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-60%); z-index: 2; text-align: center; color: var(--white);
}
.map-fallback__pin svg { color: var(--red); filter: drop-shadow(0 8px 14px rgba(0,0,0,.4)); }
.map-fallback__card {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2;
  background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-md);
  font-family: var(--font-condensed); text-align: center; font-size: .85rem; font-weight: 600;
}

/* --- Footer --- */
footer { background: var(--ink); color: rgba(255,255,255,.72); }
.footer__top { padding: 4rem 0 3rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.4rem; }
.footer__brand { color: var(--white); }
.footer__brand .nav__logo { color: var(--white); margin-bottom: .9rem; }
.footer__brand p { font-size: .9rem; color: rgba(255,255,255,.6); max-width: 32ch; }
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease), border-color .2s var(--ease); }
.footer__social a:hover { background: var(--red); border-color: var(--red); }
.footer h4 { color: var(--white); margin-bottom: 1.1rem; font-size: .85rem; letter-spacing: .08em; }
.footer ul li { margin-bottom: .7rem; font-size: .88rem; }
.footer ul li a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.6rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .78rem; }
.footer__bottom a:hover { color: var(--white); }

/* --- CTA band --- */
.cta-band { background: var(--red); color: var(--white); text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: .8rem; }
.cta-band .lede { color: rgba(255,255,255,.85); margin: 0 auto 1.8rem; }
.cta-band .btn--primary { background: var(--white); color: var(--red); border-color: var(--white); }
.cta-band .btn--primary:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* --- Skip link --- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--red); color: var(--white); padding: 12px 18px; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; }

/* --- Page hero (interior pages) --- */
.page-hero { background: var(--ink); color: var(--white); padding: 130px 0 64px; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(255,255,255,.7); margin-top: .9rem; }
.breadcrumb { font-family: var(--font-condensed); text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--white); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { min-height: 320px; order: -1; }
  .hero__copy { padding: 32px 0 8px; }
  .hero-float { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .nav__links, .nav__phone span.label { display: none; }
  .nav__burger { display: flex; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad-desktop: var(--section-pad-mobile); }
  .grid--2, .grid--3, .grid--4, .gallery-grid { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; padding: 3rem 0 2rem; }
  .mobile-tabbar { display: block; }
  body { padding-bottom: 62px; }
  .estimator__body { padding: 1.4rem; }
  .estimator__head, .estimator__nav { padding: 1.2rem 1.4rem; }
  .page-hero { padding: 118px 0 48px; }
}
@media (max-width: 640px) {
  .trust-strip { gap: 1.1rem; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}
@media (max-width: 480px) {
  .hero__stars { font-size: .78rem; }
  h1 { font-size: 2rem; }
}
