:root {
  --bg: #090b0c;
  --panel: #111518;
  --panel-2: #171c20;
  --ink: #f5f1e9;
  --muted: #b9b5aa;
  --line: rgba(255,255,255,.14);
  --amber: #f4c94b;
  --red: #d94935;
  --shadow: 0 24px 80px rgba(0,0,0,.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  overflow-x: hidden;
}
body.modal-open,
body.lightbox-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 13px clamp(18px,5vw,72px);
  background: rgba(8,10,11,.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; width: 160px; height: 52px; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.site-nav { display: flex; justify-content: center; gap: 22px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.site-nav a, .header-phone { text-decoration: none; }
.header-phone { font-weight: 800; white-space: nowrap; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--ink); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 128px clamp(18px,5vw,72px) 62px;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,10,11,.96), rgba(8,10,11,.64) 42%, rgba(8,10,11,.08) 74%),
    linear-gradient(0deg, var(--bg), transparent 28%);
}
.hero-content { position: relative; z-index: 2; max-width: 790px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 {
  margin: 0;
  font-family: Oswald, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: 0;
}
h1 { font-size: clamp(4rem,10vw,9.2rem); }
h1 span { color: var(--red); }
h2 { font-size: clamp(2.35rem,5vw,5rem); }
h3 { font-size: clamp(1.9rem,3.7vw,3.4rem); }
.hero-lead, .section-head p, .model-card p, .story-copy p, .feature-grid p, .footer p, .modal-text, .muted {
  color: var(--muted);
  line-height: 1.72;
}
.hero-lead { max-width: 680px; margin: 20px 0 0; font-size: clamp(1rem,1.35vw,1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--amber);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.button-light { background: rgba(255,255,255,.08); border-color: var(--line); color: var(--ink); }
.button-full { width: 100%; }
.hero-panel, .model-hero-card {
  position: absolute;
  z-index: 3;
  right: clamp(18px,5vw,72px);
  bottom: 64px;
  width: min(330px, calc(100% - 36px));
  padding: 22px;
  background: rgba(13,16,18,.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-panel span, .model-hero-card span, .model-label, .footer-label { display: block; color: var(--amber); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-panel strong { display: block; margin: 8px 0; font-family: Oswald, Arial, sans-serif; font-size: 2.4rem; text-transform: uppercase; }
.price-big { margin: 8px 0; font-family: Oswald, Arial, sans-serif; font-size: clamp(2.4rem,4vw,4.1rem); line-height: .95; color: var(--ink); }

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: #0d1012;
}
.quick-stats article { min-width: 0; min-height: 132px; padding: 26px clamp(18px,4vw,48px); border-right: 1px solid var(--line); }
.quick-stats strong { display: block; font-family: Oswald, Arial, sans-serif; font-size: clamp(2rem,3.5vw,3.5rem); line-height: 1; text-transform: uppercase; }
.quick-stats span { display: block; margin-top: 9px; color: var(--muted); font-weight: 700; overflow-wrap: anywhere; }

.section { padding: clamp(72px,9vw,132px) clamp(18px,5vw,72px); scroll-margin-top: 92px; }
.page-lead { padding-top: 78px; }
.section-head { max-width: 860px; margin: 0 auto 34px; text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }
.section-head h1 { font-size: clamp(3.3rem,8vw,7.5rem); }

.model-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.model-card {
  display: grid;
  grid-template-rows: 360px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.model-card img { width: 100%; height: 100%; object-fit: cover; }
.model-card > div { padding: 26px; }
.model-card h3 { margin: 10px 0 12px; font-size: clamp(2rem,3vw,3rem); }

.story-section { display: grid; grid-template-columns: minmax(260px, .72fr) 1.28fr; gap: 28px; align-items: start; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-grid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.feature-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-grid strong { display: block; padding: 18px 18px 0; font-size: 1.08rem; }
.feature-grid p { padding: 0 18px 20px; margin: 8px 0 0; }

.selector {
  width: min(1220px, calc(100vw - 36px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: #9faab2;
  box-shadow: var(--shadow);
}
.selector-stage {
  position: relative;
  height: min(74vh, 720px);
  min-height: 620px;
}
.selector-view, .selector-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.selector-img {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity .28s ease, transform .5s ease;
}
.selector-img.is-active { opacity: 1; transform: scale(1); }
.selector-panel {
  position: absolute;
  z-index: 4;
  inset: 28px 0 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  justify-items: center;
  pointer-events: none;
  color: #fff;
}
.selector-kicker {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0,0,0,.28);
}
.selector-tabs {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(340px, calc(100% - 40px));
  border-bottom: 1px solid rgba(255,255,255,.34);
}
.selector-tab {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: rgba(255,255,255,.68);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: lowercase;
  cursor: pointer;
}
.selector-tab.is-active { color: #fff; border-bottom-color: #fff; }
.chip-grid {
  pointer-events: auto;
  align-self: end;
  display: none;
  grid-auto-flow: column;
  grid-auto-columns: 76px;
  justify-content: center;
  gap: 20px;
  width: min(760px, calc(100% - 32px));
  margin-bottom: 30px;
}
.chip-grid.is-active { display: grid; }
.chip {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-height: 86px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,.42);
  cursor: pointer;
}
.dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.82);
  box-shadow: inset 8px 8px 12px rgba(255,255,255,.38), inset -10px -10px 14px rgba(0,0,0,.42), 0 5px 16px rgba(0,0,0,.32);
}
.chip.is-active .dot { outline: 3px solid rgba(255,255,255,.86); outline-offset: 3px; }
.dot-orange { background: linear-gradient(135deg,#f4844c,#912713); }
.dot-green { background: linear-gradient(135deg,#83966b,#1c2c1c); }
.dot-deepgreen { background: linear-gradient(135deg,#314436,#050806); }
.dot-silver { background: linear-gradient(135deg,#fff,#8a8d8b 52%,#e6e0d4); }
.dot-champagne { background: linear-gradient(135deg,#f5ead0,#8e7b5c); }
.dot-white { background: linear-gradient(135deg,#fff,#b9bbb7); }
.dot-black { background: linear-gradient(135deg,#555,#030303); }
.dot-graphite { background: linear-gradient(135deg,#b5b5ae,#4a4b48); }
.dot-brown { background: linear-gradient(135deg,#a56e44,#3f2518); }
.dot-cognac { background: linear-gradient(135deg,#d9864c,#81381d); }
.dot-burgundy { background: linear-gradient(135deg,#7c1f35,#161014); }

.trim-grid, .equipment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.trim-grid article, .equipment-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}
.trim-grid strong { display: block; margin-bottom: 8px; font-size: 1rem; }
.trim-grid span, .source-note { color: var(--muted); line-height: 1.6; }
.equipment-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.equipment-grid span { min-height: 74px; display: flex; align-items: center; font-weight: 700; color: #e8e2d6; }

.spec-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); }
.spec-table div {
  display: grid;
  grid-template-columns: minmax(180px,.55fr) repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.spec-table.single-spec div { grid-template-columns: minmax(180px,.48fr) 1fr; }
.spec-table div:last-child { border-bottom: 0; }
.spec-table span, .spec-table b { padding: 18px; line-height: 1.55; }
.spec-table span { color: var(--amber); font-weight: 800; text-transform: uppercase; font-size: .76rem; letter-spacing: .1em; }
.spec-table b { font-weight: 700; border-left: 1px solid var(--line); }
.source-note { margin: 18px 0 0; }

.compare-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.compare-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.compare-tab {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.compare-tab:last-child { border-right: 0; }
.compare-tab.is-active { background: var(--amber); color: #15100a; }
.diff-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--ink);
  font-weight: 800;
}
.diff-toggle input { width: 18px; height: 18px; accent-color: var(--amber); }
.trim-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.trim-compare {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
}
.trim-compare th,
.trim-compare td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}
.trim-compare th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #111518;
  color: var(--ink);
  font-size: .95rem;
}
.trim-compare th:first-child,
.trim-compare td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 270px;
  background: #111518;
  color: var(--amber);
  font-weight: 800;
}
.trim-compare th:first-child { z-index: 3; }
.trim-compare tr:last-child td { border-bottom: 0; }
.trim-section-row td {
  background: #1b1f22;
  color: var(--ink) !important;
  font-family: Oswald, Arial, sans-serif;
  font-size: 1.22rem;
  text-transform: uppercase;
}
.trim-empty {
  padding: 28px;
  color: var(--muted);
  font-weight: 700;
}

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-grid img,
.gallery-grid img,
.model-card img { cursor: zoom-in; }
.gallery-wide { grid-column: auto; }
.gallery-grid figcaption { padding: 14px 16px 18px; color: var(--muted); font-weight: 700; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.video-grid video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; cursor: pointer; }
.video-grid figcaption { padding: 14px 16px 18px; color: var(--muted); font-weight: 700; line-height: 1.55; }

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(90deg, #151a1d, #211b13);
  border-block: 1px solid var(--line);
}

.safe-deal {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) 1.3fr;
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(244,201,75,.08), transparent 38%),
    #111518;
  border-block: 1px solid var(--line);
}
.safe-deal-copy h2 {
  max-width: 560px;
}
.safe-deal-copy p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.72;
}
.safe-deal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.safe-deal-card {
  min-width: 0;
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.safe-deal-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-family: Oswald, Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
}
.safe-deal-card strong {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: .98rem;
  letter-spacing: .04em;
}
.safe-deal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 22px;
  padding: 42px clamp(18px,5vw,72px);
  background: #060708;
  border-top: 1px solid var(--line);
}
.footer a { display: block; margin-top: 8px; text-decoration: none; color: var(--ink); }
.footer-brand img { width: 170px; height: 54px; object-fit: contain; margin-bottom: 14px; }
.footer-legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; }

.modal[hidden] { display: none; }
.modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111518;
  box-shadow: var(--shadow);
}
.modal-dialog h2 { font-size: 2.2rem; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: var(--ink);
  cursor: pointer;
}
.modal-dialog label { display: grid; gap: 8px; margin-top: 14px; color: var(--muted); font-weight: 800; }
.modal-dialog input, .modal-dialog select, .modal-dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #080a0b;
  color: var(--ink);
  padding: 13px 14px;
}
.form-note, .form-status { color: var(--muted); font-size: .82rem; line-height: 1.5; }

.image-lightbox[hidden] { display: none; }
.image-lightbox {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding: clamp(12px, 3vw, 34px);
  background: rgba(0,0,0,.88);
  backdrop-filter: blur(10px);
}
.lightbox-image {
  max-width: min(100%, 1600px);
  max-height: calc(100dvh - 118px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.lightbox-video {
  width: min(100%, 1480px);
  max-height: calc(100dvh - 118px);
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}
.lightbox-caption {
  max-width: min(100%, 980px);
  margin: 18px 0 0;
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  background: rgba(10,12,13,.72);
  color: var(--ink);
  font-size: 1.45rem;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.12); }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: auto auto 1fr; }
  .nav-toggle { display: block; order: 2; justify-self: end; }
  .site-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 22px;
    background: rgba(8,10,11,.98);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .header-phone { justify-self: end; }
  .model-card-grid, .story-section { grid-template-columns: 1fr; }
  .safe-deal { grid-template-columns: 1fr; }
  .feature-grid, .gallery-grid, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trim-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-toolbar { align-items: stretch; flex-direction: column; }
  .compare-tabs { width: 100%; }
  .footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header { height: 70px; grid-template-columns: auto auto; gap: 12px; }
  .brand { width: 118px; height: 44px; }
  .header-phone { display: none; }
  .site-nav { top: 70px; }
  .hero { min-height: 740px; padding-top: 108px; }
  .hero-panel, .model-hero-card { position: relative; right: auto; bottom: auto; margin-top: 28px; width: 100%; }
  .quick-stats { grid-template-columns: repeat(2, 1fr); }
  .quick-stats article { min-height: 112px; padding: 20px; }
  .section { padding: 62px 18px; scroll-margin-top: 82px; }
  .selector { width: calc(100vw - 24px); }
  .selector-stage { height: 560px; min-height: 560px; }
  .selector-panel { inset: 22px 0 0; }
  .chip-grid {
    grid-auto-columns: 66px;
    gap: 14px;
    justify-content: start;
    overflow-x: auto;
    padding: 0 16px 6px;
    margin-bottom: 22px;
  }
  .dot { width: 38px; height: 38px; }
  .model-card { grid-template-rows: 250px 1fr; }
  .feature-grid, .gallery-grid, .video-grid, .trim-grid, .equipment-grid, .safe-deal-grid, .footer { grid-template-columns: 1fr; }
  .gallery-wide { grid-column: auto; }
  .spec-table, .spec-table div, .spec-table.single-spec div { display: block; }
  .spec-table b { display: block; border-left: 0; border-top: 1px solid var(--line); }
  .trim-compare { min-width: 820px; }
  .trim-compare th, .trim-compare td { padding: 14px; }
  .trim-compare th:first-child, .trim-compare td:first-child { width: 220px; }
  .contact-band { align-items: flex-start; flex-direction: column; }
  .modal { align-items: start; padding: 12px; }
  .modal-dialog { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 20px; }
  .modal-dialog h2 { font-size: 1.9rem; }
  .modal-dialog input, .modal-dialog select, .modal-dialog textarea { padding: 11px 12px; }
}

@media (max-width: 380px) {
  .quick-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
