:root {
  --bg: #07090d;
  --bg-soft: #10141c;
  --panel: #151a24;
  --panel-2: #1c2230;
  --ink: #f5f1e8;
  --muted: #aab1bf;
  --line: rgba(255, 255, 255, 0.1);
  --gold: #c9a45c;
  --gold-soft: #ead8a6;
  --emerald: #6ed5aa;
  --danger: #ff8f8f;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.5;
  background:
    linear-gradient(135deg, rgba(17, 24, 36, 0.95), rgba(7, 9, 13, 1) 46%, rgba(18, 18, 16, 1)),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: clamp(178px, 20vw, 250px);
  height: 50px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(201, 164, 92, 0.72);
  color: var(--gold-soft);
  background: linear-gradient(145deg, rgba(201, 164, 92, 0.18), rgba(255, 255, 255, 0.04));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav .nav-whatsapp {
  color: var(--ink);
}

.nav-whatsapp {
  padding: 10px 14px;
  border: 1px solid rgba(201, 164, 92, 0.48);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: clamp(560px, 82vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(28px, 5vw, 70px);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #07090d url("../assets/hero/arv-1.png") center / cover;
  transform: scale(1.02);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.96), rgba(7, 9, 13, 0.42), rgba(7, 9, 13, 0.82)),
    linear-gradient(0deg, rgba(7, 9, 13, 0.94), transparent 48%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1100ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding-bottom: 8vh;
  transition: opacity 180ms ease;
}

.hero-content.is-loading {
  opacity: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(2.45rem, 5.4vw, 5.3rem);
  line-height: 0.96;
  white-space: pre-line;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  color: #d4d8df;
  font-size: clamp(1rem, 2vw, 1.25rem);
  white-space: pre-line;
}

.hero-actions,
.detail-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(130px, 0.75fr) minmax(190px, 1fr) auto;
  gap: 12px;
  align-items: end;
  width: min(940px, calc(100vw - 56px));
  margin-top: 26px;
  padding: 14px;
  border: 1px solid rgba(234, 216, 166, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(12, 15, 22, 0.88), rgba(21, 26, 36, 0.68));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-search label {
  gap: 7px;
}

.hero-search span {
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-search input,
.hero-search select {
  min-height: 48px;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(5, 7, 11, 0.68);
}

.hero-search .btn {
  min-height: 48px;
  padding-inline: 24px;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.34) 42%, transparent 72%);
  opacity: 0;
  transform: translateX(-120%) skewX(-18deg);
  transition: opacity 220ms ease, transform 620ms ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.btn:hover::before {
  opacity: 1;
  transform: translateX(120%) skewX(-18deg);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:focus-visible,
.small-button:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.btn-primary {
  color: #090b0f;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  font-weight: 800;
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.btn-danger {
  color: #160809;
  background: linear-gradient(135deg, #ffc4c4, var(--danger));
  font-weight: 800;
}

.section,
.catalog-page,
.details-page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0;
}

.category-section {
  padding-top: 34px;
  padding-bottom: 18px;
}

.compact-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
}

.category-carousel-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.highlight-carousel-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.icon-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(234, 216, 166, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(234, 216, 166, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(7, 9, 13, 0.72);
  color: var(--gold-soft);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, opacity 220ms ease;
}

.icon-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transform: translateX(-120%) skewX(-16deg);
  transition: opacity 220ms ease, transform 560ms ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(234, 216, 166, 0.58);
  background: rgba(201, 164, 92, 0.1);
}

.icon-button:hover::before {
  opacity: 1;
  transform: translateX(120%) skewX(-16deg);
}

.icon-button:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}

.icon-button:disabled::before {
  display: none;
}

.category-carousel {
  position: relative;
  overflow: visible;
  margin-top: 20px;
}

.featured-carousel {
  position: relative;
  overflow: visible;
  margin-top: 20px;
}

.category-carousel::before,
.category-carousel::after,
.featured-carousel::before,
.featured-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(12px, 2.8vw, 36px);
  pointer-events: none;
}

.category-carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 9, 13, 0.78), transparent);
}

