/* =========================================
   Groupe KIHO – Styles globaux
   ========================================= */

:root {
  /* Violet KIHO — couleur primaire officielle */
  --red: #603d90;
  --red-dark: #4a2d72;
  --red-light: #7c52ad;
  --red-pale: #f0eaf8;
  /* Neutrals */
  --dark: #1d1d1b;
  --dark-2: #2e2e2c;
  /* Legacy aliases (conservés pour les pages location/checkout) */
  --primary: #1d1d1b;
  --primary-600: #2e2e2c;
  --primary-500: #603d90;
  --primary-400: #7c52ad;
  --accent: #603d90;
  --accent-light: #7c52ad;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f97316;
  --bg: #f7f7f8;
  --bg-2: #eeeeef;
  --card: #ffffff;
  --text: #1a1a2e;
  --text-2: #52526e;
  --text-3: #9999b0;
  --border: #e5e5ea;
  --border-2: #d1d1db;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --transition: .18s cubic-bezier(.4,0,.2,1);
  --header-h: 116px; /* top-bar 40px + main-bar 76px */
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  font-size: 15px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
ul { list-style: none; }

/* ---- Header (location/admin pages — legacy single bar) ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  height: 68px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.3px;
  text-decoration: none;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.logo span { color: var(--red-light); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: rgba(255,255,255,.75);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.nav a:hover, .nav a.active {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.nav-admin {
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
}
.nav-admin:hover { background: var(--red-dark) !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--red);
  color: #fff;
}
.btn-accent:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-success {
  background: var(--success);
  color: #fff;
}
.btn-success:hover { background: #059669; }
.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover { background: #dc2626; }
.btn-outline {
  background: transparent;
  color: var(--primary-500);
  border: 1.5px solid var(--primary-500);
}
.btn-outline:hover { background: var(--primary-500); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover { background: var(--bg-2); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius); }
.btn-full { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-orange { background: #ffedd5; color: #9a3412; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-gray { background: var(--bg-2); color: var(--text-2); }
.badge-amber { background: #fef3c7; color: #92400e; }

/* ---- Container ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-sm {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-md {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Cards ---- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-body { padding: 20px; }
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- Forms ---- */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--card);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-control::placeholder { color: var(--text-3); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 5px; }

/* ---- Hero/Page Header ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: #fff;
  padding: 40px 0 32px;
  margin-bottom: 32px;
}
.page-hero h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 15px; }

/* ---- Vehicle grid / list ---- */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.result-count { font-size: 14px; color: var(--text-2); font-weight: 500; }

.view-toggle {
  display: flex;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
}
.view-toggle button {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text-3);
  transition: var(--transition);
  font-size: 16px;
}
.view-toggle button.active {
  background: var(--card);
  color: var(--primary-500);
  box-shadow: var(--shadow);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter-bar select, .filter-bar input {
  padding: 8px 12px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: var(--card);
  color: var(--text);
  outline: none;
  transition: var(--transition);
  height: 38px;
}
.filter-bar select:focus, .filter-bar input:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.filter-bar select { appearance: none; padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }

/* Grid view */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}
.vehicle-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.vehicle-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-400);
}
.vehicle-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--text-3);
}
.vehicle-card-img img { width: 100%; height: 190px; object-fit: cover; }
.vehicle-card-body { padding: 16px; }
.vehicle-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.vehicle-card-name { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.3; }
.vehicle-card-sub { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.vehicle-card-price { font-size: 20px; font-weight: 800; color: var(--primary-500); white-space: nowrap; }
.vehicle-card-price span { font-size: 12px; font-weight: 500; color: var(--text-3); }
.vehicle-card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.vehicle-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 8px; }
.vehicle-card-location { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.vehicle-card-dispo { font-size: 12px; font-weight: 600; }
.vehicle-card-dispo.dispo { color: var(--success); }
.vehicle-card-dispo.indispo { color: var(--danger); }

/* List view */
.vehicles-list { display: flex; flex-direction: column; gap: 14px; }
.vehicle-list-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.vehicle-list-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-400);
  transform: translateX(2px);
}
.vehicle-list-img {
  width: 200px;
  min-height: 130px;
  object-fit: cover;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  flex-shrink: 0;
  color: var(--text-3);
}
.vehicle-list-img img { width: 200px; height: 100%; object-fit: cover; }
.vehicle-list-body { padding: 16px 20px; flex: 1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.vehicle-list-info { flex: 1; min-width: 200px; }
.vehicle-list-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.vehicle-list-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vehicle-list-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.vehicle-list-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; min-width: 140px; }
.vehicle-list-price { font-size: 22px; font-weight: 800; color: var(--primary-500); }
.vehicle-list-price span { font-size: 12px; font-weight: 400; color: var(--text-3); }

