/* ==================================================
   TRANSPORTE PRIVADO — ANTHONY SANHUEZA
   SPA MVP · Dark Premium Theme · Mobile-First
   ================================================== */

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

/* ── Design Tokens ── */
:root {
  --bg-deep:       #08090A;
  --bg-surface:    #0F1117;
  --bg-card:       #13161E;
  --bg-elevated:   #1A1E2A;
  --accent:        #FFB800;
  --accent-dim:    rgba(255, 184, 0, 0.12);
  --accent-glow:   rgba(255, 184, 0, 0.25);
  --success:       #2ED573;
  --success-dim:   rgba(46, 213, 115, 0.1);
  --danger:        #FF4757;
  --whatsapp:      #25D366;
  --whatsapp-dark: #128C7E;
  --text-primary:  #F2F2F3;
  --text-secondary:#8A8F9E;
  --text-muted:    #4A4F5E;
  --border:        rgba(255,255,255,0.07);
  --border-accent: rgba(255,184,0,0.35);
  --radius-sm:     8px;
  --radius:        14px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --shadow:        0 4px 32px rgba(0,0,0,0.5);
  --shadow-glow:   0 0 32px rgba(255,184,0,0.15);
  --transition:    0.22s cubic-bezier(0.4,0,0.2,1);
  --transition-b:  0.35s cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}

body {
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 40% at 50% -5%, rgba(255,184,0,0.07) 0%, transparent 65%);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Container ── */
.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==================================================
   HEADER
   ================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,9,10,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.brand-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.accent { color: var(--accent); }

.btn-whatsapp-header {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--whatsapp);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-whatsapp-header svg { width: 16px; height: 16px; }
.btn-whatsapp-header:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

/* ==================================================
   TOAST
   ================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
  max-width: calc(100vw - 32px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.success { border-color: var(--success); }
.toast.error   { border-color: var(--danger);  }

/* ==================================================
   LIGHTBOX
   ================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img {
  max-width: 95vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--bg-elevated); }
.lightbox-close svg { width: 18px; height: 18px; }

/* ==================================================
   SECTION HERO
   ================================================== */
.section-hero {
  position: relative;
  padding: 32px 0 48px;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255,184,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Driver Showcase Card ── */
.driver-showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.driver-showcase-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,184,0,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.driver-showcase-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}

.driver-top-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.driver-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.driver-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--accent);
  box-shadow: 0 0 24px rgba(255,184,0,0.30);
}
.driver-avatar-fallback {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 42px;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--accent);
  box-shadow: 0 0 24px rgba(255,184,0,0.30);
}
.online-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid var(--bg-card);
  animation: pulseBadge 2.5s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%,100% { box-shadow: 0 0 0 0 rgba(46,213,115,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(46,213,115,0); }
}

.driver-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
  line-height: 1.2;
}
.driver-role {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 3px;
}
.star-icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
  fill: var(--accent);
}
.rating-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-left: 5px;
  font-weight: 500;
}

/* ── Vehicle Block ── */
.vehicle-block {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.vehicle-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.vehicle-header svg { width: 14px; height: 14px; color: var(--accent); }
.vehicle-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.vehicle-sub {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Feature Badges ── */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.feature-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
}
.feature-badge:hover {
  background: rgba(255,184,0,0.18);
  transform: translateY(-1px);
}
.feature-badge svg { width: 14px; height: 14px; }

/* tarifa-pill: eliminada (dato interno) */

/* ── Stats Banner ── */
.stats-banner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: linear-gradient(135deg, rgba(255,184,0,0.08) 0%, rgba(255,184,0,0.03) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 14px 10px;
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}
.stats-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}
.stat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-lbl {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-accent);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ==================================================
   GALLERY
   ================================================== */
.gallery-section { margin-bottom: 8px; }
.gallery-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gallery-title svg { width: 16px; height: 16px; color: var(--accent); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
}
.gallery-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { width: 20px; height: 20px; color: var(--accent); }
.gallery-overlay span { font-size: 11px; font-weight: 600; color: #fff; margin-top: 4px; }

/* img-placeholder state */
.gallery-item.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--text-muted);
  font-size: 12px;
}
.gallery-item.img-placeholder::after {
  content: 'Foto no disponible';
}
.gallery-item.img-placeholder img { display: none; }

