/* VanTechCampers */

:root {
  --bg: #0b0d11;
  --bg-alt: #0f1217;
  --surface: #151920;
  --surface-2: #1b2029;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef0f3;
  --muted: #a3aab6;
  --faint: #6f7785;
  --accent: #e97a2b;
  --accent-hi: #ff9447;
  --accent-soft: rgba(233, 122, 43, 0.14);
  --ok: #45c98a;
  --danger: #ff6b6b;

  --font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --nav-h: 72px;
  --container: 1200px;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.005em;
  margin: 0;
}
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; }
p { margin: 0; }

.accent { color: var(--accent); }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--accent); color: #111; padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.lead { font-size: 1.15rem; color: var(--text); }

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px; padding: 0.75rem 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #140a02; box-shadow: 0 10px 30px -12px rgba(233, 122, 43, 0.7); }
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn-primary:disabled { background: var(--surface-2); color: var(--faint); box-shadow: none; cursor: not-allowed; transform: none; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { width: 100%; }

.link-btn {
  background: none; border: 0; padding: 0; color: var(--muted);
  font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--text); }

/* Navigation ---------------------------------------------------------------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(11, 13, 17, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.logo-mark { width: 34px; height: 34px; color: var(--accent); }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.04em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.97rem;
  padding: 0.5rem 0.8rem; border-radius: 999px; transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links .nav-cta { color: var(--text); border: 1px solid var(--line-strong); margin-left: 0.4rem; }
.nav-links .nav-cta:hover { border-color: var(--accent); color: var(--accent); }

.quote-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  text-decoration: none; font-weight: 700; font-size: 0.92rem; font-variant-numeric: tabular-nums;
  transition: border-color 0.2s, background-color 0.2s;
}
.quote-pill svg { width: 18px; height: 18px; color: var(--muted); }
.quote-pill.has-items { border-color: rgba(233, 122, 43, 0.5); background: var(--accent-soft); }
.quote-pill.has-items svg { color: var(--accent); }
.quote-pill-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--accent); color: #140a02; font-size: 0.75rem; display: inline-grid; place-items: center;
}

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; margin-right: -10px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle span + span { margin-top: 6px; }
.nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  /* backdrop-filter would make the nav the containing block for the fixed menu panel. */
  .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem clamp(1rem, 4vw, 2rem) 2rem;
    background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a {
    font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.03em;
    color: var(--text); padding: 0.85rem 0; border-radius: 0; border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-cta { margin: 1.5rem 0 0; border: 0; background: var(--accent); color: #140a02; text-align: center; border-radius: 999px; font-size: 1.2rem; }
  .nav-links .nav-cta:hover { color: #140a02; }
}
@media (max-width: 420px) {
  .hero .eyebrow { letter-spacing: 0.14em; font-size: 0.75rem; }
  .logo-mark { display: none; }
  .logo-text { font-size: 1.2rem; }
}

/* Hero ---------------------------------------------------------------------- */

.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 900px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 3rem);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 13, 17, 0.92) 0%, rgba(11, 13, 17, 0.7) 42%, rgba(11, 13, 17, 0.15) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 13, 17, 0) 38%);
}
.hero-inner { padding-bottom: clamp(2.5rem, 7vh, 5rem); }
.hero h1 {
  font-size: clamp(2.8rem, 7.2vw, 5.6rem);
  text-transform: uppercase; line-height: 0.98; letter-spacing: 0.005em;
  max-width: 12ch; margin-bottom: 1.4rem;
}
.hero h1 .accent { display: inline-block; }
.hero-lead { max-width: 34rem; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: #d5d9e0; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-facts { border-top: 1px solid var(--line); background: rgba(11, 13, 17, 0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-facts-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 1.3rem 1.5rem 1.3rem 0; display: flex; flex-direction: column; }
.fact + .fact { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.fact strong { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.fact span { color: var(--muted); font-size: 0.95rem; }

@media (max-width: 720px) {
  .hero::after {
    background: linear-gradient(0deg, var(--bg) 8%, rgba(11, 13, 17, 0.78) 55%, rgba(11, 13, 17, 0.45) 100%);
  }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts-inner { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 0.9rem 0; border-left: 0; flex-direction: row; align-items: baseline; gap: 0.6rem; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .fact strong { font-size: 1.1rem; white-space: nowrap; }
}

/* Makes strip -------------------------------------------------------------- */

.makes { border-bottom: 1px solid var(--line); }
.makes-inner { display: flex; align-items: center; gap: 2rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.makes-label { flex: none; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.makes-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; }
.makes-list li { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: #8c94a2; }
@media (max-width: 720px) {
  .makes-inner { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
  .makes-list { gap: 0.3rem 1.2rem; }
  .makes-list li { font-size: 1rem; }
}

/* Sections ------------------------------------------------------------------ */

.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.section-head-left { text-align: left; margin-left: 0; }
.section-head-left .eyebrow { justify-content: flex-start; }

/* Reveal animation (only once JS confirms it is running). */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .product-grid .reveal:nth-child(2), .js-reveal .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.js-reveal .product-grid .reveal:nth-child(3), .js-reveal .steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.js-reveal .steps .reveal:nth-child(4) { transition-delay: 0.24s; }

/* Products ------------------------------------------------------------------ */

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.product {
  position: relative; padding: 1.75rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(21, 25, 32, 0.6) 100%);
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.product:hover { border-color: rgba(233, 122, 43, 0.35); transform: translateY(-3px); }
.product-art { height: 92px; margin: -0.25rem 0 1.25rem; display: flex; align-items: center; }
.product-art svg { height: 100%; width: auto; }
.product-art .van-line { fill: none; stroke: #4b5361; stroke-width: 2.5; stroke-linejoin: round; }
.product-art .wheel { fill: var(--bg); stroke: #4b5361; stroke-width: 2.5; }
.product-art .win-off { fill: rgba(255, 255, 255, 0.04); stroke: #4b5361; stroke-width: 2; }
.product-art .win-on { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2.5; }
.product-art .win-slide { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 3 3; }
.product h3 { font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.product-price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: var(--accent); line-height: 1.1; margin-bottom: 0.9rem; }
.product-price span, .product-price small { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.product p:last-child { color: var(--muted); }

.included {
  margin-top: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 0% 0%, rgba(233, 122, 43, 0.1), transparent 55%), var(--surface);
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: center;
}
.included h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: 0.6rem; }
.included-copy p { color: var(--muted); font-size: 0.98rem; }

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.included .tick-list { grid-template-columns: 1fr 1fr; gap: 0.8rem 1.5rem; }
.tick-list li { position: relative; padding-left: 2rem; }
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23e97a2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr; }
  .product { display: grid; grid-template-columns: 110px 1fr; column-gap: 1.25rem; align-items: start; }
  .product-art { grid-row: span 3; height: auto; margin: 0; }
  .included { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .product { grid-template-columns: 1fr; }
  .product-art { height: 72px; grid-row: auto; margin-bottom: 1rem; }
  .included .tick-list { grid-template-columns: 1fr; }
}

/* Steps --------------------------------------------------------------------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { padding: 1.5rem 0 0; border-top: 2px solid var(--line-strong); position: relative; }
.step::before { content: ''; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--accent); }
.step-num { font-family: var(--font-display); color: var(--accent); font-size: 0.95rem; letter-spacing: 0.15em; }
.step h3 { font-size: 1.35rem; text-transform: uppercase; margin: 0.5rem 0 0.6rem; }
.step p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Quote builder ------------------------------------------------------------- */

.builder { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "views views" "options summary"; gap: 1rem 1.5rem; align-items: start; }

.builder-views {
  grid-area: views;
  display: grid; gap: clamp(0.75rem, 2vw, 1.75rem);
  grid-template-columns: 1032fr 592fr 1114fr;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2.5rem) 1.25rem; border-radius: var(--radius);
  /* Matches the artwork's own background so the views blend in. */
  background: #1b1e22;
  border: 1px solid var(--line);
}
.van-view { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.van-view svg { width: 100%; height: auto; overflow: hidden; border-radius: 8px; }
.van-view figcaption { text-align: center; color: var(--faint); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin-top: 0.4rem; }

.hotspot { cursor: pointer; outline: none; }
.hotspot-shape {
  fill: rgba(20, 24, 30, 0.35);
  stroke: rgba(255, 255, 255, 0.75); stroke-width: 3; stroke-dasharray: 10 7;
  vector-effect: non-scaling-stroke;
  transition: fill 0.2s, stroke 0.2s;
}
.hotspot-label {
  font-family: var(--font-display); font-weight: 600; font-size: 38px; letter-spacing: 1px;
  fill: #fff; pointer-events: none; paint-order: stroke; stroke: rgba(0, 0, 0, 0.55); stroke-width: 5px;
}
.hotspot:hover .hotspot-shape, .hotspot:focus-visible .hotspot-shape { fill: rgba(233, 122, 43, 0.35); stroke: #fff; stroke-dasharray: none; }
.hotspot:focus-visible .hotspot-shape { stroke-width: 4; }
.hotspot.is-selected .hotspot-shape { fill: rgba(255, 148, 71, 0.82); stroke: #fff; stroke-dasharray: none; stroke-width: 3; filter: drop-shadow(0 0 10px rgba(255, 148, 71, 0.8)); }
.hotspot.is-selected .hotspot-label { fill: #160a02; stroke: none; }

.builder-options { grid-area: options; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.option {
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  transition: border-color 0.2s, background-color 0.2s;
  display: flex; flex-direction: column;
}
.option.is-selected { border-color: rgba(233, 122, 43, 0.6); background: linear-gradient(180deg, rgba(233, 122, 43, 0.12), rgba(233, 122, 43, 0.04)); }
.option-toggle {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 0.75rem; align-items: center;
  width: 100%; padding: 0.85rem 0.9rem; text-align: left; background: none; border: 0; border-radius: var(--radius-sm);
}
.option-code {
  grid-row: span 2; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--muted);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.option.is-selected .option-code { background: var(--accent); border-color: var(--accent); color: #160a02; }
.option-text { display: flex; flex-direction: column; min-width: 0; }
.option-title { font-weight: 700; font-size: 0.98rem; line-height: 1.25; }
.option-sub { color: var(--muted); font-size: 0.85rem; }
.option-price { grid-column: 2; font-weight: 700; color: var(--accent); font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.option-check {
  grid-column: 3; grid-row: 1 / span 2; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: transparent;
  transition: all 0.2s;
}
.option-check svg { width: 14px; height: 14px; }
.option.is-selected .option-check { background: var(--accent); border-color: var(--accent); color: #160a02; }
.option-variants { margin: 0 0.9rem 0.9rem; }

.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.segmented button {
  border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 0.92rem;
  padding: 0.55rem 0.75rem; border-radius: 999px; transition: background-color 0.2s, color 0.2s;
}
.segmented button:hover { color: var(--text); }
.segmented button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.segmented-sm button { font-size: 0.8rem; padding: 0.4rem 0.5rem; font-variant-numeric: tabular-nums; }
.segmented-sm button[aria-pressed="true"] { background: var(--accent); color: #160a02; box-shadow: none; }
.segmented-sm button.is-default { color: var(--text); }

.builder-summary { grid-area: summary; position: sticky; top: calc(var(--nav-h) + 1rem); }
.summary-card { padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field-label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--faint); }
.select {
  appearance: none; -webkit-appearance: none; width: 100%;
  padding: 0.7rem 2.5rem 0.7rem 0.9rem; border-radius: var(--radius-sm);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23a3aab6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 0.8rem center / 1rem no-repeat;
  border: 1px solid var(--line-strong); font-weight: 600;
}
.select:focus { border-color: var(--accent); outline: none; }

.summary-lines { border-top: 1px solid var(--line); padding-top: 1rem; }
.summary-lines-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.quote-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.95rem; }
.quote-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.quote-lines b { display: inline-block; min-width: 2.6em; color: var(--accent); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.03em; }
.quote-line-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.quote-empty { color: var(--faint); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 1rem; }
.summary-total span { color: var(--muted); font-weight: 600; }
.summary-total strong { font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.summary-note { color: var(--faint); font-size: 0.85rem; line-height: 1.45; }

@media (max-width: 960px) {
  .builder { grid-template-columns: 1fr; grid-template-areas: "views" "options" "summary"; }
  .builder-summary { position: static; }
}
@media (max-width: 640px) {
  .builder-views { grid-template-columns: 1fr 1fr; padding: 1rem 0.75rem; }
  .van-view--left, .van-view--right { grid-column: span 2; }
  .van-view--rear { grid-column: span 2; width: 60%; justify-self: center; }
  .builder-options { grid-template-columns: 1fr; }
}

/* Coverage ------------------------------------------------------------------ */

.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.coverage-map { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 1; }
.coverage-map img { width: 100%; height: 100%; object-fit: cover; }
.coverage-copy h2 { margin-bottom: 1.2rem; }
.coverage-copy .lead { margin-bottom: 1.6rem; }
.coverage-copy .tick-list { margin-bottom: 1.6rem; }
.coverage-copy > p:last-child { color: var(--muted); }
@media (max-width: 860px) {
  .coverage { grid-template-columns: 1fr; }
  .coverage-map { max-width: 520px; }
}

/* Work ---------------------------------------------------------------------- */

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.75rem; margin-bottom: 2rem; }
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0; padding: 1.5rem 0.9rem 0.7rem; font-size: 0.9rem; background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent); }

.social-band { text-align: center; }
.social-band > p { color: var(--muted); margin-bottom: 1.5rem; font-size: 1.1rem; }
.social-cards { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.social-card {
  display: flex; align-items: center; gap: 1rem; min-width: 260px;
  padding: 1.2rem 1.5rem; border-radius: var(--radius); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); text-align: left;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.social-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.social-card svg { width: 34px; height: 34px; color: var(--accent); flex: none; }
.social-card strong { display: block; font-size: 1.1rem; }
.social-card small { color: var(--muted); font-size: 0.92rem; }

/* Reviews ------------------------------------------------------------------- */

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.reviews-grid:empty { display: none; }
.review { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.review header { display: grid; grid-template-columns: auto 1fr auto; gap: 0.8rem; align-items: center; margin-bottom: 0.9rem; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), #b04a12); color: #160a02; font-weight: 700; font-size: 0.9rem;
}
.review header strong { display: block; line-height: 1.2; }
.review header div span { color: var(--muted); font-size: 0.88rem; }
.review-stars { color: var(--accent); letter-spacing: 2px; font-size: 1rem; }
.review p { color: #d3d7de; }

.review-form-wrap {
  max-width: 760px; margin: 0 auto; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.review-form-wrap summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; cursor: pointer; font-size: 1.05rem;
}
.review-form-wrap summary::-webkit-details-marker { display: none; }
.review-form-wrap summary strong { color: var(--accent); }
.review-form-wrap summary svg { width: 20px; height: 20px; flex: none; transition: transform 0.25s var(--ease); color: var(--muted); }
.review-form-wrap[open] summary svg { transform: rotate(180deg); }
.review-form-wrap .form { padding: 0 1.4rem 1.4rem; }

.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form-field .star-input label { font-size: 1.9rem; line-height: 1; color: #3a404c; cursor: pointer; padding: 0 2px; transition: color 0.15s, transform 0.15s; text-transform: none; letter-spacing: 0; }
.form-field .star-input label:hover, .form-field .star-input label:hover ~ label,
.form-field .star-input input:checked ~ label { color: var(--accent); }
.star-input input:focus-visible + label { outline: 2px solid var(--accent-hi); border-radius: 4px; }

/* FAQ ----------------------------------------------------------------------- */

.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; }
.faq-wrap .section-head a { color: var(--accent); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-weight: 700; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 0.25rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-hi); }
.faq details p { color: var(--muted); padding: 0 2.5rem 1.4rem 0; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Contact & forms ----------------------------------------------------------- */

.section-contact { background: radial-gradient(70% 60% at 85% 30%, rgba(233, 122, 43, 0.1), transparent 70%), var(--bg-alt); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-copy h2 { margin-bottom: 1.2rem; }
.contact-copy .lead { color: var(--muted); margin-bottom: 1.8rem; }
.contact-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-points li { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; }
.contact-points svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

.contact-card { padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }

.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: grid; gap: 0.4rem; min-width: 0; margin: 0; padding: 0; border: 0; position: relative; }
.form-field label, .form-field legend { font-size: 0.9rem; font-weight: 700; color: #cfd3da; padding: 0; }
.optional { color: var(--faint); font-weight: 500; font-size: 0.82rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line-strong);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form ::placeholder { color: #5b6370; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(233, 122, 43, 0.2); }
.form [aria-invalid="true"] { border-color: var(--danger); }
.char-count { justify-self: end; font-size: 0.8rem; color: var(--faint); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.25rem; }
.form-status { font-size: 0.95rem; color: var(--muted); }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--ok); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.attached-quote { padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: var(--accent-soft); border: 1px solid rgba(233, 122, 43, 0.45); }
.attached-quote-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.3rem; }
.attached-quote-head .field-label { color: var(--accent); }
.attached-quote p { font-weight: 600; font-size: 0.97rem; }

.form-success { text-align: center; padding: 2rem 1rem; outline: none; }
.form-success svg { width: 64px; height: 64px; color: var(--ok); margin: 0 auto 1.2rem; }
.form-success h3 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); margin-bottom: 1.5rem; }

@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* Footer -------------------------------------------------------------------- */

.footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 2rem; align-items: start; }
.footer-brand p { color: var(--muted); margin-top: 0.6rem; max-width: 22rem; font-size: 0.95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--text); }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.88rem; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }

/* Toast --------------------------------------------------------------------- */

.toast {
  position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); z-index: 150;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text);
  padding: 0.75rem 1.2rem; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* 404 ----------------------------------------------------------------------- */

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 2rem; }
.notfound h1 { font-size: clamp(4rem, 14vw, 9rem); color: var(--accent); }
.notfound p { color: var(--muted); margin: 0.5rem 0 2rem; font-size: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
