/* ==========================================================================
   Hebden Auto Tech — Stylesheet
   Dark, technical theme built for a turbo-diesel remapping & car tech shop.
   ========================================================================== */

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* Backgrounds */
  --bg: #0a0d12;
  --bg-alt: #0d1119;
  --surface: #131922;
  --surface-2: #1a222d;
  --surface-3: #202a37;
  --border: #263041;
  --border-light: #33404f;

  /* Text */
  --text: #e9eef4;
  --text-dim: #a7b3c2;
  --text-faint: #6c7889;

  /* Brand accents — boost-gauge orange + ECU cyan */
  --accent: #ff6a1a;
  --accent-2: #ff8a45;
  --accent-dim: #7a3413;
  --cyan: #22d3c9;
  --cyan-dim: #0f5b56;
  --red: #ff4d4f;
  --green: #37d67a;
  --amber: #ffb020;

  /* Gradients */
  --grad-accent: linear-gradient(135deg, #ff6a1a 0%, #ff3d1f 100%);
  --grad-cyan: linear-gradient(135deg, #22d3c9 0%, #1a8fd6 100%);
  --grad-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255,106,26,0.18), transparent 60%),
               radial-gradient(ellipse 60% 50% at 90% 10%, rgba(34,211,201,0.12), transparent 60%);

  /* Type */
  --font-display: 'Orbitron', 'Rajdhani', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 10px 40px -12px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(255,106,26,0.25), 0 0 32px -4px rgba(255,106,26,0.35);
  --header-h: 76px;
}

/* ---- Base ---------------------------------------------------------------*/
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: center top;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #fff;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { color: var(--text-dim); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: 88px; }
@media (max-width: 720px) { section { padding-block: 56px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { max-width: 680px; margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

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

/* ---- Buttons ------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--grad-accent);
  color: #10090a;
  box-shadow: 0 8px 24px -8px rgba(255,106,26,0.55);
}
.btn-primary:hover { box-shadow: 0 10px 30px -6px rgba(255,106,26,0.75); transform: translateY(-1px); }

.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-color: var(--border-light);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Header / Nav ---------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10,13,18,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 30px -14px rgba(0,0,0,0.7);
  border-color: var(--border-light);
}

.nav-wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.brand .brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: var(--radius-sm);
  transition: color .18s ease, background .18s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.main-nav a.is-active { color: #fff; }
.main-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 18px; height: 2px; background: #fff; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 20px;
    gap: 2px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 14px 10px; border-bottom: 1px solid var(--border); }
  .nav-cta .btn-ghost { display: none; }
}

/* ---- Hero -----------------------------------------------------------------*/
.hero {
  position: relative;
  padding-block: 96px 80px;
  background: var(--grad-hero);
  overflow: clip;
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--bg) 100%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 20px; }
.hero-lede { font-size: 1.12rem; max-width: 560px; margin-bottom: 32px; }

.hero-stats {
  display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap;
}
.hero-stats .stat strong {
  display: block; font-family: var(--font-display); font-size: 1.7rem; color: #fff;
}
.hero-stats .stat span { font-size: 0.82rem; color: var(--text-faint); letter-spacing: 0.02em; }

.hero-panel {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-panel::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(160deg, rgba(255,106,26,0.5), transparent 40%, rgba(34,211,201,0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.gauge-row { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.gauge {
  flex: 1;
  text-align: center;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 10px;
}
.gauge .gauge-value { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); }
.gauge .gauge-label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-top: 4px; }
.gauge.cyan .gauge-value { color: var(--cyan); }

.hero-panel-list { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.hero-panel-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text-dim); }
.hero-panel-list svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }

/* ---- Cards / grids ----------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-light); box-shadow: var(--shadow); }

.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255,106,26,0.16), rgba(255,106,26,0.02));
  border: 1px solid rgba(255,106,26,0.25);
  color: var(--accent);
  margin-bottom: 18px;
}
.card-icon.cyan {
  background: linear-gradient(160deg, rgba(34,211,201,0.16), rgba(34,211,201,0.02));
  border-color: rgba(34,211,201,0.3);
  color: var(--cyan);
}

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card ul.card-features { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card ul.card-features li {
  font-size: 0.88rem; color: var(--text-dim); display: flex; gap: 8px; align-items: flex-start;
}
.card ul.card-features li::before {
  content: '▹'; color: var(--accent); flex-shrink: 0; line-height: 1.4;
}
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; font-size: 0.88rem; color: var(--cyan); }
.card-link svg { transition: transform .18s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* Badge / pill */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(255,106,26,0.12); color: var(--accent); border: 1px solid rgba(255,106,26,0.3);
}
.pill.cyan { background: rgba(34,211,201,0.12); color: var(--cyan); border-color: rgba(34,211,201,0.3); }
.pill.muted { background: rgba(255,255,255,0.04); color: var(--text-faint); border-color: var(--border-light); }

/* ---- Stage cards (remapping) -------------------------------------------*/
.stage-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.stage-card.featured { border-color: rgba(255,106,26,0.5); box-shadow: var(--shadow-glow); }
.stage-card .stage-num {
  font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; margin-bottom: 6px;
}
.stage-card h3 { margin-bottom: 4px; }
.stage-card .stage-sub { font-size: 0.86rem; color: var(--text-faint); margin-bottom: 22px; }

.dyno-bars { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.dyno-bar-row { display: flex; align-items: center; gap: 12px; }
.dyno-bar-label { width: 58px; flex-shrink: 0; font-size: 0.78rem; color: var(--text-faint); }
.dyno-bar-track { flex: 1; height: 8px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.dyno-bar-fill { height: 100%; border-radius: 6px; background: var(--grad-accent); }
.dyno-bar-fill.cyan { background: var(--grad-cyan); }
.dyno-bar-val { width: 54px; text-align: right; font-family: var(--font-display); font-size: 0.85rem; color: #fff; flex-shrink: 0; }

.stage-card ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; flex: 1; }
.stage-card ul li { font-size: 0.9rem; color: var(--text-dim); display: flex; gap: 8px; }
.stage-card ul li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ---- Service list rows (audio/lighting page) ---------------------------*/
.service-row {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: none; }
.service-row .row-icon {
  width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border-light); color: var(--cyan);
}
.service-row h3 { margin-bottom: 8px; }
.service-row p { font-size: 0.95rem; }

/* ---- Calculator page ----------------------------------------------------*/
.calc-shell {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calc-shell-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 28px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.calc-shell-head .dot-row { display: flex; gap: 6px; }
.calc-shell-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-light); }
.calc-shell-head .dot:nth-child(1) { background: #ff5f56; }
.calc-shell-head .dot:nth-child(2) { background: #ffbd2e; }
.calc-shell-head .dot:nth-child(3) { background: #27c93f; }
.calc-shell-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.04em; color: var(--text-dim); }
.calc-shell-body { background: #0d0f12; min-height: 420px; position: relative; }
.calc-shell-body iframe { display: block; width: 100%; height: 420px; border: 0; transition: height .25s ease; }
.calc-loading {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  color: var(--text-faint); font-size: 0.85rem; background: #0d0f12; transition: opacity .3s ease;
}
.calc-loading.is-hidden { opacity: 0; pointer-events: none; }
.spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--border-light); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.calc-steps { display: flex; flex-direction: column; gap: 18px; }
.calc-step { display: flex; gap: 16px; }
.calc-step .step-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  background: var(--surface-2); border: 1px solid var(--border-light); color: var(--accent);
}
.calc-step h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.calc-step p { font-size: 0.88rem; }

/* ---- FAQ ------------------------------------------------------------------*/
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; background: transparent; border: none; text-align: left;
  font-family: var(--font-display); font-size: 1rem; color: #fff;
}
.faq-q .icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-q .icon::before, .faq-q .icon::after {
  content: ''; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .2s ease;
}
.faq-q .icon::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq-q .icon::after { width: 2px; height: 14px; left: 9px; top: 3px; }
.faq-item.is-open .faq-q .icon::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 4px 22px; font-size: 0.94rem; color: var(--text-dim); max-width: 720px; }

