/* BrightPath Construction Corp
   Palette sampled from the logo: navy #070F34, gold #F6BC01.
   Headings: Barlow Condensed. Everything else: Libre Franklin. */

:root {
  --navy-950: #050A24;
  --navy-900: #070F34;
  --navy-800: #0E1B50;
  --navy-700: #172A72;
  --navy-line: #24387F;
  --gold: #F6BC01;
  --gold-deep: #D9A300;
  --gold-soft: #FFE59A;
  --paper: #EEF1F7;
  --paper-2: #F7F8FB;
  --card: #FCFDFE;
  --rule: #D3DAE8;
  --ink: #0A1233;
  --ink-2: #414B6B;
  --on-dark: #F3F5FB;
  --on-dark-2: #BAC3E2;
  --error: #B42318;
  --ok: #1B7A45;

  /* Trying Times New Roman. Previous: "Barlow Condensed", "Arial Narrow", sans-serif */
  --heading: "Times New Roman", Times, "Liberation Serif", serif;
  --body: "Libre Franklin", "Franklin Gothic Medium", "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --focus: var(--gold);
  --header-h: 76px;
  --glow: 0 0 0 1px rgba(246, 188, 1, 0.3), 0 0 14px rgba(246, 188, 1, 0.35), 0 0 30px rgba(246, 188, 1, 0.15);
  --glow-strong: 0 0 0 1px rgba(246, 188, 1, 0.45), 0 0 20px rgba(246, 188, 1, 0.5), 0 0 44px rgba(246, 188, 1, 0.24);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper-2);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
}
h1, h2 { text-transform: uppercase; }
h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); }
h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; max-width: 64ch; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1440px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--navy-900); padding: 10px 16px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.pending {
  display: inline-block; font-size: 0.8125rem; font-weight: 600;
  background: var(--gold-soft); color: var(--navy-900); padding: 1px 6px; border-radius: 3px;
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section__head { margin-bottom: clamp(28px, 4vw, 44px); }
.section__head h2::after,
.areas__head h2::after,
.contact__info h2::after,
.faq h2::after,
.work__head h2::after {
  content: ""; display: block; width: 56px; height: 4px; margin-top: 0.6rem; background: var(--gold);
}
.section__head p { color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--navy-900); --bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap;
  min-height: 46px; padding: 0 1.3rem;
  font-family: var(--body); font-weight: 700; font-size: 0.9375rem;
  text-decoration: none; letter-spacing: 0.01em;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: 8px;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .12s, box-shadow .2s;
}
.btn:hover { --bg: var(--gold-deep); --bd: var(--gold-deep); }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--lg { min-height: 52px; padding: 0 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--ghost { --bg: transparent; --fg: var(--on-dark); --bd: var(--on-dark-2); }
.btn--ghost:hover { --bg: var(--on-dark); --fg: var(--navy-900); --bd: var(--on-dark); }
.btn--navy { --bg: var(--navy-900); --fg: var(--on-dark); --bd: var(--navy-900); }
.btn--navy:hover { --bg: var(--navy-700); --bd: var(--navy-700); }
/* Gold buttons glow */
.btn--gold, .actionbar a:last-child { box-shadow: var(--glow); }
.btn--gold:hover, .btn--gold:focus-visible { box-shadow: var(--glow-strong); }
/* Free Estimate button pulse (header + phone bar) */
@keyframes est-pulse {
  0% { transform: scale(1); box-shadow: var(--glow), 0 0 0 0 rgba(246, 188, 1, 0.6); }
  45% { transform: scale(1.045); }
  70% { box-shadow: var(--glow), 0 0 0 12px rgba(246, 188, 1, 0); }
  100% { transform: scale(1); box-shadow: var(--glow), 0 0 0 0 rgba(246, 188, 1, 0); }
}
@keyframes bar-pulse {
  0%, 100% { background-color: var(--gold); box-shadow: var(--glow); }
  50% { background-color: #FFCB2E; box-shadow: var(--glow-strong); }
}
@media (prefers-reduced-motion: no-preference) {
  .header__cta .btn--gold { animation: est-pulse 2s ease-out infinite; }
  .header__cta .btn--gold:hover { animation: none; }
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900); color: var(--on-dark);
  border-bottom: 1px solid var(--navy-800);
  transition: box-shadow .2s;
}
.header.is-stuck { box-shadow: 0 6px 20px rgba(3, 7, 26, 0.4); }
.header__inner { display: flex; align-items: center; gap: 1.1rem; min-height: var(--header-h); }
.header .wrap--wide { padding-left: clamp(16px, 2vw, 28px); padding-right: clamp(16px, 2vw, 28px); }
.brand { flex: none; display: block; padding: 6px 0; }
.brand img { height: 84px; width: auto; transition: height .25s ease; }
.header.is-stuck .brand img { height: 62px; }
.badge-li {
  display: flex; align-items: center; gap: 0.55rem; margin: 0; flex: none;
  padding: 0.3rem 0.6rem 0.3rem 0.45rem;
  border: 1.5px solid var(--gold); border-radius: 8px;
  background: var(--navy-800);
  box-shadow: 0 0 10px rgba(246, 188, 1, 0.18);
  font-size: 0.625rem; font-weight: 800; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark);
}
.badge-li svg { width: 22px; height: 22px; flex: none; }
.badge-li svg .shield { fill: var(--gold); }
.badge-li svg .check { fill: none; stroke: var(--navy-900); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.nav a {
  white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 0.875rem; color: var(--on-dark);
  display: inline-flex; align-items: center; min-height: 44px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 3px no-repeat;
  transition: background-size .2s, color .2s;
}
.nav a:hover { background-size: 100% 3px; }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .nav__phone { display: none; }
.header__cta { display: flex; align-items: center; gap: 0.8rem; margin-left: auto; }
.header__phone {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 46px; white-space: nowrap;
  font-weight: 700; font-size: 0.9375rem; color: var(--on-dark); text-decoration: none; transition: color .15s;
}
.header__phone svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linejoin: round; flex: none; }
.header__phone:hover { color: var(--gold); }
.menu-btn { display: none; }
.header__cta .btn { padding: 0 1rem; }

