/* ==========================================================================
   T3A Rentals — styles
   Dark layout inspired by the reference reel, recolored to the T3A logo
   (electric blue + red on black).
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #05070b;
  --surface: #0d121b;
  --surface-2: #121926;
  --surface-3: #18202e;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef2f8;
  --text-2: #c6cedb;
  --muted: #8d97a9;
  --muted-2: #5d6779;
  --blue: #3d9dff;
  --blue-deep: color-mix(in srgb, var(--blue), #001a66 35%);
  --blue-glow: color-mix(in srgb, var(--blue) 45%, transparent);
  --red: #ff2b3d;
  --red-glow: color-mix(in srgb, var(--red) 50%, transparent);
  --ink: #04070d; /* text on the blue accent */
  --radius: 22px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 16px;
  --nav-h: 68px;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --nav-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blue); color: var(--ink); }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Ambient background ---------- */
.bg-glow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-glow span {
  position: absolute;
  border-radius: 50%;
  animation: drift 24s ease-in-out infinite alternate;
}
.bg-glow span:nth-child(1) {
  width: 60vmax; height: 60vmax; top: -26vmax; right: -20vmax;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 28%, transparent), transparent 62%);
}
.bg-glow span:nth-child(2) {
  width: 50vmax; height: 50vmax; bottom: -24vmax; left: -22vmax;
  background: radial-gradient(circle, color-mix(in srgb, var(--red) 16%, transparent), transparent 62%);
  animation-duration: 30s; animation-delay: -8s;
}
.bg-glow span:nth-child(3) {
  width: 40vmax; height: 40vmax; top: 45%; left: 30%;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 10%, transparent), transparent 62%);
  animation-duration: 36s; animation-delay: -14s;
}
@keyframes drift { to { transform: translate3d(-7vmax, 6vmax, 0) scale(1.12); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.7em 1.3em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
}
.btn .ico { transition: transform 0.3s var(--ease); }
.btn:hover .ico { transform: translate(2px, -2px); }
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--blue);
  color: var(--ink);
  box-shadow: 0 10px 26px -10px var(--blue-glow);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px -4px var(--blue-glow), 0 14px 30px -12px var(--blue-glow); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-2px); }
.btn--lg { min-height: 52px; padding-inline: 1.6em; font-size: 1rem; }

