/* ==========================================================================
   Yasir Autos — Lahore Chauffeur & Mobility Atelier
   Light Spatial Glassmorphism & Kinetic Motion Design System
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ink: #0a0b0d;
  --ink-soft: #334155;
  --muted: #6b7280;
  --line: rgba(10, 11, 13, 0.08);
  --hairline: rgba(10, 11, 13, 0.08);
  --accent-crimson: #dc2626;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1280px;
}

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

html,
body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  line-height: 1.5;
}

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4.5vw, 3.5rem);
}

/* Subtle Ambient Orbs */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.52;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.ambient-orb--1 {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(219, 234, 254, 0.72), transparent 70%);
}

.ambient-orb--2 {
  width: 480px;
  height: 480px;
  top: 28%;
  right: -110px;
  background: radial-gradient(circle, rgba(226, 232, 240, 0.8), transparent 70%);
  animation-delay: -6s;
}

.ambient-orb--3 {
  width: 520px;
  height: 520px;
  bottom: -140px;
  left: 30%;
  background: radial-gradient(circle, rgba(224, 242, 254, 0.65), transparent 70%);
  animation-delay: -11s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.06); }
}

.glass-panel {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.84) 0%, rgba(246, 249, 252, 0.68) 100%);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 24px 60px -22px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(10, 11, 13, 0.055),
    inset 0 1px 1px rgba(255, 255, 255, 1);
  backdrop-filter: blur(26px) saturate(145%);
  -webkit-backdrop-filter: blur(26px) saturate(145%);
}

/* Scroll Progress Hairline */
.scroll-hairline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  z-index: 200;
}

.scroll-hairline-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--ink), var(--accent-crimson));
}

/* ==========================================================================
   Shared Floating Spatial Navbar & Footer
   ========================================================================== */
.floating-nav-wrap {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 150;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  pointer-events: none;
}

.floating-nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.52rem 0.65rem 0.52rem 1.25rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-brand svg {
  width: 22px;
  height: 20px;
}

.nav-brand-name {
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.nav-city-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.05);
  color: var(--muted);
}

.nav-pills {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.24rem;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.045);
}

.nav-pill {
  padding: 0.46rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.28s var(--ease);
}

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

.nav-pill.is-active {
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(10, 11, 13, 0.16);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-pill-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 1.3rem;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: transform 0.28s var(--ease), background 0.25s ease;
}

.btn-pill-dark:hover {
  transform: translateY(-1px) scale(1.02);
  background: #1d212a;
}

.btn-pill-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}

.btn-pill-glass:hover {
  border-color: var(--ink);
}

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 11, 13, 0.06);
  font-size: 1rem;
  align-items: center;
  justify-content: center;
}

.mobile-nav-drawer {
  max-width: var(--container-max);
  margin: 0.65rem auto 0;
  border-radius: 22px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  pointer-events: auto;
}

.mobile-nav-drawer[hidden] {
  display: none;
}