.featured-carousel::before {
  left: 0;
  background: linear-gradient(90deg, rgba(7, 9, 13, 0.78), transparent);
}

.category-carousel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 9, 13, 0.78), transparent);
}

.featured-carousel::after {
  right: 0;
  background: linear-gradient(270deg, rgba(7, 9, 13, 0.78), transparent);
}

.category-shortcuts {
  display: grid;
  grid-auto-columns: minmax(178px, 230px);
  grid-auto-flow: column;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 18px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.category-shortcuts::-webkit-scrollbar {
  display: none;
}

.featured-track {
  display: grid;
  grid-auto-columns: minmax(280px, calc((100% - 36px) / 3));
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 18px 18px;
  scroll-behavior: smooth;
  scroll-padding-inline: 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(234, 216, 166, 0.26) transparent;
}

.featured-track > .vehicle-card {
  scroll-snap-align: start;
}

.featured-track > .empty-state,
.featured-track > .loading-line {
  grid-column: 1;
  width: min(520px, calc(100vw - 36px));
}

.featured-track::-webkit-scrollbar {
  height: 9px;
}

.featured-track::-webkit-scrollbar-thumb {
  background: rgba(234, 216, 166, 0.26);
  border-radius: 999px;
}

.category-shortcut {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  scroll-snap-align: start;
  height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(234, 216, 166, 0.22);
  border-radius: var(--radius);
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(13, 17, 24, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 34px rgba(0, 0, 0, 0.24);
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.category-shortcut::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.2), transparent 46%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.category-shortcut span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-shortcut strong {
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(234, 216, 166, 0.28);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 0.82rem;
  background: rgba(201, 164, 92, 0.08);
}

.category-shortcut:hover {
  border-color: rgba(234, 216, 166, 0.58);
  background: rgba(201, 164, 92, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 22px 46px rgba(0, 0, 0, 0.32);
}

.category-shortcut:hover::before {
  opacity: 1;
}

.section-heading,
.catalog-toolbar,
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2,
.split-section h2,
.cta-band h2,
.page-title h1 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.section-heading a,
.link-button {
  border: 0;
  background: transparent;
  color: var(--gold-soft);
  cursor: pointer;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vehicle-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 34%),
    rgba(21, 26, 36, 0.88);
  box-shadow: var(--shadow);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.vehicle-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.16), transparent 38%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 92, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}

.vehicle-card:hover::after {
  opacity: 1;
}

.vehicle-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--panel-2);
  transition: transform 700ms ease, filter 240ms ease;
}

.vehicle-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.vehicle-card-body {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
}

.card-meta,
.spec-list,
.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(201, 164, 92, 0.34);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(201, 164, 92, 0.08);
  font-size: 0.8rem;
  white-space: nowrap;
}

.badge-success {
  border-color: rgba(110, 213, 170, 0.42);
  color: #a9f0d0;
  background: rgba(110, 213, 170, 0.1);
}

.badge-danger {
  border-color: rgba(255, 143, 143, 0.42);
  color: #ffc4c4;
  background: rgba(255, 143, 143, 0.1);
}

.vehicle-card h3 {
  margin: 12px 0 8px;
  font-size: 1.08rem;
}

.price {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
}

.key-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.key-specs div {
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.key-specs span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.key-specs strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefits-grid article,
.filters-panel,
.empty-state,
.interest-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21, 26, 36, 0.82);
  box-shadow: var(--shadow);
}

.benefits-grid article {
  min-height: 128px;
  padding: 20px;
}

.benefits-grid span {
  color: var(--gold-soft);
  font-weight: 800;
}

.signature-section .benefits-grid article {
  display: grid;
  align-content: space-between;
}

.signature-section .benefits-grid h3 {
  margin-bottom: 0;
}

.benefits-grid p,
.cta-band p,
.page-title p,
.detail-description,
.form-note {
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 74px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(201, 164, 92, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(17, 24, 36, 0.86), rgba(21, 26, 36, 0.9)),
    url("../assets/hero/arv-3.png") center / cover;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.filters-panel {
  position: sticky;
  top: 96px;
  z-index: 8;
  align-self: start;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(234, 216, 166, 0.28) transparent;
}

.filters-panel::-webkit-scrollbar {
  width: 9px;
}

.filters-panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(234, 216, 166, 0.28);
}

