/* ===================================================
   CANCUN TRANSFERS — Premium Design System
   Paleta Caribeña: Turquesa + Coral + Arena
   =================================================== */

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

/* ─── CSS CUSTOM PROPERTIES ─────────────────────── */
:root {
  /* Core Colors */
  --teal-900: #003d40;
  --teal-800: #00565a;
  --teal-700: #006f74;
  --teal-600: #008891;
  --teal-500: #00a896;
  --teal-400: #2ec4b6;
  --teal-300: #6ddfd8;
  --teal-200: #a8f0eb;
  --teal-100: #d4f9f6;
  --teal-50:  #edfefe;

  --coral:    #ff6b6b;
  --coral-dk: #e85555;
  --gold:     #ffb703;
  --gold-dk:  #e0a200;

  --sand-50:  #fdfcf8;
  --sand-100: #f8f4ed;
  --sand-200: #ede8de;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #003d40 0%, #006f74 40%, #00a896 75%, #2ec4b6 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  --grad-coral: linear-gradient(135deg, #ff6b6b, #ff8e53);
  --grad-gold: linear-gradient(135deg, #ffb703, #fb8500);
  --grad-teal: linear-gradient(135deg, #00a896, #028090);

  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px rgba(0, 61, 64, 0.25);

  /* Typography */
  --font: 'Outfit', system-ui, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-teal: 0 8px 24px rgba(0,168,150,0.35);
  --shadow-coral: 0 8px 24px rgba(255,107,107,0.4);

  /* Border Radius */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.28s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  background: var(--sand-100);
  color: var(--teal-900);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: var(--font); }
a { text-decoration: none; color: inherit; }

/* ─── UTILITY ─────────────────────────────────────── */
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.relative { position: relative; }

/* ─── LOADING SCREEN ─────────────────────────────── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--grad-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-logo {
  width: 80px;
  height: 80px;
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  animation: float 2s ease-in-out infinite;
  backdrop-filter: blur(12px);
  margin-bottom: 20px;
}
.loader-text {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.loader-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 400;
}
.loader-dots {
  display: flex;
  gap: 6px;
  margin-top: 24px;
}
.loader-dots span {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: dot-bounce 1.2s ease-in-out infinite;
}
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ─── NAVIGATION ─────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,168,150,0.15);
  box-shadow: 0 2px 16px rgba(0,61,64,0.08);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal-700);
  letter-spacing: -0.03em;
}
.nav-brand .brand-icon {
  width: 38px; height: 38px;
  background: var(--grad-teal);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-teal);
}
.nav-tabs {
  display: flex;
  gap: 4px;
  background: var(--sand-200);
  padding: 4px;
  border-radius: var(--r-full);
}
.nav-tab {
  padding: 8px 20px;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-700);
  background: transparent;
  transition: all var(--duration) var(--ease);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-tab:hover { background: rgba(255,255,255,0.7); }
.nav-tab.active {
  background: white;
  color: var(--teal-600);
  box-shadow: var(--shadow-sm);
}
.nav-tab .tab-badge {
  background: var(--coral);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── VIEWS (SPA) ────────────────────────────────── */
.view { display: none; }
.view.active { display: block; }

/* ─── HERO SECTION ───────────────────────────────── */
#hero {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding: 70px 24px 80px;
}
#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
#hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,183,3,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.hero-title .accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto 32px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: var(--r-md);
  padding: 16px 24px;
  text-align: center;
  min-width: 110px;
}
.hero-stat .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat .stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ─── BOOKING SECTION ────────────────────────────── */
#booking-section {
  max-width: 820px;
  margin: -40px auto 60px;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}
.booking-card {
  background: white;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,168,150,0.08);
  overflow: hidden;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  background: var(--sand-50);
  border-bottom: 1px solid var(--sand-200);
  gap: 0;
}
.step-item {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
}
.step-item:last-child { flex: 0; }
.step-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--duration) var(--ease);
  border: 2px solid var(--sand-200);
  color: #999;
  background: white;
}
.step-circle.active {
  background: var(--grad-teal);
  border-color: transparent;
  color: white;
  box-shadow: var(--shadow-teal);
}
.step-circle.done {
  background: var(--teal-100);
  border-color: var(--teal-400);
  color: var(--teal-600);
}
.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #bbb;
  white-space: nowrap;
  transition: color var(--duration);
}
.step-label.active { color: var(--teal-600); }
.step-label.done { color: var(--teal-500); }
.step-line {
  flex: 1;
  height: 2px;
  background: var(--sand-200);
  margin: 0 8px;
  border-radius: 2px;
  transition: background var(--duration);
}
.step-line.done { background: var(--teal-300); }