.mobile-nav-link {
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.mobile-nav-link.is-active {
  background: var(--ink);
  color: #ffffff;
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 2rem 0 4.75rem;
}

.footer-pill-bar {
  border-radius: 26px;
  padding: 1.5rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-top-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.footer-bottom-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.newsletter-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

.newsletter-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-input {
  width: 220px;
  padding: 0.56rem 0.95rem !important;
  border-radius: 999px !important;
}

.newsletter-btn {
  padding: 0.58rem 1.15rem;
}

.newsletter-msg {
  font-size: 0.74rem;
  font-weight: 600;
  color: #059669;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.footer-brand strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-top-btn {
  font-weight: 700;
  color: var(--ink);
}

.whatsapp-float {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 140;
  padding: 0.68rem 1.15rem;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(10, 11, 13, 0.22);
  transition: transform 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

/* Shared Section Headers */
.kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.page-hero-head {
  padding-top: 7rem;
  padding-bottom: 2.25rem;
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.page-title span {
  font-weight: 300;
  color: #8b929c;
}

.page-sub {
  margin-top: 0.75rem;
  max-width: 540px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ==========================================================================
   01. PINNED SCROLL APERTURE & KINETIC GLASS HERO (User File 01)
   ========================================================================== */
.scroll-runway {
  position: relative;
  height: 210vh;
  background: #ffffff;
}

.stage {
  position: sticky;
  top: 0;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 0 32px;
  background: #ffffff;
  perspective: 1400px;
}

.grid-plane {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(to right, rgba(10, 11, 13, 0.032) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 11, 13, 0.032) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 75%);
  will-change: transform;
  pointer-events: none;
}

.hud-top {
  position: absolute;
  top: 84px;
  left: 5vw;
  right: 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 30;
  pointer-events: none;
}

.hud-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(16px);
}

.scroll-meter {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.meter-track {
  width: 84px;
  height: 2px;
  background: rgba(10, 11, 13, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0%;
  background: var(--ink);
}

.kinetic-type {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
  user-select: none;
}

.word-row {
  font-size: clamp(2rem, 6.2vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.94;
  white-space: nowrap;
  color: var(--ink);
  will-change: transform, opacity;
}

.word-row.outline {
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(10, 11, 13, 0.42);
}

.glass-aperture {
  position: relative;
  z-index: 15;
  width: min(90vw, 1080px);
  height: auto;
  min-height: min(64vh, 500px);
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 36px 34px;
  will-change: transform;
}

.aperture-surface {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(244, 247, 251, 0.62) 50%, rgba(255, 255, 255, 0.86) 100%);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 40px 100px -28px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(10, 11, 13, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 1);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}

.caustic {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
}

.caustic-a {
  width: 440px;
  height: 440px;
  top: -150px;
  left: -80px;
  background: radial-gradient(circle, rgba(219, 234, 254, 0.85), transparent 68%);
}

.caustic-b {
  width: 400px;
  height: 400px;
  bottom: -140px;
  right: -60px;
  background: radial-gradient(circle, rgba(226, 232, 240, 0.9), transparent 68%);
}

.glass-glint {
  position: absolute;
  top: -30%;
  left: -40%;
  width: 45%;
  height: 180%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.75) 50%, transparent 100%);
  transform: rotate(22deg);
  pointer-events: none;
}

.aperture-top {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  opacity: 0;
}

.model-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--hairline);
  font-size: 11px;
  font-weight: 600;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.car-stage {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.car-stage img {
  max-height: clamp(165px, 27vh, 240px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 26px rgba(15, 23, 42, 0.14));
}

.hud-chip {
  position: absolute;
  z-index: 6;
  padding: 11px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px -14px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(10, 11, 13, 0.05);
  backdrop-filter: blur(18px);
  opacity: 0;
}

.hud-chip small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.hud-chip strong {
  font-size: 14px;
  font-weight: 600;
}

.chip-1 { top: 10%; left: 2%; }
.chip-2 { top: 8%; right: 3%; }
.chip-3 { bottom: 6%; left: 5%; }

.aperture-bottom {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  opacity: 0;
}

.aperture-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.aperture-copy h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 3px;
}

.aperture-copy p {
  font-size: 13px;
  color: var(--muted);
}

.cta-pill {
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.3s var(--ease);
}

.cta-pill:hover {
  transform: scale(1.04);
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.4s ease;
}

.cue-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--ink), transparent);
  animation: cuePulse 1.8s ease-in-out infinite;
}

@keyframes cuePulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ==========================================================================
   02. SCROLL-DRIVEN HORIZONTAL FLEET GALLERY (User File 02)
   ========================================================================== */
.horizontal-runway {
  position: relative;
  height: 480vh;
  background: #ffffff;
}

.sticky-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 96px 0 32px;
  background: #ffffff;
}

.center-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 234, 254, 0.52) 0%, rgba(226, 232, 240, 0.35) 45%, transparent 72%);
  filter: blur(70px);
  pointer-events: none;
}

