:root {
  --bg: #0e0f12;
  --bg-2: #16181d;
  --text: #f2efe8;
  --muted: #9a958c;
  --accent: #d4a05a;
  --accent-2: #b87a3a;
  --line: rgba(242, 239, 232, 0.12);
  --font-d: "Syne", sans-serif;
  --font-b: "DM Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: #e8c080; }

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(14, 15, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

.top__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.top__link {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.6rem;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: #1a1208;
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover { background: #e0b06a; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--accent); background: transparent; color: var(--text); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,15,18,0.35) 0%, rgba(14,15,18,0.55) 40%, rgba(14,15,18,0.92) 100%),
    linear-gradient(90deg, rgba(14,15,18,0.75) 0%, rgba(14,15,18,0.2) 70%);
}

.hero__content { position: relative; z-index: 1; max-width: 720px; }

.hero__brand {
  font-family: var(--font-d);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__h1 {
  font-family: var(--font-d);
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.anim {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

.arrivals {
  padding: 5rem 0 4rem;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.arrivals__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.arrivals__head h2 {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

.arrivals__head p { color: var(--muted); max-width: 22rem; }

.arrivals__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.car {
  scroll-snap-align: start;
  background: #111318;
  border: 1px solid var(--line);
  overflow: hidden;
}

.car img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.car__meta { padding: 1rem 1.1rem 1.2rem; }
.car__status {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.car__status--mid { color: #c9b89a; }
.car strong {
  display: block;
  font-family: var(--font-d);
  font-size: 1.15rem;
}

.quiz-section {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--line);
}

.quiz-section__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.quiz-section__intro h2 {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.quiz-section__intro p { color: var(--muted); max-width: 26rem; }

.quiz {
  background: #13151a;
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.quiz__bar {
  height: 2px;
  background: var(--line);
  margin-bottom: 1.5rem;
}
.quiz__bar-fill {
  height: 100%;
  width: 25%;
  background: var(--accent);
  transition: width 0.3s ease;
}

.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: rise 0.35s ease; }

.quiz__label {
  display: block;
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.quiz__hint {
  color: var(--muted);
  font-size: 0.95rem;
  margin: -0.4rem 0 1rem;
}

.quiz__input {
  width: 100%;
  min-height: 52px;
  margin-bottom: 0.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #0e0f12;
  color: var(--text);
  font: inherit;
  outline: none;
}
.quiz__input:focus { border-color: var(--accent); }

.quiz__options { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }

.opt {
  display: block;
  cursor: pointer;
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: block;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  background: #0e0f12;
  transition: border-color 0.2s, background 0.2s;
}
.opt input:checked + span,
.opt:hover span {
  border-color: var(--accent);
  background: rgba(212, 160, 90, 0.08);
}

.quiz__nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.quiz__error {
  color: #e08a7a;
  font-size: 0.9rem;
  margin: 0.25rem 0 0.75rem;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.foot__brand { color: var(--text); font-weight: 600; margin-bottom: 0.35rem; }
.foot__req { margin-bottom: 0.75rem; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  to { transform: scale(1); }
}

@media (max-width: 860px) {
  .quiz-section__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 92vh; padding-bottom: 3.5rem; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 1.5rem, 1120px); }
  .hero__h1 { font-size: 2.35rem; }
  .btn { width: 100%; }
  .quiz__nav .btn { flex: 1; }
}

/* intl-tel-input */
.phone-field { width: 100%; margin-bottom: 0.85rem; }
.phone-field .iti { width: 100%; }
.phone-field .quiz__input { width: 100%; }
.phone-field .iti__selected-dial-code { color: var(--text); }
.phone-field .iti__selected-country { color: var(--text); }
.phone-field input.error, input[name="name"].error { border-color: #e07a5f !important; }