/* Form Steps */
.form-step { display: none; padding: 32px; }
.form-step.active { display: block; animation: slideInStep 0.3s var(--ease); }
@keyframes slideInStep {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-900);
  margin-bottom: 4px;
}
.step-desc {
  font-size: 0.875rem;
  color: #888;
  margin-bottom: 24px;
}

/* Route Selector */
.route-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.route-option {
  position: relative;
}
.route-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.route-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  border: 2px solid var(--sand-200);
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: center;
  transition: all var(--duration) var(--ease);
  background: white;
}
.route-option label:hover {
  border-color: var(--teal-300);
  background: var(--teal-50);
}
.route-option input:checked + label {
  border-color: var(--teal-500);
  background: var(--teal-50);
  box-shadow: 0 0 0 3px rgba(0,168,150,0.15);
}
.route-option .route-icon {
  font-size: 1.6rem;
  width: 44px; height: 44px;
  background: var(--sand-100);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration);
}
.route-option input:checked + label .route-icon {
  background: var(--teal-100);
}
.route-option .route-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-800);
}

/* Form Fields */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-800);
  margin-bottom: 6px;
}
.form-group label span {
  color: var(--coral);
  margin-left: 2px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--sand-200);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  color: var(--teal-900);
  background: white;
  transition: all var(--duration) var(--ease);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal-400);
  box-shadow: 0 0 0 3px rgba(0,168,150,0.15);
}
.form-control::placeholder { color: #bbb; }

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

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

/* Vehicle Selector */
.vehicle-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.vehicle-option {
  position: relative;
}
.vehicle-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.vehicle-option label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 2px solid var(--sand-200);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  background: white;
}
.vehicle-option label:hover { border-color: var(--teal-300); }
.vehicle-option input:checked + label {
  border-color: var(--teal-500);
  background: var(--teal-50);
  box-shadow: 0 0 0 3px rgba(0,168,150,0.15);
}
.vehicle-top { display: flex; align-items: center; justify-content: space-between; }
.vehicle-icon { font-size: 1.8rem; }
.vehicle-capacity {
  font-size: 0.7rem;
  color: #888;
  background: var(--sand-100);
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-weight: 600;
}
.vehicle-name { font-weight: 700; font-size: 0.95rem; color: var(--teal-900); }
.vehicle-desc { font-size: 0.75rem; color: #999; }
.vehicle-price { font-weight: 800; font-size: 1.1rem; color: var(--teal-600); }

/* Passenger Counter */
.counter-group { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 2px solid var(--sand-200); border-radius: var(--r-md); }
.counter-label { display: flex; flex-direction: column; }
.counter-label .c-title { font-size: 0.9rem; font-weight: 600; color: var(--teal-800); }
.counter-label .c-sub { font-size: 0.75rem; color: #aaa; }
.counter-controls { display: flex; align-items: center; gap: 12px; }
.counter-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--sand-200);
  background: white;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-weight: 700;
  color: var(--teal-600);
  transition: all var(--duration) var(--ease);
}
.counter-btn:hover { border-color: var(--teal-400); background: var(--teal-50); }
.counter-val { font-size: 1.1rem; font-weight: 700; color: var(--teal-900); min-width: 24px; text-align: center; }