/* Social icons */
.social { display: flex; align-items: center; gap: 0.4rem; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px;
  color: var(--on-dark); border: 1.5px solid var(--navy-line); transition: color .15s, border-color .15s, background-color .15s;
}
.social a:hover { color: var(--gold); border-color: var(--gold); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .dot { fill: currentColor; stroke: none; }
.social--header a { width: 34px; height: 44px; border-color: transparent; }
.social--header svg { width: 18px; height: 18px; }
.social--header a:hover { border-color: var(--navy-line); background: var(--navy-800); }
.social--header { gap: 0; }
.social--menu { display: none; }
.social--light a { color: var(--navy-900); border-color: var(--rule); background: var(--card); }
.social--light a:hover { color: var(--navy-700); border-color: var(--navy-700); }
.social--footer { margin: 0.6rem 0 1.1rem; }
.footer .social a { display: grid; min-height: 0; }
.footer__email { word-break: break-all; }
.contact__facts dd a[href^="mailto"] { color: var(--navy-700); font-weight: 600; word-break: break-all; }
.contact__facts .social { margin-top: 0.4rem; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(90deg, rgba(7, 15, 52, 0.9) 0%, rgba(7, 15, 52, 0.74) 45%, rgba(7, 15, 52, 0.5) 100%),
    url("../img/hero-vans-1920.webp");
  background-size: cover;
  background-position: center 55%;
  color: var(--on-dark);
  padding: clamp(48px, 6vw, 88px) 0;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; margin-bottom: 1.1rem; max-width: 24ch; }
/* Barlow Condensed version: font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1; max-width: 21ch; */
.hero__title span { color: var(--gold); }
.hero__lede { font-size: 1.0625rem; color: var(--on-dark-2); max-width: 52ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.trust { list-style: none; margin: 0; padding: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; border-top: 1px solid var(--navy-line); }
.trust li { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9375rem; color: var(--on-dark); }
.trust svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Trade strip ---------- */
.trades { background: var(--navy-950); color: var(--on-dark); border-top: 1px solid var(--navy-800); overflow: hidden; }
.trades__track { display: flex; width: max-content; }
.trades__group {
  display: flex; align-items: center; flex: none; padding: 0.95rem 0;
  font-weight: 700; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.08em; white-space: nowrap;
}
.trades__group span { display: flex; align-items: center; }
.trades__group span::after { content: ""; width: 8px; height: 8px; margin: 0 clamp(1.4rem, 2.6vw, 2.4rem); border-radius: 50%; background: var(--gold); box-shadow: 0 0 6px 1px rgba(246, 188, 1, 0.8), 0 0 14px 3px rgba(246, 188, 1, 0.4); }
@media (prefers-reduced-motion: no-preference) {
  .trades__track { animation: marquee 30s linear infinite; }
  .trades:hover .trades__track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-25%); } }