/* ---- Disclaimer / notice boxes -------------------------------------------*/
.notice {
  display: flex; gap: 14px; padding: 20px 22px; border-radius: var(--radius);
  border: 1px solid rgba(255,176,32,0.35); background: rgba(255,176,32,0.07);
}
.notice svg { flex-shrink: 0; color: var(--amber); margin-top: 2px; }
.notice strong { color: #fff; display: block; margin-bottom: 4px; font-size: 0.95rem; }
.notice p { font-size: 0.88rem; margin: 0; }

/* ---- CTA band -------------------------------------------------------------*/
.cta-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,106,26,0.10), rgba(34,211,201,0.06));
  text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin-inline: auto; margin-bottom: 28px; }
.cta-band .btn-row { justify-content: center; }

/* ---- Forms -----------------------------------------------------------------*/
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%;
  height: 48px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: #fff;
  font-size: 0.95rem;
  line-height: 46px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,106,26,0.15);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa7b4' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}
.field select:invalid, .field select.is-placeholder { color: var(--text-faint); }
.field textarea { height: auto; line-height: 1.5; padding: 13px 16px; resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--text-faint); margin-top: 10px; }

/* Pick-and-mix map options */
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-pill {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.checkbox-pill:hover { border-color: var(--border-light); color: #fff; }
.checkbox-pill input[type="checkbox"] {
  width: 17px; height: 17px; flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.checkbox-pill:has(input:checked) {
  border-color: var(--accent);
  color: #fff;
  background: rgba(255,106,26,0.08);
}
#map-options-field[hidden] { display: none; }

/* ---- Contact page blocks -----------------------------------------------*/
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.contact-info-item { display: flex; gap: 16px; }
.contact-info-item .ci-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border-light); color: var(--accent);
}
.contact-info-item h4 { font-size: 0.95rem; color: #fff; margin-bottom: 3px; }
.contact-info-item p { font-size: 0.9rem; }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.area-tags span {
  font-size: 0.78rem; padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border-light); color: var(--text-dim);
}

/* ---- Footer -----------------------------------------------------------*/
.site-footer { border-top: 1px solid var(--border); background: var(--bg-alt); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.88rem; margin-top: 14px; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-dim); transition: color .15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border-light); color: var(--text-dim);
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0 32px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--text-faint);
}
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- Misc utility --------------------------------------------------------*/
/* Reveal-on-scroll is opt-in via the .js class set synchronously in <head> —
   without JavaScript, .reveal elements are simply visible, never stuck hidden. */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #10090a; padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-light); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { border-color: var(--accent); color: var(--accent); }

.page-hero {
  padding-block: 64px 56px;
  background: var(--grad-hero);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero p { max-width: 620px; font-size: 1.05rem; margin-top: 16px; }
.breadcrumb { font-size: 0.82rem; color: var(--text-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

.divider { height: 1px; background: var(--border); border: none; margin-block: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.stat-strip { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; padding: 36px 0; }
.stat-strip .stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--accent); }
.stat-strip .stat span { font-size: 0.82rem; color: var(--text-faint); }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.spec-table { width: 100%; border-collapse: collapse; min-width: 560px; }
table.spec-table th, table.spec-table td { text-align: left; padding: 14px 20px; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
table.spec-table th { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); background: var(--surface); }
table.spec-table td { color: var(--text-dim); }
table.spec-table tr:last-child td { border-bottom: none; }