.round-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s var(--ease), opacity 0.3s, box-shadow 0.3s;
}
.round-btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.1); }
.round-btn--accent { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.round-btn--accent:hover { background: var(--blue); box-shadow: 0 0 24px -4px var(--blue-glow); }
.round-btn:disabled { opacity: 0.3; cursor: default; transform: none; box-shadow: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s;
  animation: navIn 0.9s var(--ease) both;
}
.nav.is-scrolled, .nav[data-open] {
  background: rgba(5, 7, 11, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
@keyframes navIn { from { transform: translateY(-100%); opacity: 0; } }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand {
  display: flex; align-items: baseline; gap: 0.45rem;
  margin-right: auto;
  font-family: var(--display); font-weight: 700; font-style: italic;
  text-transform: uppercase;
}
.brand__mark {
  font-size: 1.95rem;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #d6dde9 46%, #7f8ba1 54%, #f2f5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__mark b { color: var(--red); -webkit-text-fill-color: var(--red); text-shadow: 0 0 18px var(--red-glow); }
.brand__word { font-size: 1rem; letter-spacing: 0.3em; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 28px; font-size: 0.92rem; color: var(--muted); }
.nav__links a:not(.btn) { position: relative; padding-block: 6px; transition: color 0.2s; }
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__menu-cta, .nav__toggle { display: none; }

@media (max-width: 899px) {
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }
  .nav__toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform 0.35s var(--ease); }
  .nav[data-open] .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav[data-open] .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    height: calc(100dvh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 40px;
    background: rgba(5, 7, 11, 0.97);
    font-family: var(--display); font-size: 2.3rem; font-weight: 700; color: var(--text);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
  }
  .nav[data-open] .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links a:not(.btn) {
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), color 0.2s;
  }
  .nav__links a:not(.btn)::after { display: none; }
  .nav[data-open] .nav__links a { opacity: 1; transform: none; transition-delay: calc(0.06s * var(--i, 0) + 0.08s); }
  .nav__menu-cta { display: inline-flex; align-self: flex-start; margin-top: 28px; font-family: var(--font); font-size: 1rem; opacity: 0; transform: translateY(16px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
}

/* ---------- Load-in & scroll reveal ---------- */
.js .load-in { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "badge" "stage" "info" "book";
  gap: 20px;
  padding-top: calc(var(--nav-h) + clamp(20px, 4vw, 44px));
  padding-bottom: clamp(36px, 6vw, 72px);
}

.hero__title {
  grid-area: title;
  position: relative;
  z-index: 2;
  font-size: clamp(3rem, 13vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: 0.002em;
}
.js .hero__title { visibility: hidden; }
.js .hero__title.is-split { visibility: visible; }
.hero__title em { font-style: normal; color: var(--blue); }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.24em; margin-bottom: -0.24em; }
.hero__title .w__i {
  display: inline-block;
  padding-bottom: 0.24em; /* keeps descenders inside the clipped gradient */
  margin-bottom: -0.24em;
  background: linear-gradient(180deg, #ffffff 0%, #e3e9f2 46%, #98a4b8 54%, #f4f7fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(108%);
  animation: wordUp 1.1s var(--ease) forwards;
  animation-delay: calc(0.15s + var(--wi, 0) * 0.08s);
}
.hero__title em .w__i { background-image: linear-gradient(180deg, color-mix(in srgb, var(--blue), #fff 60%) 0%, var(--blue) 46%, var(--blue-deep) 54%, color-mix(in srgb, var(--blue), #fff 45%) 100%); }
@keyframes wordUp { to { transform: none; } }

.hero__badge {
  grid-area: badge;
  display: flex; align-items: flex-start; gap: 12px;
  max-width: 330px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.86rem; color: var(--text-2);
}
.pulse { position: relative; flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--red); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(3.2); opacity: 0; } }

/* Stage (car photos) */
.hero__stage {
  grid-area: stage;
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--blue) 55%, transparent);
}
.hero__stage::after {
  content: "";
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0) 55%, rgba(5, 7, 11, 0.7) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.35), transparent 28%);
}
.stage__img {
  --dir: 1;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  opacity: 0;
  transform: translateX(calc(var(--dir) * 5%)) scale(1.1);
  transition: opacity 0.9s var(--ease), transform 1.5s var(--ease);
}
.stage__img.is-active { opacity: 1; transform: none; z-index: 1; }
.stage__img.is-leaving { opacity: 0; transform: translateX(calc(var(--dir) * -5%)) scale(1.03); }
.stage__sweep {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, color-mix(in srgb, var(--blue) 40%, transparent) 50%, color-mix(in srgb, var(--red) 18%, transparent) 55%, transparent 64%);
  transform: translateX(-110%);
}
.hero__stage.is-swapping .stage__sweep { animation: sweep 1.1s var(--ease); }
@keyframes sweep { to { transform: translateX(110%); } }
.stage__ring {
  position: absolute; z-index: 3; pointer-events: none;
  width: 70%; aspect-ratio: 1;
  top: -38%; right: -22%;
  border-radius: 50%;
  background: conic-gradient(from 180deg, transparent 0 30%, var(--blue) 48%, color-mix(in srgb, var(--blue), var(--red)) 58%, var(--red) 68%, transparent 72%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  filter: drop-shadow(0 0 6px var(--blue));
  opacity: 0.9;
  animation: spin 16s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.streaks { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.streaks i {
  position: absolute; left: 0;
  width: 40%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  animation: streak 6.5s linear infinite;
}
.streaks i:nth-child(1) { top: 26%; }
.streaks i:nth-child(2) { top: 44%; width: 30%; background: linear-gradient(90deg, transparent, var(--red), transparent); animation-delay: 1.7s; }
.streaks i:nth-child(3) { top: 63%; animation-delay: 3.2s; animation-duration: 7.5s; }
.streaks i:nth-child(4) { top: 81%; width: 24%; background: linear-gradient(90deg, transparent, var(--red), transparent); animation-delay: 4.6s; }
@keyframes streak {
  0% { transform: translateX(-110%); opacity: 0; }
  12%, 60% { opacity: 0.55; }
  100% { transform: translateX(260%); opacity: 0; }
}

/* Info (pills + stats) */
.hero__info { grid-area: info; display: flex; flex-direction: column; gap: 14px; }
.eyebrow { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.pill:hover { color: var(--text); border-color: color-mix(in srgb, var(--blue) 55%, transparent); }
.pill:active { transform: scale(0.96); }
.pill[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--ink); box-shadow: 0 0 26px -6px var(--blue-glow); }
.pill__bar { position: absolute; left: 0; bottom: 0; z-index: -1; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.22); transform: scaleX(0); transform-origin: left; }
.pills.is-auto .pill[aria-pressed="true"] .pill__bar { animation: bar 6s linear forwards; }
.hero:hover .pills.is-auto .pill__bar, .pills.is-paused .pill__bar { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

.hero__car { font-size: 0.95rem; color: var(--muted); min-height: 1.5em; }
.hero__car strong { color: var(--text); font-weight: 600; }
/* `both` keeps the end state: this replaces the element's load-in animation. */
.hero__car.is-changing { animation: fadeSwap 0.6s var(--ease) both; }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2px 0 0; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.stats div { padding-right: 10px; min-width: 0; }
.stats div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.stats dt { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.stats dd { margin: 6px 0 0; font-family: var(--display); font-size: clamp(1.9rem, 6vw, 2.5rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats dd small { margin-left: 2px; font-family: var(--font); font-size: 0.42em; font-weight: 500; color: var(--muted); }

/* Booking bar */
.booking {
  grid-area: book;
  position: relative; z-index: 4;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: rgba(13, 18, 27, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
  transition: border-color 0.4s, box-shadow 0.6s;
}
.booking.is-flash { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 20%, transparent), 0 0 60px -10px var(--blue-glow); }
.booking__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); }
.seg label { position: relative; cursor: pointer; }
.seg input, .toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg span { display: block; padding: 8px 14px; border-radius: 999px; font-size: 0.84rem; font-weight: 600; color: var(--muted); transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; }
.seg input:checked + span { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--muted); cursor: pointer; user-select: none; }
.toggle__track { position: relative; width: 40px; height: 22px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-3); transition: background-color 0.3s, border-color 0.3s; }
.toggle__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--muted); transition: transform 0.35s var(--ease), background-color 0.3s; }
.toggle input:checked + .toggle__track { background: color-mix(in srgb, var(--blue) 25%, transparent); border-color: color-mix(in srgb, var(--blue) 60%, transparent); }
.toggle input:checked + .toggle__track::after { transform: translateX(18px); background: var(--blue); }
.toggle input:focus-visible + .toggle__track { outline: 2px solid var(--blue); outline-offset: 2px; }

