/* =========================================================================
   MBM GARAGE — Design System
   Premium Dark + Amber Accent
   ========================================================================= */

:root {
  /* Surfaces */
  --bg-base:        #0a0a0b;
  --bg-elevated:    #111113;
  --bg-card:        #16161a;
  --bg-card-hover:  #1c1c22;
  --bg-input:       #0f0f11;

  /* Borders */
  --border-soft:    #1f1f24;
  --border-medium:  #2a2a31;
  --border-strong:  #3a3a44;

  /* Text */
  --text-primary:   #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-muted:     #6b6b75;
  --text-dim:       #4a4a55;

  /* Accent — Amber Premium */
  --accent:         #f59e0b;
  --accent-hover:   #fbbf24;
  --accent-dim:     rgba(245, 158, 11, 0.15);
  --accent-glow:    rgba(245, 158, 11, 0.35);
  --accent-soft:    rgba(245, 158, 11, 0.08);

  /* Status */
  --success:        #10b981;
  --danger:         #ef4444;
  --info:           #3b82f6;

  /* Effects */
  --shadow-sm:      0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md:      0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg:      0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-glow:    0 0 40px var(--accent-glow);

  /* Motion */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:    cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast:         150ms;
  --t-base:         300ms;
  --t-slow:         500ms;
  --t-slower:       700ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  margin: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(ellipse 800px 600px at 100% 100%, rgba(245,158,11,0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

body > * { position: relative; z-index: 1; }

.font-display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

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

.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-weight: 600;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 4px;
  transition: background var(--t-base);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

::selection { background: var(--accent); color: #000; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--t-base) var(--ease-out);
  overflow: hidden;
  user-select: none;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0b;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #0a0a0b;
  transform: translateY(-2px);
}

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

.btn-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--danger);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.7s var(--ease-out);
}
.btn-primary:hover::after { left: 100%; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Inputs */
.input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-soft);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all var(--t-base) var(--ease-out);
  border-radius: 2px;
}
.input::placeholder { color: var(--text-dim); }
.input:hover { border-color: var(--border-medium); }
.input:focus {
  border-color: var(--accent);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

textarea.input { resize: vertical; min-height: 100px; }

.input-line {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-medium);
  padding: 0.75rem 0;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color var(--t-base) var(--ease-out);
  border-radius: 0;
  font-family: inherit;
}
.input-line::placeholder { color: var(--text-dim); }
.input-line:focus { border-color: var(--accent); }

.input-file {
  background: var(--bg-input);
  border: 1px dashed var(--border-medium);
  padding: 1rem;
  width: 100%;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all var(--t-base);
}
.input-file:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Vehicle Card */
.vehicle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: all var(--t-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
}
.vehicle-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-dim);
}

.vehicle-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #000;
  display: block;
}
.vehicle-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: all var(--t-slower) var(--ease-out);
}
.vehicle-card:hover .vehicle-card__media img {
  opacity: 1;
  transform: scale(1.08);
}
.vehicle-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 40%);
  pointer-events: none;
}

.vehicle-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vehicle-card__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.vehicle-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.vehicle-card__title span {
  font-weight: 300;
  color: var(--text-secondary);
}

.vehicle-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--border-soft);
}

.vehicle-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(245,158,11,0.9), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  z-index: 2;
}
.vehicle-card:hover .vehicle-card__overlay { opacity: 1; }

/* Auth card */
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: shimmer-line 3s var(--ease-in-out) infinite;
}

@keyframes shimmer-line {
  0%, 100% { opacity: 0.3; transform: translateX(-50%); }
  50%      { opacity: 1;   transform: translateX(50%); }
}

.auth-tab {
  background: none;
  border: none;
  padding: 0 0 0.75rem 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color var(--t-base);
  font-family: inherit;
}
.auth-tab.is-active { color: var(--accent); }
.auth-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: var(--accent);
  transition: all var(--t-base) var(--ease-out);
}
.auth-tab.is-active::after { width: 100%; left: 0; }
.auth-tab:hover:not(.is-active) { color: var(--text-primary); }

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease-out);
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__panel {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  padding: 2.5rem;
  width: 100%;
  max-width: 28rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: all var(--t-base) var(--ease-out);
  max-height: 90vh;
  overflow-y: auto;
}
.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: all var(--t-base);
  font-family: inherit;
}
.modal__close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