.gallery-header {
  position: relative;
  z-index: 5;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.gallery-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-arrows {
  display: inline-flex;
  gap: 6px;
}

.arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}

.arrow-btn:hover {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.gallery-stock-btn {
  white-space: nowrap;
}

.gallery-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.gallery-header h2 span {
  font-weight: 300;
  color: #8b929c;
}

.counter-readout {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  white-space: nowrap;
}

.track-stage {
  position: relative;
  z-index: 4;
  flex: 1;
  min-height: 0;
  padding: 12px 0;
  display: flex;
  align-items: center;
  perspective: 1200px;
}

.fleet-track {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-left: 25vw;
  padding-right: 25vw;
  will-change: transform;
}

.v-card {
  position: relative;
  flex: 0 0 min(44vw, 520px);
  height: auto;
  min-height: 360px;
  max-height: calc(100vh - 260px);
  border-radius: 30px;
  padding: 24px 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 64px -22px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(10, 11, 13, 0.06);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  will-change: transform, filter, opacity;
  cursor: pointer;
}

.v-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.75) 50%, transparent 70%);
  transform: translateX(var(--sheen, -100%));
  pointer-events: none;
}

.v-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.v-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.v-rate {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.05);
  font-size: 12px;
  font-weight: 600;
}

.v-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.v-visual img {
  max-height: clamp(120px, 20vh, 165px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(15, 23, 42, 0.13));
}

.v-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.v-bottom h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 3px;
}

.v-bottom p {
  font-size: 12px;
  color: var(--muted);
}

.v-specs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.v-order-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.gallery-footer {
  position: relative;
  z-index: 5;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  gap: 20px;
}

.scrub-rail {
  flex: 1;
  height: 2px;
  background: rgba(10, 11, 13, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.scrub-fill {
  height: 100%;
  width: 0%;
  background: var(--ink);
}

.velocity-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 140px;
  text-align: right;
}

/* ==========================================================================
   03. 3D DEPTH-STACKING FROSTED GLASS DECK (User File 03)
   ========================================================================== */
.stack-section {
  position: relative;
  padding: 96px 5vw 130px;
  background: #ffffff;
}

.stack-intro {
  max-width: 1120px;
  margin: 0 auto 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.stack-intro h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.stack-intro h2 span {
  font-weight: 300;
  color: #8b929c;
}

.stack-intro p {
  max-width: 380px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.deck-container {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28vh;
  perspective: 1400px;
}

.glass-layer {
  position: sticky;
  top: 12vh;
  min-height: 62vh;
  border-radius: 34px;
  padding: 44px 48px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.88) 0%, rgba(246, 249, 252, 0.74) 100%);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 80px -24px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(10, 11, 13, 0.065);
  backdrop-filter: blur(28px) saturate(140%);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  overflow: hidden;
  transform-origin: center top;
  will-change: transform, filter, opacity;
}

.layer-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
}

.g-1 { background: radial-gradient(circle, rgba(219, 234, 254, 0.7), transparent 70%); }
.g-2 { background: radial-gradient(circle, rgba(226, 232, 240, 0.85), transparent 70%); }
.g-3 { background: radial-gradient(circle, rgba(224, 242, 254, 0.7), transparent 70%); }
.g-4 { background: radial-gradient(circle, rgba(237, 233, 254, 0.65), transparent 70%); }

.layer-content {
  position: relative;
  z-index: 2;
}

.layer-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.045);
  margin-bottom: 20px;
}

.layer-content h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 14px;
}

.layer-content p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 26px;
}

.layer-meta {
  display: flex;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.meta-item strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
}

.meta-item span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-frame {
  position: relative;
  z-index: 2;
  height: 270px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(10, 11, 13, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ==========================================================================
   New Stack Animations (Route Dispatch, 3D Pass Stack, Clarity Matrix)
   ========================================================================== */
.route-anim-box {
  width: 82%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.route-nodes {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.route-node-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.06);
}

.route-line-track {
  position: relative;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.1);
}

.route-line-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ink), var(--accent-crimson));
  animation: routeFill 3.2s var(--ease) infinite;
}

