/* =========================================================
   STYLE.CSS — Global styles, shared components
   Single source of truth. Do NOT duplicate these in page CSS.
   ========================================================= */

/* ── CSS Variables ──────────────────────────────────────── */
:root {
  --bg:       #070c16;
  --text:     #fff;
  --muted:    rgba(255,255,255,.75);
  --line:     rgba(255,255,255,.10);
  --blue:     #6fb2ff;
  --blue-dim: rgba(47,124,255,.15);
  --max:      1200px;
  --font:     ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  --shadow:   0 24px 60px rgba(0,0,0,.40);
  --radius:   18px;
  --radius-sm:12px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
}
a { text-decoration: none; color: inherit; }
img { display: block; }

/* ── Layout helpers ─────────────────────────────────────── */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* ── Typography helpers ─────────────────────────────────── */
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ── Kicker (section label above headings) ──────────────── */
.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

/* ── Buttons — SINGLE definition used across ALL pages ──── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #07111e; }
.btn--ghost {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
.btn--danger {
  background: rgba(255, 80, 80, .15);
  border: 1px solid rgba(255,80,80,.30);
  color: #ff6b6b;
}
.btn--small  { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn--full   { width: 100%; justify-content: center; }

/* ── Tags / highlight pills ─────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(111,178,255,.10);
  border: 1px solid rgba(111,178,255,.22);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ── Card base ──────────────────────────────────────────── */
.card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
}

/* ── Form inputs — base styles used across pages ────────── */
.input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus {
  border-color: rgba(111,178,255,.50);
  box-shadow: 0 0 0 3px rgba(47,124,255,.15);
}
.input::placeholder { color: rgba(255,255,255,.28); }

/* ── Icon button (close, nav arrows) ───────────────────── */
.iconBtn {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.iconBtn:hover { background: rgba(255,255,255,.10); }

/* ── req asterisk ───────────────────────────────────────── */
.req { color: var(--blue); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0b1426;
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  height: 70px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}
.header-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: transparent;
}
.header-title    { font-size: 20px; font-weight: 800; line-height: 1; }
.header-subtitle { font-size: 12px; color: var(--muted); margin-top: 4px; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
}
.header-nav a {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  transition: color .15s;
}
.header-nav a:hover  { color: #fff; }
.header-nav a.active { color: var(--blue); }

/* Burger (mobile) */
.header-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.header-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 99px;
  transition: transform .2s ease, opacity .2s ease;
}

.header-mobile {
  display: none;
  padding: 10px 0 18px;
}
.header-mobile a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.90);
  font-weight: 700;
  transition: background .15s;
}
.header-mobile a:hover  { background: rgba(255,255,255,.06); }
.header-mobile a.active { color: var(--blue); }

@media (max-width: 980px) {
  .header-nav    { display: none; }
  .header-burger { display: flex; }
  .header-mobile.isOpen { display: block; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  margin-top: 70px;
  background: #0b1220;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr .8fr 1.2fr;
  gap: 50px;
  padding: 60px 0 34px;
  align-items: start;
}

.footer-logo {
  width: 200px;
  height: auto;
  margin-bottom: 16px;
  opacity: .95;
}
.footer-desc {
  color: var(--muted);
  line-height: 1.75;
  max-width: 44ch;
  font-size: 15px;
}

.footer-heading {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
}

.footer-links {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
  display: grid;
  gap: 12px;
}
.footer-links li::marker { color: var(--blue); }
.footer-links a { color: rgba(255,255,255,.88); font-weight: 700; }
.footer-links a:hover { text-decoration: underline; }

.footer-phone {
  display: inline-block;
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 10px;
}
.footer-email {
  display: inline-block;
  color: rgba(255,255,255,.88);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-email:hover { text-decoration: underline; }

.footer-address {
  margin-top: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  font-size: 14px;
}
.addr-title { font-weight: 900; color: rgba(255,255,255,.92); margin-bottom: 6px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 18px 0 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-copy { color: rgba(255,255,255,.65); font-size: 14px; font-weight: 600; }

.footer-social { display: flex; gap: 10px; }
.social {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  transition: all .2s ease;
}
.social:hover {
  background: rgba(111,178,255,.15);
  border-color: rgba(111,178,255,.4);
  transform: translateY(-2px);
}
.social svg { width: 20px; height: 20px; fill: #fff; }

@media (max-width: 980px) {
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; padding: 50px 0 26px; }
  .footer-phone { font-size: 26px; }
}

/* =========================================================
   MODAL (Test Ride) — shared between products + product page
   ========================================================= */
.modalBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 90;
}
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: min(560px, calc(100% - 28px));
  background: rgba(10,16,32,.96);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 100;
  padding: 14px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.modal__kicker { color: var(--muted); font-weight: 900; font-size: 12px; }
.modal__title  { font-size: 18px; font-weight: 900; margin-top: 4px; }

.form { display: grid; gap: 10px; }
.form label {
  display: grid;
  gap: 6px;
  font-weight: 900;
  color: rgba(255,255,255,.86);
}
.form input {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .15s;
}
.form input:focus { border-color: rgba(111,178,255,.50); }

/* =========================================================
   UTILITY — Page section spacing
   ========================================================= */
.section       { padding: 56px 0; }
.section--soft { padding: 56px 0 70px; }

.sectionHead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.sectionTitle {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.linkArrow { font-weight: 800; }