/* ==================================================
   SECTION QUOTER
   ================================================== */
.section-quoter {
  padding: 0 0 60px;
}
.section-title-wrap {
  text-align: center;
  margin-bottom: 24px;
  padding-top: 8px;
}
.section-pill {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.section-sub {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 340px;
  margin: 0 auto;
}

/* ── Quoter Card ── */
.quoter-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
  overflow: visible;
}

/* ── Fields ── */
.field-group {
  margin-bottom: 14px;
  position: relative;
}
.field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
}
.field-label svg { width: 13px; height: 13px; color: var(--accent); }

.field-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field-input::placeholder { color: var(--text-muted); }
.field-input:focus {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px rgba(255,184,0,0.1);
}
.field-input[type="date"],
.field-input[type="time"] {
  color-scheme: dark;
  cursor: pointer;
}

.input-with-btn {
  display: flex;
  gap: 8px;
  align-items: center;
}
.input-with-btn .field-input { flex: 1; }

.btn-gps {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-gps:hover {
  background: var(--accent-dim);
  border-color: var(--border-accent);
}
.btn-gps.loading { animation: spin 1s linear infinite; }
.btn-gps svg { width: 18px; height: 18px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Autocomplete ── */
.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: 4px;
  overflow: hidden;
  display: none;
  box-shadow: var(--shadow);
  max-height: 240px;
  overflow-y: auto;
}
.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  color: var(--text-primary);
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: var(--bg-card); }
.autocomplete-item svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--accent); }
.autocomplete-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.autocomplete-empty {
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ── Calc Button ── */
.btn-calc {
  width: 100%;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius);
  padding: 15px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-b);
  margin-top: 4px;
}
.btn-calc:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,184,0,0.3);
}
.btn-calc:active { transform: translateY(0); }
.btn-calc.loading { opacity: 0.7; pointer-events: none; }
.btn-calc svg { width: 18px; height: 18px; }

/* ==================================================
   QUOTE RESULT
   ================================================== */
.quote-result {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  margin-bottom: 16px;
  animation: slideUp 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.quote-result.hidden { display: none; }

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

.quote-result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.quote-result-header svg { width: 18px; height: 18px; }
.result-icon-ok { color: var(--success); }

/* Route map */
.route-map {
  height: 200px;
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  z-index: 1;
}

.quote-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.metric-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
}
.metric-item.highlight {
  grid-column: span 2;
  background: var(--accent-dim);
  border-color: var(--border-accent);
}
.metric-lbl {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 5px;
}
.metric-val {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.metric-item.highlight .metric-val {
  font-size: 24px;
  color: var(--accent);
}

.quote-route-detail {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.route-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.route-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}
.origin-dot { background: var(--success); }
.dest-dot   { background: var(--danger);  }
.route-line-deco {
  width: 2px;
  height: 14px;
  background: linear-gradient(to bottom, var(--success), var(--danger));
  border-radius: 2px;
  margin: 3px 0 3px 4px;
}
.route-address {
  color: var(--text-primary);
  font-size: 12px;
  line-height: 1.4;
}

/* ==================================================
   BOOKING FORM
   ================================================== */
.booking-form {
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: 20px;
  margin-bottom: 24px;
  position: relative;
  animation: slideUp 0.45s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 0 32px rgba(255,184,0,0.06);
}
.booking-form.hidden { display: none; }

.booking-form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.booking-form-header svg { width: 20px; height: 20px; }

.fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ── Reserve CTA ── */
.btn-reserve {
  width: 100%;
  background: linear-gradient(135deg, var(--whatsapp) 0%, #1DA851 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 17px;
  font-size: 16px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-b);
  margin-top: 4px;
  letter-spacing: -0.01em;
}
.btn-reserve:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.35);
}
.btn-reserve:active { transform: translateY(0); }
.btn-reserve.loading { opacity: 0.7; pointer-events: none; }
.btn-reserve svg { width: 20px; height: 20px; }