.booking__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.booking__grid.shake { animation: shake 0.45s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--car, .booking__submit { grid-column: 1 / -1; }
.field > span { padding-left: 4px; font-size: 0.74rem; letter-spacing: 0.04em; color: var(--muted); }
.field select, .field input {
  width: 100%; height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background-color: var(--surface-2);
  color: var(--text);
  font-size: 0.95rem;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d97a9' stroke-width='2.5' 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 12px center;
  background-size: 14px;
  text-overflow: ellipsis;
}
.field option { background: var(--surface-2); color: var(--text); }
.field select:hover, .field input:hover { border-color: var(--line-2); }
.field select:focus, .field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.field select:disabled { opacity: 0.5; cursor: not-allowed; }
.field input[type="date"] { display: flex; align-items: center; }
.field input::-webkit-date-and-time-value { text-align: left; }
.field input::-webkit-calendar-picker-indicator { filter: invert(0.75); opacity: 0.85; cursor: pointer; }
.field.is-invalid input { border-color: #ff5a6a; box-shadow: 0 0 0 4px rgba(255, 90, 106, 0.15); }
.booking__submit { width: 100%; }
.booking__error { color: #ff7b87; font-size: 0.85rem; }
.booking__error:not(:empty) { margin-top: 10px; }

@media (min-width: 640px) and (max-width: 1023px) {
  .booking__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
  .field--car, .booking__submit { grid-column: auto; }
  .booking__submit { min-height: 48px; }
  .hero__stage { aspect-ratio: 16 / 10; }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 4.3fr) minmax(0, 7.7fr);
    grid-template-areas: "title title" "info stage" "book book";
    column-gap: clamp(28px, 3.5vw, 56px);
    row-gap: 28px;
    min-height: 100svh;
    align-content: center;
  }
  .hero__title { max-width: 9em; font-size: clamp(4rem, 6.6vw, 6.2rem); }
  .hero__badge { grid-area: title; justify-self: end; align-self: start; margin-top: 0.6rem; }
  .hero__info { align-self: end; padding-bottom: 104px; }
  .hero__stage { aspect-ratio: 16 / 9; }
  .booking { margin: -84px 24px 0; }
  .booking__grid { grid-template-columns: 1.15fr 1fr 1fr 1fr 1fr auto; align-items: end; }
  .field--car, .booking__submit { grid-column: auto; }
  .booking__submit { width: auto; height: 48px; min-height: 48px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 96px); }
.section__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head h2 { font-size: clamp(2.5rem, 7vw, 4.3rem); line-height: 0.95; }
.section__head p { max-width: 42ch; color: var(--muted); font-size: 0.98rem; }
.section__head--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
@media (min-width: 900px) {
  .section__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .section__head p { max-width: 36ch; }
}

/* ---------- Fleet ---------- */
.tabs {
  position: relative;
  display: inline-flex; gap: 4px;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; z-index: 1;
  min-height: 40px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: none;
  color: var(--muted);
  font-weight: 600; font-size: 0.9rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s;
}
.tab:hover { color: var(--text); }
.tab[aria-pressed="true"] { color: var(--ink); }
.tabs__ink {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 22px -6px var(--blue-glow);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}

.fleet { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .fleet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fleet { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.car { perspective: 1000px; }
.car:not(.car--ask) { cursor: pointer; }
.car[hidden] { display: none; }
.car__inner {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column; gap: 14px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.4s;
  will-change: transform;
}
.car__inner::before {
  content: "";
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--blue) 16%, transparent), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
}
.car:hover .car__inner { border-color: color-mix(in srgb, var(--blue) 45%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--blue) 55%, transparent); }
.car:hover .car__inner::before { opacity: 1; }
.car__top { display: flex; align-items: center; gap: 10px; }
.car__logo {
  flex: none; width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface-3);
  font-family: var(--display); font-size: 1.05rem;
}
.car__title { min-width: 0; }
.car__title h3 { font-size: 1.4rem; line-height: 1.05; }
.car__title p { font-size: 0.8rem; color: var(--muted); }
.car__book {
  flex: none; margin-left: auto;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.45s var(--ease);
}
.car__book:hover, .car:hover .car__book { background: var(--blue); border-color: var(--blue); color: var(--ink); transform: rotate(45deg); }
.car__media { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--surface-3); }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.car:hover .car__media img { transform: scale(1.07); }
.car__tag {
  position: absolute; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
}
.car__tag .ico { width: 12px; height: 12px; color: var(--blue); }
.car__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.car__price small { display: block; font-size: 0.72rem; color: var(--muted); }
.car__price strong { font-family: var(--display); font-size: 2.1rem; line-height: 1; }
.car__price span { font-size: 0.8rem; color: var(--muted); }
.car__meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; font-size: 0.78rem; color: var(--muted); }
.car__meta span { display: inline-flex; align-items: center; gap: 5px; }
.car__meta .ico { width: 14px; height: 14px; }

