
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Marcellus&display=swap');

/* =========================================
   A FIVE STAR LIMOUSINE — VERSION 2.1

   APPROVED HERO V1.4
   CONTINUOUS SCROLLING
   JET SPRINTER + LIMO SPRINTER
   DESKTOP GALLERY FIX
   MOBILE LAYOUT PRESERVED
========================================= */

:root {
  --midnight: #050a11;
  --navy: #0b1523;
  --navy-light: #17283b;
  --red: #a53034;
  --red-light: #dc666a;
  --ivory: #f0ede7;
  --muted: #a4afbd;

  --font-heading: 'Marcellus', Georgia, serif;
  --font-body: 'Manrope', Arial, sans-serif;
}

/* =========================================
   GLOBAL
========================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 20px;
  top: -80px;
  padding: 12px 20px;
  background: var(--ivory);
  color: var(--midnight);
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 4px;
}

/* =========================================
   HERO — APPROVED V1.4
========================================= */

.hero {
  position: relative;
  width: 100%;
  min-height: 680px;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--midnight);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.sprinter-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left center;
  animation: sceneReveal 1.8s ease-out both;
}

.headlight-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: radial-gradient(
    ellipse at 33% 47%,
    rgba(220, 235, 255, 0.14) 0%,
    rgba(180, 205, 240, 0.045) 28%,
    transparent 58%
  );

  opacity: 0;
  animation: lightReveal 2s ease-out 0.35s forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(5, 10, 17, 0.08) 42%,
      rgba(5, 10, 17, 0.23) 100%
    ),
    linear-gradient(
      0deg,
      var(--midnight) 0%,
      transparent 24%
    );
}

/* HERO CONTENT */

.hero-content {
  position: absolute;
  right: 5%;
  top: 49%;
  transform: translateY(-50%);

  width: 43%;
  max-width: 650px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  display: block;
  width: clamp(180px, 24vw, 380px);
  max-width: 100%;
  height: auto;

  position: relative;
  left: -16px;
  opacity: 0;

  filter: drop-shadow(
    0 0 20px rgba(165, 48, 52, 0.12)
  );

  animation: logoReveal 1.8s ease-out 1.2s forwards;
}

.hero-text {
  margin-top: 18px;
  opacity: 0;
  animation: contentReveal 1.2s ease-out 2.05s forwards;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(25px, 2.8vw, 43px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.035em;
  color: var(--ivory);
}

.hero-text p {
  margin-top: 16px;
  font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1.9;
  letter-spacing: 0.09em;
  color: var(--muted);
}

/* HERO BUTTONS */

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;

  opacity: 0;
  animation: contentReveal 1s ease-out 2.45s forwards;
}

.luxury-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 172px;
  min-height: 49px;
  padding: 14px 21px;

  background: rgba(11, 21, 35, 0.94);
  border: 1px solid rgba(116, 139, 165, 0.42);
  border-radius: 5px;

  color: var(--red-light);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.luxury-button:hover {
  background: var(--navy-light);
  color: #ffe7e8;
  border-color: rgba(235, 243, 255, 0.68);

  box-shadow:
    0 0 18px rgba(230, 240, 255, 0.20),
    0 0 38px rgba(220, 233, 255, 0.09);

  transform: translateY(-2px);
}

/* SCROLL INDICATOR */

.scroll-indicator {
  position: absolute;
  bottom: 29px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.25em;

  opacity: 0;
  animation: contentReveal 1s ease-out 3s forwards;
}

.scroll-line {
  width: 1px;
  height: 36px;

  background: linear-gradient(
    to bottom,
    rgba(240, 237, 231, 0.7),
    transparent
  );
}

/* HERO ANIMATIONS */

@keyframes sceneReveal {
  from {
    filter: brightness(0.10);
    opacity: 0.55;
  }

  to {
    filter: brightness(1);
    opacity: 1;
  }
}

@keyframes lightReveal {
  0% { opacity: 0; }
  55% { opacity: 0.8; }
  100% { opacity: 0.38; }
}

