/* ==========================================================================
   WW CARPLATE — design system (front office + admin)
   Brand colours sampled from public/img/ww-light.png:
   gold #C49E5F · blue #284C9B · ink #1E262D
   Themes: html[data-theme="light" | "dark"] (set before paint in includes/layout.php)
   ========================================================================== */

:root {
  --gold: #c49e5f;
  --gold-strong: #b08843;
  --gold-soft: #f4ecdd;
  --gold-ink: #87672c;
  --blue: #284c9b;
  --blue-strong: #1f3d80;
  --blue-soft: #e8eefa;
  --blue-ink: #284c9b;
  --navy: #0e1826;
  --navy-2: #15233a;

  --bg: #f7f6f2;
  --bg-alt: #efede6;
  --surface: #ffffff;
  --surface-2: #f4f3ef;
  --ink: #141d28;
  --ink-2: #394453;
  --muted: #5f6a77;
  --line: #e4e1d9;
  --line-strong: #d2cec3;
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-line: rgba(20, 29, 40, 0.08);
  --stage: linear-gradient(150deg, #142238 0%, #1d3150 55%, #22385a 100%);
  --wa: #168a47;
  --wa-strong: #117a3d;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --ok: #1b6b3a;
  --ok-soft: #e7f5ec;
  --warn: #8a5a00;
  --warn-soft: #fff4d6;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 8px 24px -8px rgba(16, 24, 40, 0.14), 0 2px 6px rgba(16, 24, 40, 0.05);
  --shadow-lg: 0 24px 48px -16px rgba(16, 24, 40, 0.24);
  --focus: 0 0 0 3px rgba(40, 76, 155, 0.35);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* Aliases for variable names used by inline styles in admin templates */
  --ink-soft: var(--muted);
  --font-display: var(--font);
  --border: var(--line);
  color-scheme: light;
}

[data-theme="dark"] {
  --gold: #cfab68;
  --gold-strong: #ddbd80;
  --gold-soft: rgba(207, 171, 104, 0.14);
  --gold-ink: #dfc088;
  --blue: #3d64c2;
  --blue-strong: #5378d3;
  --blue-soft: rgba(111, 147, 224, 0.14);
  --blue-ink: #9bb6f3;

  --bg: #0a111b;
  --bg-alt: #0e1724;
  --surface: #121c2a;
  --surface-2: #172435;
  --ink: #e9eef4;
  --ink-2: #c4cdd8;
  --muted: #94a1b1;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --header-bg: rgba(10, 17, 27, 0.86);
  --header-line: rgba(255, 255, 255, 0.07);
  --stage: linear-gradient(150deg, #0f1a2b 0%, #172742 55%, #1b2f4f 100%);
  --wa: #1a9b51;
  --wa-strong: #1fae5c;
  --danger: #ff8a80;
  --danger-soft: rgba(255, 138, 128, 0.12);
  --ok: #7fd6a0;
  --ok-soft: rgba(127, 214, 160, 0.12);
  --warn: #ffd27a;
  --warn-soft: rgba(255, 210, 122, 0.12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 28px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 28px 56px -18px rgba(0, 0, 0, 0.7);
  --focus: 0 0 0 3px rgba(155, 182, 243, 0.45);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

code {
  font-size: 0.85em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 0.05rem 0.35rem;
  border-radius: 5px;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--gold);
  color: #141d28;
}

.container {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -120px;
  z-index: 200;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.icon {
  flex-shrink: 0;
  display: block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin: 0 0 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.eyebrow--light {
  color: #e2c690;
}

.section-title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
  color: var(--blue-ink);
  transition: gap 0.2s var(--ease), color 0.2s;
}

.text-link:hover {
  gap: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface-2);
  --btn-fg: var(--ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--btn-bd);
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 9px;
}

.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

.btn-square {
  padding: 0;
  width: 38px;
  flex-shrink: 0;
}

.btn-gold {
  --btn-bg: var(--gold);
  --btn-fg: #141d28;
  box-shadow: 0 6px 18px -8px rgba(196, 158, 95, 0.7);
}

.btn-gold:hover {
  --btn-bg: var(--gold-strong);
}

[data-theme="dark"] .btn-gold:hover {
  --btn-bg: #e2c48c;
}

.btn-primary,
.btn-accent {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
}

.btn-primary:hover,
.btn-accent:hover {
  --btn-bg: var(--blue-strong);
}

.btn-wa {
  --btn-bg: var(--wa);
  --btn-fg: #fff;
}

.btn-wa:hover {
  --btn-bg: var(--wa-strong);
}

.btn-outline,
.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}

.btn-outline:hover,
.btn-ghost:hover {
  --btn-bd: var(--gold);
  --btn-fg: var(--gold-ink);
}

.btn-glass {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.btn-glass:hover {
  --btn-bg: rgba(255, 255, 255, 0.18);
  --btn-bd: rgba(255, 255, 255, 0.5);
}

.btn-danger {
  --btn-bg: transparent;
  --btn-fg: var(--danger);
  --btn-bd: color-mix(in srgb, var(--danger) 40%, transparent);
}

.btn-danger:hover {
  --btn-bg: var(--danger-soft);
}

.btn-arrow .icon {
  transition: transform 0.25s var(--ease);
}

.btn-arrow:hover .icon {
  transform: translateX(4px);
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold-ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.chip--gold {
  background: var(--gold-soft);
  border-color: color-mix(in srgb, var(--gold) 35%, transparent);
  color: var(--gold-ink);
}

.chip--xs {
  height: 18px;
  padding: 0 6px;
  font-size: 9.5px;
  border-radius: 5px;
}

.chip--available {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: transparent;
}

.chip--reserved {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: transparent;
}

.chip--sold {
  background: var(--surface-2);
  color: var(--muted);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--header-line);
  transition: box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.site-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav__link:hover {
  color: var(--ink);
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.site-nav__link.is-active {
  color: var(--ink);
}

.site-nav__cta {
  display: none;
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  padding: 0 16px;
}

.nav-toggle {
  display: none;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

.theme-toggle__sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__sun {
  display: block;
}

[data-theme="dark"] .theme-toggle__moon {
  display: none;
}

/* Logo: light badge keeps the dark wordmark legible on both themes */
.brand {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 12px;
}

.brand__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(20, 29, 40, 0.08);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

[data-theme="dark"] .brand__badge {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.6);
}

.brand__crop {
  display: block;
  width: 96px;
  aspect-ratio: 805 / 470;
  overflow: hidden;
}

.brand__crop img {
  width: 127.2%;
  max-width: none;
  height: auto;
  margin: -38.5% 0 0 -13.66%;
}

.brand__badge--custom img {
  height: 46px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* ---------- Flash ---------- */
.flash {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin: 14px auto;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
}

.admin-body>.flash {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 300;
  width: auto;
  max-width: min(420px, 100% - 32px);
  margin: 0;
  box-shadow: var(--shadow-md);
  animation: flash-in 0.35s var(--ease) both;
}

.admin-body>.flash-ok {
  background: linear-gradient(var(--ok-soft), var(--ok-soft)) var(--surface);
  animation: flash-in 0.35s var(--ease) both, flash-out 0.4s var(--ease) 5s forwards;
}

.admin-body>.flash-error {
  background: linear-gradient(var(--danger-soft), var(--danger-soft)) var(--surface);
}

@keyframes flash-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes flash-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.flash-ok {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: color-mix(in srgb, var(--ok) 25%, transparent);
}

.flash-error {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 25%, transparent);
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(500px, 80vh, 740px);
  height: clamp(500px, 80svh, 740px);
  background: var(--navy);
  color: #fff;
}

.hero__viewport {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0s linear 0.95s;
  background: radial-gradient(120% 90% at 85% 30%, #1f3558 0%, var(--navy) 60%);
}

.hero__slide.is-leaving {
  z-index: 1;
  opacity: 1;
}

.hero__slide.is-active {
  z-index: 2;
  opacity: 1;
  transition: opacity 0.95s var(--ease);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 8s linear;
  will-change: transform;
}

.hero__slide.is-active .hero__img {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 22, 0.9) 0%, rgba(8, 13, 22, 0.72) 34%, rgba(8, 13, 22, 0.28) 66%, rgba(8, 13, 22, 0.08) 100%),
    linear-gradient(0deg, rgba(8, 13, 22, 0.78) 0%, rgba(8, 13, 22, 0) 42%),
    radial-gradient(60% 60% at 0% 100%, rgba(196, 158, 95, 0.18) 0%, rgba(196, 158, 95, 0) 70%);
}

.hero__slide--art .hero__overlay {
  background:
    radial-gradient(50% 60% at 78% 45%, rgba(40, 76, 155, 0.35) 0%, rgba(40, 76, 155, 0) 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(196, 158, 95, 0.22) 0%, rgba(196, 158, 95, 0) 70%),
    linear-gradient(90deg, rgba(8, 13, 22, 0.55) 0%, rgba(8, 13, 22, 0) 60%);
}

.hero__art {
  position: absolute;
  right: max(var(--gutter), (100% - var(--maxw)) / 2);
  top: 50%;
  width: min(44%, 520px);
  transform: translateY(-58%) rotate(-4deg);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 150px;
}

.hero__content>* {
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e2c690;
}

.hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hero__title {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.hero__desc {
  margin-top: 18px;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.7;
  color: rgba(236, 241, 248, 0.86);
  max-width: 54ch;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__slide .hero__content>* {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.hero__slide.is-active .hero__content>* {
  opacity: 1;
  transform: none;
}

.hero__slide.is-active .hero__content> :nth-child(2) {
  transition-delay: 0.08s;
}

.hero__slide.is-active .hero__content> :nth-child(3) {
  transition-delay: 0.16s;
}

.hero__slide.is-active .hero__content> :nth-child(4) {
  transition-delay: 0.24s;
}

.hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 92px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__dot {
  position: relative;
  width: 44px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
}

.hero__dot::before,
.hero__dot-fill {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
}

.hero__dot::before {
  background: rgba(255, 255, 255, 0.28);
}

.hero__dot-fill {
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.hero__dot.is-active .hero__dot-fill {
  animation: heroProgress var(--hero-interval, 6500ms) linear forwards;
}

.hero.is-paused .hero__dot.is-active .hero__dot-fill {
  animation-play-state: paused;
}

.hero.is-stopped .hero__dot.is-active .hero__dot-fill {
  animation: none;
  transform: scaleX(1);
}

.hero__dot:hover::before {
  background: rgba(255, 255, 255, 0.5);
}

.hero__buttons {
  display: flex;
  gap: 8px;
}

.hero__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(8, 13, 22, 0.35);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.2s, border-color 0.2s;
}

.hero__btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero__play-icon {
  display: none;
}

.hero.is-stopped .hero__play-icon {
  display: block;
}

.hero.is-stopped .hero__pause-icon {
  display: none;
}

@keyframes heroProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* ---------- Finder (search + filters) ---------- */
.finder {
  position: relative;
  z-index: 10;
  margin-top: -64px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.finder__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
}

.finder__grid {
  display: grid;
  align-items: end;
  gap: 12px;
  grid-template-columns: minmax(0, 2.1fr) repeat(3, minmax(0, 1fr)) auto;
}

.field-ui {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field-ui__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.input-ui,
.select-ui,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.input-ui {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.input-ui input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  background: transparent;
  outline: none;
  font-weight: 600;
}

.input-ui input::placeholder,
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  font-weight: 500;
}

.input-ui .icon {
  color: var(--muted);
}

.input-ui:focus-within,
.select-ui:focus-visible,
.select-ui:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: var(--focus);
  background: var(--surface);
  outline: none;
}

.select-ui,
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 40px 0 14px;
  text-align: left;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6a77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.select-ui option {
  background: var(--surface);
  color: var(--ink);
}

.price-toggle {
  cursor: pointer;
}

.price-toggle[aria-expanded="true"] {
  border-color: var(--gold);
}

.finder__btn {
  min-height: 48px;
  padding: 0 26px;
}

.finder__active {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.finder__active a {
  color: var(--blue-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-panel {
  display: none;
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.price-panel.is-open {
  display: block;
  animation: fadeUp 0.3s var(--ease) both;
}

.price-panel__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.price-panel__head strong {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-panel__values {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.price-panel__values b {
  color: var(--ink);
  margin-left: 4px;
}

.range-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: var(--line-strong);
  margin: 24px 8px 18px;
}

.range-track__progress {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: var(--gold);
}

.range-track input[type="range"] {
  position: absolute;
  left: -8px;
  right: -8px;
  top: 50%;
  width: calc(100% + 16px);
  height: 24px;
  margin: -12px 0 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.range-track input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
}

.range-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  cursor: grab;
}

.range-track input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--gold-strong);
  pointer-events: auto;
  cursor: grab;
}

.range-track input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: var(--focus);
}

.price-panel__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section--compact {
  padding: clamp(36px, 4.5vw, 56px) 0 clamp(20px, 3vw, 32px);
}

.section--alt {
  background: var(--bg-alt);
}

.section--cta {
  padding-top: clamp(24px, 3vw, 40px);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 40px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.section-head__desc {
  max-width: 44ch;
  color: var(--muted);
  font-size: 14px;
}

.collection {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 0;
  margin-bottom: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.results-count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.results-count strong {
  color: var(--ink);
  font-size: 16px;
}

.results-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.segmented {
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.segmented__item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}

.segmented__item:hover {
  color: var(--ink);
}

.segmented__item.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .segmented__item.is-active {
  background: var(--blue);
  color: #fff;
}

.empty-state {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
  background: var(--surface);
}

.empty-state strong {
  color: var(--ink);
  font-size: 16px;
}

.empty-state__title {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 28px);
}

.empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

/* ---------- Number plate component ---------- */
.plate-preview {
  --plate-len: 5;
  position: relative;
  container-type: inline-size;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3.8 / 1;
  background: var(--plate-bg, #0a0a0a);
  color: var(--plate-fg, #fff);
  border: 2px solid var(--plate-border, #000);
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 14px 26px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  user-select: none;
}

.plate-preview::before {
  content: "";
  position: absolute;
  inset: 7% 2.4%;
  border-radius: 5px;
  pointer-events: none;
  border: 1.5px solid color-mix(in srgb, var(--plate-fg, #fff) 55%, transparent);
}

.plate-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 46%, rgba(0, 0, 0, 0.12) 100%);
}

.plate-preview__text {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 92%;
  font-family: var(--font);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: -0.08em;
  white-space: nowrap;
  overflow: hidden;
  font-size: clamp(16px, 4.5vw, 34px);
  font-size: min(16cqi, calc(108cqi / var(--plate-len)));
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35), 0 -1px 0 rgba(255, 255, 255, 0.06);
  font-variant-numeric: tabular-nums;
}

.plate-preview--sm {
  border-width: 1.5px;
  border-radius: 6px;
}

.plate-preview--sm::before {
  border-width: 1px;
}

.plate-preview--lg,
.plate-preview--xl {
  border-width: 3px;
  border-radius: 14px;
}

.plate-preview--lg::before,
.plate-preview--xl::before {
  border-width: 2.5px;
  border-radius: 9px;
}

.plate-preview--lg {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 40px 60px -28px rgba(0, 0, 0, 0.8);
}

/* ---------- Plate cards ---------- */
.plate-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
}

.plate-card {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease), opacity 0.2s, filter 0.2s;
}

.plate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--gold) 45%, var(--line));
}

.plate-card__media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 51px 20px 39px;
  min-height: 168px;
  background: var(--stage);
}

.plate-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(70% 80% at 50% 0%, rgba(196, 158, 95, 0.2) 0%, rgba(196, 158, 95, 0) 70%);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.plate-card:hover .plate-card__media::before {
  opacity: 1;
}

.plate-card__media .plate-preview {
  transition: transform 0.35s var(--ease);
}

.plate-card:hover .plate-card__media .plate-preview {
  transform: scale(1.03);
}

.plate-card__tag,
.plate-card__status {
  position: absolute;
  top: 10px;
  z-index: 2;
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plate-card__tag {
  left: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.plate-card__tag--auction {
  background: var(--gold);
  color: #141d28;
  border-color: transparent;
}

.plate-card__status {
  right: 10px;
  background: #ffd27a;
  color: #3d2a00;
}

.plate-card__body {
  display: flex;
  flex-direction: column;
  gap: 21px;
  padding: 24px;
  flex: 1;
}

.plate-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.plate-card__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.plate-card__price {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.plate-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.plate-card__actions .btn-wa {
  flex: 1;
  min-width: 0;
}

.plate-card__preview {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.plate-card__preview:hover {
  color: var(--gold-ink);
}

@container (max-width: 200px) {
  .plate-card__row {
    flex-direction: column;
  }

  .plate-card__price {
    font-size: 17px;
  }

  .plate-card__body {
    padding: 18px;
    gap: 15px;
  }
}

/* ---------- Offers ---------- */
.offer-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.offer-card h3 {
  font-size: 17px;
}

.offer-card p {
  color: var(--muted);
  font-size: 14px;
}

.offer-card .text-link {
  margin-top: auto;
}

.offer-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-soft);
  color: var(--gold-ink);
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.step__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-ink);
}

.step__num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--line-strong);
}

.step h3 {
  margin: 18px 0 8px;
  font-size: 17px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Why choose us ---------- */
.why {
  display: grid;
  gap: 32px 64px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.why__body {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  max-width: 46ch;
}

.why__points {
  list-style: none;
  display: grid;
  gap: 12px;
}

.why-point {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}

.why-point:hover {
  border-color: color-mix(in srgb, var(--gold) 45%, var(--line));
}

.why-point__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-ink);
}

.why-point h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.why-point p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(120deg, #0e1826 0%, #172a47 60%, #1d3764 100%);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 90% at 100% 0%, rgba(196, 158, 95, 0.28) 0%, rgba(196, 158, 95, 0) 70%),
    radial-gradient(40% 80% at 0% 100%, rgba(40, 76, 155, 0.5) 0%, rgba(40, 76, 155, 0) 70%);
}

.cta-band__text {
  max-width: 620px;
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
}

.cta-band p:not(.eyebrow) {
  margin-top: 10px;
  color: rgba(236, 241, 248, 0.8);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Plate details ---------- */
.detail {
  padding-bottom: 24px;
}

.breadcrumb {
  padding: 22px 0 18px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb li+li::before {
  content: "/";
  margin-right: 6px;
  color: var(--line-strong);
}

.breadcrumb a:hover {
  color: var(--gold-ink);
}

.breadcrumb [aria-current] {
  color: var(--ink);
  font-weight: 700;
}

.detail__grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
}

.detail__stage {
  display: grid;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.detail__showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  gap: 22px;
  padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 56px) clamp(28px, 4vw, 40px);
  border-radius: 22px;
  background: var(--stage);
}

.detail__showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 60% at 50% 20%, rgba(196, 158, 95, 0.22) 0%, rgba(196, 158, 95, 0) 70%);
}

.detail__showcase .plate-preview {
  max-width: 560px;
}

.detail__caption {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 241, 248, 0.6);
}

