/* ===================================================================
   DAEHAN NRW AUTOS — Design System
   Primary: #152342 | Accent: #f0c541 | Font: Inter
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Core Colors */
  --color-primary: #152342;
  --color-primary-dark: #0c1829;
  --color-primary-light: #1e3461;
  --color-primary-mid: #243d74;
  /* --color-accent: #f0c541;
  --color-accent-dark: #d4a82e;
  --color-accent-light: #f5d468; */
  --color-accent: #efc855;
  --color-accent-dark: #d2aa3e;
  --color-accent-light: #f6d876;

  /* Metallic gradient (dark navy base) */
  --gradient-primary: linear-gradient(135deg, #0c1829 0%, #152342 35%, #1e3461 65%, #152342 100%);
  --gradient-metallic: linear-gradient(135deg, #0d1b30 0%, #1a2d50 25%, #243d74 50%, #1a2d50 75%, #0d1b30 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 50%, var(--color-accent-light) 100%);
  --gradient-hero: linear-gradient(160deg, #070f1d 0%, #0e1f3b 40%, #152342 70%, #1a2d50 100%);
  --gradient-card-hover: linear-gradient(135deg, rgba(240, 197, 65, 0.08) 0%, rgba(21, 35, 66, 0.04) 100%);

  /* Neutrals */
  --color-white: #ffffff;
  --color-off-white: #f8f9fc;
  --color-bg: #f4f6fb;
  --color-border: #e2e7f0;
  --color-border-light: #edf0f7;
  --color-text: #1a1f2e;
  --color-text-secondary: #4a5068;
  --color-text-muted: #7a8099;
  --color-placeholder: #a0a8be;

  /* Status */
  --color-success: #16a34a;
  --color-error: #dc2626;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-2xs: 0.75rem;
  --font-size-xs: 0.8rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 2.75rem;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --line-height-tight: 1.2;
  --line-height-snug: 1.4;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.75;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(21, 35, 66, 0.08), 0 1px 2px rgba(21, 35, 66, 0.06);
  --shadow-md: 0 4px 16px rgba(21, 35, 66, 0.10), 0 2px 6px rgba(21, 35, 66, 0.06);
  --shadow-lg: 0 10px 40px rgba(21, 35, 66, 0.14), 0 4px 16px rgba(21, 35, 66, 0.08);
  --shadow-xl: 0 20px 60px rgba(21, 35, 66, 0.18), 0 8px 24px rgba(21, 35, 66, 0.10);
  --shadow-accent: 0 4px 20px rgba(240, 197, 65, 0.30);
  --shadow-card-hover: 0 12px 40px rgba(21, 35, 66, 0.16), 0 4px 16px rgba(21, 35, 66, 0.10);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1280px;
  --container-pad: var(--space-3xl);
  --nav-height: 60px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-x: contain !important;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  overscroll-behavior-x: contain !important;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

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

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  /* max-width: var(--container-max); */
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-4xl);
}


.section--alt {
  /* background-color: var(--color-white); */
  background-color: var(--color-off-white);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__label {
  display: inline-block;
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: rgba(240, 197, 65, 0.12);
  border: 1px solid rgba(240, 197, 65, 0.3);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
}

.section__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 90%;
  margin: 0 auto;
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-primary);
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

.text-sm {
  font-size: var(--font-size-sm);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-accent {
  color: var(--color-accent-dark);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  /* background: var(--gradient-metallic); */
  background: white;
  border-bottom: 1px solid rgba(240, 197, 65, 0.15);
  /* box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25); */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25); */
  box-shadow: 0 0px 8px rgba(0, 0, 0, 0.3);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  /* align-items: flex-end; */
  gap: var(--space-sm);
  text-decoration: none;
}

.navbar__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  box-shadow: var(--shadow-accent);
  flex-shrink: 0;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}



.navbar__logo-name {
  font-size: var(--font-size-lg);
  /* font-weight: var(--font-weight-medium); */
  color: var(--color-primary);
  /* letter-spacing: -0.02em; */
  /* font-stretch: 50%; */
  /* transform: scaleX(0.85);
  transform: scaleY(1.2); */
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.navbar__logo-sub {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.navbar__link {
  /* color: rgba(255, 255, 255, 0.82); */
  color: black;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-align: center;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
  position: relative;
}

.navbar__link:hover,
.navbar__link--active {
  /* color: var(--color-white); */
  color: black;
  /* background: rgba(255, 255, 255, 0.1); */
  background: var(--color-border-light);
}

.navbar__link--active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  /* background: rgba(255, 255, 255, 0.08); */
  /* background: rgba(0, 0, 0, 0.08); */
  /* border: 1px solid rgba(255, 255, 255, 0.12); */
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-full);
  /* border-radius: var(--radius-sm); */
  padding: 3px;
}