/* Alerts */
.alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  border: 1px solid;
  animation: slideDown 0.4s var(--ease-out);
}
.alert-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.4); color: var(--success); }
.alert-danger  { background: rgba(239,68,68,0.1);  border-color: rgba(239,68,68,0.4);  color: var(--danger); }
.alert-info    { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.4); color: var(--info); }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--border-soft);
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-link {
  position: relative;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  transition: color var(--t-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--t-base) var(--ease-out);
}
.nav-link:hover { color: var(--accent); }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: var(--accent); }
.nav-link.is-active::after { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 9px;
  font-weight: 700;
  background: var(--accent);
  color: #0a0a0b;
  border-radius: 9px;
  animation: badgePop 0.4s var(--ease-out);
}
.badge-info { background: var(--info); color: #fff; }

@keyframes badgePop {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Language switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
}
.lang-switcher a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.2rem 0.4rem;
  transition: color var(--t-base);
}
.lang-switcher a:hover { color: var(--accent); }
.lang-switcher a.is-active {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}
.lang-switcher .divider {
  color: var(--text-dim);
}

/* Filters */
.filter-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: block;
}

.filter-select {
  background: var(--bg-input);
  border: 1px solid var(--border-soft);
  padding: 0.75rem 1rem;
  width: 100%;
  color: var(--text-primary);
  font-size: 12px;
  outline: none;
  transition: all var(--t-base);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a1a1aa'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 14px;
  padding-right: 2.5rem;
}
.filter-select:focus, .filter-select:hover {
  border-color: var(--accent);
}

/* Detail hero */
.vehicle-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}
.vehicle-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.vehicle-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg-base) 0%, transparent 50%),
    linear-gradient(to right, rgba(0,0,0,0.5), transparent 60%);
}

@keyframes heroZoom {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.08) translate(-1%, -1%); }
}

.vehicle-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-style: italic;
  margin: 0;
}
.vehicle-hero__title span {
  font-weight: 200;
  color: var(--text-secondary);
  font-style: normal;
}

.vehicle-hero__price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
  color: var(--accent);
  letter-spacing: -0.02em;
}

/* Spec grid */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.spec-item {
  padding: 1rem;
  background: var(--bg-input);
  border-left: 2px solid var(--border-medium);
  transition: all var(--t-base);
}
.spec-item:hover {
  border-left-color: var(--accent);
  background: var(--bg-elevated);
  transform: translateX(4px);
}

.spec-item__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.spec-item__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Thumbs */
.thumb {
  flex-shrink: 0;
  width: 8rem;
  height: 6rem;
  object-fit: cover;
  border: 2px solid var(--border-soft);
  cursor: pointer;
  opacity: 0.6;
  transition: all var(--t-base);
}
.thumb:hover, .thumb.is-active {
  border-color: var(--accent);
  opacity: 1;
  transform: translateY(-3px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.97);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--t-base);
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  box-shadow: 0 0 80px rgba(245,158,11,0.15);
}
.lightbox__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  width: 3rem; height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--t-base);
  border-radius: 50%;
}
.lightbox__arrow:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.lightbox__arrow.prev { left: 2rem; }
.lightbox__arrow.next { right: 2rem; }

.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  width: 2.5rem; height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  transition: all var(--t-base);
}
.lightbox__close:hover {
  background: var(--accent);
  color: #000;
  transform: rotate(90deg);
}

/* Chat */
.chat-bubble {
  max-width: 75%;
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.5rem;
  border-radius: 18px;
  position: relative;
  word-wrap: break-word;
  animation: bubbleIn 0.3s var(--ease-out);
  line-height: 1.45;
  font-size: 14px;
}
.chat-bubble--me {
  background: var(--accent);
  color: #0a0a0b;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}
.chat-bubble--them {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  margin-right: auto;
  border-bottom-left-radius: 4px;
}
.chat-bubble__time {
  font-size: 9px;
  opacity: 0.6;
  margin-top: 0.25rem;
  display: block;
}

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

.contact-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
  transition: all var(--t-base);
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.contact-item:hover {
  background: var(--bg-card);
  padding-left: 1.75rem;
}
.contact-item.is-active {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding-left: calc(1.25rem - 3px);
}

/* Tables */
.data-table {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-collapse: collapse;
}
.data-table thead {
  background: var(--bg-input);
}
.data-table th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-medium);
}
.data-table td {
  padding: 1.25rem 1.5rem;
  font-size: 13px;
  border-bottom: 1px solid var(--border-soft);
}
.data-table tbody tr {
  transition: background var(--t-base);
}
.data-table tbody tr:hover {
  background: rgba(245, 158, 11, 0.03);
}
.data-table tbody tr:last-child td { border-bottom: none; }