.route-glider {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(10, 11, 13, 0.25);
  transform: translate(-50%, -50%);
  animation: routeGlide 3.2s var(--ease) infinite;
}

@keyframes routeFill {
  0% { width: 12%; }
  65% { width: 92%; }
  100% { width: 12%; }
}

@keyframes routeGlide {
  0% { left: 12%; }
  65% { left: 92%; }
  100% { left: 12%; }
}

.route-eta-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
}

/* 02: Floating 3D Glass Pass Stack */
.float-pass-stack {
  position: relative;
  width: 220px;
  height: 145px;
  perspective: 900px;
}

.mini-pass-back,
.mini-pass-front {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px -12px rgba(15, 23, 42, 0.16);
}

.mini-pass-back {
  background: rgba(226, 232, 240, 0.65);
  transform: translate(12px, -12px) rotate(-4deg);
  animation: passFloatBack 4s ease-in-out infinite alternate;
}

.mini-pass-front {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.85));
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: passFloatFront 4s ease-in-out infinite alternate;
}

@keyframes passFloatBack {
  0% { transform: translate(12px, -12px) rotate(-4deg); }
  100% { transform: translate(18px, -18px) rotate(-6deg); }
}

@keyframes passFloatFront {
  0% { transform: translateY(0px) rotateX(4deg); }
  100% { transform: translateY(-8px) rotateX(-2deg); }
}

.mp-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.mp-status {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #047857;
}

.mp-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mp-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.08);
  position: relative;
  overflow: hidden;
}

.mp-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 55%;
  background: var(--ink);
  border-radius: 999px;
  animation: mpSlide 2.6s var(--ease) infinite alternate;
}

@keyframes mpSlide {
  0% { transform: translateX(0%); }
  100% { transform: translateX(85%); }
}

/* 04: Transparent Payment & Fuel Matrix */
.clarity-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 84%;
}

.c-tile {
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  animation: tilePulse 4s ease-in-out infinite;
}

.c-tile--1 { animation-delay: 0s; }
.c-tile--2 { animation-delay: 1s; }
.c-tile--3 { animation-delay: 2s; }
.c-tile--4 { animation-delay: 3s; }

@keyframes tilePulse {
  0%, 100% { transform: scale(1); border-color: var(--line); background: rgba(255, 255, 255, 0.85); }
  25% { transform: scale(1.04); border-color: var(--ink); background: var(--ink); color: #ffffff; }
  50% { transform: scale(1); border-color: var(--line); background: rgba(255, 255, 255, 0.85); color: var(--ink); }
}

/* ==========================================================================
   Dismissible Slide-Over Order Panel Drawer & Contact Form
   ========================================================================== */
.order-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s ease;
}

.order-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.order-drawer-panel {
  width: min(100vw, 480px);
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2.25rem;
  border-radius: 28px 0 0 28px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}

.order-drawer-panel > * {
  flex-shrink: 0;
}

.order-drawer-backdrop.is-open .order-drawer-panel {
  transform: translateX(0);
}

.od-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.od-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 11, 13, 0.06);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.od-close-btn:hover {
  background: var(--ink);
  color: #ffffff;
}

.od-car-stage {
  height: 112px;
  border-radius: 20px;
  background: rgba(241, 245, 249, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
}

.od-car-stage img {
  max-height: 98px;
  width: auto;
  object-fit: contain;
}

.od-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form-card {
  border-radius: 28px;
  padding: 1.85rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.contact-hubs-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.c-field--full {
  grid-column: 1 / -1;
}

.c-field label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-slip {
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(5, 150, 105, 0.35);
  color: #065f46;
  font-size: 0.84rem;
}

.bars-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 110px;
}

.bar-line {
  width: 4px;
  border-radius: 999px;
  background: var(--ink);
  animation: eqBar 1.6s ease-in-out infinite alternate;
}

@keyframes eqBar {
  0% { height: 20px; opacity: 0.25; }
  100% { height: 96px; opacity: 0.9; }
}

.shield-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 1px dashed rgba(10, 11, 13, 0.28);
  animation: spin 18s linear infinite;
}