/* Price Summary */
.price-summary {
  background: var(--teal-50);
  border: 2px solid var(--teal-200);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 24px;
}
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 0.875rem; }
.price-row .label { color: #888; }
.price-row .value { font-weight: 600; color: var(--teal-800); }
.price-divider { height: 1px; background: var(--teal-200); margin: 12px 0; }
.price-total { display: flex; justify-content: space-between; align-items: center; }
.price-total .total-label { font-size: 1rem; font-weight: 700; color: var(--teal-900); }
.price-total .total-value { font-size: 1.8rem; font-weight: 900; color: var(--teal-600); }
.price-note { font-size: 0.72rem; color: #aaa; margin-top: 8px; }

/* Contact Info Step */
.contact-highlight {
  background: linear-gradient(135deg, var(--teal-50), rgba(255,183,3,0.08));
  border: 1px solid var(--teal-200);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-highlight .ch-icon { font-size: 2rem; }
.contact-highlight .ch-text { font-size: 0.85rem; color: var(--teal-800); line-height: 1.5; }
.contact-highlight .ch-text strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--duration) var(--ease);
  border: none;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--grad-teal);
  color: white;
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,168,150,0.45); }
.btn-primary:active { transform: translateY(0); }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  font-size: 1rem;
  padding: 16px 32px;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }
.btn-whatsapp .wa-icon { font-size: 1.2rem; }

.btn-outline {
  background: white;
  color: var(--teal-600);
  border: 2px solid var(--teal-300);
}
.btn-outline:hover { background: var(--teal-50); border-color: var(--teal-500); }

.btn-ghost {
  background: transparent;
  color: #999;
}
.btn-ghost:hover { color: var(--teal-600); background: var(--sand-100); }

.btn-coral {
  background: var(--grad-coral);
  color: white;
  box-shadow: var(--shadow-coral);
}
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,107,107,0.5); }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; border-radius: var(--r-sm); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.form-actions-right { margin-left: auto; display: flex; gap: 12px; }

/* ─── SUCCESS CARD ────────────────────────────────── */
.success-view {
  text-align: center;
  padding: 40px 32px;
}
.success-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  animation: pop-in 0.5s var(--ease);
}
@keyframes pop-in {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.success-title { font-size: 1.6rem; font-weight: 800; color: var(--teal-900); margin-bottom: 8px; }
.success-sub { color: #888; margin-bottom: 28px; }
.booking-summary-card {
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: left;
  margin-bottom: 24px;
}
.bs-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--sand-200); font-size: 0.875rem; }
.bs-row:last-child { border-bottom: none; }
.bs-label { color: #aaa; font-weight: 500; min-width: 110px; }
.bs-val { font-weight: 600; color: var(--teal-900); }

/* ─── DRIVER DASHBOARD ───────────────────────────── */
#driver-view {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 60px;
}