.car--ask .car__inner {
  justify-content: flex-end; gap: 10px;
  min-height: 300px; padding: 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--blue) 34%, transparent), transparent 55%),
    radial-gradient(90% 70% at 0% 100%, color-mix(in srgb, var(--red) 16%, transparent), transparent 60%),
    var(--surface);
}
.car--ask small { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.car--ask h3 { font-size: 2.3rem; line-height: 0.95; }
.car--ask p { font-size: 0.9rem; color: var(--muted); }
.car--ask .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Steps ---------- */
.steps__body { --p: 0; position: relative; }
.steps__track { position: relative; height: 2px; margin-bottom: 30px; border-radius: 2px; background: var(--line-2); }
.steps__fill {
  position: absolute; inset: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  box-shadow: 0 0 14px var(--blue-glow);
  transform: scaleX(var(--p)); transform-origin: left;
}
.steps__dot {
  position: absolute; top: 50%; left: calc(var(--p) * 100%);
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--blue) 20%, transparent), 0 0 22px var(--blue);
}
.steps__list { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.step::before {
  content: "";
  position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--blue) 60%, transparent);
  background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 16%, transparent), color-mix(in srgb, var(--blue) 2%, transparent) 60%);
  box-shadow: 0 24px 50px -30px var(--blue-glow);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.step.is-active::before { opacity: 1; }