/* Repeating glow on the gold dots (strip + estimate card) */
@keyframes dot-glow {
  0%, 100% { box-shadow: 0 0 4px 0 rgba(246, 188, 1, 0.6), 0 0 8px 1px rgba(246, 188, 1, 0.2); transform: scale(1); }
  50% { box-shadow: 0 0 8px 2px rgba(246, 188, 1, 0.95), 0 0 20px 6px rgba(246, 188, 1, 0.45); transform: scale(1.15); }
}
@media (prefers-reduced-motion: no-preference) {
  .trades__group span::after, .result__lines li::before { animation: dot-glow 2.4s ease-in-out infinite; }
  .trades__group span:nth-child(2)::after { animation-delay: -0.4s; }
  .trades__group span:nth-child(3)::after { animation-delay: -0.8s; }
  .trades__group span:nth-child(4)::after { animation-delay: -1.2s; }
  .trades__group span:nth-child(5)::after { animation-delay: -1.6s; }
  .trades__group span:nth-child(6)::after { animation-delay: -2s; }
  .result__lines li:nth-child(2)::before { animation-delay: -0.6s; }
  .result__lines li:nth-child(3)::before { animation-delay: -1.2s; }
}

/* ---------- Photo slots (placeholder until real photos arrive) ---------- */
.slot {
  margin: 0; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  padding: 1rem 1.15rem;
  background-color: var(--navy-800);
  background-image: repeating-linear-gradient(118deg, transparent 0 22px, rgba(246, 188, 1, 0.06) 22px 24px);
  color: var(--on-dark); min-height: 180px;
}
.slot::before {
  content: ""; position: absolute; top: 16px; right: 16px; width: 30px; height: 24px;
  border: 2px solid var(--gold); border-radius: 2px; opacity: .6;
  background: radial-gradient(circle at 70% 35%, var(--gold) 0 3px, transparent 4px),
              linear-gradient(135deg, transparent 55%, var(--gold) 55% 62%, transparent 62%);
}
.slot span { font-weight: 700; font-size: 1rem; }
.slot small { font-size: 0.8125rem; color: var(--on-dark-2); }
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Services ---------- */
.services { background: var(--paper-2); }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.svc-card { border-top: 4px solid var(--gold); padding-top: 1.5rem; }
.svc-card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 1.35rem; border-radius: 8px;
  background: var(--navy-900); box-shadow: 0 8px 18px -10px rgba(7, 15, 52, 0.6);
}
.svc-card__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc-card__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.35rem 1.4rem; }
.svc-card h3 { margin-bottom: 0.4rem; }
.svc-card p { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 1rem; }
.svc-card__link {
  margin-top: auto; align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center;
  font-weight: 700; font-size: 0.9375rem; color: var(--navy-700); text-decoration: underline;
  text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.svc-card__link:hover { color: var(--ink); }

/* ---------- Work ---------- */
.work {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(180deg, rgba(7, 15, 52, 0.84) 0%, rgba(7, 15, 52, 0.72) 100%),
    url("../img/work-driveway-1600.webp");
  background-size: cover;
  background-position: center 62%;
}
.work .slot { background-color: rgba(14, 27, 80, 0.55); border: 1px solid rgba(186, 195, 226, 0.18); }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.25rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.work__head h2 { margin: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tabs button {
  font: 600 0.875rem var(--body); color: var(--on-dark); background: transparent;
  border: 1px solid var(--navy-line); border-radius: 8px; min-height: 44px; padding: 0 0.95rem; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.tabs button:hover { border-color: var(--on-dark-2); }
.tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas: "a a b" "a a c" "d e e";
}
.gallery .slot { min-height: 210px; border-radius: 3px; }
.g-a { grid-area: a; min-height: 432px !important; }
.g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; } .g-e { grid-area: e; }
.gallery.is-filtered { grid-template-areas: none; grid-template-columns: 1fr; }
.gallery.is-filtered > * { grid-area: auto; min-height: 360px !important; }
.gallery [hidden] { display: none; }

/* ---------- Estimate band ---------- */
.est-band { background: var(--gold); color: var(--navy-900); padding: clamp(40px, 5vw, 60px) 0; }
.est-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.est-band h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); margin-bottom: 0.4rem; }
.est-band p { margin: 0; }