.shield-core {
  position: absolute;
  font-size: 28px;
  font-weight: 600;
}

/* ==========================================================================
   04. ORDER PAGE 3D GLASS KEY CARD & SLIDE-TO-CONFIRM (User File 04)
   ========================================================================== */
.checkout-section {
  position: relative;
  min-height: 100vh;
  padding: 112px 5vw 90px;
  overflow: hidden;
}

.checkout-grid {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.group {
  margin-bottom: 28px;
}

.group-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.fleet-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fleet-opt {
  padding: 16px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.32s var(--ease);
  text-align: left;
}

.fleet-opt:hover {
  transform: translateY(-3px);
  border-color: rgba(10, 11, 13, 0.24);
}

.fleet-opt.active {
  border-color: var(--ink);
  box-shadow: 0 18px 36px -16px rgba(15, 23, 42, 0.16), 0 0 0 1px var(--ink);
}

.fleet-opt strong { display: block; font-size: 13px; margin-bottom: 2px; }
.fleet-opt small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.fleet-opt span { font-size: 14px; font-weight: 700; }

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

.day-btn {
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.28s var(--ease);
}

.day-btn:hover { border-color: rgba(10, 11, 13, 0.3); color: var(--ink); }
.day-btn.active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

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

.chip-toggle {
  padding: 16px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.78);
  border: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.32s var(--ease);
}

.chip-toggle.active {
  background: #ffffff;
  border-color: var(--ink);
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, 0.14);
}

.chip-toggle b { display: block; font-size: 13px; margin-bottom: 2px; }
.chip-toggle small { font-size: 11px; color: var(--muted); }

.chip-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 11, 13, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
}

.chip-toggle.active .chip-check {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.order-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.glass-input,
.glass-select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  outline: none;
  transition: border-color 0.25s ease;
}

.glass-input:focus,
.glass-select:focus {
  border-color: var(--ink);
}

.pass-stage {
  position: sticky;
  top: 94px;
  perspective: 1200px;
}

.glass-pass {
  position: relative;
  border-radius: 32px;
  padding: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(241, 245, 249, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 80px -24px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(10, 11, 13, 0.06);
  backdrop-filter: blur(28px) saturate(140%);
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
  overflow: hidden;
}

.glass-pass::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, 0.92), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glass-pass:hover::before {
  opacity: 1;
}

.pass-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  transform: translateZ(18px);
}

.pass-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.pass-code {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.05);
}

.pass-car-preview {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transform: translateZ(22px);
}

.pass-car-preview img {
  max-height: 115px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(15, 23, 42, 0.13));
}

.pass-vehicle {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  transform: translateZ(26px);
}

.pass-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pass-rows {
  border-top: 1px dashed rgba(10, 11, 13, 0.14);
  border-bottom: 1px dashed rgba(10, 11, 13, 0.14);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.p-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.p-row strong {
  color: var(--ink);
  font-weight: 600;
}

.total-display {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 22px;
}

.total-display span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.total-num {
  font-size: clamp(1.45rem, 5.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.slide-track {
  position: relative;
  height: 58px;
  min-height: 58px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.06);
  border: 1px solid rgba(10, 11, 13, 0.08);
  padding: 4px;
  display: flex;
  align-items: center;
  user-select: none;
  overflow: hidden;
  transform: translateZ(30px);
}

.slide-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--ink);
  border-radius: 999px;
  pointer-events: none;
}

