/* ===================================================================
   EXOTICAR — Ultra-Premium Luxury Car Website
   styles.css
   Author: Azryno | 2026
   =================================================================== */

/* ----- CUSTOM PROPERTIES ----- */
:root {
  /* Palette */
  --red: #d4001a;
  --red-dark: #a30015;
  --red-glow: rgba(212, 0, 26, .45);
  --red-soft: rgba(212, 0, 26, .12);
  --white: #ffffff;
  --off-white: #f2f0ed;
  --gray-100: #e8e6e3;
  --gray-200: #d0cdca;
  --gray-300: #9b9894;
  --gray-400: #6e6b67;
  --gray-600: #3a3835;
  --gray-800: #1e1c1a;
  --black: #0a0a0a;
  --black-pure: #000000;

  /* Glass */
  --glass-bg: rgba(10, 10, 10, .55);
  --glass-border: rgba(255, 255, 255, .08);
  --glass-blur: 18px;

  /* Typography */
  --ff-heading: 'Syne', sans-serif;
  --ff-body: 'Manrope', sans-serif;

  /* Spacing */
  --section-py: clamp(5rem, 10vw, 9rem);
  --container-px: clamp(1.25rem, 4vw, 3rem);
  --container-max: 1320px;
  --gap: clamp(1rem, 2.5vw, 2rem);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-smooth: cubic-bezier(.45, 0, .15, 1);
  --dur-fast: .25s;
  --dur-mid: .5s;
  --dur-slow: .8s;

  /* Z layers */
  --z-base: 1;
  --z-header: 100;
  --z-overlay: 50;
  --z-modal: 200;
}

/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--ff-body);
  font-size: clamp(.925rem, 1vw, 1.05rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray-200);
  background: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

address {
  font-style: normal;
}

::selection {
  background: var(--red);
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--red);
  color: var(--white);
  padding: .75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
}

/* ----- LAYOUT ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .9rem 2.2rem;
  border-radius: var(--radius-sm);
  transition: all var(--dur-fast) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}

.btn:hover::after {
  opacity: .08;
}

.btn:active {
  transform: scale(.97);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 24px var(--red-glow);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 32px var(--red-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .25);
}

.btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn-nav {
  background: var(--red);
  color: var(--white);
  padding: .65rem 1.6rem;
  font-size: .8rem;
  box-shadow: 0 2px 14px var(--red-glow);
}

.btn-nav:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-submit {
  width: 100%;
  padding: 1.05rem 2rem;
  font-size: .95rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--red);
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast);
}

.text-link::after {
  content: '→';
  transition: transform var(--dur-fast) var(--ease-out);
}

.text-link:hover {
  color: var(--white);
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ----- EYEBROW ----- */
.eyebrow {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}