/* ---------- Process ---------- */
.process { background: var(--paper); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: 1.4rem 1.35rem 1.5rem; }
.steps li > span {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 1rem;
  background: var(--navy-900); color: var(--gold); border-radius: 3px;
  font-weight: 800; font-size: 1.125rem;
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--ink-2); font-size: 0.9375rem; margin: 0; }

/* ---------- Areas ---------- */
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.areas__head p { color: var(--on-dark-2); margin-bottom: 1.5rem; }
.areas__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.areas__lists h3 { font-family: var(--body); font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.75rem; }
.areas__lists ul { list-style: none; margin: 0; padding: 0; }
.areas__lists li {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--navy-line);
}
.areas__lists li::before {
  content: ""; flex: none; width: 14px; height: 8px; margin-top: -4px;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg);
}

/* ---------- Contact ---------- */
.contact { background: var(--paper-2); --focus: var(--navy-700); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__info > p { color: var(--ink-2); }
.contact__info a:not(.contact__phone) { color: var(--navy-700); font-weight: 600; }
.contact__phone {
  display: inline-flex; align-items: center; min-height: 48px; margin: 0.25rem 0 1.75rem;
  font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.75rem); color: var(--navy-900); text-decoration: none;
}
.contact__phone:hover { color: var(--navy-700); }
.contact__facts { margin: 0; display: grid; gap: 1rem; }
.contact__facts div { padding-top: 1rem; border-top: 1px solid var(--rule); }
.contact__facts dt { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy-700); }
.contact__facts dd { margin: 0.25rem 0 0; }

/* ---------- Forms ---------- */
.form { background: var(--card); border: 1px solid var(--rule); border-radius: 4px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 18px 40px -24px rgba(7, 15, 52, 0.25); color: var(--ink); --focus: var(--navy-700); }
.form--hero { box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5); }
.form__title { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: clamp(1.5rem, 2.2vw, 1.85rem); margin-bottom: 0.25rem; }
.form__intro { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.35rem; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: var(--paper-2); border: 1.5px solid #A9B3CE; border-radius: 3px;
  padding: 0.7rem 0.85rem; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy-700) 50%), linear-gradient(135deg, var(--navy-700) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-700); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(23, 42, 114, 0.22); }
.field__err { display: none; color: var(--error); font-size: 0.875rem; font-weight: 600; margin: 0.35rem 0 0; }
.field.is-error input, .field.is-error select { border-color: var(--error); }
.field.is-error .field__err { display: block; }
.form__note { font-size: 0.8125rem; color: var(--ink-2); margin: 0.8rem 0 0; }
.form.is-sent .form__note { color: var(--ok); font-weight: 600; }
.form__alt { font-size: 0.875rem; color: var(--ink-2); margin: 0.9rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--rule); }
.form__alt a { color: var(--navy-700); font-weight: 700; }