.lang-switcher__btn {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  /* border-radius: var(--radius-sm); */
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-semibold);
  /* color: rgba(255, 255, 255, 0.65); */
  color: black;
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.04em;
}

.lang-switcher__btn:hover {
  /* color: var(--color-white); */
  color: black;
  /* background: rgba(255, 255, 255, 0.1); */
  background: rgba(0, 0, 0, 0.1);
}

.lang-switcher__btn--active {
  background: var(--gradient-accent) !important;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(240, 197, 65, 0.4);
  cursor: default;
}

/* Mobile nav toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.navbar__toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.navbar__toggle span {
  display: block;
  height: 2px;
  /* background: var(--color-white); */
  background: black;
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.navbar__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle--open span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.navbar__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--color-off-white);
  border-bottom: 1px solid rgba(240, 197, 65, 0.15);
  padding: var(--space-md) var(--space-xl);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  flex-direction: column;
  gap: var(--space-xs);
  z-index: 999;
}

.navbar__mobile.open {
  display: flex;
}

.navbar__mobile .navbar__link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-md);
}

.navbar__mobile .lang-switcher {
  margin-top: var(--space-sm);
  justify-content: center;
}

/* ===== PAGE OFFSET (for fixed nav) ===== */
.page-content {
  padding-top: var(--nav-height);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-accent);
  color: var(--color-primary);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(240, 197, 65, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 197, 65, 0.45);
  filter: brightness(1.05);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn--outline {
  /* background: transparent; */
  background: white;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--outline-accent {
  background: transparent;
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}

.btn--outline-accent:hover {
  background: var(--gradient-accent);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.btn--ghost {
  /* background: rgba(21, 35, 66, 0.06); */
  background-color: var(--color-off-white);
  color: var(--color-primary);
  /* border-color: var(--color-border); */
  border-color: rgba(21, 35, 66, 0.1);
}

.btn--ghost:hover {
  background: rgba(21, 35, 66, 0.1);
  border-color: var(--color-primary);
}

.btn--sm {
  padding: 8px 18px;
  font-size: var(--font-size-sm);
}

.btn--md {
  padding: 12px 30px;
  font-size: var(--font-size-md);
}

.btn--lg {
  padding: 16px 40px;
  font-size: var(--font-size-lg);
}

.btn--icon {
  padding: 10px;
  border-radius: var(--radius-md);
}

/* ===== CARDS ===== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--color-border);
}

.card__body {
  padding: var(--space-lg);
}

.card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

/* ===== BADGE / CHIP ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-semibold);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge--primary {
  background: rgba(21, 35, 66, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(21, 35, 66, 0.15);
}

.badge--accent {
  background: rgba(240, 197, 65, 0.3);
  color: #8a6800;
  border: 1px solid rgba(240, 197, 65, 0.35);
}

.badge--success {
  background: rgba(22, 163, 74, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  /* height: 90vh; */
  display: flex;
  /* flex-direction: column; */
  align-items: stretch;
  background: var(--gradient-metallic);
  overflow: hidden;
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(36, 61, 116, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(240, 197, 65, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle animated shimmer lines */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(-45deg,
      transparent,
      transparent 120px,
      rgba(255, 255, 255, 0.015) 120px,
      rgba(255, 255, 255, 0.015) 121px);
  pointer-events: none;
}


.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  /* max-width: 760px; */
  max-width: 820px;
  margin-top: var(--nav-height);
}

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero__tagline::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.hero__headline {
  font-size: clamp(2.2rem, 5vw, var(--font-size-4xl));
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xl);
}

.hero__headline span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  /* flex-grow: 0.5; */
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--line-height-relaxed);
  max-width: 580px;
  padding: auto 0;
  margin-bottom: var(--space-xl);
}

.hero__cta-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.hero__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  /* flex-grow: 1; */
  /* margin-bottom: var(--space-4xl); */
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-2xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounceDown 2s ease-in-out infinite;
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* Featured carousel */
#featured-container {
  /* margin-top: var(--space-xl); */
}



.newest__header {
  /* text-align: center; */
  font-size: var(--font-size-4xl);
  padding-left: var(--space-2xl);
  /* margin: var(--space-2xl) 0 var(--space-2xl); */
}