/* ----- SECTION HEADING ----- */
.section-heading {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-heading h2 {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-heading > p:last-child {
  font-size: clamp(.95rem, 1.1vw, 1.1rem);
  color: var(--gray-300);
  max-width: 600px;
}

/* ===================================================================
   NAVBAR
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  transition: background var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              backdrop-filter var(--dur-mid) var(--ease-out);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, .82);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 1px 0 var(--glass-border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  z-index: calc(var(--z-header) + 1);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--red);
  color: var(--white);
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px var(--red-glow);
  transition: transform var(--dur-fast) var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.06);
}

.brand-text {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: -.02em;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-200);
  position: relative;
  padding: .25rem 0;
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: width var(--dur-fast) var(--ease-out);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: calc(var(--z-header) + 2);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 4.5rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.05);
  transition: transform 12s linear;
}

.hero-media img.loaded {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, .88) 0%, rgba(10, 5, 5, .7) 40%, rgba(212, 0, 26, .15) 100%),
    linear-gradient(to top, var(--black) 0%, transparent 45%);
  z-index: 1;
}

.hero-grid-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, var(--red-glow), transparent),
    radial-gradient(ellipse 40% 40% at 85% 30%, rgba(212, 0, 26, .1), transparent);
  opacity: .5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* Hero copy */
.hero-copy .eyebrow {
  font-size: .7rem;
  letter-spacing: .2em;
  opacity: 0;
  animation: fadeSlideUp .8s var(--ease-out) .3s forwards;
}

.hero-title {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.hero-line {
  display: block;
  overflow: hidden;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: heroWordReveal .9s var(--ease-out) forwards;
}

.hero-line:nth-child(1) .hero-word {
  animation-delay: .5s;
}

.hero-line:nth-child(2) .hero-word:nth-child(1) {
  animation-delay: .65s;
}

.hero-line:nth-child(2) .hero-word:nth-child(2) {
  animation-delay: .8s;
}

.hero-word.accent {
  color: var(--red);
  -webkit-text-stroke: 0;
}

@keyframes heroWordReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-description {
  font-size: clamp(.95rem, 1.1vw, 1.15rem);
  color: var(--gray-300);
  max-width: 540px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeSlideUp .8s var(--ease-out) 1s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp .8s var(--ease-out) 1.15s forwards;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp .8s var(--ease-out) 1.35s forwards;
}

.hero-highlights li strong {
  display: block;
  font-size: .85rem;
  color: var(--white);
  margin-bottom: .2rem;
}

.hero-highlights li span {
  font-size: .78rem;
  color: var(--gray-400);
  line-height: 1.45;
}

/* Hero sidecard */
.hero-sidecard {
  opacity: 0;
  animation: fadeSlideLeft .9s var(--ease-out) 1.5s forwards;
}

.hero-sidecard__inner {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}

.hero-sidecard__inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .4);
}

.hero-sidecard__label {
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}

.hero-sidecard h2 {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: .6rem;
}

.hero-sidecard p {
  font-size: .88rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.hero-sidecard__stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--glass-border);
}

.hero-sidecard__stats .value {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--red);
}

.hero-sidecard__stats .label {
  font-size: .72rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 2s forwards;
}

.scroll-indicator__text {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.scroll-indicator__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollLine 1.8s var(--ease-smooth) infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ===================================================================
   FEATURED CARS
   =================================================================== */
.featured-cars {
  background: var(--black);
}

/* Filters */
.car-filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-chip {
  padding: .55rem 1.4rem;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-300);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 100px;
  transition: all var(--dur-fast) var(--ease-out);
}

.filter-chip:hover {
  border-color: var(--red);
  color: var(--white);
}

.filter-chip.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 2px 14px var(--red-glow);
}

/* Cars grid */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--gap);
}

.car-card {
  background: var(--gray-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .04);
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out);
}

.car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(212, 0, 26, .15);
  border-color: rgba(212, 0, 26, .2);
}

.car-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.car-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.car-card:hover .car-card__media img {
  transform: scale(1.06);
}

.car-card__content {
  padding: 1.5rem 1.5rem 1.8rem;
}

.car-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .6rem;
}

.car-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  padding: .3rem .7rem;
  border-radius: 100px;
}

.car-price {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
}

.car-card h3 {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: .4rem;
}

.car-card > .car-card__content > p {
  font-size: .88rem;
  color: var(--gray-300);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.car-specs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.car-specs li {
  text-align: center;
}

.car-specs li strong {
  display: block;
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.car-specs li span {
  font-size: .7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ===================================================================
   STATS
   =================================================================== */
.stats-section {
  background:
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(212, 0, 26, .08), transparent),
    var(--black);
}

.stats-section .section-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

.stat-card h3 {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  color: var(--red);
  margin-bottom: .5rem;
  line-height: 1;
}

.stat-card h3 span:last-child {
  color: var(--red);
}

.stat-card p {
  font-size: .85rem;
  color: var(--gray-300);
  max-width: 220px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ===================================================================
   MARQUEE
   =================================================================== */
.marquee-section {
  padding: 1.5rem 0;
  background: var(--red);
  overflow: hidden;
  position: relative;
}

.marquee {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  flex-shrink: 0;
}

.marquee-track span {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  position: relative;
}

.marquee-track span::after {
  content: '◆';
  margin-left: 2.5rem;
  font-size: .5em;
  opacity: .5;
  vertical-align: middle;
}

@keyframes marqueeScroll {
  to {
    transform: translateX(-50%);
  }
}

/* ===================================================================
   WHY CHOOSE US
   =================================================================== */
.why-us {
  background: var(--black);
  overflow: hidden;
}

.why-us__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: var(--radius-md);
  transition: all var(--dur-mid) var(--ease-out);
}

.feature-card:hover {
  background: rgba(212, 0, 26, .06);
  border-color: rgba(212, 0, 26, .18);
  transform: translateY(-3px);
}

.feature-index {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 2rem;
  color: rgba(212, 0, 26, .2);
  line-height: 1;
  margin-bottom: .6rem;
  display: block;
  transition: color var(--dur-fast) var(--ease-out);
}

.feature-card:hover .feature-index {
  color: var(--red);
}

.feature-card h3 {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: .3rem;
}

.feature-card p {
  font-size: .85rem;
  color: var(--gray-300);
  line-height: 1.55;
}

/* Why us visual */
.why-us__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 7 / 5;
}

.why-us__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
}