/* ---------- Reviews ---------- */
.reviews {
  background-color: var(--navy-900);
  background-image:
    repeating-linear-gradient(118deg, transparent 0 46px, rgba(36, 56, 127, 0.2) 46px 48px, transparent 48px 140px),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  color: var(--on-dark);
}
.reviews__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.reviews__intro h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 0.6rem; background: var(--gold); }
.reviews__intro > p { color: var(--on-dark-2); font-size: 1.0625rem; }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.6rem 0 0.9rem; }
.reviews__pending { margin: 0; }
.reviews__pending[hidden] { display: none; }
.review-card {
  background: var(--card); color: var(--ink); border: 1px solid var(--rule); border-radius: 8px;
  padding: clamp(24px, 3vw, 34px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5); --focus: var(--navy-700);
}
.review-card h3 { font-size: 1.5rem; margin-bottom: 0.9rem; }
.stars { display: flex; gap: 0.35rem; margin-bottom: 1.4rem; }
.stars a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; }
.stars svg { width: 38px; height: 38px; fill: transparent; stroke: var(--gold-deep); stroke-width: 1.6; stroke-linejoin: round; transition: fill .15s, transform .15s; }
.stars:hover svg, .stars:focus-within svg { fill: var(--gold); stroke: var(--gold); }
.stars a:hover ~ a svg, .stars a:focus-visible ~ a svg { fill: transparent; stroke: var(--gold-deep); }
.stars a:hover svg { transform: scale(1.12); }
.review-steps { list-style: none; margin: 0; padding: 1.2rem 0 0; border-top: 1px solid var(--rule); display: grid; gap: 0.8rem; }
.review-steps li { display: flex; align-items: center; gap: 0.75rem; color: var(--ink-2); font-size: 0.9375rem; }
.review-steps .num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--navy-900); color: var(--gold); font-weight: 800; font-size: 0.875rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); --focus: var(--navy-700); }
.faq__grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 60px; padding: 0.7rem 0; font-weight: 700; font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 3px; background-color: var(--navy-900);
  background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold));
  background-size: 12px 2px, 2px 12px; background-position: center; background-repeat: no-repeat;
}
.faq details[open] summary::after { background-size: 12px 2px, 0 0; }
.faq summary:hover { color: var(--navy-700); }
.faq details p { color: var(--ink-2); padding-bottom: 1.1rem; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--on-dark-2); padding: clamp(48px, 6vw, 72px) 0 0; font-size: 0.875rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand img { width: 200px; }
.footer h3 { font-family: var(--body); font-weight: 700; line-height: 1.3; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.75rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { min-height: 40px; display: flex; align-items: center; }
.footer a { text-decoration: none; color: var(--on-dark); display: inline-flex; align-items: center; min-height: 44px; }
.footer a:hover { color: var(--gold); }
.footer__phone { font-weight: 800; font-size: 1.15rem; }
.footer__base { padding-top: 1.1rem; padding-bottom: 1.1rem; }
.footer__base p { margin: 0; max-width: none; border-top: 1px solid var(--navy-800); padding-top: 1.1rem; }
.footer--slim { padding-top: 0; }
.footer--slim .footer__base p { border-top: 0; }

.actionbar { display: none; }

/* ---------- Estimate page ---------- */
.calc-hero {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(90deg, rgba(7, 15, 52, 0.9) 0%, rgba(7, 15, 52, 0.74) 50%, rgba(7, 15, 52, 0.5) 100%),
    url("../img/hero-vans-1920.webp");
  background-size: cover;
  background-position: center 45%;
  color: var(--on-dark); padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
}
.calc-hero h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); max-width: 20ch; }
.calc-hero__lede { color: var(--on-dark-2); font-size: 1.0625rem; }
.sample-flag {
  display: inline-block; margin: 0.5rem 0 0; padding: 0.5rem 0.85rem; border-radius: 3px;
  background: var(--gold-soft); color: var(--navy-900); font-weight: 600; font-size: 0.875rem;
}
.sample-flag[hidden] { display: none; }
.calc { padding: clamp(32px, 5vw, 56px) 0 clamp(56px, 7vw, 96px); --focus: var(--navy-700); }
.calc__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.calc__step { border: 0; margin: 0 0 2rem; padding: 0; min-width: 0; }
.calc__step[hidden] { display: none; }
.calc__step legend {
  display: flex; align-items: center; gap: 0.65rem; padding: 0; margin-bottom: 0.9rem;
  font-family: var(--heading); font-weight: 700; font-size: 1.35rem; text-transform: uppercase;
}
.calc__step legend .num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 3px; background: var(--navy-900); color: var(--gold); font-family: var(--body); font-size: 0.875rem; font-weight: 800; }

.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.chip, .choice, .seg__item { position: relative; cursor: pointer; }
.chip input, .choice input, .seg__item input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px; padding: 0.5rem;
  border: 1.5px solid #A9B3CE; border-radius: 8px; background: var(--card);
  font-weight: 700; font-size: 0.9375rem;
  transition: border-color .15s, background-color .15s, color .15s;
}
.chip:hover span { border-color: var(--navy-700); }
.chip input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--gold); }
.chip input:focus-visible + span, .choice input:focus-visible + span, .seg__item input:focus-visible + span { outline: 3px solid var(--navy-700); outline-offset: 2px; }