.step > * { position: relative; transition: opacity 0.6s var(--ease), color 0.6s; }
.step:not(.is-active) > * { opacity: 0.4; }
.step__num { font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--blue); }
.step.is-active .step__num { text-shadow: 0 0 18px var(--blue-glow); }
.step__ico { position: absolute; top: 24px; right: 22px; width: 26px; height: 26px; color: var(--muted); }
.step.is-active .step__ico { color: var(--blue); }
.step h3 { margin: 12px 0 6px; font-size: 1.7rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

@media (max-width: 767px) {
  .steps__body { display: grid; grid-template-columns: 2px minmax(0, 1fr); column-gap: 18px; }
  .steps__track { height: auto; margin: 0; }
  .steps__fill { transform: scaleY(var(--p)); transform-origin: top; }
  .steps__dot { top: calc(var(--p) * 100%); left: 50%; }
  .steps__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Deals ---------- */
.carousel-nav { display: flex; gap: 8px; }
.deals__track {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter)));
  padding-bottom: 6px;
  scrollbar-width: none;
}
.deals__track::-webkit-scrollbar { display: none; }
.deals__track:focus-visible { outline-offset: -2px; }
.deal {
  position: relative;
  isolation: isolate;
  flex: 0 0 min(86%, 420px);
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.deal:hover { border-color: color-mix(in srgb, var(--blue) 45%, transparent); }
.deal img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.deal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 11, 0.35) 0%, rgba(5, 7, 11, 0.55) 32%, rgba(5, 7, 11, 0.92) 62%, rgba(5, 7, 11, 0.97) 100%); }
.deal:hover img { transform: scale(1.07); }
.deal__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.deal__tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(5, 7, 11, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.78rem; font-weight: 600;
}
.deal__tag b { color: var(--red); }
.deal__cta { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--ink); transition: transform 0.45s var(--ease); }
.deal:hover .deal__cta { transform: rotate(45deg); }
.deal__text { max-width: 30ch; margin-bottom: 10px; font-size: 0.92rem; color: var(--text-2); }
.deal__value { font-family: var(--display); font-size: clamp(4rem, 14vw, 5.4rem); font-weight: 700; line-height: 0.88; font-variant-numeric: tabular-nums; }
.deal__value .u { color: var(--blue); }
.deal__label { margin-top: 6px; font-size: 0.86rem; color: var(--text-2); }
.deal__fine { margin-top: 2px; font-size: 0.7rem; color: var(--muted-2); }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.tile {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 300px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.tile__body { position: relative; width: 100%; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 3vw, 32px); }
.tile--big { min-height: 440px; }
.tile--big img { object-position: 40% 70%; }
.tile--big::before { background: linear-gradient(180deg, rgba(5, 7, 11, 0.94) 0%, rgba(5, 7, 11, 0.78) 30%, rgba(5, 7, 11, 0.15) 62%, rgba(5, 7, 11, 0.45) 100%); }
.tile--big .tile__body { align-items: center; text-align: center; }
.tile--big h2 { max-width: 14ch; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 0.95; }
.tile--big p { max-width: 40ch; font-size: 0.95rem; color: var(--text-2); }
.tile--cta img { object-position: 60% 62%; }
.tile--cta::before { background: linear-gradient(90deg, rgba(5, 7, 11, 0.94) 0%, rgba(5, 7, 11, 0.7) 50%, rgba(5, 7, 11, 0.15) 100%); }
.tile--cta .tile__body { justify-content: center; align-items: flex-start; max-width: 380px; }
.tile--cta h3 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 0.95; }
.tile--cta p { font-size: 0.92rem; color: var(--text-2); }
.tile--cta .btn { margin-top: 6px; }
.tile--stat img { object-position: 50% 45%; }
.tile--stat::before { background: linear-gradient(180deg, rgba(5, 7, 11, 0.05) 25%, rgba(5, 7, 11, 0.9) 100%); }
.tile--stat .tile__body { justify-content: flex-end; }
.tile--stat p { font-size: 0.9rem; color: var(--text-2); }
.tile__num { font-family: var(--display); font-size: clamp(3.2rem, 8vw, 4.8rem); line-height: 0.9; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(2, minmax(270px, 1fr)); }
  .tile--big { grid-row: span 2; min-height: 580px; }
}