@keyframes logoReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   CONTINUOUS SCROLLING CHAPTERS

   WHY A FIVE STAR
   OUR PROMISE
   OUR FLEET
========================================= */

.story-chapter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 100svh;
  padding: 90px 6%;

  background: var(--midnight);
  isolation: isolate;
}

.story-chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: radial-gradient(
    ellipse at 50% 52%,
    rgba(23, 40, 59, 0.24),
    transparent 68%
  );
}

.chapter-stage {
  position: relative;
  display: flex;

  width: 100%;
  max-width: 1500px;
  min-height: 75svh;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 42px;

  margin: 0 auto;
}

.chapter-title {
  width: 100%;

  font-family: var(--font-heading);
  font-size: clamp(42px, 8vw, 132px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.025em;

  color: var(--ivory);
  text-align: center;
  white-space: nowrap;
  transform-origin: center center;
}

.chapter-story {
  width: 100%;
  max-width: 790px;
  text-align: center;
  color: var(--muted);
}

.chapter-story h3 {
  font-family: var(--font-heading);
  font-size: clamp(29px, 3.65vw, 54px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.012em;

  color: var(--ivory);
  margin-bottom: 30px;
}

.chapter-story p {
  max-width: 660px;
  margin: 0 auto 19px;

  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.95;
  letter-spacing: 0.015em;
  color: var(--muted);
}

.chapter-story p:last-child {
  margin-bottom: 0;
}

.chapter-story .story-eyebrow {
  color: var(--red-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  margin-bottom: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 20px;
  padding: 0 0 8px;

  color: var(--red-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;

  border-bottom: 1px solid rgba(220, 102, 106, 0.55);

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.text-link:hover {
  color: var(--ivory);
  border-color: var(--ivory);
}

/* One continuous dark-blue Sprinter scene behind WHY / PROMISE / FLEET. */
/* The entering scene follows scroll progress precisely; no timed opacity easing. */
.story-drive-scene{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;visibility:hidden;opacity:0;background:#050a11}
.story-drive-scene.is-visible{visibility:visible;opacity:1}
 /* Hero is in front during the handoff; opacity reveals the shared scene beneath.
    No position/pinning/structure change to the approved Hero. */
.story-drive-enabled .hero{z-index:2}
.story-drive-photo{position:absolute;inset:-15%;transform:translate3d(0,0,0) scale(1.18);transform-origin:42% 50%;will-change:transform}
.story-drive-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:left center}
.story-drive-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,10,17,.19),rgba(5,10,17,.60) 39%,rgba(5,10,17,.84)),linear-gradient(0deg,rgba(5,10,17,.76),transparent 28%,transparent 70%,rgba(5,10,17,.57))}
.story-drive-enabled .why-section,.story-drive-enabled .promise-section,.story-drive-enabled .fleet-section{background:transparent;z-index:1}
.story-drive-enabled .why-section::before,.story-drive-enabled .promise-section::before,.story-drive-enabled .fleet-section::before{background:transparent}
/* Mobile uses the SAME continuous backdrop, with portrait framing and a
   stronger text-safety overlay. Only reduced-motion disables the effect. */
@media (max-width:700px) and (prefers-reduced-motion:no-preference) {
  .story-drive-photo {
    inset: -9% -58%;
    transform-origin: 39% 50%;
  }
  .story-drive-photo img {
    object-position: 18% center;
  }
  .story-drive-shade {
    background:
      linear-gradient(90deg, rgba(5,10,17,.45), rgba(5,10,17,.58)),
      linear-gradient(180deg,
        rgba(5,10,17,.65) 0%,
        rgba(5,10,17,.38) 27%,
        rgba(5,10,17,.46) 58%,
        rgba(5,10,17,.78) 100%);
  }
  .story-drive-enabled .chapter-title,
  .story-drive-enabled .chapter-story {
    text-shadow: 0 3px 18px rgba(0,0,0,.58);
  }
}
@media (prefers-reduced-motion:reduce) {
  .story-drive-scene { display:none; }
  .story-drive-enabled .why-section,
  .story-drive-enabled .promise-section,
  .story-drive-enabled .fleet-section { background:var(--midnight); }
}

/* GSAP SCROLL LAYOUT */

.scroll-enhanced .story-chapter {
  padding: 0 6%;
}

.scroll-enhanced .chapter-stage {
  display: block;
  height: 100svh;
  min-height: 620px;
  max-width: 1500px;
}

.scroll-enhanced .chapter-title {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;

  transform: translateY(-50%);
  transform-origin: center center;
}

.scroll-enhanced .chapter-story {
  position: absolute;
  left: 50%;
  top: 38%;

  width: 90%;
  max-width: 790px;

  transform: translate(-50%, 26px);
  opacity: 0;
  visibility: hidden;
}

.promise-section::before {
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(22, 37, 55, 0.25),
    transparent 72%
  );
}

.fleet-section::before {
  background: radial-gradient(
    ellipse at 50% 48%,
    rgba(24, 42, 59, 0.23),
    transparent 70%
  );
}

/* =========================================
   OUR FLEET COLLECTION
========================================= */

.fleet-gallery-wrap {
  position: relative;
  padding: 8vh 0 14vh;
  background: var(--midnight);
  overflow: hidden;
}

.fleet-gallery-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    ellipse at 40% 40%,
    rgba(22, 38, 58, 0.30),
    transparent 70%
  );
}