.detail__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.detail__photo img {
  width: 100%;
  aspect-ratio: 18 / 5;
  object-fit: cover;
}

.detail__info {
  display: grid;
  gap: 20px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
}

.detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail__title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  line-height: 1;
}

.detail__subtitle {
  color: var(--muted);
  margin-top: -8px;
}

.detail__price {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.detail__price strong {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.detail__actions {
  display: grid;
  gap: 12px;
}

.detail__secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.detail__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
}

.detail__note .icon {
  color: var(--ok);
  margin-top: 2px;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-list>div {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list>div:nth-child(odd) {
  padding-right: 12px;
}

.spec-list dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  font-weight: 700;
}

.detail__about {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.detail__about h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.detail__about p {
  color: var(--ink-2);
  max-width: 75ch;
}

/* ---------- Page hero (preview page) ---------- */
.page-hero {
  background: var(--stage);
  color: #fff;
  padding: 36px 0 72px;
}

.page-hero .breadcrumb {
  padding: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2c690;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero p {
  color: rgba(236, 241, 248, 0.75);
  margin-top: 8px;
  max-width: 52ch;
}

/* ---------- Car preview page ---------- */
.preview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 22px;
  margin-top: -44px;
  padding-bottom: 48px;
  align-items: start;
}

.preview-label {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}

.preview-live {
  background: var(--navy-2);
  color: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-live__head h2 {
  font-size: 19px;
  font-weight: 700;
}

.preview-live__hint {
  margin: 6px 0 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.car-stage {
  background: radial-gradient(80% 90% at 50% 0%, #22385a 0%, #0e1826 80%);
  border-radius: 16px;
  padding: 70px 16px 40px;
  overflow: hidden;
  perspective: 900px;
}

.car-3d {
  width: min(520px, 100%);
  margin: 0 auto;
  transform-style: preserve-3d;
  animation: carFloat 5s ease-in-out infinite;
}

.car-body {
  position: relative;
  height: 160px;
  border-radius: 40px 70px 18px 18px;
  background: linear-gradient(145deg, var(--car-color, #111) 0%, color-mix(in srgb, var(--car-color, #111) 70%, #fff) 45%, #0a0a0a 100%);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: rotateX(12deg) rotateY(-18deg);
  transform-style: preserve-3d;
  transition: background 0.4s var(--ease);
}

.car-cabin {
  position: absolute;
  left: 28%;
  top: -48px;
  width: 42%;
  height: 58px;
  border-radius: 18px 28px 8px 8px;
  background: linear-gradient(180deg, rgba(180, 220, 230, 0.55), rgba(30, 40, 50, 0.85));
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.car-wheel {
  position: absolute;
  bottom: -18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #777, #111 60%, #000);
  border: 3px solid #222;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.35);
}

.car-wheel--l {
  left: 14%;
}

.car-wheel--r {
  right: 16%;
}

.car-plate-slot {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 46%;
}

.car-plate-slot .plate-preview {
  border-radius: 4px;
}

.preview-selected-plate {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
}

.preview-selected-plate .plate-preview {
  max-width: 360px;
}

.preview-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.preview-credits {
  margin-top: 14px;
  background: var(--surface);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
}

.preview-credits strong {
  display: block;
  font-size: 15px;
}

.preview-credits p {
  color: var(--muted);
  font-size: 13px;
  max-width: 30ch;
}

.preview-customize-wrap {
  display: grid;
  gap: 12px;
}

.preview-customize {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.preview-customize h2 {
  font-size: 20px;
  font-weight: 700;
}

.preview-customize__sub {
  margin: 6px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.selected-number {
  background: var(--stage);
  color: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.selected-number__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.locked-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(196, 158, 95, 0.45);
  border-radius: 999px;
  padding: 3px 9px;
}

.selected-number__value {
  margin-top: 6px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.preview-generate {
  width: 100%;
  border-radius: 14px;
  justify-content: space-between;
  min-height: 64px;
  padding: 12px 18px;
  text-align: left;
  white-space: normal;
}

.preview-generate strong {
  display: block;
  font-size: 15px;
}

.preview-generate small {
  display: block;
  margin-top: 2px;
  font-weight: 500;
  opacity: 0.85;
  font-size: 12px;
}

.preview-back {
  width: 100%;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.swatch {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid var(--line-strong);
  cursor: pointer;
  appearance: none;
  padding: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.swatch:hover {
  transform: scale(1.08);
}

.swatch.is-active {
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--gold);
}

@keyframes carFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(40px, 6vw, 72px);
  background: #0b131f;
  color: rgba(236, 241, 248, 0.72);
  padding: clamp(44px, 6vw, 64px) 0 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .site-footer {
  background: #070d16;
}

.site-footer__grid {
  display: grid;
  gap: 36px 48px;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}

.site-footer__desc {
  margin-top: 18px;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.7;
}

.social-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.icon-btn--footer {
  color: rgba(236, 241, 248, 0.8);
  border-color: rgba(255, 255, 255, 0.16);
}

.icon-btn--footer:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e2c690;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 2px;
}

.footer-contact span {
  font-size: 12px;
  color: rgba(236, 241, 248, 0.5);
}

.footer-contact a {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.footer-wa {
  margin-top: 16px;
}

.jpj-box {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

.jpj-box .icon {
  color: var(--gold);
  margin-top: 2px;
}

.jpj-box strong {
  display: block;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: rgba(236, 241, 248, 0.5);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.site-footer__meta a {
  color: rgba(236, 241, 248, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__meta a:hover {
  color: #fff;
}

.site-footer .brand__badge {
  border-color: transparent;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 28px -8px rgba(22, 138, 71, 0.6);
  transition: transform 0.25s var(--ease), background-color 0.2s;
}

.wa-float:hover {
  transform: translateY(-3px);
  background: var(--wa-strong);
}

/* ---------- Reveal animation ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .plate-card.reveal.is-visible:hover {
  transform: translateY(-4px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Generic forms / panels (admin + legacy pages) ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.panel h2 {
  font-size: 18px;
  margin-bottom: 14px;
}

.panel p {
  font-size: 14px;
}

.field {
  display: grid;
  align-content: start;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.field>span,
.field>label {
  font-size: 13px;
  font-weight: 700;
}

.field small,
.field-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  padding: 0 14px;
  font-weight: 500;
}

.field textarea {
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.5;
}

.field input[type="file"] {
  padding: 10px 14px;
  min-height: 0;
}

.field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  accent-color: var(--blue);
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

/* ---------- Admin ---------- */
.admin-body {
  background: var(--bg);
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 14px;
  background: #0b131f;
  color: #d5dce5;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-side .brand {
  margin: 0 6px 18px;
}

.admin-side a:not(.brand),
.nav-logout,
.admin-side .admin-theme {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  color: #c6cfda;
  background: transparent;
  border: 0;
  text-align: left;
  transition: background-color 0.2s, color 0.2s;
}

.admin-side a:not(.brand):hover,
.nav-logout:hover,
.admin-side .admin-theme:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.admin-side a.is-active {
  background: var(--blue);
  color: #fff;
}

.admin-side__spacer {
  flex: 1;
}

.admin-side form {
  margin: 0;
}

.admin-main {
  min-width: 0;
  padding: clamp(18px, 3vw, 36px);
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.admin-top h1 {
  font-size: 26px;
  letter-spacing: -0.03em;
  text-transform: none !important;
}

.admin-top p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  max-width: 100%;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 14px;
}

table.data th,
table.data td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

table.data th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
}

table.data tbody tr:hover {
  background: var(--surface-2);
}

table.data a {
  color: var(--blue-ink);
  font-weight: 600;
}

.settings-grid table.data {
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge--available {
  background: var(--ok-soft);
  color: var(--ok);
}

.badge--reserved {
  background: var(--warn-soft);
  color: var(--warn);
}

.badge--sold {
  background: var(--surface-2);
  color: var(--muted);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.settings-card {
  margin: 0;
}

.settings-card--wide {
  grid-column: 1 / -1;
}

.settings-card__title {
  margin: 0 0 6px;
  font-size: 16px;
}

.settings-card__hint {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13.5px;
}

.offer-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.offer-row h3 {
  font-size: 15px;
}

.offer-row form {
  display: inline-block;
  margin-left: 10px;
}

.offer-row a {
  color: var(--blue-ink);
  font-weight: 600;
}

.media-preview {
  margin: 12px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy);
  max-width: 420px;
}

.media-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
}

.media-preview--logo {
  background: #fff;
}

.media-preview--logo img {
  max-height: 80px;
  width: auto;
  margin: 12px auto;
  object-fit: contain;
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--stage);
}

.login-card {
  width: min(420px, 100%);
  background: var(--surface);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
}

.login-card h1 {
  font-size: 22px;
}

.admin-plate-preview {
  max-width: 360px;
  margin-bottom: 18px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--stage);
}

/* Admin: hero slides */
.slide-admin {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
}

.slide-preview {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 85% 30%, #1f3558 0%, var(--navy) 60%);
  color: #fff;
  margin-bottom: 18px;
}

.slide-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.slide-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 13, 22, 0.9) 0%, rgba(8, 13, 22, 0.6) 45%, rgba(8, 13, 22, 0.1) 100%), linear-gradient(0deg, rgba(8, 13, 22, 0.7) 0%, rgba(8, 13, 22, 0) 50%);
}

.slide-preview__body {
  position: absolute;
  left: 6%;
  bottom: 12%;
  right: 30%;
  display: grid;
  gap: 8px;
}

.slide-preview__title {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.slide-preview__desc {
  font-size: 12px;
  color: rgba(236, 241, 248, 0.82);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.slide-preview__btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--gold);
  color: #141d28;
  font-size: 11px;
  font-weight: 700;
}

.slide-preview__empty {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.slide-list {
  display: grid;
  gap: 16px;
}

.slide-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.slide-item.is-editing {
  border-color: var(--blue);
  box-shadow: var(--focus);
}

.slide-item .slide-preview {
  margin: 0;
  border-radius: 0;
  aspect-ratio: 16 / 6;
}

.slide-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}

.slide-item__url {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.slide-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slide-item__actions form {
  margin: 0;
}

.slide-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.slide-counter__bar {
  display: inline-flex;
  gap: 3px;
}

.slide-counter__bar i {
  width: 14px;
  height: 6px;
  border-radius: 3px;
  background: var(--line-strong);
}

.slide-counter__bar i.is-on {
  background: var(--gold);
}

/* Admin: content editor */
.content-groups {
  display: grid;
  gap: 20px;
}

.content-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 0;
  margin: 0;
}

.content-group>summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
}

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

.content-group>summary .icon {
  transition: transform 0.2s var(--ease);
  color: var(--muted);
}

.content-group[open]>summary .icon {
  transform: rotate(180deg);
}

.content-group__body {
  display: grid;
  gap: 14px;
  padding: 0 22px 22px;
}

.content-group__hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: -4px;
}

.sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 0;
  background: linear-gradient(0deg, var(--bg) 70%, transparent);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .finder__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .finder__search {
    grid-column: 1 / -1;
  }

  .finder__submit {
    grid-column: 1 / -1;
  }

  .finder__submit .btn {
    width: 100%;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slide-admin {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 89;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin: 0;
    padding: 16px var(--gutter) 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s linear 0.22s;
  }

  .site-header.is-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__link {
    height: 48px;
    font-size: 16px;
    padding: 0 12px;
  }

  .site-nav__link::after {
    display: none;
  }

  .site-nav__link.is-active {
    background: var(--gold-soft);
    color: var(--gold-ink);
  }

  .site-nav__cta {
    display: inline-flex;
    min-height: 50px;
  }

  .site-header__tools {
    margin-left: auto;
  }

  .detail__grid {
    grid-template-columns: 1fr;
  }

  .detail__stage {
    position: static;
  }

  .why {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .preview-layout {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-side {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    padding: 10px 12px;
    gap: 4px;
  }

  .admin-side .brand {
    display: none;
  }

  .admin-side a:not(.brand),
  .nav-logout,
  .admin-side .admin-theme {
    width: auto;
    white-space: nowrap;
    padding: 9px 12px;
  }

  .admin-side__spacer {
    display: none;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 14.5px;
  }

  .hero {
    height: clamp(520px, 86svh, 660px);
  }

  .hero__overlay {
    background:
      linear-gradient(0deg, rgba(8, 13, 22, 0.94) 0%, rgba(8, 13, 22, 0.7) 45%, rgba(8, 13, 22, 0.12) 78%, rgba(8, 13, 22, 0) 100%),
      radial-gradient(80% 50% at 0% 100%, rgba(196, 158, 95, 0.2) 0%, rgba(196, 158, 95, 0) 70%);
  }

  .hero__content {
    justify-content: flex-end;
    padding-bottom: 128px;
  }

  .hero__title {
    -webkit-line-clamp: 4;
  }

  .hero__art {
    width: 78%;
    right: 50%;
    top: 26%;
    transform: translate(50%, -50%) rotate(-4deg);
    opacity: 0.9;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__controls {
    bottom: 62px;
  }

  .hero__dot {
    width: 32px;
  }

  .hero__btn {
    width: 40px;
    height: 40px;
  }

  .finder {
    margin-top: -40px;
  }

  .finder__card {
    padding: 14px;
    border-radius: 16px;
  }

  .finder__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .finder__search {
    grid-column: 1 / -1;
  }

  .finder__grid>.field-ui:nth-child(4) {
    grid-column: 1 / -1;
  }

  .finder__submit {
    grid-column: 1 / -1;
  }

  .price-panel__actions .btn {
    flex: 1;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .results-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .results-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .segmented {
    display: flex;
  }

  .segmented__item {
    flex: 1;
    justify-content: center;
    padding: 0 8px;
  }

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

  .plate-card__media {
    padding: 45px 12px 30px;
    min-height: 150px;
  }

  .plate-card__body {
    padding: 18px;
    gap: 18px;
  }

  .plate-card__actions .btn-wa span {
    font-size: 12.5px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }

  .wa-float span {
    display: none;
  }

  .cta-band__actions {
    width: 100%;
  }

  .cta-band__actions .btn {
    flex: 1 1 auto;
  }

  .detail__secondary {
    grid-template-columns: 1fr;
  }

  .detail__photo img {
    aspect-ratio: 18 / 6;
  }

  .car-body {
    height: 120px;
  }

  .car-cabin {
    top: -36px;
    height: 44px;
  }

  .car-wheel {
    width: 42px;
    height: 42px;
    bottom: -14px;
  }

  .admin-main {
    padding: 16px;
  }

  .panel {
    padding: 18px;
  }
}

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

  .brand__crop {
    width: 80px;
  }

  .site-header__tools {
    gap: 6px;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (min-width: 1280px) {
  .plate-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__img,
  .hero__slide.is-active .hero__img {
    transform: none;
  }

  .hero__slide .hero__content>* {
    opacity: 1;
    transform: none;
  }

  .hero__dot.is-active .hero__dot-fill {
    animation: none;
    transform: scaleX(1);
  }

  .car-3d {
    animation: none;
  }
}