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

:root {
  /* Brand Colors - Premium Refined */
  --red: #d62828;
  --red-dark: #b91c1c;
  --red-light: #f87171;
  --red-glow: rgba(214, 40, 40, 0.08);
  --blue: #1a3a6c;
  --blue-mid: #2355a0;
  --blue-light: #3b82f6;
  --blue-glow: rgba(26, 58, 108, 0.08);
  --blue-pale: #eaf0fa;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --black: #0d0d0d;
  --charcoal: #1a1a1a;
  --grey-dark: #2a2a2a;
  --grey-mid: #5a5a5a;
  --grey-light: #9ca3af;
  --grey-bg: #f2f3f5;
  --border: #e5e7eb;
  --border-light: #f0f0f0;
  --success: #16a34a;
  --success-light: #dcfce7;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --error: #dc2626;
  --error-light: #fef2f2;

  /* Light Mode */
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-tertiary: #f2f3f5;
  --text-primary: #0d0d0d;
  --text-secondary: #4b5563;
  --text-tertiary: #9ca3af;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
  --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.14), 0 12px 24px rgba(0, 0, 0, 0.08);
  --shadow-red: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-blue: 0 4px 12px rgba(0, 0, 0, 0.1);

  /* Dark Mode Colors */
  --dark-bg-primary: #0f1419;
  --dark-bg-secondary: #1a1f2e;
  --dark-bg-tertiary: #232938;
  --dark-text-primary: #f0f1f3;
  --dark-text-secondary: #9ca3af;
  --dark-text-tertiary: #6b7280;
  --dark-border-color: #2a2f3f;
  --dark-border-light: #333948;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-5xl: 80px;
  --space-6xl: 96px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full: 999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.25s ease;
  --transition-slow: 0.35s ease;
  --transition-slower: 0.5s ease;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Outfit", "Inter", sans-serif;

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* Other */
  --max-width: 1200px;
  --max-width-wide: 1400px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color var(--transition-slow),
    color var(--transition-slow);
}

body.dark-mode {
  --bg-primary: #0f1419;
  --bg-secondary: #1a1f2e;
  --text-primary: #f0f1f3;
  --text-secondary: #b8bac0;
  --text-tertiary: #6b6f7a;
  --border-color: #2a2f3f;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Outfit", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text-primary);
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Scroll animations */
.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
}

.slide-up {
  animation: slideUp 0.6s ease-out forwards;
  opacity: 0;
}

.slide-down {
  animation: slideDown 0.6s ease-out forwards;
  opacity: 0;
}

.scale-in {
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 48px 0;
}

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

.muted-copy {
  color: var(--grey-mid);
}

.card-copy {
  color: var(--grey-mid);
  font-size: 14px;
  margin-bottom: 18px;
}

.auth-only {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}

.btn-ghost {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  background: var(--border-color);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 20000;
  display: grid;
  place-items: center;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-family: "Outfit", sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
}

.loader-logo span {
  color: var(--red);
}

.loader-bar {
  width: 220px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  margin-top: 14px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 40%;
  height: 100%;
  background: var(--red);
  animation: loaderSlide 1.1s ease-in-out infinite;
}

@keyframes loaderSlide {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(360%);
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: all var(--transition);
}

body.dark-mode .navbar {
  background: rgba(15, 20, 25, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all var(--transition);
}

.nav-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.nav-theme-toggle svg {
  width: 18px;
  height: 18px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--white);
}

.nav-logo-text {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-text span {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active {
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--black);
  padding: 24px;
  z-index: 999;
  border-bottom: 2px solid var(--red);
  flex-direction: column;
  gap: 18px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a,
.mobile-logout {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: none;
  text-align: left;
}

.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.7);
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 16px;
}

.hero-badge {
  background: rgba(214, 40, 40, 0.2);
  border: 1px solid rgba(214, 40, 40, 0.4);
  color: #ff6b6b;
  padding: 6px 14px;
  border-radius: 100px;
}

.hero-badge::before,
.section-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.page-hero h1,
.about-hero h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--red);
}

.hero-sub,
.page-hero p,
.about-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  line-height: 1.7;
}

.hero-actions,
.hero-stats,
.stack-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-num {
  font-family: "Outfit", sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.section-title {
  font-size: clamp(28px, 3.8vw, 44px);
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.7;
}

.features-strip {
  background: var(--blue);
  padding: 48px 0;
}

.features-strip-grid,
.metrics-grid,
.cards-grid,
.policy-grid,
.dashboard-grid,
.support-grid,
.upload-grid {
  display: grid;
  gap: 24px;
}

.features-strip-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-strip-item,
.metric-card,
.info-card,
.policy-card,
.dashboard-card,
.upload-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all var(--transition);
}