.why-us__visual:hover img {
  transform: scale(1.04);
}

.why-us__visual figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent);
  font-size: .85rem;
  color: var(--gray-200);
  font-style: italic;
}

/* ===================================================================
   INTERACTIVE SCROLL SECTION (STORY)
   =================================================================== */
.story-section {
  background:
    radial-gradient(ellipse 50% 50% at 50% 20%, rgba(212, 0, 26, .05), transparent),
    var(--black);
}

.story-section .section-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Story visuals */
.story-visuals {
  position: sticky;
  top: 6rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.story-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}

.story-visual.is-active {
  opacity: 1;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Story steps */
.story-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.story-step {
  padding: 2rem;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .05);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--dur-mid) var(--ease-out);
}

.story-step:hover,
.story-step.is-active {
  background: rgba(212, 0, 26, .06);
  border-color: rgba(212, 0, 26, .2);
}

.story-step.is-active {
  box-shadow: inset 3px 0 0 var(--red);
}

.story-step__index {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .15em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: .5rem;
  display: block;
}

.story-step h3 {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: .35rem;
}

.story-step p {
  font-size: .88rem;
  color: var(--gray-300);
  line-height: 1.6;
}

/* ===================================================================
   BOOKING
   =================================================================== */
.booking-section {
  background:
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(212, 0, 26, .07), transparent),
    var(--gray-800);
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.booking-copy .section-heading {
  margin-bottom: 1.5rem;
}

.booking-copy > p {
  font-size: .95rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
  max-width: 480px;
}

.booking-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.booking-point {
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-md);
  transition: border-color var(--dur-fast);
}

.booking-point:hover {
  border-color: rgba(212, 0, 26, .2);
}

.booking-point strong {
  display: block;
  font-size: .9rem;
  color: var(--white);
  margin-bottom: .15rem;
}

.booking-point span {
  font-size: .82rem;
  color: var(--gray-400);
}

.booking-contact-card {
  padding: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.booking-contact-card p {
  font-size: .88rem;
  color: var(--gray-300);
  margin-bottom: .35rem;
}

.booking-contact-card a {
  color: var(--red);
  font-weight: 600;
  transition: color var(--dur-fast);
}

.booking-contact-card a:hover {
  color: var(--white);
}

/* Form */
.booking-form {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gray-300);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: .8rem 1rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: .9rem;
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--gray-400);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  background: rgba(212, 0, 26, .04);
}

.form-field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239b9894' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-field select option {
  background: var(--gray-800);
  color: var(--white);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: .6rem;
}

.form-field--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--red);
  cursor: pointer;
}

.form-field--checkbox label {
  font-size: .82rem;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  color: var(--gray-400);
}

.form-status {
  grid-column: 1 / -1;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.4em;
}

.form-status.success {
  color: #2ecc71;
}

.form-status.error {
  color: var(--red);
}

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials-section {
  background: var(--black);
}

.testimonials-section .section-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--dur-slow) var(--ease-out);
}

.testimonial-card {
  min-width: 100%;
  padding: 2.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  flex-shrink: 0;
}