.choice-list { display: grid; gap: 0.5rem; }
.choice span {
  display: flex; align-items: center; gap: 0.75rem; min-height: 50px; padding: 0.55rem 0.95rem;
  background: var(--card); border: 1.5px solid var(--rule); border-radius: 8px; font-weight: 600; font-size: 0.9375rem;
  transition: border-color .15s, background-color .15s;
}
.choice span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #8C97B8; background: var(--card); transition: border .15s; }
.choice:hover span { border-color: var(--navy-700); }
.choice input:checked + span { border-color: var(--navy-900); background: #E1E6F3; }
.choice input:checked + span::before { border: 5px solid var(--navy-900); }

.size { background: var(--card); border: 1.5px solid var(--rule); border-radius: 4px; padding: 1.15rem 1.15rem 0.95rem; }
.size__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 0.9rem; flex-wrap: wrap; }
.size__top label { font-weight: 700; font-size: 0.9375rem; }
.size__input { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9375rem; color: var(--ink-2); }
.size__input input {
  width: 7rem; min-height: 46px; padding: 0.5rem 0.7rem; text-align: right;
  font: 800 1.15rem var(--body); color: var(--navy-900);
  background: var(--paper-2); border: 1.5px solid #A9B3CE; border-radius: 3px;
}
.size__input input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(23, 42, 114, 0.22); }
.size__help { color: var(--ink-2); font-size: 0.875rem; margin: 0.7rem 0 0; }

input[type="range"] {
  --fill: 50%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, var(--gold) 0 var(--fill), #C6CEE3 var(--fill) 100%);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #C6CEE3; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: var(--navy-900); border: 4px solid var(--gold); box-shadow: 0 2px 6px rgba(7, 15, 52, 0.3);
}
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--navy-900); border: 4px solid var(--gold); }
input[type="range"]:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 2px; }

.opt-group { margin-bottom: 1.15rem; }
.opt-group__label { font-weight: 700; font-size: 0.9375rem; margin: 0 0 0.45rem; }
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg__item { flex: 1 1 0; min-width: 150px; }
.seg__item span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 0.5rem 0.75rem;
  background: var(--card); border: 1.5px solid var(--rule); border-radius: 8px; font-weight: 600; font-size: 0.9375rem; line-height: 1.25;
  transition: border-color .15s, background-color .15s;
}
.seg__item:hover span { border-color: var(--navy-700); }
.seg__item input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }

.toggle { display: flex; align-items: center; gap: 0.85rem; min-height: 50px; cursor: pointer; font-weight: 600; font-size: 0.9375rem; position: relative; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__track { flex: none; position: relative; width: 48px; height: 28px; border-radius: 14px; background: #A9B3CE; transition: background-color .18s; }
.toggle__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgba(7, 15, 52, 0.3); transition: transform .18s; }
.toggle input:checked + .toggle__track { background: var(--navy-900); }
.toggle input:checked + .toggle__track::after { transform: translateX(20px); background: var(--gold); }
.toggle input:focus-visible + .toggle__track { outline: 3px solid var(--navy-700); outline-offset: 2px; }

.calc__result { position: sticky; top: calc(var(--header-h) + 20px); }
.result {
  background: var(--navy-900); color: var(--on-dark); border-radius: 4px; border: 1px solid var(--navy-line);
  padding: clamp(22px, 3vw, 30px); box-shadow: 0 24px 50px -28px rgba(7, 15, 52, 0.6); --focus: var(--gold);
}
.result__label { font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-dark-2); margin: 0 0 0.45rem; }
.result__range { font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.15; color: var(--gold); margin: 0 0 0.35rem; }
.result__sub { color: var(--on-dark); font-weight: 600; font-size: 0.9375rem; margin-bottom: 1rem; }
.result__lines { list-style: none; margin: 0 0 1.4rem; padding: 0.9rem 0 0; border-top: 1px solid var(--navy-line); display: grid; gap: 0.35rem; }
.result__lines li { display: flex; gap: 0.6rem; color: var(--on-dark-2); font-size: 0.9375rem; }
.result__lines li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.55em; border-radius: 50%; background: var(--gold); box-shadow: 0 0 6px 1px rgba(246, 188, 1, 0.8), 0 0 14px 2px rgba(246, 188, 1, 0.35); }
.result__lines li.is-note { font-style: italic; }
.result .btn + .btn { margin-top: 0.65rem; }
.result__fine { font-size: 0.8125rem; color: var(--on-dark-2); margin: 1rem 0 0; }