.features-strip .feature-strip-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.feature-strip-item:hover,
.metric-card:hover,
.info-card:hover,
.policy-card:hover,
.dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-strip-title,
.metric-title,
.info-card h3,
.dashboard-card h3,
.policy-card h3 {
  font-family: "Outfit", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.features-strip .feature-strip-title {
  color: var(--white);
}

.feature-strip-desc,
.metric-card p,
.info-card p,
.dashboard-card p,
.policy-card p,
.upload-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  opacity: 1;
}

.features-strip .feature-strip-desc {
  color: rgba(255, 255, 255, 0.85);
}

.cars-grid,
.testimonials-grid,
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.car-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.car-card:hover,
.value-card:hover,
.testimonial-card:hover,
.info-card:hover,
.dashboard-card:hover,
.policy-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: var(--red);
}

.car-card-img-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.car-card-watermark {
  color: rgba(255, 255, 255, 0.14);
  font-size: 34px;
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.car-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.car-badge.available {
  background: var(--success);
}

.car-badge.booked {
  background: var(--red);
}

.car-badge.featured {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.car-card-body {
  padding: 24px;
}

.car-card-name {
  font-family: "Outfit", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}

.car-card-spec {
  font-size: 13px;
  color: var(--grey-mid);
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.car-card-spec-item {
  padding: 4px 10px;
  background: var(--grey-bg);
  border-radius: 999px;
}

.car-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}

.car-price-amount {
  font-family: "Outfit", sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--red);
}

.car-price-unit {
  font-size: 13px;
  color: var(--grey-mid);
}

.car-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.process-steps,
.timeline,
.legal-stack,
.status-list,
.activity-list {
  display: grid;
  gap: 18px;
}

.process-steps {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 48px;
}

.process-step,
.value-card,
.testimonial-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.process-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  margin-bottom: 14px;
}

.value-card h4,
.process-step h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 10px;
}

.value-card p,
.process-step p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  opacity: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars span {
  width: 16px;
  height: 16px;
  clip-path: polygon(
    50% 0%,
    61% 36%,
    100% 36%,
    69% 58%,
    80% 100%,
    50% 74%,
    20% 100%,
    31% 58%,
    0% 36%,
    39% 36%
  );
  background: #f59e0b;
}

.testimonial-text {
  font-size: 15px;
  color: var(--grey-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  background: var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 900;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: 12px;
  color: var(--grey-mid);
}

.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
  transition: all var(--transition-slow);
}

body.dark-mode .footer {
  background: #000000;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p,
.footer-links a,
.footer-contact-item,
.footer-legal-links a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-col-title {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-contact-item {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-whatsapp-link {
  color: #25d366;
  font-weight: 600;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 520px;
  width: calc(100% - 48px);
  background: var(--grey-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner h4 {
  font-size: 22px;
  margin-bottom: 10px;
}

.cookie-banner p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}
.cookie-policy-links a { color:inherit; font-weight:600; text-decoration:underline; text-underline-offset:3px; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-pref-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.preference-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.preference-toggle input {
  margin-top: 4px;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease-out;
}

.modal-header,
.modal-footer {
  padding: 24px 28px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0;
}

.modal-body {
  padding: 20px 28px;
}

.modal-close {
  width: 34px;
  height: 34px;
  background: var(--grey-bg);
  border-radius: 50%;
  font-size: 22px;
}

.modal-footer-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.terms-summary-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.terms-summary-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-light);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-family: "Outfit", sans-serif;
  flex-shrink: 0;
}

.terms-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
}

.terms-checkbox-wrap input {
  margin-top: 4px;
}

.alert {
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}

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

.alert-error {
  background: #fef2f2;
  color: var(--red);
  border: 1px solid rgba(214, 40, 40, 0.18);
}
.alert-info { background:#eff6ff; color:#24527a; border:1px solid #7aa7cc55; }
.alert-warning { background:var(--warning-light); color:var(--warning); border:1px solid #d9770640; }
.alert-action { color:inherit; font-weight:700; text-decoration:underline; }

.toast-stack {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 12000;
  display: grid;
  gap: 10px;
}

.toast {
  background: var(--black);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
}
.toast button { margin-left:10px; padding:4px 8px; border:1px solid #fff8; border-radius:4px; background:transparent; color:#fff; cursor:pointer; text-decoration:underline; }

.page-hero,
.about-hero {
  background: var(--black);
  padding: 120px 0 70px;
  color: var(--white);
}

.about-hero {
  background: var(--black);
  text-align: center;
}

.hero-panel,
.content-panel,
.legal-card,
.table-card,
.auth-card,
.map-placeholder,
.status-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.story-grid,
.contact-grid,
.split-layout,
.legal-layout,
.detail-grid,
.auth-grid,
.dashboard-grid,
.support-grid {
  display: grid;
  gap: 28px;
}

.story-grid,
.detail-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.contact-grid,
.split-layout,
.auth-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.dashboard-grid,
.support-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.policy-grid,
.metrics-grid,
.cards-grid,
.upload-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.hero-panel,
.content-panel,
.legal-card,
.table-card,
.status-panel {
  padding: 28px;
}

.map-placeholder {
  min-height: 280px;
  padding: 28px;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-visual {
  min-height: 360px;
  border-radius: var(--radius-lg);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}

.detail-watermark {
  font-family: "Outfit", sans-serif;
  font-size: 64px;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.16);
}

.spec-list,
.bullet-list,
.status-list,
.activity-list {
  display: grid;
  gap: 12px;
}

.spec-list li,
.bullet-list li,
.status-item,
.activity-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 16px;
}

.contact-info-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-info-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-mid);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 16px;
  font-weight: 600;
}

.form-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-primary);
  outline: none;
  transition: all var(--transition);
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 58, 108, 0.1);
}

