:root {
  --bg: #07090b;
  --bg-elevated: #10161b;
  --gold: #d7eef8;
  --gold-soft: rgba(215, 238, 248, 0.12);
  --electric: #8ec5dc;
  --electric-soft: rgba(142, 197, 220, 0.16);
  --line: rgba(215, 238, 248, 0.14);
  --text: #f4f7f8;
  --muted: #8e9aa3;
  --ink: #071014;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(142, 197, 220, 0.09), transparent 60%),
    var(--bg);
  color: var(--text);
}

::selection {
  background: rgba(142, 197, 220, 0.35);
  color: var(--text);
}

.display {
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gold-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
}

.nav-glass {
  background: rgba(7, 9, 11, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-logo-link {
  display: block;
  width: 176px;
  height: 108px;
  flex: none;
  overflow: hidden;
}

.nav-logo {
  width: 200px;
  max-width: none;
  height: auto;
  margin-left: -16px;
  margin-top: -48px;
  clip-path: inset(48px 12px 44px 16px);
  filter: url("#logo-knockout");
  pointer-events: none;
}

@media (max-width: 767px) {
  .nav-logo-link {
    width: 140px;
    height: 85px;
  }

  .nav-logo {
    width: 156px;
    margin-left: -12px;
    margin-top: -37px;
    clip-path: inset(37px 8px 34px 12px);
  }
}

.hero-stage,
#hero-stage {
  overflow: hidden;
}

.hero-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
}

.hero-caption {
  position: absolute;
  left: 1.25rem;
  bottom: 2.5rem;
  display: flex;
  max-width: 28rem;
  flex-direction: column;
  gap: 0.35rem;
  color: inherit;
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-decoration: none;
  pointer-events: auto;
}

.hero-caption span {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric);
}

.hero-glow {
  background: linear-gradient(180deg, rgba(7, 9, 11, 0.34) 0%, transparent 28%, transparent 52%, rgba(7, 9, 11, 0.78) 100%);
}

.card-link {
  color: inherit;
  text-decoration: none;
}

.card-link:focus-visible {
  outline: 2px solid var(--electric);
  outline-offset: 4px;
}

.gallery-thumb {
  border: 1px solid transparent;
  opacity: 0.55;
}

.gallery-thumb.is-active {
  border-color: var(--electric);
  opacity: 1;
}

a.card-luxury,
div.card-luxury {
  background: linear-gradient(180deg, rgba(18, 26, 32, 0.94), rgba(8, 12, 16, 0.9));
  border: 1px solid var(--line);
  border-radius: 2px;
  backdrop-filter: blur(16px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card-luxury:hover {
  transform: translateY(-4px);
  border-color: rgba(142, 197, 220, 0.55);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.price {
  color: var(--electric);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

div.chip,
span.chip {
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(215, 238, 248, 0.04);
}

a.btn-gold,
button.btn-gold,
a.btn-ghost,
button.btn-ghost,
span.btn-ghost {
  border-radius: 2px;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-gold:hover {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(142, 197, 220, 0.28);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(215, 238, 248, 0.28);
  color: var(--text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--electric);
  background: var(--electric-soft);
  color: var(--gold);
}

input.field,
select.field,
textarea.field {
  width: 100%;
  background: rgba(215, 238, 248, 0.04);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field:focus {
  border-color: rgba(142, 197, 220, 0.7);
  box-shadow: 0 0 0 3px rgba(142, 197, 220, 0.16);
}

form.is-blocked .field:invalid {
  border-color: #e07a7a;
}

.form-block {
  color: #f0b4b4;
}

.contact-map {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
}

.nav-link {
  position: relative;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--electric);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.stat-num {
  font-family: "Bodoni Moda", "Times New Roman", serif;
  color: var(--electric);
}

.kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--electric);
  font-size: 0.68rem;
  font-weight: 500;
}

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

.vehicle-img {
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

.card-luxury:hover .vehicle-img {
  transform: scale(1.08);
}

#menu-toggle {
  border-radius: 2px;
  border-color: var(--line);
}

.more-filters-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#more-filters-count:not(:empty)::before {
  content: " · ";
  color: var(--electric);
}

.more-filters-chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.more-filters-toggle[aria-expanded="true"] .more-filters-chevron {
  transform: rotate(-135deg);
}

#mobile-menu {
  display: none;
  background: rgba(7, 9, 11, 0.96);
}

#mobile-menu.open {
  display: block;
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