/* ---- Vehicle detail ---- */
.vehicle-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.vehicle-gallery { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.vehicle-gallery-main {
  width: 100%;
  height: 380px;
  object-fit: cover;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  color: var(--text-3);
}
.vehicle-gallery-main img { width: 100%; height: 380px; object-fit: cover; }
.vehicle-gallery-thumbs { display: flex; gap: 8px; padding: 8px; overflow-x: auto; }
.gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  opacity: .65;
  transition: var(--transition);
  border: 2px solid transparent;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--primary-400); }
.gallery-thumb img { width: 80px; height: 60px; object-fit: cover; }
.vehicle-info-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.vehicle-title { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.vehicle-subtitle { color: var(--text-2); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vehicle-price-block { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; }
.vehicle-price-main { font-size: 32px; font-weight: 800; color: var(--primary-500); }
.vehicle-price-main span { font-size: 15px; font-weight: 400; color: var(--text-2); }
.vehicle-price-deposit { font-size: 13px; color: var(--text-2); text-align: right; }
.vehicle-features { margin-bottom: 18px; }
.vehicle-features h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--text-2); letter-spacing: .05em; margin-bottom: 10px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.feature-icon { width: 28px; height: 28px; background: #dbeafe; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }

/* ---- Calendar ---- */
.calendar-section { margin: 28px 0; }
.calendar-section h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.calendar-container { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.cal-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: var(--transition);
  font-size: 16px;
  background: var(--card);
  border: 1.5px solid var(--border-2);
  cursor: pointer;
}
.cal-nav-btn:hover { background: var(--primary-500); color: #fff; border-color: var(--primary-500); }
.cal-title { font-weight: 700; font-size: 15px; color: var(--text); }
.calendar-months { display: grid; grid-template-columns: 1fr 1fr; }
.calendar-month { padding: 16px; }
.calendar-month:first-child { border-right: 1px solid var(--border); }
.cal-month-title { text-align: center; font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 12px; }
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
}
.cal-weekday { text-align: center; font-size: 11px; font-weight: 600; color: var(--text-3); padding: 4px 0; text-transform: uppercase; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  color: var(--text);
  font-weight: 500;
}
.cal-day.empty { cursor: default; }
.cal-day.past { color: var(--text-3); cursor: not-allowed; }
.cal-day.booked { background: #fee2e2; color: #991b1b; cursor: not-allowed; text-decoration: line-through; font-size: 11px; }
.cal-day.today { font-weight: 800; color: var(--primary-500); }
.cal-day.today::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--primary-500); }
.cal-day.available:hover { background: #dbeafe; color: var(--primary-500); }
.cal-day.selected-start, .cal-day.selected-end { background: var(--primary-500) !important; color: #fff !important; font-weight: 700; }
.cal-day.selected-range { background: #dbeafe; color: var(--primary-500); border-radius: 0; }
.cal-day.selected-start { border-radius: 6px 0 0 6px; }
.cal-day.selected-end { border-radius: 0 6px 6px 0; }
.cal-day.selected-start.selected-end { border-radius: 6px; }

.calendar-legend { display: flex; gap: 16px; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--bg); }
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.legend-dot { width: 14px; height: 14px; border-radius: 4px; }
.legend-available { background: #dbeafe; border: 1px solid var(--primary-400); }
.legend-booked { background: #fee2e2; border: 1px solid #fca5a5; }
.legend-selected { background: var(--primary-500); }

.booking-summary {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 16px;
}
.booking-summary h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--primary-600); }
.booking-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; }
.booking-row.total { border-top: 1.5px solid #bfdbfe; margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 16px; color: var(--primary-600); }

/* ---- Checkout ---- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.checkout-steps { display: flex; gap: 0; margin-bottom: 28px; }
.step {
  flex: 1;
  text-align: center;
  padding: 14px;
  position: relative;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}
.step::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid var(--bg-2);
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  z-index: 1;
}
.step:last-child::after { display: none; }
.step.active { background: var(--primary-500); color: #fff; }
.step.done { background: var(--success); color: #fff; }
.step-num { display: block; font-size: 18px; font-weight: 800; margin-bottom: 2px; }

/* Payment card */
.payment-card {
  background: linear-gradient(135deg, #1e3a5f, #1e40af);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: #fff;
  font-family: 'Courier New', monospace;
  margin-bottom: 20px;
  min-height: 140px;
  position: relative;
  overflow: hidden;
}
.payment-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.payment-card::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -20px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.payment-card-number { font-size: 20px; letter-spacing: 3px; margin: 16px 0; opacity: .9; }
.payment-card-info { display: flex; gap: 24px; font-size: 12px; opacity: .7; margin-bottom: 6px; }
.payment-card-name { font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.card-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-brand { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 22px; }

.order-summary-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: calc(var(--header-h) + 20px); }
.order-summary-header { background: var(--primary); color: #fff; padding: 16px 20px; }
.order-summary-header h3 { font-size: 16px; font-weight: 700; }
.order-vehicle { display: flex; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.order-vehicle-img { width: 64px; height: 50px; border-radius: 8px; object-fit: cover; background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; color: var(--text-3); overflow: hidden; }
.order-vehicle-img img { width: 64px; height: 50px; object-fit: cover; }
.order-vehicle-name { font-weight: 700; font-size: 15px; }
.order-vehicle-sub { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.order-lines { padding: 16px 20px; }
.order-line { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; color: var(--text-2); }
.order-line.total { border-top: 1.5px solid var(--border); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 18px; color: var(--text); }
.order-line.deposit { color: var(--warning); font-weight: 600; }
.secure-badge { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); padding: 12px 20px; border-top: 1px solid var(--border); }

/* ---- Confirmation ---- */
.confirmation-hero {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  border: 1.5px solid #bbf7d0;
}
.confirmation-icon { font-size: 72px; margin-bottom: 16px; }
.confirmation-hero h1 { font-size: 28px; font-weight: 800; color: var(--success); margin-bottom: 8px; }
.confirmation-hero p { color: var(--text-2); font-size: 15px; }
.booking-ref { display: inline-block; background: var(--primary); color: #fff; padding: 8px 20px; border-radius: 999px; font-family: 'Courier New', monospace; font-size: 16px; font-weight: 700; letter-spacing: 1px; margin-top: 14px; }
.pickup-info-card {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1.5px solid #fde68a;
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
}
.pickup-info-card h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: #92400e; margin-bottom: 14px; }
.pickup-detail { display: flex; gap: 12px; margin-bottom: 12px; }
.pickup-detail-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.pickup-detail-content { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.pickup-detail-content strong { display: block; color: var(--text); font-weight: 700; margin-bottom: 2px; }

/* ---- Admin ---- */
.admin-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - var(--header-h)); }
.admin-sidebar {
  background: var(--primary);
  padding: 24px 0;
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.admin-sidebar-section { margin-bottom: 8px; }
.admin-sidebar-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); padding: 0 20px 6px; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border-left: 3px solid transparent;
}
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,.08); }
.admin-nav-item.active { color: #fff; background: rgba(255,255,255,.12); border-left-color: var(--accent); }
.admin-nav-item .nav-icon { font-size: 16px; width: 20px; text-align: center; }
.admin-main { padding: 28px; background: var(--bg); overflow-y: auto; }

.admin-page { display: none; }
.admin-page.active { display: block; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-left: 4px solid var(--primary-500); }
.stat-value { font-size: 32px; font-weight: 800; color: var(--primary-500); }
.stat-label { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.stat-card.accent { border-left-color: var(--accent); }
.stat-card.accent .stat-value { color: var(--accent); }
.stat-card.success { border-left-color: var(--success); }
.stat-card.success .stat-value { color: var(--success); }
.stat-card.danger { border-left-color: var(--danger); }
.stat-card.danger .stat-value { color: var(--danger); }

/* Admin vehicle list */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 11px 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); background: var(--bg); border-bottom: 1.5px solid var(--border); }
.admin-table td { padding: 14px; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover td { background: var(--bg); }
.admin-table .vehicle-mini { display: flex; align-items: center; gap: 12px; }
.vehicle-mini-img { width: 52px; height: 40px; border-radius: 8px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 22px; overflow: hidden; flex-shrink: 0; color: var(--text-3); }
.vehicle-mini-img img { width: 52px; height: 40px; object-fit: cover; }
.vehicle-mini-name { font-weight: 600; font-size: 14px; }
.vehicle-mini-sub { font-size: 12px; color: var(--text-3); margin-top: 1px; }
.action-btns { display: flex; gap: 6px; }

/* Vehicle form */
.image-upload-area {
  border: 2px dashed var(--border-2);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg);
}
.image-upload-area:hover, .image-upload-area.drag-over {
  border-color: var(--primary-400);
  background: #eff6ff;
}
.image-upload-area input { display: none; }
.upload-icon { font-size: 36px; margin-bottom: 8px; color: var(--text-3); }
.upload-text { font-size: 14px; color: var(--text-2); }
.upload-text span { color: var(--primary-500); font-weight: 600; }
.upload-hint { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.image-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.image-preview-item {
  position: relative;
  width: 90px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border-2);
}
.image-preview-item img { width: 90px; height: 70px; object-fit: cover; }
.image-preview-item .remove-img {
  position: absolute;
  top: 2px; right: 2px;
  width: 20px; height: 20px;
  background: rgba(0,0,0,.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  border: none;
  line-height: 1;
}

/* Availability toggle */
.toggle-switch { display: flex; align-items: center; gap: 10px; }
.toggle-switch input[type=checkbox] { display: none; }
.toggle-label {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--bg-2);
  border-radius: 13px;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid var(--border-2);
}
.toggle-label::after {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: var(--text-3);
  border-radius: 50%;
  transition: var(--transition);
}
input[type=checkbox]:checked + .toggle-label { background: var(--success); border-color: var(--success); }
input[type=checkbox]:checked + .toggle-label::after { left: 24px; background: #fff; }
.toggle-text { font-size: 14px; font-weight: 600; color: var(--text-2); }

/* Admin login */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
}
.login-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.login-card .logo { justify-content: center; margin-bottom: 24px; font-size: 24px; }
.login-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.login-card p { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }
.login-error { background: #fee2e2; color: #991b1b; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; margin-bottom: 16px; display: none; }

/* Booking admin table */
.bookings-table-wrap { overflow-x: auto; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--text);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: .3s cubic-bezier(.4,0,.2,1);
  max-width: 350px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.95) translateY(10px);
  transition: var(--transition);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 17px; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-2); font-size: 18px; transition: var(--transition); cursor: pointer; background: var(--bg); border: 1.5px solid var(--border-2); }
.modal-close:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 24px; color: var(--text-3); }
.empty-state-icon { font-size: 64px; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 24px;
  font-size: 13px;
  margin-top: 60px;
}
.footer strong { color: #fff; }

/* Loader */
.loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 500;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.loading-overlay.show { opacity: 1; pointer-events: all; }
.loading-overlay .loader { width: 40px; height: 40px; border-color: var(--border-2); border-top-color: var(--primary-500); border-width: 4px; }
.loading-text { font-size: 15px; font-weight: 600; color: var(--text-2); }

/* =========================================
   Corporate / Vitrine Styles
   ========================================= */

/* =========================================
   Groupe KIHO – Header bi-niveaux
   ========================================= */

/* ── Barre supérieure ── */
.corp-topbar {
  background: var(--dark);
  height: 40px;
  display: flex;
  align-items: center;
}
.corp-topbar-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.corp-topbar-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.corp-topbar-links a {
  color: rgba(255,255,255,.65);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  text-decoration: none;
  transition: var(--transition);
  border-right: 1px solid rgba(255,255,255,.1);
}
.corp-topbar-links a:last-child { border-right: none; }
.corp-topbar-links a:hover { color: #fff; }
.corp-topbar-links a.active { color: var(--red-light); }
.corp-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.corp-topbar-right a {
  color: rgba(255,255,255,.65);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.corp-topbar-right a:hover { color: #fff; }

/* ── Barre principale ── */
.corp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  height: 76px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.corp-header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo KIHO */
.corp-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.corp-logo img {
  height: 52px;
  width: auto;
  display: block;
}
/* Fallback pour les anciennes références .corp-logo-mark */
.corp-logo-mark {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.corp-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.corp-logo-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.5px;
}
.corp-logo-tag {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
}

/* Nav principale */
.corp-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.corp-nav a {
  color: var(--text-2);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.corp-nav a:hover { color: var(--dark); border-bottom-color: var(--red-light); }
.corp-nav a.active { color: var(--red); border-bottom-color: var(--red); }
.corp-nav a.cta-link {
  background: var(--red);
  color: #fff !important;
  border-radius: 6px;
  border-bottom: none;
  margin-left: 12px;
  padding: 10px 20px;
}
.corp-nav a.cta-link:hover { background: var(--red-dark); }

/* Bouton menu mobile */
.corp-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.corp-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: var(--transition);
}

/* Sticky wrapper */
.corp-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ---- Hero split (Groupe KIHO style) ---- */
.corp-hero {
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.corp-hero-split {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 520px;
}
.corp-hero-image {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.corp-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Découpe diagonale à droite */
.corp-hero-image::after {
  content: '';
  position: absolute;
  top: 0; right: -2px; bottom: 0;
  width: 120px;
  background: var(--bg);
  clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.corp-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(to top, rgba(10,5,20,.65) 0%, transparent 60%);
}
.corp-hero-overlay h1 {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  max-width: 480px;
  text-align: left;
  align-self: flex-start;
  margin-top: 32px;
}
.corp-hero-overlay h1 em {
  color: var(--red-light);
  font-style: normal;
}
.corp-hero-overlay p {
  align-self: flex-start;
}
.corp-hero-cta-panel {
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 48px;
  position: relative;
  z-index: 1;
}
.corp-hero-cta-panel h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.corp-hero-cta-panel p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 28px;
}
.corp-hero-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Variante hero page intérieure (texte centré) */
.corp-hero.corp-hero-inner-page {
  background: linear-gradient(135deg, var(--dark) 0%, var(--red-dark) 100%);
  padding: 56px 0 48px;
  color: #fff;
}
.corp-hero.corp-hero-inner-page h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
}
.corp-hero.corp-hero-inner-page .corp-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  line-height: 1.7;
}

.btn-red {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-size: 15px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border-2);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 13px 24px;
  font-size: 15px;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.btn-outline-dark:hover { background: var(--bg-2); border-color: var(--dark); }

.btn-white {
  background: #fff;
  color: var(--dark);
  font-weight: 700;
}
.btn-white:hover { background: #f1f5f9; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  font-weight: 600;
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }

/* ---- Trust Bar ---- */
.trust-bar {
  background: #fff;
  border-top: 3px solid var(--red);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 600;
}
.trust-icon { font-size: 28px; }

/* ---- Corporate Sections ---- */
.corp-section {
  padding: 80px 0;
}
.corp-section.alt {
  background: var(--bg);
}
.corp-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.corp-section-header {
  text-align: center;
  margin-bottom: 48px;
}
.corp-section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--primary-400);
  margin-bottom: 12px;
}
.corp-section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
}
.corp-section-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: var(--transition);
  border: 1.5px solid transparent;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-400);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.service-icon.green { background: #d1fae5; }
.service-icon.orange { background: #ffedd5; }
.service-icon.purple { background: #ede9fe; }
.service-icon.red { background: #fee2e2; }
.service-icon.amber { background: #fef3c7; }
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.service-card-featured {
  grid-column: span 3;
  background: linear-gradient(135deg, #2e1a52 0%, #603d90 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 36px 40px;
}
.service-card-featured .service-icon {
  background: rgba(255,255,255,.15);
  font-size: 36px;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.service-card-featured h3 { color: #fff; font-size: 22px; }
.service-card-featured p { color: rgba(255,255,255,.8); margin-bottom: 12px; }
.service-card-featured .service-link { color: rgba(255,255,255,.9); }
.service-card-featured:hover { border-color: rgba(255,255,255,.4); }
.service-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- Stats Bar ---- */
.stats-section {
  background: var(--red);
  padding: 60px 0;
  color: #fff;
}
.stats-section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-desc {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--dark);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ---- Corporate Footer ---- */
.corp-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 64px 0 0;
}
.corp-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.corp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.corp-footer-about { font-size: 14px; line-height: 1.8; }
.corp-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.corp-footer h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.8);
  margin-bottom: 18px;
}
.corp-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.corp-footer-links li { margin-bottom: 10px; }
.corp-footer-links a {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  transition: var(--transition);
  text-decoration: none;
}
.corp-footer-links a:hover { color: var(--red-light); }
.corp-footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- About page ---- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}
.about-text p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-visual {
  background: linear-gradient(135deg, #1e3a5f, #1e40af);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  min-height: 380px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: center;
}
.value-icon { font-size: 40px; margin-bottom: 14px; }
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
  width: 44px;
  height: 44px;
  background: #dbeafe;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ---- Corp section label color ---- */
.corp-section-label { color: var(--red); }
.stat-number { color: #fff; font-size: 48px; font-weight: 900; line-height: 1; margin-bottom: 8px; }
.service-link { color: var(--red); }

/* ---- Service detail sections ---- */
.service-detail-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail-section:last-child { border-bottom: none; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-detail-content p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 20px;
}
.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-2);
}
.service-features-list li::before {
  content: '\2713';
  width: 24px;
  height: 24px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.service-visual {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  min-height: 280px;
}

/* ---- FAQ section ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition);
}
.faq-question:hover { background: var(--bg); }
.faq-arrow {
  font-size: 18px;
  transition: transform .2s;
  color: var(--text-3);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px;
}
.faq-answer p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: 14px 0;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumbs a { color: var(--primary-400); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 8px; }

/* Print */
@media print {
  .header, .footer, .corp-header, .corp-footer, .btn { display: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .vehicle-detail-grid { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; display: flex; overflow-x: auto; padding: 0; }
  .admin-sidebar-section { display: flex; }
  .admin-sidebar-label { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-months { grid-template-columns: 1fr; }
  .calendar-month:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  /* Corporate */
  .corp-hero h1 { font-size: 38px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-featured { grid-column: span 2; flex-direction: column; align-items: flex-start; gap: 16px; }
  .stats-section-inner { grid-template-columns: repeat(2, 1fr); }
  .corp-footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-grid.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .vehicle-detail-grid, .checkout-layout { grid-template-columns: 1fr; }
  .vehicles-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .vehicle-list-img { width: 120px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 22px; }
  .nav a span { display: none; }
  /* Corporate */
  .corp-hero { padding: 60px 0 50px; }
  .corp-hero h1 { font-size: 28px; }
  .corp-hero-sub { font-size: 15px; }
  .corp-section { padding: 50px 0; }
  .corp-section-title { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .corp-topbar { display: none; }
  .corp-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); padding: 12px 16px; box-shadow: var(--shadow-lg); flex-direction: column; z-index: 99; }
  .corp-nav.open { display: flex; }
  .corp-nav a { border-bottom: none; padding: 12px 16px; color: var(--dark); border-radius: var(--radius-sm); }
  .corp-nav a:hover { background: var(--bg); color: var(--dark); }
  .corp-nav a.active { color: var(--red); background: var(--red-pale); }
  .corp-nav a.cta-link { margin-left: 0; margin-top: 4px; }
  .corp-hero-split { grid-template-columns: 1fr; }
  .corp-hero-image { min-height: 300px; }
  .corp-hero-image::after { display: none; }
  .corp-hero-cta-panel { padding: 40px 24px; }
  .corp-menu-btn { display: flex; }
  .stat-number { font-size: 36px; }
  .corp-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-bar-inner { gap: 20px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .vehicle-list-item { flex-direction: column; }
  .vehicle-list-img { width: 100%; height: 160px; font-size: 64px; }
  .vehicle-list-img img { width: 100%; height: 160px; }
  .container, .container-sm, .container-md { padding: 0 14px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .stats-section-inner { grid-template-columns: 1fr; }
}