/* Page-level carousel arrow wrapper (prev/next) */
.carousel {
  position: relative;
}

.carousel > .carousel-btn {
  /* Page arrows sit above the cards (cards have hover shadow z-index) */
  z-index: 3;
}

.carousel > .carousel-btn:hover {
  opacity: 1;
}

.carousel > .carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ===== NEW ARRIVALS CAROUSEL ===== */
.carousel-container {
  overflow-x: auto;
  /* overflow-y: hidden; */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
  /* padding-bottom: var(--space-sm); */
  /* Hide scrollbar on Firefox */
  scrollbar-width: none;
}

/* Hide scrollbar on WebKit */
.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: var(--space-xl);
  scroll-snap-type: x mandatory;
  margin-left: var(--space-xl);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
}

.carousel-track > .vehicle-card, .carousel-track > .skeleton {
  flex: 0 0 calc((90% - 2 * var(--space-xl)) / 3);
  min-width: 0;
  scroll-snap-align: start;
}

/* Show 3 cards on large screens (≥ 1100px) — default from flex basis above */
/* Show 2 cards on tablet (768px – 1099px) */
@media (max-width: 1099px) {
  .carousel-track > .vehicle-card, .carousel-track > .skeleton {
    flex: 0 0 calc((90% - var(--space-xl)) / 2);
  }
}

/* Show 1 card on mobile (≤ 767px) */
@media (max-width: 767px) {
  .carousel-track > .vehicle-card, .carousel-track > .skeleton {
    flex: 0 0 85%;
  }

  .carousel-track {
    gap: var(--space-md);
  }
}

/* ===== VEHICLE CARD (Inventory + Homepage) ===== */
.vehicle-card, .skeleton {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(21, 35, 66, 0.15);
}

/* Image carousel */
.vehicle-card__carousel {
  position: relative;
  overflow: hidden;
  background: var(--color-border);
  aspect-ratio: 16/10;
  flex-shrink: 0;
}

.vehicle-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--transition-slow);
  cursor: pointer;
}

.vehicle-card__img.active {
  opacity: 1;
}

.vehicle-card__img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 2rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  /* border-radius: 20%; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.5;
}

.vehicle-card:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}

.carousel-btn--prev {
  left: var(--space-sm);
}

.carousel-btn--next {
  right: var(--space-sm);
}

.carousel-dots {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.carousel-dot.active {
  background: var(--color-white);
  transform: scale(1.3);
}

/* Featured badge */
/* .vehicle-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  z-index: 2;
} */

/* Card body */
.vehicle-card__body {
  padding: var(--space-sm) var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
}

.vehicle-card__make-model {
  line-height: calc(2*var(--line-height-snug)*var(--font-size-lg));
  min-height: calc(2*var(--line-height-snug)*var(--font-size-lg));
}
.vehicle-card__make-model > :is(h3,h2) {
  display: inline-block !important;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: var(--line-height-snug);
  vertical-align: middle;
}

.vehicle-card__make-model > h2 {
  font-size: var(--font-size-xl);
}



.vehicle-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.vehicle-card__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.vehicle-card__meta-item svg,
.vehicle-card__meta-item .icon {
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.vehicle-card__price {

  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.vehicle-card__price span {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  margin-left: 4px;
}

.vehicle-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.vehicle-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vehicle-card__footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-border-light);
  background: var(--color-off-white);
}

/* ===== INVENTORY LAYOUT (list view) ===== */
.inventory-card {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: grid;
  grid-template-columns: 440px 1fr;
  
  grid-template-columns: minmax(440px,1fr) 1fr;
}

.inventory-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.inventory-card__carousel {
  position: relative;
  overflow: hidden;
  background: var(--color-border);
  aspect-ratio: unset;
}

.inventory-card__carousel .vehicle-card__img {
  height: 100%;
}

.inventory-card__body {
  padding: var(--space-md) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
}

/* ===== FILTER PANEL ===== */
.filter-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  /* border-radius: var(--radius-xl); */
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.filter-panel__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

.filter-group {
  margin-bottom: var(--space-lg);
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  background: var(--color-off-white);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(21, 35, 66, 0.08);
}

.filter-select-wrapper {
  position: relative;
}

.filter-select-wrapper::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  font-size: 0.8rem;
}

.range-inputs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-height: 160px;
  overflow-y: auto;
  padding: var(--space-xs) 0;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
  user-select: none;
}

.filter-checkbox-label:hover {
  background: var(--color-border-light);
  color: var(--color-text);
}