/* PIN Screen */
#pin-screen {
  max-width: 380px;
  margin: 60px auto;
  background: white;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  text-align: center;
}
.pin-icon { font-size: 3rem; margin-bottom: 16px; }
.pin-title { font-size: 1.4rem; font-weight: 800; color: var(--teal-900); margin-bottom: 8px; }
.pin-sub { font-size: 0.875rem; color: #888; margin-bottom: 28px; }
.pin-input {
  letter-spacing: 0.4em;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 16px;
}
.pin-hint { font-size: 0.75rem; color: #bbb; margin-top: 12px; }

/* Dashboard Header */
.driver-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.driver-greeting h2 { font-size: 1.6rem; font-weight: 800; color: var(--teal-900); line-height: 1.2; }
.driver-greeting p { color: #888; font-size: 0.875rem; margin-top: 4px; }
.driver-actions { display: flex; gap: 12px; }

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.kpi-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,168,150,0.1);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.kpi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
}
.kpi-card.teal::before { background: var(--grad-teal); }
.kpi-card.coral::before { background: var(--grad-coral); }
.kpi-card.gold::before { background: var(--grad-gold); }
.kpi-card.blue::before { background: linear-gradient(135deg, #4361ee, #7209b7); }

.kpi-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.kpi-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.kpi-icon.teal { background: var(--teal-100); }
.kpi-icon.coral { background: rgba(255,107,107,0.12); }
.kpi-icon.gold { background: rgba(255,183,3,0.12); }
.kpi-icon.blue { background: rgba(67,97,238,0.1); }
.kpi-trend { font-size: 0.75rem; font-weight: 600; color: #28a745; background: rgba(40,167,69,0.1); padding: 2px 8px; border-radius: var(--r-full); }
.kpi-value { font-size: 2rem; font-weight: 900; color: var(--teal-900); line-height: 1; margin-bottom: 4px; }
.kpi-label { font-size: 0.8rem; color: #aaa; font-weight: 500; }

/* Bookings Panel */
.panel {
  background: white;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,168,150,0.08);
  margin-bottom: 24px;
  overflow: hidden;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--sand-200);
}
.panel-title { font-size: 1.05rem; font-weight: 700; color: var(--teal-900); display: flex; align-items: center; gap: 8px; }
.panel-actions { display: flex; gap: 8px; }

/* Booking cards */
.bookings-list { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #bbb;
}
.empty-state .es-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state p { font-size: 0.9rem; }

.booking-item {
  border: 1px solid var(--sand-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}
.booking-item:hover { border-color: var(--teal-200); box-shadow: var(--shadow-sm); }

.booking-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--sand-50);
  gap: 12px;
  flex-wrap: wrap;
}
.booking-ref { font-weight: 800; font-size: 0.85rem; color: var(--teal-700); font-family: monospace; letter-spacing: 0.05em; }
.booking-status-badge {
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-pending { background: rgba(255,183,3,0.15); color: #b07d00; }
.status-confirmed { background: rgba(0,168,150,0.12); color: var(--teal-700); }
.status-enroute { background: rgba(67,97,238,0.12); color: #4361ee; }
.status-waiting { background: rgba(255,107,107,0.12); color: var(--coral-dk); }
.status-completed { background: rgba(40,167,69,0.12); color: #1e7e34; }
.status-cancelled { background: rgba(108,117,125,0.12); color: #555; }

.booking-item-body { padding: 14px 16px; }
.booking-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-900);
  margin-bottom: 10px;
}
.route-arrow { color: var(--teal-400); font-size: 1.1rem; }

.booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}
.booking-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #888;
  background: var(--sand-100);
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.booking-meta-item .meta-icon { font-size: 0.9rem; }

.booking-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--sand-200);
  gap: 12px;
  flex-wrap: wrap;
}
.booking-price { font-size: 1.3rem; font-weight: 900; color: var(--teal-600); }
.booking-footer-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.status-select {
  padding: 6px 12px;
  border: 1.5px solid var(--sand-200);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal-800);
  background: white;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.status-select:focus { outline: none; border-color: var(--teal-400); }

/* Tariff Panel */
.tariff-grid {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.tariff-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1.5px solid var(--sand-200);
  border-radius: var(--r-md);
  background: var(--sand-50);
  transition: border-color var(--duration);
  gap: 12px;
}
.tariff-item:focus-within { border-color: var(--teal-400); background: var(--teal-50); }
.tariff-info { display: flex; flex-direction: column; }
.tariff-zone { font-weight: 700; font-size: 0.9rem; color: var(--teal-900); }
.tariff-type { font-size: 0.75rem; color: #aaa; }
.tariff-price-input {
  width: 90px;
  padding: 8px 12px;
  border: 1.5px solid var(--sand-200);
  border-radius: var(--r-sm);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-700);
  text-align: right;
  background: white;
  transition: all var(--duration);
}
.tariff-price-input:focus { outline: none; border-color: var(--teal-400); box-shadow: 0 0 0 3px rgba(0,168,150,0.12); }

/* Settings Panel */
.settings-grid { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1.5px solid var(--sand-200);
  border-radius: var(--r-md);
  gap: 12px;
}
.settings-info { display: flex; flex-direction: column; gap: 2px; }
.settings-label { font-weight: 600; font-size: 0.9rem; color: var(--teal-900); }
.settings-desc { font-size: 0.75rem; color: #aaa; }
.settings-control { min-width: 200px; }
.settings-control .form-control { padding: 10px 14px; font-size: 0.875rem; }

/* ─── FLIGHT STATUS MODAL ────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,30,40,0.6);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeOverlay 0.2s var(--ease);
}
@keyframes fadeOverlay { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: white;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
  padding: 32px;
  animation: slideUpModal 0.3s var(--ease);
}
@keyframes slideUpModal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal-title { font-size: 1.2rem; font-weight: 800; color: var(--teal-900); }
.modal-close { width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--sand-100); border: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: all var(--duration); }
.modal-close:hover { background: var(--sand-200); }

.flight-status-card {
  background: var(--sand-50);
  border: 1.5px solid var(--sand-200);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}
.flight-num { font-size: 1.6rem; font-weight: 900; color: var(--teal-900); letter-spacing: -0.02em; margin-bottom: 4px; }
.flight-airline { font-size: 0.875rem; color: #888; margin-bottom: 16px; }
.flight-progress { position: relative; margin: 20px 0; }
.flight-progress-bar {
  height: 4px;
  background: var(--sand-200);
  border-radius: 2px;
  overflow: hidden;
  margin: 8px 0;
}
.flight-progress-fill {
  height: 100%;
  background: var(--grad-teal);
  border-radius: 2px;
  transition: width 1.5s var(--ease);
}
.flight-endpoints { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 700; color: var(--teal-800); }
.flight-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 12px;
}
.status-on-time { background: rgba(40,167,69,0.12); color: #1e7e34; }
.status-delayed { background: rgba(255,107,107,0.12); color: var(--coral-dk); }
.status-landed { background: rgba(0,168,150,0.12); color: var(--teal-700); }
.status-boarding { background: rgba(255,183,3,0.15); color: #b07d00; }

/* ─── TOAST NOTIFICATIONS ─────────────────────────── */
#toast-container {
  position: fixed;
  top: 80px;
  right: 16px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: white;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  min-width: 260px;
  max-width: 380px;
  border-left: 4px solid var(--teal-500);
  animation: slideInToast 0.3s var(--ease);
}
.toast.success { border-left-color: #28a745; }
.toast.error { border-left-color: var(--coral); }
.toast.warning { border-left-color: var(--gold); }
@keyframes slideInToast {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.toast-fade-out { animation: slideOutToast 0.3s var(--ease) forwards; }
@keyframes slideOutToast {
  to { opacity: 0; transform: translateX(20px); }
}

/* ─── SCROLL WAVE DIVIDER ────────────────────────── */
.wave-divider { line-height: 0; overflow: hidden; margin-top: -1px; }
.wave-divider svg { display: block; width: 100%; }

/* ─── FILTER TABS ─────────────────────────────────── */
.filter-tabs { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  background: transparent;
  color: #888;
  border: 1.5px solid var(--sand-200);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.filter-tab:hover { color: var(--teal-600); border-color: var(--teal-300); }
.filter-tab.active { background: var(--teal-500); color: white; border-color: var(--teal-500); box-shadow: var(--shadow-teal); }

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 640px) {
  .route-selector { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .vehicle-selector { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .step-label { display: none; }
  .nav-brand span { display: none; }
  .hero-stat .stat-num { font-size: 1.4rem; }
  .driver-header { flex-direction: column; align-items: flex-start; }
  .form-step { padding: 20px; }
  .step-indicator { padding: 16px 20px; }
  .settings-item { flex-direction: column; align-items: flex-start; }
  .settings-control { width: 100%; }
}
@media (max-width: 400px) {
  .kpi-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; align-items: center; }
}

/* ─── SCROLLBAR STYLE ─────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--sand-100); }
::-webkit-scrollbar-thumb { background: var(--teal-200); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-400); }

/* ─── DARK MODE TOGGLE BUTTON ────────────────────── */
.dark-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sand-100);
  border: 1.5px solid var(--sand-200);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
}
.dark-toggle:hover { background: var(--sand-200); transform: rotate(15deg); }

/* ─── DARK MODE THEME ────────────────────────────── */
[data-theme="dark"] body { background: #0c1a1c; color: #ddf0ee; }
[data-theme="dark"] #navbar { background: rgba(12,26,28,0.92); border-bottom-color: rgba(0,168,150,0.2); }
[data-theme="dark"] .nav-brand { color: var(--teal-300); }
[data-theme="dark"] .nav-tabs { background: #1a2d31; }
[data-theme="dark"] .nav-tab { color: var(--teal-300); }
[data-theme="dark"] .nav-tab:hover { background: rgba(0,168,150,0.12); }
[data-theme="dark"] .nav-tab.active { background: #1e3a3f; color: var(--teal-200); }
[data-theme="dark"] .booking-card,
[data-theme="dark"] .panel,
[data-theme="dark"] .kpi-card,
[data-theme="dark"] #pin-screen,
[data-theme="dark"] .modal { background: #112126; border-color: rgba(0,168,150,0.12); }
[data-theme="dark"] .form-control,
[data-theme="dark"] .status-select,
[data-theme="dark"] .tariff-price-input { background: #1a2d31; border-color: #2a3f42; color: #ddf0ee; }
[data-theme="dark"] .form-control:focus { border-color: var(--teal-400); }
[data-theme="dark"] .form-control::placeholder { color: #4a6a70; }
[data-theme="dark"] select.form-control option { background: #1a2d31; }
[data-theme="dark"] .step-indicator,
[data-theme="dark"] .booking-item-header,
[data-theme="dark"] .booking-item-footer,
[data-theme="dark"] .price-summary,
[data-theme="dark"] .contact-highlight,
[data-theme="dark"] .booking-summary-card,
[data-theme="dark"] .panel-header,
[data-theme="dark"] .tariff-item,
[data-theme="dark"] .settings-item,
[data-theme="dark"] .flight-status-card { background: #0f2226; border-color: #1e3a40; }
[data-theme="dark"] .step-title,
[data-theme="dark"] .panel-title,
[data-theme="dark"] .kpi-value,
[data-theme="dark"] .booking-route,
[data-theme="dark"] .vehicle-name,
[data-theme="dark"] .driver-greeting h2,
[data-theme="dark"] .pin-title,
[data-theme="dark"] .modal-title,
[data-theme="dark"] .counter-val,
[data-theme="dark"] .c-title,
[data-theme="dark"] .settings-label,
[data-theme="dark"] .tariff-zone,
[data-theme="dark"] .bs-val,
[data-theme="dark"] .success-title,
[data-theme="dark"] .flight-num { color: #ddf0ee; }
[data-theme="dark"] .step-desc,
[data-theme="dark"] .kpi-label,
[data-theme="dark"] .pin-sub,
[data-theme="dark"] .pin-hint,
[data-theme="dark"] .driver-greeting p,
[data-theme="dark"] .settings-desc,
[data-theme="dark"] .tariff-type,
[data-theme="dark"] .bs-label,
[data-theme="dark"] .price-note,
[data-theme="dark"] .vehicle-desc,
[data-theme="dark"] .c-sub,
[data-theme="dark"] .flight-airline { color: #5a8a90; }
[data-theme="dark"] .booking-item { border-color: #1e3a40; }
[data-theme="dark"] .booking-item:hover { border-color: var(--teal-500); }
[data-theme="dark"] .booking-meta-item { background: #1a2d31; color: #7aa8ad; }
[data-theme="dark"] .booking-ref { color: var(--teal-300); }
[data-theme="dark"] .vehicle-option label,
[data-theme="dark"] .route-option label { background: #112126; border-color: #1e3a40; }
[data-theme="dark"] .vehicle-option label:hover,
[data-theme="dark"] .route-option label:hover { border-color: var(--teal-500); background: #1a2d31; }
[data-theme="dark"] .vehicle-option input:checked + label,
[data-theme="dark"] .route-option input:checked + label { background: #1a3540; }
[data-theme="dark"] .route-icon,
[data-theme="dark"] .vehicle-capacity { background: #1a2d31; }
[data-theme="dark"] .counter-group { border-color: #1e3a40; }
[data-theme="dark"] .counter-btn { background: #1a2d31; border-color: #2a4045; color: var(--teal-300); }
[data-theme="dark"] .counter-btn:hover { background: #223a40; }
[data-theme="dark"] .modal-close { background: #1a2d31; color: #ddf0ee; }
[data-theme="dark"] .filter-tab { border-color: #1e3a40; color: #7aa8ad; }
[data-theme="dark"] .filter-tab:hover { color: var(--teal-300); }
[data-theme="dark"] .toast { background: #112126; color: #ddf0ee; }
[data-theme="dark"] footer { background: #0c1a1c !important; border-top-color: #1e3a40 !important; color: #4a6a70 !important; }
[data-theme="dark"] footer p { color: #4a6a70 !important; }
[data-theme="dark"] footer .footer-brand { color: var(--teal-400) !important; }
[data-theme="dark"] .step-label { color: #5a8a90; }
[data-theme="dark"] .step-label.active { color: var(--teal-300); }
[data-theme="dark"] .step-label.done { color: var(--teal-400); }
[data-theme="dark"] .step-line { background: #1e3a40; }
[data-theme="dark"] .step-line.done { background: var(--teal-600); }
[data-theme="dark"] .step-circle { background: #1a2d31; border-color: #2a4045; color: #5a8a90; }
[data-theme="dark"] .hero-stat { background: rgba(0,0,0,0.3); }
[data-theme="dark"] .ch-text { color: #9dcfd4; }
[data-theme="dark"] .success-sub { color: #7aa8ad; }
[data-theme="dark"] ::-webkit-scrollbar-track { background: #0f2226; }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #2a4045; }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: var(--teal-600); }
[data-theme="dark"] .why-card { background: #112126 !important; }
[data-theme="dark"] .why-card div:last-child { color: #5a8a90 !important; }
[data-theme="dark"] .why-card div:nth-child(2) { color: #ddf0ee !important; }
[data-theme="dark"] .form-group label { color: var(--teal-300) !important; }

/* ─── EARNINGS CHART ─────────────────────────────── */
.chart-wrapper {
  padding: 20px 24px 24px;
  position: relative;
  height: 260px;
}
.chart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chart-total-pill {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--teal-100);
  color: var(--teal-700);
  padding: 4px 12px;
  border-radius: var(--r-full);
}
[data-theme="dark"] .chart-total-pill { background: #1a3540; color: var(--teal-300); }

/* ─── MAP BUTTON ─────────────────────────────────── */
.btn-maps {
  background: linear-gradient(135deg, #4285F4, #34A853);
  color: white;
  box-shadow: 0 4px 14px rgba(66,133,244,0.35);
}
.btn-maps:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(66,133,244,0.45); }

/* ─── PDF / PRINT RECEIPT ────────────────────────── */
#print-receipt {
  display: none;
  position: fixed;
  top: -99999px;
  left: -99999px;
  width: 650px;
  background: white;
  padding: 48px;
  font-family: 'Outfit', sans-serif;
  color: #000;
  z-index: -1;
}
@media print {
  body > *:not(#print-receipt) { display: none !important; }
  #print-receipt {
    display: block !important;
    position: static !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important;
    padding: 24px !important;
    box-shadow: none !important;
  }
}
.receipt-header {
  background: linear-gradient(135deg, #003d40, #00a896);
  color: white;
  padding: 28px 32px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0;
}
.receipt-brand { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.receipt-sub { font-size: 0.8rem; opacity: 0.8; }
.receipt-ref { font-family: monospace; font-size: 0.85rem; background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 6px; }
.receipt-body { border: 1px solid #e0e0e0; border-top: none; border-radius: 0 0 12px 12px; overflow: hidden; }
.receipt-section { padding: 16px 24px; border-bottom: 1px solid #f0f0f0; }
.receipt-section-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #00a896; margin-bottom: 10px; }
.receipt-row { display: flex; justify-content: space-between; padding: 3px 0; font-size: 0.85rem; }
.receipt-row .rl { color: #888; }
.receipt-row .rv { font-weight: 600; color: #111; }
.receipt-total { background: linear-gradient(135deg, #003d40, #00a896); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; }
.receipt-total-label { color: rgba(255,255,255,0.8); font-size: 0.9rem; }
.receipt-total-value { color: white; font-size: 1.8rem; font-weight: 900; }
.receipt-footer { text-align: center; padding: 14px; font-size: 0.72rem; color: #aaa; border-top: 1px solid #f0f0f0; }

/* ─── NEW FEATURES STYLES ────────────────────────── */
.payment-section { text-align: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--sand-200); }
[data-theme="dark"] .payment-section { border-top-color: #1e3a40; }
.qr-code-img { width: 200px; height: 200px; object-fit: contain; border-radius: 12px; margin: 0 auto; display: block; border: 2px solid var(--sand-200); }
[data-theme="dark"] .qr-code-img { border-color: #1e3a40; background: white; }
.btn-theme-toggle { background: transparent; border: none; font-size: 1.2rem; cursor: pointer; padding: 4px; border-radius: 50%; transition: background 0.3s; }
.btn-theme-toggle:hover { background: rgba(0,0,0,0.05); }
[data-theme="dark"] .btn-theme-toggle { filter: invert(1); }


/* ─── WHY CHOOSE US CARDS (was inline) ───────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 20px;
}
.why-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--duration) var(--ease);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-card-icon { font-size: 2rem; margin-bottom: 12px; }
.why-card-title { font-weight: 700; margin-bottom: 6px; color: var(--teal-900); }
.why-card-desc { font-size: 0.8rem; color: #aaa; }

/* ─── FAQ SECTION ────────────────────────────────── */
.faq-section {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 0 16px;
}
.faq-section-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal-900);
  text-align: center;
  margin-bottom: 24px;
}
.faq-item {
  background: white;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,168,150,0.08);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal-900);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  transition: background var(--duration);
  gap: 12px;
}
.faq-question:hover { background: var(--teal-50); }
.faq-arrow {
  font-size: 0.8rem;
  color: var(--teal-400);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0 20px;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

/* ─── TESTIMONIALS ───────────────────────────────── */
.testimonials-section {
  max-width: 820px;
  margin: 0 auto 40px;
  padding: 0 16px;
}
.testimonials-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal-900);
  text-align: center;
  margin-bottom: 24px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.testimonial-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,168,150,0.08);
  transition: all var(--duration) var(--ease);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.875rem; color: #555; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--grad-teal);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.85rem;
}
.testimonial-name { font-weight: 600; font-size: 0.85rem; color: var(--teal-900); }
.testimonial-origin { font-size: 0.72rem; color: #aaa; }

/* ─── FOOTER (improved) ─────────────────────────── */
.site-footer {
  text-align: center;
  padding: 40px 24px 32px;
  color: #aaa;
  font-size: 0.8rem;
  border-top: 1px solid var(--sand-200);
  background: white;
}
.footer-brand {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal-700);
}
.footer-location { margin-bottom: 16px; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.footer-links a {
  color: var(--teal-600);
  font-weight: 600;
  font-size: 0.82rem;
  transition: color var(--duration);
}
.footer-links a:hover { color: var(--teal-400); }
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-social-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sand-100);
  border: 1.5px solid var(--sand-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
}
.footer-social-btn:hover { background: var(--teal-50); border-color: var(--teal-300); transform: translateY(-2px); }
.footer-copy { font-size: 0.75rem; color: #bbb; }
.footer-made { margin-top: 8px; font-size: 0.78rem; }

/* ─── STRIPE BUTTON (was inline) ─────────────────── */
.btn-stripe {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #635bff;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(99,91,255,0.3);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.btn-stripe:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99,91,255,0.4); }

/* ─── PAYPAL BUTTON (was inline) ─────────────────── */
.btn-paypal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #003087;
  color: white;
  border-radius: 10px;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,48,135,0.3);
  transition: all var(--duration) var(--ease);
}
.btn-paypal:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,48,135,0.4); }

/* ─── DARK MODE: new sections ────────────────────── */
[data-theme="dark"] .why-card { background: #112126; }
[data-theme="dark"] .why-card-title { color: #ddf0ee; }
[data-theme="dark"] .why-card-desc { color: #5a8a90; }
[data-theme="dark"] .faq-item { background: #112126; border-color: #1e3a40; }
[data-theme="dark"] .faq-question { color: #ddf0ee; }
[data-theme="dark"] .faq-question:hover { background: #1a2d31; }
[data-theme="dark"] .faq-answer { color: #7aa8ad; }
[data-theme="dark"] .faq-section-title,
[data-theme="dark"] .testimonials-title { color: #ddf0ee; }
[data-theme="dark"] .testimonial-card { background: #112126; border-color: #1e3a40; }
[data-theme="dark"] .testimonial-text { color: #7aa8ad; }
[data-theme="dark"] .testimonial-name { color: #ddf0ee; }
[data-theme="dark"] .site-footer { background: #0c1a1c; border-top-color: #1e3a40; }
[data-theme="dark"] .footer-brand { color: var(--teal-400); }
[data-theme="dark"] .footer-social-btn { background: #1a2d31; border-color: #2a4045; }
[data-theme="dark"] .footer-social-btn:hover { background: #223a40; border-color: var(--teal-500); }
[data-theme="dark"] .footer-copy { color: #4a6a70; }
[data-theme="dark"] .footer-made { color: #4a6a70; }

/* ─── DARK MODE: wave divider fix ────────────────── */
[data-theme="dark"] .wave-divider path { fill: #0c1a1c; }