/* Compare */
.compare-table {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-collapse: separate;
  border-spacing: 0;
}
.compare-table th, .compare-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
}
.compare-table thead th {
  background: var(--bg-input);
  vertical-align: top;
  min-width: 200px;
}
.compare-table .row-label {
  background: var(--bg-input);
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  font-weight: 700;
  width: 180px;
}
.compare-table tbody tr {
  transition: background var(--t-base);
}
.compare-table tbody tr:hover {
  background: var(--accent-soft);
}

.compare-slot--empty {
  height: 8rem;
  border: 1px dashed var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

/* Admin Sidebar */
.admin-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border-soft);
  width: 16rem;
  display: flex;
  flex-direction: column;
}
.admin-sidebar__item {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all var(--t-base);
}
.admin-sidebar__item:hover {
  background: var(--bg-card-hover);
  color: var(--accent);
  border-left-color: var(--accent);
}
.admin-sidebar__item.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  border-left-color: var(--accent);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem; left: 1rem; right: 1rem;
  max-width: 64rem;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--accent-dim);
  padding: 1rem 1.5rem;
  z-index: 90;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  transform: translateY(150%);
  transition: transform 0.5s var(--ease-out);
  border-radius: 4px;
}
@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.cookie-banner.is-visible { transform: translateY(0); }

/* Page Title */
.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 0.5rem;
  font-style: italic;
}
.page-title-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 3rem;
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.empty-state svg {
  margin: 0 auto 1rem;
  opacity: 0.3;
}
.empty-state p {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin: 0;
}

.logo-glow {
  filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.15));
  transition: filter var(--t-slow);
}
.logo-glow:hover {
  filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.5));
}

/* Mobile menu */
.mobile-menu {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-soft);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.mobile-menu.is-open {
  max-height: 600px;
}
.mobile-menu a {
  display: block;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--t-base);
}
.mobile-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  padding-left: 2rem;
}

/* Site footer */
.site-footer {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  padding: 4rem 1.5rem 0;
  margin-top: 5rem;
  border-top: 1px solid var(--border-soft);
}
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1.5fr; }
}
.site-footer h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.site-footer h4 {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.2em;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
  font-weight: 700;
}
.site-footer p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 1rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}
.site-footer ul li { padding: 0.35rem 0; }
.site-footer ul a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t-base);
}
.site-footer ul a:hover { color: var(--accent); }
.site-footer__highlight {
  color: var(--accent) !important;
  font-weight: 700;
}
.site-footer__credit {
  text-align: center;
  margin-top: 4rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-soft);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Bot widget */
#bot-wrapper {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 95;
}
#bot-toggle {
  background: var(--accent);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px var(--accent-glow);
  transition: all var(--t-base);
}
#bot-toggle:hover {
  transform: scale(1.05);
  background: var(--accent-hover);
}
#bot-window {
  display: none;
  width: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
}
#bot-window.is-open { display: block; }
#bot-header {
  background: var(--accent);
  color: #0a0a0b;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
#bot-header button {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #0a0a0b;
  font-family: inherit;
}
#chat-content {
  height: 300px;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg-base);
}
.bot-msg {
  background: var(--bg-elevated);
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-secondary);
  border-left: 2px solid var(--accent);
  max-width: 85%;
}
.user-msg {
  align-self: flex-end;
  background: var(--accent);
  color: #0a0a0b;
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 13px;
  max-width: 85%;
}
#chat-options {
  padding: 1rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-card);
}
#chat-options button {
  background: none;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  padding: 0.6rem;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--t-base);
  font-family: inherit;
}
#chat-options button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .auth-card { padding: 1.5rem; }
  .modal__panel { padding: 1.5rem; }
  .vehicle-hero { height: 55vh; min-height: 380px; }
  .lightbox__arrow.prev { left: 0.75rem; }
  .lightbox__arrow.next { right: 0.75rem; }
  #bot-wrapper { bottom: 1rem; right: 1rem; }
  #bot-window { width: calc(100vw - 2rem); }
  .site-footer { padding: 3rem 1rem 0; }
}