.form-control::placeholder {
  color: var(--text-tertiary);
}

body.dark-mode .form-control:focus {
  box-shadow: 0 0 0 3px rgba(26, 58, 108, 0.2);
}

.form-control.error {
  border-color: var(--red);
}

.form-error {
  font-size: 12px;
  color: var(--red);
  margin-top: 6px;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  background: none;
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--red);
}

.faq-answer {
  display: none;
  padding-bottom: 18px;
  color: var(--text-secondary);
}

.faq-item.open .faq-answer {
  display: block;
}

.cars-filter-bar {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 68px;
  z-index: 100;
  transition: all var(--transition-slow);
}

.cars-filter-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn,
.filter-select {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--border-color);
  background: var(--bg-primary);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-select:hover {
  border-color: var(--border-color);
}

.filter-btn.active {
  border-color: var(--red);
  color: var(--red);
  background: rgba(214, 40, 40, 0.06);
}

.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 14px;
  margin-left: auto;
}

.filter-search input {
  border: none;
  background: none;
  outline: none;
  width: 180px;
  color: var(--text-primary);
}

.filter-search input::placeholder {
  color: var(--text-tertiary);
}

.cars-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .cars-layout {
    grid-template-columns: 1fr;
  }
}

.cars-sidebar {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 96px;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-shell {
  min-height: 100vh;
  background: var(--black);
  padding-top: 110px;
}

.auth-card {
  padding: 36px;
}

.auth-panel {
  color: var(--white);
  padding-top: 18px;
}

.auth-panel h1 {
  font-size: clamp(44px, 6vw, 70px);
  margin-bottom: 18px;
}

.notice-banner {
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  margin-bottom: 18px;
}

.booking-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.booking-step {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 14px;
  background: var(--bg-secondary);
  font-size: 14px;
  transition: all var(--transition);
}

.booking-step.active {
  border-color: var(--blue);
  background: var(--blue-light);
}

.booking-step.done {
  border-color: rgba(22, 163, 74, 0.25);
  background: #f0fdf4;
}

.booking-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.file-upload-zone {
  border: 2px dashed var(--border-color);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  background: var(--bg-secondary);
  transition:
    border-color var(--transition),
    background var(--transition);
}

.file-upload-zone.drag-over {
  border-color: var(--blue);
  background: var(--blue-light);
}

.upload-label p:first-child {
  font-weight: 700;
}

.radio-grid {
  display: grid;
  gap: 12px;
}

.payment-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--bg-secondary);
}

.payment-option input {
  margin-top: 4px;
}

.summary-grid {
  display: grid;
  gap: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-secondary);
}

.status-panel h2 {
  margin-bottom: 12px;
}

.status-timeline {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.status-node {
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

.status-node.active {
  border-color: rgba(214, 40, 40, 0.2);
  background: rgba(214, 40, 40, 0.06);
}

.table-card table {
  width: 100%;
  border-collapse: collapse;
}

.table-card th,
.table-card td {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.pill.success {
  background: #f0fdf4;
  color: var(--success);
}

.pill.warning {
  background: #fef3c7;
  color: var(--warning);
}

.pill.info {
  background: var(--blue-light);
  color: var(--blue);
}

.compact-list {
  display: grid;
  gap: 10px;
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    display: flex;
    gap: 8px;
  }

  .nav-actions a {
    display: none;
  }

  .nav-actions .nav-theme-toggle {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .footer-grid,
  .story-grid,
  .contact-grid,
  .split-layout,
  .detail-grid,
  .auth-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 18px;
  }

  .section-pad {
    padding: 64px 0;
  }

  .hero h1,
  .page-hero h1,
  .about-hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero-stats,
  .hero-actions,
  .stack-actions,
  .cars-filter-inner,
  .car-card-actions,
  .modal-footer-split,
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats > div {
    width: calc(50% - 10px);
  }

  .cars-grid,
  .testimonials-grid,
  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .filter-search {
    margin-left: 0;
    width: 100%;
  }

  .filter-search input {
    width: 100%;
  }

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

  .cookie-banner {
    left: 16px;
    right: auto;
    width: calc(100% - 32px);
    bottom: 16px;
  }
}