.filter-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  accent-color: var(--color-accent-dark);
  cursor: pointer;
}

.filter-checkbox-list::-webkit-scrollbar {
  width: 5px;
}

.filter-checkbox-list::-webkit-scrollbar-track {
  background: transparent;
}

.filter-checkbox-list::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.filter-checkbox-list::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

.slider-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.slider-label {
  font-size: var(--font-size-2xs);
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

.filter-slider {
  width: 100%;
  height: 6px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.filter-slider::-webkit-slider-runnable-track {
  height: 6px;
  background: var(--color-border);
  border-radius: var(--radius-full);
}

.filter-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent-dark);
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  margin-top: -5px;
  /* Centers thumb on webkit track */
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.filter-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--color-accent);
}

/* Firefox Support */
.filter-slider::-moz-range-track {
  height: 6px;
  background: var(--color-border);
  border-radius: var(--radius-full);
}

.filter-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent-dark);
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
}

.filter-slider::-moz-range-thumb:hover {
  transform: scale(1.15);
  background: var(--color-accent);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 15, 29, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  transition: transform var(--transition-base);
  position: relative;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-text);
  transition: background var(--transition-fast);
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.16);
}

.modal__gallery {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--color-primary-dark);
  overflow: hidden;
  /* border-radius: var(--radius-md) var(--radius-md) 0 0; */
}

.modal__gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.modal__gallery-img.active {
  opacity: 1;
}

.modal__gallery-thumbs {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  overflow-x: auto;
  background: var(--color-primary-dark);
}

.modal__gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.modal__gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.modal__thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-md);
  opacity: 0.6;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: opacity var(--transition-fast), border-color var(--transition-fast);
}

.modal__thumb.active {
  opacity: 1;
  border-color: var(--color-accent);
}

.modal__body {
  padding: var(--space-2xl) var(--space-xl);
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.modal__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
}

.modal__price {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
  white-space: nowrap;
}

.modal__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  background: var(--color-off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-light);
}

.modal__spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal__spec-label {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal__spec-value {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
}

.modal__section-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-border);
}

.modal__features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(21, 35, 66, 0.06);
  /* border: 1px solid rgba(21, 35, 66, 0.12); */
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
}

.feature-tag i {
  font-size: 0.75rem;
  color: var(--color-success);
  font-weight: var(--font-weight-bold);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: var(--space-xl);
  width: 80%;
  margin: 0 auto;
}

.service-card {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: var(--space-xl) var(--space-2xl);
  text-align: center;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.service-card__icon {
  min-width: 64px;
  height: 64px;
  background: var(--gradient-hero);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 6px 20px rgba(21, 35, 66, 0.2);
}

.service-card__content {
  text-align: start;
}

.service-card__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.service-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ===== ABOUT PAGE ===== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.value-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-accent);
}

.value-card__number {
  font-size: 3rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-border);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.value-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.value-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.office-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* .office-card::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
} */

.office-card__flag {
  color: rgba(255, 255, 255, 0.72);
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.office-card__country {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.office-card__detail {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--line-height-relaxed);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  /* grid-template-columns: 1fr 1.3fr; */
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  max-width: 1200px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-hero);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.contact-item__label {
  font-size: var(--font-size-2xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-item__value {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-xs);
}

.contact-item__value a {
  color: inherit;
  transition: color var(--transition-fast);
}

.contact-item__value a:hover {
  color: var(--color-primary-light);
}

.contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ===== FORMS ===== */
.form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
}

.form__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}


.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.form-required {
  color: var(--color-error);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-md);
  color: var(--color-text);
  background: var(--color-off-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(21, 35, 66, 0.1);
  background: var(--color-white);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-placeholder);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  margin-bottom: var(--space-lg);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8099' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  display: none;
}

.form-alert--success {
  background: rgba(22, 163, 74, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.form-alert--error {
  background: rgba(220, 38, 38, 0.08);
  color: var(--color-error);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.form-alert.show {
  display: block;
}

/* ===== VEHICLE REQUEST SECTION ===== */
.vehicle-request {
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

/* .vehicle-request::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(240, 197, 65, 0.06);
  border-radius: 50%;
}

.vehicle-request::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
} */

.vehicle-request__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-3xl);
  align-items: start;
}

.vehicle-request__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  /* color: var(--color-white); */
  margin-bottom: var(--space-md);
  line-height: var(--line-height-snug);
}

.vehicle-request__sub {
  font-size: var(--font-size-lg);
  /* color: rgba(255, 255, 255, 0.72); */
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-xl);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gradient-metallic);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(240, 197, 65, 0.12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.footer__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: var(--font-weight-extrabold);
  color: var(--color-primary);
}