/* ---------- Contact ---------- */
.contact {
  display: grid; gap: 28px;
  padding: clamp(24px, 4.5vw, 52px);
  border-radius: 28px;
  border: 1px solid var(--line-2);
  background:
    radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--blue) 20%, transparent), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, color-mix(in srgb, var(--red) 12%, transparent), transparent 60%),
    var(--surface);
  overflow: hidden;
}
.contact h2 { font-size: clamp(2.5rem, 7vw, 4.2rem); }
.contact__intro p { max-width: 40ch; margin-top: 12px; color: var(--muted); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact__list { display: grid; gap: 10px; }
.contact__list li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.contact__list li:hover { border-color: color-mix(in srgb, var(--blue) 45%, transparent); transform: translateX(4px); }
.contact__list .ico { width: 42px; height: 42px; padding: 11px; border-radius: 12px; background: color-mix(in srgb, var(--blue) 12%, transparent); color: var(--blue); }
.contact__list small { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span { font-weight: 600; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--blue); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ---------- Footer ---------- */
.footer {
  padding-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--blue) 5%, transparent));
}
.footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 16px; max-width: 360px; }
.footer__brand img { width: 230px; border-radius: 14px; border: 1px solid var(--line); }
.footer__brand p { font-size: 0.9rem; color: var(--muted); }
.footer h4 { margin-bottom: 14px; font-family: var(--font); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.footer ul { display: grid; gap: 10px; font-size: 0.92rem; color: var(--text-2); }
.footer ul a { transition: color 0.2s; }
.footer ul a:hover { color: var(--blue); }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--muted);
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, transform 0.35s var(--ease);
}
.socials a:hover { color: var(--ink); background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 48px;
  padding-block: 28px calc(96px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--muted);
}
.to-top { display: inline-flex; align-items: center; gap: 6px; transition: color 0.2s; }
.to-top:hover { color: var(--blue); }
.to-top .ico { transform: rotate(-45deg); }
.credit {
  flex-basis: 100%;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.credit a { display: inline-flex; transition: opacity 0.2s; }
.credit a:hover { opacity: 0.8; }
.credit img { height: 32px; width: auto; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { padding-bottom: 28px; }
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; z-index: 40;
  left: 50%; bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 14px 34px -8px var(--blue-glow), 0 0 0 6px rgba(5, 7, 11, 0.55);
  transform: translate(-50%, 160%);
  transition: transform 0.55s var(--ease);
}
.mobile-cta.is-shown { transform: translate(-50%, 0); }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- Confirmation dialog ---------- */
.confirm {
  position: fixed;
  width: min(92vw, 440px);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.85), 0 0 70px -24px var(--blue-glow);
}
.confirm::backdrop { background: rgba(3, 5, 8, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.confirm[open] { animation: pop 0.5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(0.96); } }
.confirm__check {
  width: 58px; height: 58px; margin-bottom: 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue) 15%, transparent);
  color: var(--blue);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--blue) 6%, transparent);
}
.confirm__check .ico { width: 28px; height: 28px; stroke-dasharray: 80; stroke-dashoffset: 80; }
.confirm__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 1rem;
  cursor: pointer;
}
.confirm__close:hover { background: rgba(255, 255, 255, 0.1); }
.confirm[open] .confirm__check .ico { animation: draw 0.6s 0.25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm h3 { font-size: 2.3rem; }
.confirm__summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px;
  margin: 18px 0;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}
.confirm__summary dt { color: var(--muted); }
.confirm__summary dd { margin: 0; text-align: right; font-weight: 600; }
.confirm__note { font-size: 0.85rem; color: var(--muted); }
.confirm__note a { color: var(--blue); font-weight: 600; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.confirm__actions .btn { flex: 1 1 auto; }

/* ---------- Reduced motion ----------
   Keep gentle fades, count-ups and the hero crossfade; drop movement
   (slides, tilt, streaks, spinning ring, drifting glow). */
@keyframes fadeIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .load-in { transform: none; animation-name: fadeIn; }
  .js [data-reveal] { transform: none; }
  .hero__title .w__i { transform: none; opacity: 0; animation-name: fadeIn; }
  .stage__img, .stage__img.is-leaving { transform: none; }
  .nav, .bg-glow span, .pulse::after, .booking__grid.shake { animation: none; }
  .streaks, .stage__ring, .stage__sweep { display: none; }
}