.slide-label {
  width: 100%;
  padding-left: 44px;
  padding-right: 14px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

.slide-knob {
  position: absolute;
  left: 4px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  box-shadow: 0 8px 20px rgba(10, 11, 13, 0.28);
  z-index: 3;
}

.slide-track.confirmed .slide-fill { width: 100% !important; background: #059669; transition: all 0.45s var(--ease); }
.slide-track.confirmed .slide-knob { background: #ffffff; color: #059669; }
.slide-track.confirmed .slide-label { color: #ffffff; opacity: 1 !important; z-index: 2; }

/* ==========================================================================
   Fleet Page, Services Page, About & Contact Pages
   ========================================================================== */
.stock-toolbar {
  border-radius: 24px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.filter-chip {
  padding: 0.48rem 0.92rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(10, 11, 13, 0.045);
  transition: all 0.25s var(--ease);
}

.filter-chip.is-active {
  background: var(--ink);
  color: #ffffff;
}

.segmented-glass {
  display: inline-flex;
  padding: 0.22rem;
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.055);
}

.seg-btn {
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.seg-btn.is-active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(10, 11, 13, 0.08);
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1.35rem;
}

.stock-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.stock-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.11);
}

.stock-card-stage {
  position: relative;
  height: 170px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.75), rgba(241, 245, 249, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  overflow: hidden;
}

.stock-circle-halo {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  transition: transform 0.45s var(--ease);
}

.stock-card:hover .stock-circle-halo {
  transform: scale(1.12);
}

.stock-card-stage img {
  position: relative;
  z-index: 1;
  max-height: 135px;
  width: auto;
  object-fit: contain;
}

.stock-card-tag {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stock-specs {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
}

.stock-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stock-list-wrap {
  border-radius: 26px;
  overflow-x: auto;
}

.stock-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 780px;
}

.stock-table th,
.stock-table td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
}

.stock-table th {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.table-thumb {
  width: 70px;
  height: 44px;
  object-fit: contain;
}

/* Services Hub & Inline Service Detail Panel */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
}

.service-card {
  border-radius: 26px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card.is-selected {
  border-color: var(--ink);
  box-shadow: 0 22px 48px -18px rgba(15, 23, 42, 0.16), 0 0 0 1px var(--ink);
}

.service-detail-panel {
  border-radius: 32px;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  margin-bottom: 2.25rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.15rem 0 1.65rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.service-bullets li::before {
  content: '✓ ';
  font-weight: 700;
  color: #059669;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.route-card {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
  transition: transform 0.25s var(--ease), border-color 0.25s ease;
}

.route-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .nav-pills,
  .nav-city-tag {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .checkout-grid,
  .glass-layer,
  .service-detail-panel,
  .contact-layout,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .fleet-pills,
  .addon-chips,
  .order-inputs-grid {
    grid-template-columns: 1fr;
  }
  .pass-stage {
    position: relative;
    top: 0;
  }
  .sticky-viewport {
    padding: 92px 0 28px;
    gap: 18px;
  }
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .gallery-actions-row {
    width: 100%;
    justify-content: space-between;
  }
  .v-card {
    flex: 0 0 84vw;
    min-height: 0;
    max-height: calc(100vh - 285px);
    padding: 18px 20px;
    gap: 8px;
  }
  .v-visual img {
    max-height: 120px;
  }
  .v-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 10px;
  }
  .v-bottom h3 {
    font-size: 17px;
  }
  .v-specs {
    width: 100%;
    justify-content: space-between;
  }
  .fleet-track {
    padding-left: 8vw;
    padding-right: 8vw;
    gap: 18px;
  }
  .hud-chip {
    display: none;
  }
}

@media (max-width: 600px) {
  .stage {
    padding: 82px 0 42px;
  }
  .glass-aperture {
    padding: 20px 18px 28px;
    gap: 14px;
    height: auto;
    min-height: auto;
  }
  .car-stage img {
    max-height: 155px;
  }
  .aperture-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .aperture-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding-top: 8px;
  }
  .aperture-copy h1 {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 6px;
  }
  .aperture-cta-group {
    display: flex;
    gap: 8px;
    width: 100%;
  }
  .newsletter-input {
    width: 100%;
  }
  .order-drawer-panel {
    width: 100vw;
    border-radius: 0;
  }
}