.fleet-gallery-topline,
.fleet-gallery-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin: 0 auto;
  max-width: 1500px;
  width: calc(100% - 12%);
}

.small-label {
  font-size: 10px;
  color: var(--red-light);
  font-weight: 700;
  letter-spacing: 0.22em;
}

.fleet-counter {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2em;
}

/* HORIZONTAL FLEET */

.fleet-gallery {
  position: relative;
  display: flex;
  gap: 22px;

  margin-top: 29px;
  padding: 0 6%;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: x mandatory;
  scroll-padding-inline: 6%;

  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.fleet-gallery::-webkit-scrollbar {
  display: none;
}

.fleet-card {
  flex: 0 0 min(73vw, 960px);
  min-width: 0;
  scroll-snap-align: center;
  overflow: hidden;

  border: 1px solid rgba(138, 163, 185, 0.16);

  background: linear-gradient(
    160deg,
    #08111b,
    #060b12 72%
  );
}

.fleet-visual {
  position: relative;
  overflow: hidden;
  height: clamp(300px, 48vw, 570px);
  isolation: isolate;

  background:
    radial-gradient(
      ellipse at 44% 56%,
      rgba(66, 96, 123, 0.29),
      transparent 65%
    ),
    linear-gradient(
      145deg,
      #0d1d2c 0%,
      #050910 80%
    );
}

.fleet-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(5, 10, 17, 0.12),
    transparent 50%,
    rgba(5, 10, 17, 0.36)
  );
}

.fleet-visual--jet {
  background:
    radial-gradient(
      ellipse at 63% 40%,
      rgba(68, 84, 112, 0.32),
      transparent 64%
    ),
    #070c14;
}

.fleet-visual--limo {
  background:
    radial-gradient(
      ellipse at 50% 35%,
      rgba(105, 36, 48, 0.21),
      transparent 64%
    ),
    #070b14;
}

.fleet-visual--coach {
  background:
    radial-gradient(
      ellipse at 40% 55%,
      rgba(48, 72, 107, 0.26),
      transparent 64%
    ),
    #070d17;
}

.fleet-visual--escalade {
  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(56, 77, 102, 0.25),
      transparent 64%
    ),
    #070c14;
}

.fleet-visual--party {
  background:
    radial-gradient(
      ellipse at 40% 40%,
      rgba(100, 35, 50, 0.22),
      transparent 65%
    ),
    #090b14;
}

.fleet-visual--motorcoach {
  background:
    radial-gradient(
      ellipse at 44% 48%,
      rgba(60, 86, 110, 0.26),
      transparent 68%
    ),
    #060c13;
}

/* VEHICLE PHOTOS */