.filter-group {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary::after {
  content: "^";
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.filter-group:not([open]) summary::after {
  transform: rotate(180deg);
}

.filter-helper {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.filter-group label {
  gap: 6px;
}

.filter-group label span {
  color: var(--muted);
  font-size: 0.76rem;
}

.filter-group input {
  min-height: 42px;
  padding: 9px 10px;
}

.quick-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quick-filter-grid button {
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(214, 214, 228, 0.18);
  color: #d5d9e1;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.quick-filter-grid button:hover,
.quick-filter-grid button.is-active {
  border-color: rgba(234, 216, 166, 0.42);
  background: rgba(201, 164, 92, 0.2);
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  color: #d5d9e1;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 9, 13, 0.6);
  color: var(--ink);
  padding: 12px;
  outline: none;
}

select option {
  background: var(--panel);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(201, 164, 92, 0.72);
}

.input-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.catalog-toolbar {
  margin-bottom: 18px;
  padding: 12px 0;
}

.catalog-toolbar label {
  width: min(260px, 100%);
}

.filter-toggle {
  display: none;
  width: 100%;
  margin-bottom: 14px;
}

.empty-state {
  padding: 26px;
  text-align: center;
  color: var(--muted);
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 30px;
  align-items: start;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.gallery-open {
  display: block;
  padding: 0;
  color: inherit;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 72px clamp(14px, 4vw, 64px);
  background: rgba(0, 0, 0, 0.92);
}

.lightbox-stage {
  display: grid;
  place-items: center;
  width: min(1280px, 100%);
  height: calc(100vh - 150px);
  overflow: hidden;
  cursor: zoom-in;
  touch-action: none;
}

.photo-lightbox.is-zoomed .lightbox-stage {
  cursor: grab;
}

.photo-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  transform-origin: center;
  transition: transform 120ms ease;
  user-select: none;
  will-change: transform;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21, 26, 36, 0.9);
  color: var(--ink);
  cursor: pointer;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  padding: 10px 14px;
}

.lightbox-nav {
  top: 50%;
  width: 96px;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.is-lightbox-open {
  overflow: hidden;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.thumbs button {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.thumbs button.is-active {
  border-color: var(--gold-soft);
}

.thumbs img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.detail-panel,
.spec-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(21, 26, 36, 0.88);
}

.spec-panel {
  margin-top: 18px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spec-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.spec-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.interest-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
}

.loading-line {
  color: var(--muted);
  padding: 18px 0;
}

@media (max-width: 980px) {
  .vehicle-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-track {
    grid-auto-columns: minmax(280px, calc((100% - 18px) / 2));
  }

  .split-section,
  .catalog-layout,
  .details-layout {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    position: sticky;
    top: 84px;
    z-index: 18;
    max-height: calc(100vh - 100px);
    display: none;
  }

  .filters-panel.is-open {
    display: grid;
  }

  .filter-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .brand-logo {
    width: 168px;
    height: 42px;
  }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(10, 12, 18, 0.98);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .hero {
    min-height: 620px;
    padding: 24px 18px;
  }

  .hero-content {
    padding-bottom: 3vh;
  }

  .hero-search {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 22px;
    padding: 13px;
  }

  .hero-search .btn {
    width: 100%;
  }

  .vehicle-grid,
  .benefits-grid,
  .input-row,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .catalog-toolbar,
  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-heading {
    flex-direction: row;
    align-items: center;
  }

  .highlight-carousel-actions {
    width: 100%;
    justify-content: space-between;
  }

  .featured-track {
    grid-auto-columns: minmax(260px, 86vw);
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

  .thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-lightbox {
    padding: 76px 14px 86px;
  }

  .lightbox-stage {
    height: calc(100vh - 188px);
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
    width: calc(50% - 28px);
    transform: none;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }
}