.testimonial-rating {
  font-size: 1.1rem;
  color: var(--red);
  margin-bottom: 1rem;
  letter-spacing: .15em;
}

.testimonial-card blockquote {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--gray-200);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 0, 26, .3);
}

.testimonial-footer h3 {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
}

.testimonial-footer p {
  font-size: .78rem;
  color: var(--gray-400);
}

/* Testimonial controls */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-btn {
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-300);
  padding: .5rem 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 100px;
  transition: all var(--dur-fast) var(--ease-out);
}

.slider-btn:hover {
  border-color: var(--red);
  color: var(--white);
}

.slider-dots {
  display: flex;
  gap: .5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  transition: all var(--dur-fast) var(--ease-out);
}

.dot.is-active {
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, .3);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  background: var(--gray-800);
  border-top: 1px solid rgba(255, 255, 255, .04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3rem;
}

.footer-brand .brand-footer {
  margin-bottom: 1rem;
}

.footer-brand > p {
  font-size: .88rem;
  color: var(--gray-400);
  max-width: 320px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-300);
  padding: .4rem .8rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 100px;
  transition: all var(--dur-fast) var(--ease-out);
}

.footer-socials a:hover {
  border-color: var(--red);
  color: var(--red);
}

.footer-column h3 {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: .95rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-column a {
  font-size: .88rem;
  color: var(--gray-400);
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}

.footer-column a:hover {
  color: var(--red);
  padding-left: .3rem;
}

.footer-column address p {
  font-size: .88rem;
  color: var(--gray-400);
  margin-bottom: .3rem;
}

.footer-column address a {
  color: var(--red);
  font-weight: 600;
}

.footer-column address a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: .78rem;
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-bottom p:first-child {
  font-weight: 700;
  color: var(--gray-300);
}

/* ===================================================================
   REVEAL ANIMATIONS
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.cars-grid .reveal:nth-child(2) { transition-delay: .1s; }
.cars-grid .reveal:nth-child(3) { transition-delay: .2s; }
.cars-grid .reveal:nth-child(4) { transition-delay: .25s; }
.cars-grid .reveal:nth-child(5) { transition-delay: .3s; }
.cars-grid .reveal:nth-child(6) { transition-delay: .35s; }

.stats-grid .reveal:nth-child(2) { transition-delay: .1s; }
.stats-grid .reveal:nth-child(3) { transition-delay: .2s; }
.stats-grid .reveal:nth-child(4) { transition-delay: .3s; }

.why-us__grid .reveal:nth-child(2) { transition-delay: .1s; }
.why-us__grid .reveal:nth-child(3) { transition-delay: .2s; }
.why-us__grid .reveal:nth-child(4) { transition-delay: .3s; }

.story-steps .reveal:nth-child(2) { transition-delay: .1s; }
.story-steps .reveal:nth-child(3) { transition-delay: .2s; }
.story-steps .reveal:nth-child(4) { transition-delay: .3s; }

/* ===================================================================
   GLOBAL KEYFRAMES
   =================================================================== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===================================================================
   RESPONSIVE — TABLET (≤1024px)
   =================================================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-sidecard {
    display: none;
  }

  .hero-highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__layout {
    grid-template-columns: 1fr;
  }

  .why-us__visual {
    order: -1;
    max-height: 360px;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-visuals {
    position: relative;
    top: auto;
    max-height: 400px;
  }

  .booking-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cars-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* ===================================================================
   RESPONSIVE — MOBILE (≤768px)
   =================================================================== */
@media (max-width: 768px) {
  .navbar {
    height: 4rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, .96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all var(--dur-mid) var(--ease-out);
    z-index: var(--z-header);
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 1.1rem;
    letter-spacing: .06em;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 5rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cars-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .booking-form {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .marquee-track span {
    font-size: 1rem;
  }
}

/* ===================================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   =================================================================== */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .car-specs {
    gap: 1rem;
  }

  .filter-chip {
    padding: .45rem 1rem;
    font-size: .72rem;
  }
}

/* ===================================================================
   REDUCED MOTION
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee {
    animation: none;
  }

  .hero-word {
    opacity: 1;
    transform: none;
  }
}