.footer__logo-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
}

.footer__tagline {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--line-height-relaxed);
}

.footer__col-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-sm);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copyright {
  font-size: var(--font-size-2xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  font-size: var(--font-size-2xs);
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--color-accent);
}

/* ===== INVENTORY PAGE LAYOUT ===== */
.inventory-page {
  padding: var(--space-xl) 0;
}

.inventory-header {
  margin-bottom: var(--space-xl);
}

.inventory-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-white);
  /* border-radius: var(--radius-xl); */
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.inventory-count {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
}

.inventory-count span {
  font-weight: var(--font-weight-extrabold);
  font-size: var(--font-size-xl);
}

.inventory-buttons {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
}

.toolbar-right {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: var(--space-md);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.sort-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.sort-select, #filter-toggle {
  padding: 12px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  background: var(--color-off-white);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.sort-select {
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8099' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.sort-select:focus {
  outline: none;
  border-color: var(--color-primary-light);
}

.inventory-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.inventory-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.inventory-empty {
  text-align: center;
  padding: var(--space-4xl);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px dashed var(--color-border);
  color: var(--color-text-muted);
}

.inventory-empty__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.inventory-empty__text {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
}

/* Mobile filter drawer */
.filter-toggle-bar {
  display: none;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--gradient-primary);
  padding-top: var(--nav-height);
  padding-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg,
      transparent,
      transparent 100px,
      rgba(255, 255, 255, 0.02) 100px,
      rgba(255, 255, 255, 0.02) 101px);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.page-hero__sub {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-sm);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb strong {
  color: var(--color-accent);
}

/* ===== LOADING SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, var(--color-border) 25%, var(--color-border-light) 50%, var(--color-border) 75%);
  background-size: 200% 100%;
  animation: skeleton-load 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-load {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

/* ===== UTILITY CLASSES ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center {
  text-align: center;
}

.flex-col-center {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-md);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mt-3xl {
  margin-top: var(--space-3xl);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.w-full {
  width: 100%;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-xl) 0;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  /* .services-grid {
    grid-template-rows: repeat(4, 1fr);
  } */

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .inventory-layout {
    grid-template-columns: 240px 1fr;
  }

  /* .inventory-card {
    grid-template-columns: 300px 1fr;
  } */

  .inventory-card {
    grid-template-columns: 1fr;
  }

  .inventory-card__carousel {
    aspect-ratio: 16/10;
  }

  .vehicle-request__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --container-pad: var(--space-2xl);
    /* --space-4xl: 4rem; */
  }

  .navbar__nav,
  .navbar__right {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__logo-name {
    font-size: var(--font-size-lg);
  }

  .section__title {
    font-size: var(--font-size-3xl);
  }

  .hero__headline {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .offices-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .modal {
    border-radius: var(--radius-xl);
  }

  .modal__specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .inventory-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    display: none;
    padding: var(--space-lg);
  }

  .filter-panel.open {
    display: block;
  }

  .filter-toggle-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-bottom: var(--space-md); */
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero__ctas {
    flex-direction: column;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  .hero__cta-container {
    margin: 0 auto;
  }


  .services-grid {
    width: 90%;
  }


  .story-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }


  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .form {
    padding: var(--space-2xl) var(--space-xl);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .inventory-toolbar {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
  }

  .inventory-buttons {
    width: 100%;
  }

  .toolbar-right {
    /* width: 100%; */
    justify-content: space-between;
  }

  .modal__header {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .modal__body {
    padding: var(--space-lg);
  }

  .vehicle-request {
    padding: var(--space-xl);
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: var(--space-md);
    /* --space-4xl: 5rem; */
  }

  html {
    font-size: 14px;
  }

  .section__title {
    font-size: var(--font-size-2xl);
  }

  /* .hero {
    min-height: 90svh;
  } */

  .hero__headline {
    /* font-size: clamp(1.5rem, 6vw, 1rem); */
    font-size: var(--font-size-3xl);
  }

  /* .hero__sub {
    margin-bottom: var(--space-lg);
  } */


  /* .services-grid {
    grid-template-columns: 1fr;
  } */


  .service-card {
    flex-direction: column;
  }


  .modal__specs {
    grid-template-columns: 1fr 1fr;
  }

  .modal__gallery-thumbs {
    padding: var(--space-sm);
  }



  .navbar__logo-sub {
    display: none;
  }
}