/*
  Keep the complete, original vehicle photographs visible on fleet cards.
  "cover" cropped the Sprinters, while the Escalade already used "contain".
  Use the same non-distorting fit for all cards; modal/gallery CSS is unchanged.
*/
.fleet-photo {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;

  position: relative;
  z-index: 1;
}

.fleet-photo.is-loaded {
  display: block;
}

.fleet-photo-hint {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 80%;
  text-align: center;

  font-family: var(--font-heading);
  font-size: clamp(25px, 4vw, 59px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: 0.13em;

  color: rgba(232, 237, 243, 0.32);
}

.fleet-visual:has(.fleet-photo.is-loaded)
.fleet-photo-hint {
  display: none;
}

.vehicle-mark {
  position: absolute;
  left: 30px;
  bottom: 25px;
  z-index: 2;

  font-size: 10px;
  color: #d4dce6;
  letter-spacing: 0.18em;
}

/* VEHICLE DESCRIPTION */

.fleet-card-bottom {
  padding: 29px 30px 32px;

  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.vehicle-type {
  font-size: 10px;
  color: var(--red-light);
  letter-spacing: 0.17em;
}

.fleet-card h3 {
  margin: 8px 0 10px;

  font-family: var(--font-heading);
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.2;
}

.fleet-card p {
  max-width: 440px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

/* FLEET ARROWS */

.fleet-gallery-controls {
  margin-top: 24px;
}

.fleet-gallery-controls p {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.fleet-arrows {
  display: flex;
  gap: 10px;
}

.fleet-arrows button {
  width: 50px;
  height: 45px;

  border: 1px solid rgba(137, 158, 183, 0.4);
  background: rgba(11, 21, 35, 0.85);
  color: var(--ivory);
  font-size: 21px;

  transition:
    border-color 0.2s,
    background 0.2s;
}

.fleet-arrows button:hover {
  border-color: var(--ivory);
  background: var(--navy-light);
}

/* =========================================
   CLICKABLE VEHICLE GALLERIES
========================================= */

.fleet-card--jet .fleet-visual,
.fleet-card--limo .fleet-visual,
.fleet-card--escalade .fleet-visual {
  cursor: pointer;
}

.fleet-photo-trigger {
  position: absolute;
  inset: 0;
  z-index: 3;

  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;

  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;

  padding: 22px 25px;
  color: var(--ivory);
}

.fleet-photo-trigger > span {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 16px;

  background: rgba(5, 10, 17, 0.83);
  border: 1px solid rgba(231, 237, 247, 0.43);

  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.13em;

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.fleet-photo-trigger:hover > span,
.fleet-photo-trigger:focus-visible > span {
  background: rgba(25, 43, 65, 0.96);
  box-shadow: 0 0 25px rgba(230, 240, 255, 0.15);
}

.fleet-view-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 0 2px;
  margin-top: 12px;

  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(220, 102, 106, 0.55);

  color: var(--red-light);
  text-transform: uppercase;

  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.fleet-view-link:hover {
  color: var(--ivory);
  border-color: var(--ivory);
}

/* =========================================
   VEHICLE PHOTO DIALOG
========================================= */

.vehicle-dialog {
  width: min(1160px, calc(100vw - 28px));
  max-width: none;
  max-height: min(94dvh, 1050px);

  margin: auto;
  padding: 0;

  background: #070d16;
  color: var(--ivory);
  border: 1px solid rgba(159, 182, 205, 0.32);

  box-shadow:
    0 22px 100px rgba(0, 0, 0, 0.8);

  overflow: auto;
  overscroll-behavior: contain;
}

.vehicle-dialog::backdrop {
  background: rgba(0, 3, 8, 0.88);
  backdrop-filter: blur(8px);
}

.vehicle-dialog-inner {
  padding: clamp(16px, 2.8vw, 34px);
}

/* DIALOG HEADER */

.vehicle-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.vehicle-dialog-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.18em;
  color: var(--red-light);
}

.vehicle-dialog-heading h2 {
  margin: 7px 0 4px;

  font-family: var(--font-heading);
  font-size: clamp(28px, 3.2vw, 43px);
  font-weight: 400;
  line-height: 1.15;
}

.vehicle-dialog-heading p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.vehicle-dialog-close {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;

  color: var(--ivory);
  border: 1px solid rgba(162, 182, 201, 0.35);
  background: #101d2c;
}

.vehicle-dialog-close:hover {
  background: #1b3049;
}

/* =========================================
   PHOTO VIEWER — MOBILE BASE
========================================= */

.vehicle-viewer {
  position: relative;
  display: grid;
  place-items: center;

  height: clamp(245px, 51vh, 630px);
  min-height: 0;

  background: #03070c;
  overflow: hidden;
}

.vehicle-viewer > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.vehicle-viewer > img[hidden] {
  display: none;
}

/* VIEWER ARROWS */

.vehicle-viewer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  width: 49px;
  height: 56px;

  border: 1px solid rgba(240, 237, 231, 0.4);
  background: rgba(5, 10, 17, 0.76);
  color: var(--ivory);

  font-family: var(--font-body);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;

  transition: background 0.2s ease;
}

.vehicle-viewer-arrow:hover {
  background: rgba(25, 43, 65, 0.96);
}

.vehicle-viewer-prev {
  left: 13px;
}

.vehicle-viewer-next {
  right: 13px;
}

.vehicle-photo-error {
  position: absolute;
  inset: auto 10% 50%;
  transform: translateY(50%);

  padding: 20px;

  color: var(--ivory);
  text-align: center;
  font-size: 13px;
  background: rgba(5, 10, 17, 0.85);
}

.vehicle-photo-error[hidden] {
  display: none;
}

/* PHOTO COUNTER */

.vehicle-dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 15px 0 12px;
  font-size: 11px;
}

.vehicle-photo-counter {
  letter-spacing: 0.18em;
  color: var(--ivory);
}

.vehicle-swipe-hint {
  color: var(--muted);
}

/* PHOTO THUMBNAILS */

.vehicle-thumbnails {
  display: flex;
  gap: 9px;
  overflow-x: auto;

  padding: 4px 0 7px;

  scrollbar-width: thin;
  scrollbar-color: #455468 #070d16;
}

.vehicle-thumb {
  flex: 0 0 92px;
  height: 68px;
  padding: 0;
  overflow: hidden;

  border: 2px solid transparent;
  background: #0d1a28;
  opacity: 0.6;

  transition:
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.vehicle-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-thumb[aria-pressed="true"] {
  border-color: var(--red-light);
  opacity: 1;
}

.vehicle-thumb:hover {
  opacity: 1;
}

/* =========================================
   DESKTOP GALLERY FIX — V2.1

   DESKTOP ONLY — 701px AND ABOVE

   Important:
   The main image is positioned absolutely
   inside a fixed viewer area.

   This prevents the image's natural size
   from stretching the layout and getting
   clipped by overflow: hidden.
========================================= */

@media (min-width: 701px) {

  .vehicle-dialog {
    width: min(96vw, 1780px);
    max-height: 95dvh;
    overflow: hidden;
  }

  .vehicle-dialog-inner {
    display: flex;
    flex-direction: column;

    height: min(95dvh, 1020px);
    min-height: 0;

    padding: clamp(14px, 1.7vw, 28px);
  }

  .vehicle-dialog-heading {
    flex: 0 0 auto;
    margin-bottom: 12px;
  }

  .vehicle-viewer {
    position: relative;
    display: block;

    flex: 1 1 0;
    width: 100%;
    height: 0;
    min-height: 0;

    overflow: hidden;
  }

  .vehicle-viewer > img {
    position: absolute;
    inset: 0;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;
  }

  .vehicle-dialog-footer {
    flex: 0 0 auto;
    padding: 10px 0 8px;
  }

  .vehicle-thumbnails {
    flex: 0 0 auto;
  }

  .vehicle-thumb {
    flex-basis: 94px;
    height: 62px;
  }

}

/* =========================================
   TABLET HERO
========================================= */

@media (max-width: 1000px) {

  .hero-content {
    width: 48%;
    right: 3%;
  }

  .luxury-button {
    min-width: 150px;
  }

}

/* =========================================
   MOBILE — APPROVED V1.4

   MOBILE VIEWER UNCHANGED
========================================= */

@media (max-width: 700px) {

  .hero {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-background {
    inset: 0;
  }

  .sprinter-image {
    width: 180%;
    height: 100%;
    object-fit: cover;
    object-position: 12% center;
  }

  .headlight-glow {
    background: radial-gradient(
      ellipse at 34% 34%,
      rgba(220, 235, 255, 0.24) 0%,
      rgba(180, 205, 240, 0.10) 22%,
      transparent 52%
    );
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(5, 10, 17, 0.03) 0%,
      rgba(5, 10, 17, 0.10) 30%,
      rgba(5, 10, 17, 0.52) 52%,
      rgba(5, 10, 17, 0.88) 72%,
      var(--midnight) 100%
    );
  }

  .hero-content {
    position: absolute;
    top: auto;
    bottom: 8%;
    left: 50%;
    right: auto;

    transform: translateX(-50%);

    width: 90%;
    max-width: 350px;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-logo {
    width: clamp(145px, 40vw, 205px);
    max-width: 100%;

    position: relative;
    left: 0;
    margin-bottom: 12px;
  }

  .hero-text {
    margin-top: 2px;
  }

  .hero-text h1 {
    font-size: clamp(28px, 7vw, 35px);
    line-height: 1.18;
    letter-spacing: 0.02em;
  }

  .hero-text p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.65;
    letter-spacing: 0.02em;
    color: #b5bfcc;

    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    margin-top: 22px;
    gap: 10px;
    width: 100%;
  }

  .luxury-button {
    min-width: 138px;
    min-height: 46px;
    padding: 12px 14px;

    font-size: 10px;
    letter-spacing: 0.10em;
  }

  .scroll-indicator {
    bottom: 12px;
    left: 50%;
    transform: translateX(-42%);

    font-size: 8px;
    gap: 6px;
  }

  .scroll-line {
    height: 18px;
  }

  /* MOBILE CONTINUOUS CHAPTERS */

  .story-chapter {
    padding: 90px 5%;
  }

  .chapter-stage {
    min-height: 75svh;
    gap: 30px;
  }

  .chapter-title {
    font-size: clamp(26px, 8.2vw, 50px);
    letter-spacing: 0.005em;
    line-height: 1.12;
  }

  .chapter-story {
    max-width: 350px;
  }

  .chapter-story h3 {
    font-size: clamp(27px, 7.2vw, 38px);
    line-height: 1.22;
    margin-bottom: 22px;
  }

  .chapter-story p {
    font-size: 12px;
    line-height: 1.85;
    letter-spacing: 0.005em;
    margin-bottom: 16px;
  }

  .scroll-enhanced .story-chapter {
    padding: 0 5%;
  }

  .scroll-enhanced .chapter-stage {
    min-height: 600px;
    height: 100svh;
  }

  .scroll-enhanced .chapter-story {
    top: 35%;
    width: 90%;
    max-width: 350px;
  }

  /* MOBILE FLEET */

  .fleet-gallery-wrap {
    padding: 3vh 0 10vh;
  }

  .fleet-gallery-topline,
  .fleet-gallery-controls {
    width: calc(100% - 32px);
  }

  .fleet-gallery {
    padding: 0 16px;
    gap: 12px;
    scroll-padding-inline: 16px;
  }

  .fleet-card {
    flex-basis: min(89vw, 420px);
  }

  /* Mobile fleet: a wider photographic frame makes the full vehicle
     visible without the excessive top/bottom letterboxing seen on phones.
     Card width is min(89vw, 420px); this stays close to a 16:10 photo. */
  .fleet-visual {
    height: min(56vw, 263px);
  }

  .fleet-card--jet .fleet-photo,
  .fleet-card--limo .fleet-photo,
  .fleet-card--coach .fleet-photo,
  .fleet-card--escalade .fleet-photo {
    object-fit: contain;
    object-position: center;
  }

  .fleet-photo-hint {
    font-size: clamp(24px, 6vw, 38px);
  }

  .vehicle-mark {
    left: 18px;
    bottom: 19px;
    font-size: 9px;
  }

  .fleet-card-bottom {
    padding: 21px 19px 24px;
    display: block;
  }

  .fleet-card h3 {
    font-size: 29px;
  }

  /* Keep the long Cadillac model name balanced on narrow screens. */
  .fleet-card--escalade h3 {
    font-size: clamp(22px, 5.6vw, 28px);
    line-height: 1.24;
  }

  .fleet-card p {
    margin-bottom: 20px;
  }

  .fleet-arrows button {
    width: 45px;
    height: 43px;
  }

  /* MOBILE PHOTO DIALOG */

  .fleet-photo-trigger {
    padding: 12px;
  }

  .fleet-photo-trigger > span {
    padding: 10px 12px;
    font-size: 9px;
  }

  .vehicle-dialog {
    width: calc(100vw - 14px);
    max-height: 94dvh;
  }

  .vehicle-dialog-inner {
    padding: 14px;
  }

  .vehicle-dialog-heading {
    margin-bottom: 12px;
  }

  .vehicle-dialog-heading h2 {
    font-size: 29px;
  }

  .vehicle-dialog-label {
    font-size: 9px;
    letter-spacing: 0.11em;
  }

  .vehicle-dialog-close {
    width: 42px;
    height: 42px;
  }

  .vehicle-viewer {
    height: min(49dvh, 480px);
    min-height: 210px;
  }

  .vehicle-viewer-arrow {
    width: 34px;
    height: 45px;
    font-size: 28px;
  }

  .vehicle-viewer-prev {
    left: 4px;
  }

  .vehicle-viewer-next {
    right: 4px;
  }

  .vehicle-thumb {
    flex-basis: 75px;
    height: 58px;
  }

  .vehicle-swipe-hint {
    font-size: 10px;
  }

}

/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 360px) {

  .chapter-title {
    font-size: 8vw;
  }

  .hero-text h1 {
    font-size: 27px;
  }

  .luxury-button {
    min-width: 128px;
    padding: 11px;
  }

  .scroll-enhanced .chapter-story {
    top: 32%;
  }

}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .sprinter-image,
  .hero-logo,
  .hero-text,
  .hero-buttons,
  .scroll-indicator,
  .headlight-glow {
    animation: none;
    opacity: 1;
  }

  .headlight-glow {
    opacity: 0.38;
  }

  .luxury-button {
    transition: none;
  }

  .scroll-enhanced .story-chapter {
    padding: 90px 6%;
  }

  .scroll-enhanced .chapter-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 30px;

    height: auto;
    min-height: 75svh;
  }

  .scroll-enhanced .chapter-title,
  .scroll-enhanced .chapter-story {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
  }

  .fleet-gallery {
    scroll-behavior: auto;
  }

  .fleet-photo-trigger > span,
  .vehicle-thumb,
  .vehicle-viewer-arrow {
    transition: none;
  }

}
/* DATE / TIME ICONS */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.4) opacity(0.9);
  cursor: pointer;
}

input[type="date"],
input[type="time"] {
  color-scheme: dark;
}

/* ==========================================
   V2.3.3 — DATE & TIME FIELD FIX
========================================== */

/* Make calendar and clock icons visible */

.quote-field input[type="date"]::-webkit-calendar-picker-indicator,
.quote-field input[type="time"]::-webkit-calendar-picker-indicator {
  filter: brightness(0) invert(1);
  opacity: 0.85;
  cursor: pointer;
}

/* Keep the native date/time pickers dark */

.quote-field input[type="date"],
.quote-field input[type="time"] {
  color-scheme: dark;
}

/* Don't show red borders before user submits */

.quote-field input[type="date"]:invalid:not(:focus),
.quote-field input[type="time"]:invalid:not(:focus) {
  border-color: rgba(153, 175, 199, 0.24);
}

/* Subtle highlight on focus */

.quote-field input[type="date"]:focus,
.quote-field input[type="time"]:focus {
  border-color: #dc666a;
}