.reserve-hint {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.reserve-hint svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 1px; }

/* ==================================================
   SECCIÓN QR
   ================================================== */
.section-qr {
  padding: 0 0 48px;
}
.qr-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.qr-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,184,0,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.qr-left {
  flex: 1;
  min-width: 0;
}
.qr-title {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 8px 0 8px;
  line-height: 1.2;
}
.qr-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}
.qr-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.qr-url svg { width: 13px; height: 13px; flex-shrink: 0; }

.btn-download-qr {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-b);
  width: 100%;
  justify-content: center;
}
.btn-download-qr:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,184,0,0.3);
}
.btn-download-qr svg { width: 15px; height: 15px; }

/* ── QR Frame ── */
.qr-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.qr-frame {
  position: relative;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 0 24px rgba(255,184,0,0.15);
}
.qr-frame #qrCanvas canvas,
.qr-frame #qrCanvas img {
  display: block;
  border-radius: 4px;
}
/* Esquinas decorativas ámbar */
.qr-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--accent);
  border-style: solid;
}
.qr-tl { top: -2px; left: -2px;  border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.qr-tr { top: -2px; right: -2px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.qr-bl { bottom: -2px; left: -2px;  border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.qr-br { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

.qr-scan-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}
.qr-scan-hint svg { width: 12px; height: 12px; }

/* Responsive: stack en pantallas muy pequeñas */
@media (max-width: 400px) {
  .qr-card { flex-direction: column; align-items: flex-start; }
  .qr-right { align-self: center; }
}

/* ==================================================
   FOOTER
   ================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 32px 0;
  text-align: center;
}
.footer-brand {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.footer-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.footer-links { display: flex; justify-content: center; gap: 16px; }
.footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }
.footer-link svg { width: 15px; height: 15px; }

/* ==================================================
   ANIMATIONS — on-scroll entrance
   ================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34,1.56,0.64,1);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   RESPONSIVE TWEAKS
   ================================================== */
@media (max-width: 380px) {
  .driver-avatar, .driver-avatar-fallback { width: 64px; height: 64px; }
  .driver-name { font-size: 1.1rem; }
  .badge-row { gap: 6px; }
  .feature-badge { font-size: 11px; padding: 5px 10px; }
  .metric-item.highlight .metric-val { font-size: 20px; }
  .btn-reserve { font-size: 14px; padding: 14px; }
  .fields-row { grid-template-columns: 1fr; }
}

/* ==================================================
   STEPPER DE COTIZADOR
   ================================================== */
.stepper-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  background: var(--card);
  padding: 20px 20px 10px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--accent);
}

.step-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
}

.step-line {
  height: 2px;
  width: 33%;
  background: var(--border);
  position: absolute;
  top: 35px;
  z-index: 1;
}
.step-line:nth-child(2) {
  left: 17%;
}
.step-line:nth-child(4) {
  right: 17%;
}

@media (max-width: 480px) {
  .stepper-wrapper {
    padding: 16px 12px 10px 12px;
  }
  .step-label {
    font-size: 10px;
  }
  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .step-line {
    top: 29px;
  }
}

/* ==================================================
   LAYOUT DE 2 COLUMNAS Y ESTADOS DEL STEPPER
   ================================================== */
.quoter-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}



/* Stepper States Override */
.step .step-circle {
  border-color: var(--border);
  color: var(--text-muted);
  background: var(--bg);
  transition: all 0.3s ease;
}
.step .step-label {
  color: var(--text-muted);
  opacity: 0.7;
}

.step.step-active .step-circle {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,184,0,0.1);
  box-shadow: 0 0 10px rgba(255,184,0,0.3);
}
.step.step-active .step-label {
  color: var(--text);
  opacity: 1;
}

.step.step-completed .step-circle {
  border-color: var(--accent);
  color: #000;
  background: var(--accent);
}
.step.step-completed .step-label {
  color: var(--text);
  opacity: 1;
}