.calc-peek { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1220px) {
  .menu-btn {
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0; cursor: pointer;
    background: transparent; border: 1.5px solid var(--navy-line); border-radius: 8px; color: var(--on-dark);
  }
  .menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after { display: block; width: 20px; height: 2.5px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn__bars { position: relative; }
  .menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn__bars::before { top: -6px; } .menu-btn__bars::after { top: 6px; }
  .menu-open .menu-btn__bars { background: transparent; }
  .menu-open .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--navy-900); border-bottom: 1px solid var(--navy-800);
    box-shadow: 0 20px 30px rgba(3, 7, 26, 0.5);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav a { display: block; min-height: 0; padding: 0.85rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--navy-800); background: none; }
  .nav a:hover { color: var(--gold); }
  .nav .nav__phone { display: block; color: var(--gold); border-bottom: 0; font-weight: 700; }
  .social--menu { display: flex; padding-top: 0.25rem; }
  .social--menu a { border-bottom: 1.5px solid var(--navy-line); padding: 0; font-size: inherit; }
}

@media (max-width: 1100px) {
  :root { --header-h: 66px; }
  .brand img { height: 64px; }
  .header.is-stuck .brand img { height: 52px; }
  .hero__grid { grid-template-columns: 1fr; }
  .form--hero { max-width: 560px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .areas__grid, .contact__grid, .faq__grid, .calc__grid, .reviews__grid { grid-template-columns: 1fr; }
  .review-card { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .calc__result { position: static; }
  .calc-peek {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 0.65rem var(--gutter); min-height: 54px; text-decoration: none;
    background: var(--navy-800); color: var(--on-dark); border-top: 1px solid var(--navy-line);
    transition: transform .25s, opacity .25s;
  }
  .calc-peek span { font-size: 0.875rem; color: var(--on-dark-2); }
  .calc-peek b { font-weight: 800; font-size: 1.15rem; color: var(--gold); }
  .calc-peek.is-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
}

@media (max-width: 1060px) {
  .social--header { display: none; }
}

@media (max-width: 900px) {
  .header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header__phone { width: 46px; justify-content: center; border: 1.5px solid var(--navy-line); border-radius: 8px; }
}

@media (max-width: 760px) {
  .header__phone { display: none; }
  .hero { background-image: linear-gradient(180deg, rgba(7, 15, 52, 0.84) 0%, rgba(7, 15, 52, 0.74) 100%), url("../img/hero-vans-1000.webp"); background-position: 40% center; }
  body { padding-bottom: 64px; }
  .header__cta .btn { display: none; }
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -6px 20px rgba(3, 7, 26, 0.3); padding-bottom: env(safe-area-inset-bottom); background: var(--navy-900);
  }
  .actionbar a {
    display: flex; align-items: center; justify-content: center; min-height: 56px;
    font-weight: 700; font-size: 1rem; text-decoration: none;
  }
  .actionbar a:first-child { background: var(--navy-900); color: var(--on-dark); }
  .actionbar a:last-child { background: var(--gold); color: var(--navy-900); }
  @media (prefers-reduced-motion: no-preference) { .actionbar a:last-child { animation: bar-pulse 2s ease-in-out infinite; } }
  .calc-peek { bottom: calc(56px + env(safe-area-inset-bottom)); }
  .svc-grid { grid-template-columns: 1fr; }
  .calc-hero { background-image: linear-gradient(180deg, rgba(7, 15, 52, 0.84) 0%, rgba(7, 15, 52, 0.76) 100%), url("../img/hero-vans-1000.webp"); background-position: 45% center; }
  .work { background-image: linear-gradient(180deg, rgba(7, 15, 52, 0.84) 0%, rgba(7, 15, 52, 0.74) 100%), url("../img/work-driveway-900.webp"); }
  .gallery { grid-template-columns: 1fr; grid-template-areas: none; }
  .gallery > * { grid-area: auto !important; min-height: 220px !important; }
  .chips { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .work__head { align-items: flex-start; }
}

@media (max-width: 520px) {
  .badge-li { display: none; }
  .steps { grid-template-columns: 1fr; }
  .areas__lists { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .seg__item { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
}
