/* ============================================================
   VALORA CAR RENTAL — style.css
   Light, premium theme. Single accent color: --accent.
   ============================================================ */

:root {
  --accent: #1E5EFF;
  --accent-dark: #1548CC;
  --accent-soft: rgba(30, 94, 255, 0.08);
  --accent-ring: rgba(30, 94, 255, 0.22);

  --ink: #1a1a1a;
  --ink-soft: #5b6472;
  --ink-faint: #97a0ad;

  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --line: #e7ebf1;

  --wa-green: #25D366;
  --wa-green-dark: #1DA851;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(16, 24, 40, 0.07);
  --shadow-hover: 0 26px 60px rgba(16, 24, 40, 0.16);

  --font-head: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", "Manrope", system-ui, sans-serif;

  --nav-h: 72px;
  --container: 1200px;

  /* Smooth, premium easing curves used across the site */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);       /* expo-out: soft landing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* gentle, symmetric ease for hovers — no snappy front-load */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* gentle whole-page fade so the site eases in instead of popping */
  animation: pageFade 0.7s var(--ease-soft) both;
}
@keyframes pageFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  body { animation: none; }
}

img, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); }

/* Small uppercase eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 0.7rem; }
.section-head p { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.45s var(--ease-soft), color 0.45s var(--ease-soft),
    border-color 0.45s var(--ease-soft), transform 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
/* gentle, smooth lift + zoom — not a snappy pop */
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(30, 94, 255, 0.28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost-light { border-color: rgba(255, 255, 255, 0.65); color: #fff; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

.btn-wa { background: var(--wa-green); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }
.btn-wa:hover { background: var(--wa-green-dark); color: #fff; }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease-soft), backdrop-filter 0.5s var(--ease-soft),
    border-color 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft);
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(16, 24, 40, 0.06); }

/* Transparent overlay navbar over the hero video (homepage only); it
   smoothly turns into the solid white bar once the page is scrolled. */
.navbar-overlay:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.navbar-overlay:not(.scrolled) .logo-word { color: #fff; }
.navbar-overlay:not(.scrolled) .logo-sub { color: rgba(255, 255, 255, 0.72); }
.navbar-overlay:not(.scrolled) .nav-links > a { color: #fff; }
.navbar-overlay:not(.scrolled) .nav-links > a:hover { color: #fff; }
.navbar-overlay:not(.scrolled) .nav-toggle span,
.navbar-overlay:not(.scrolled) .nav-toggle span::before,
.navbar-overlay:not(.scrolled) .nav-toggle span::after { background: #fff; }
/* keep the wordmark accent dot and nav underline in brand blue — they pop
   nicely on the dark video */
.navbar .logo-word,
.navbar .logo-sub,
.navbar .nav-links > a { transition: color 0.5s var(--ease-soft); }
/* On mobile the links live in a white dropdown panel, so keep them dark
   even while the top bar is transparent over the video. */
@media (max-width: 900px) {
  .navbar-overlay:not(.scrolled) .nav-links > a { color: var(--ink); }
  .navbar-overlay:not(.scrolled) .nav-links > a:hover { color: var(--accent); }
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo .logo-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.32em;
  color: var(--ink);
}
.logo .logo-word .logo-dot { color: var(--accent); }
.logo .logo-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.3rem;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.93rem;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.4s var(--ease-soft);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  /* smooth, gentle underline draw */
  transition: transform 0.45s var(--ease-soft);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

/* The "Book a Car" link inside the menu is for the mobile panel only */
@media (min-width: 901px) {
  .nav-links .nav-book-mobile { display: none; }
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(16, 24, 40, 0.1);
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .nav-open .nav-links { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links .nav-book-mobile { border-bottom: 0; margin-top: 0.9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(560px, 92svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0e1524; /* shows through before video/poster loads */
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Promote the video to its own GPU layer so it composites cheaply
     and plays back smoothly (no per-frame layout/paint). */
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Darker, even veil so the white headline stays crisp and the clip
     reads as premium. */
  background:
    linear-gradient(to top, rgba(6, 10, 20, 0.88) 0%, rgba(6, 10, 20, 0.55) 45%, rgba(6, 10, 20, 0.68) 100%),
    rgba(6, 10, 20, 0.28);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: calc(var(--nav-h) + 2rem) 0 4rem;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
/* Staggered entrance for the hero copy on first paint */
.hero-content > * {
  opacity: 0;
  transform: translateY(28px);
  animation: heroRise 1s var(--ease) forwards;
}
.hero-content > .eyebrow { animation-delay: 0.15s; }
.hero-content > h1 { animation-delay: 0.3s; }
.hero-content > p { animation-delay: 0.45s; }
.hero-content > .hero-actions { animation-delay: 0.6s; }
@keyframes heroRise {
  to { opacity: 1; transform: none; }
}
.hero .eyebrow { color: #fff; opacity: 0.85; }
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: -0.03em;
}
.hero p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 2.1rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .hero-content > * { opacity: 1; transform: none; animation: none; }
}

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: heroBob 2.4s ease-in-out infinite;
}
@keyframes heroBob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Car cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}

.car-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft),
    border-color 0.6s var(--ease-soft);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
/* Promote only the card being hovered — the browser creates one GPU
   layer on demand, so 95 cards never sit in memory at once. */
/* The whole card grows a touch (not the image inside) — just enough to
   show a subtle, smooth animation on hover. */
.car-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
  will-change: transform;
}
/* Higher specificity than .reveal (which the card also carries) so its
   0.9s reveal transition doesn't clobber this — otherwise the shadow
   would snap and the hover would feel abrupt. Covers reveal + hover. */
.cards-grid .car-card {
  transition: transform 0.6s var(--ease-soft), box-shadow 0.6s var(--ease-soft),
    border-color 0.6s var(--ease-soft), opacity 0.6s var(--ease-soft);
}

.car-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #eef1f6 100%);
}
.car-card-media::after {
  /* soft sheen that fades in on hover for a premium feel */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 94, 255, 0) 55%, rgba(10, 14, 24, 0.18) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.car-card:hover .car-card-media::after { opacity: 1; }
/* Higher specificity than img.img-fade so the transform transition isn't
   clobbered by the fade-in rule; opacity stays in the list so photos
   still fade in on load. */
.car-card .car-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* image itself no longer zooms — the whole card scales instead;
     keep the opacity fade for lazy-loaded photos */
  transition: opacity 0.6s var(--ease);
}

.car-card-category {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.car-card-count {
  position: absolute;
  bottom: 0.9rem; right: 0.9rem;
  background: rgba(10, 14, 24, 0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.35rem;
  backdrop-filter: blur(4px);
}

.car-card-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.85rem; flex: 1; }
.car-card-brand {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.car-card-name { font-size: 1.22rem; margin-top: 0.15rem; }

.spec-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.spec-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}

.car-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.price-on-request {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
/* Two clear call-to-action buttons under every car */
.car-card-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.car-card-buttons .btn {
  width: 100%;
  padding-inline: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
}

/* ---------- Fleet filters ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.4rem;
}
.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: background 0.4s var(--ease-soft), color 0.4s var(--ease-soft),
    border-color 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), transform 0.4s var(--ease-soft);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(30, 94, 255, 0.28);
}

.fleet-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 3rem 1rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  padding: 3.4rem 0;
  position: relative;
  overflow: hidden;
}
/* faint radial sheen for depth */
.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 85% 0%, rgba(255, 255, 255, 0.14) 0%, transparent 55%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.stat-value {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}
.stat-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.4rem;
}

/* ---------- Contact cards ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  /* keeps a two-card layout tidy and centred instead of over-stretched */
  max-width: 760px;
  margin-inline: auto;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 1.9rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  color: var(--ink);
  display: block;
}
.contact-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.contact-card-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.contact-card-icon svg { width: 26px; height: 26px; }
.contact-card.wa .contact-card-icon { background: rgba(37, 211, 102, 0.12); color: var(--wa-green); }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.contact-card p { font-size: 0.92rem; color: var(--ink-soft); }
.contact-card .contact-card-value { display: block; margin-top: 0.6rem; font-weight: 700; color: var(--accent); }
.contact-card.wa .contact-card-value { color: var(--wa-green-dark); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: calc(var(--radius) + 4px);
  color: #fff;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 24px 48px rgba(30, 94, 255, 0.3);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.4rem; }
.cta-band p { opacity: 0.88; max-width: 460px; }
.cta-band .btn-primary { background: #fff; color: var(--accent); box-shadow: none; }
.cta-band .btn-primary:hover { background: #eef3ff; }

/* ---------- Footer ---------- */
.footer { background: #10151f; color: rgba(255, 255, 255, 0.72); }
.footer-inner { padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer .logo .logo-word { color: #fff; }
.footer .logo .logo-sub { color: rgba(255, 255, 255, 0.45); }
.footer-about { font-size: 0.92rem; margin-top: 1.1rem; max-width: 320px; }

.footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
}
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 0.2rem; color: var(--accent); }
.footer-contact a { color: rgba(255, 255, 255, 0.72); }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  transition: color 0.3s var(--ease);
}
.footer-credit a strong { color: #6f9bff; font-weight: 700; }
.footer-credit a:hover { color: #fff; }
.footer-credit a:hover strong { color: #8fb0ff; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  background: var(--wa-green-dark);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55);
  color: #fff;
}

/* ---------- Modal / gallery ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 16, 26, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: #fff;
  border-radius: calc(var(--radius) + 2px);
  width: min(920px, 100%);
  max-height: min(92svh, 100%);
  overflow-y: auto;
  box-shadow: 0 40px 90px rgba(10, 14, 24, 0.4);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); opacity: 1; }

.modal-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  z-index: 2;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.18);
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover { background: var(--ink); color: #fff; }

.modal-gallery { position: relative; }
.modal-gallery-main {
  aspect-ratio: 16 / 10;
  /* Studio shots sit on a near-white background; a soft gradient blends
     the letterboxed edges so nothing looks cut off. */
  background: linear-gradient(180deg, #ffffff 0%, #f2f5fa 100%);
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* contain, not cover — show the whole car, never crop it */
.modal-gallery-main img {
  width: 100%; height: 100%;
  object-fit: contain;
  animation: galleryFade 0.4s var(--ease);
}
@keyframes galleryFade { from { opacity: 0; transform: scale(1.01); } to { opacity: 1; transform: none; } }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.18);
  transition: background 0.2s ease, color 0.2s ease;
}
.gallery-nav svg { width: 20px; height: 20px; }
.gallery-nav:hover { background: var(--accent); color: #fff; }
.gallery-nav.prev { left: 0.9rem; }
.gallery-nav.next { right: 0.9rem; }

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem 0;
  overflow-x: auto;
}
.gallery-thumb {
  flex: none;
  width: 84px;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--bg-alt);
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; border-color: var(--accent); }

.modal-body { padding: 1.5rem 1.6rem 1.8rem; }
.modal-body .car-card-brand { margin-bottom: 0.1rem; }
.modal-title { font-size: 1.6rem; margin-bottom: 0.7rem; }
.modal-body .spec-tags { margin-bottom: 1.2rem; }
.modal-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.modal-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + clamp(2.5rem, 7vw, 4.5rem)) 0 clamp(2rem, 5vw, 3.2rem);
  background:
    radial-gradient(60% 120% at 85% 0%, var(--accent-soft) 0%, transparent 60%),
    var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 0.7rem; }
.page-hero p { color: var(--ink-soft); max-width: 560px; }

/* ---------- Booking form ---------- */
.booking-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) { .booking-layout { grid-template-columns: 1fr; } }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.form-field label .req { color: var(--accent); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.form-field.invalid input,
.form-field.invalid select { border-color: #e03131; }
.field-error {
  display: none;
  font-size: 0.78rem;
  color: #e03131;
  margin-top: 0.35rem;
}
.form-field.invalid .field-error { display: block; }

.form-footer { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; }
.form-alt {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.booking-success {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.booking-success.visible { display: block; }
.booking-success .success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: var(--wa-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.booking-success .success-icon svg { width: 34px; height: 34px; }
.booking-success h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.booking-success p { color: var(--ink-soft); max-width: 420px; margin: 0 auto 1.4rem; }

.booking-aside .step-card { margin-bottom: 1.1rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
/* Drop the compositing hint once revealed so long grids don't keep
   dozens of GPU layers alive. */
.reveal.visible { opacity: 1; transform: none; will-change: auto; }
.reveal-delay-1 { transition-delay: 0.09s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.27s; }

/* Fleet/featured cards stagger themselves in based on their DOM order,
   set by JS via the --i custom property for a smooth cascade. */
.cards-grid .car-card.reveal { transition-delay: calc(var(--i, 0) * 55ms); }

/* Fade images in as they decode, so lazy-loaded photos never pop */
img.img-fade { opacity: 0; transition: opacity 0.6s var(--ease); }
img.img-fade.loaded { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cards-grid .car-card.reveal { transition-delay: 0s; }
  img.img-fade { opacity: 1; transition: none; }
  .hero-scroll { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Utilities ---------- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, #eef1f6 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius);
  min-height: 340px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
