/* ══════════════════════════════════════════════════════
   VIALCAR — DESIGN SYSTEM 2024
   Stack: HTML/CSS vanilla | Brand: #F5C400 #001F66 #CC1100
   Style: Dark Premium Automotive + Glassmorphism accents
   ══════════════════════════════════════════════════════ */

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

/* ─── TOKENS ─── */
:root {
  /* Brand */
  --amarillo:      #F5C400;
  --amarillo-l:    #FFD420;
  --azul:          #003399;
  --rojo:          #CC1100;
  --rojo-d:        #A80E00;
  --azul-oscuro:   #001F66;
  --azul-negro:    #000D2E;

  /* Surface */
  --surface:       #F8F9FD;
  --gris-borde:    #E2E6F0;
  --gris-texto:    #3D4466;
  --blanco:        #ffffff;

  /* Typography */
  --font-d: 'Barlow Condensed', sans-serif;
  --font-b: 'Barlow', sans-serif;

  /* Shadows */
  --sh-xs:   0 1px 3px rgba(0,31,102,0.06);
  --sh-sm:   0 2px 8px rgba(0,31,102,0.08);
  --sh-md:   0 8px 32px rgba(0,31,102,0.12);
  --sh-lg:   0 20px 60px rgba(0,31,102,0.16);
  --sh-card: 0 2px 12px rgba(0,31,102,0.07), 0 1px 4px rgba(0,0,0,0.05);
  --sh-hover:0 24px 72px rgba(0,31,102,0.18), 0 4px 20px rgba(0,0,0,0.08);

  /* Transitions */
  --tf: 150ms cubic-bezier(.4,0,.2,1);
  --tb: 260ms cubic-bezier(.4,0,.2,1);
  --ts: 420ms cubic-bezier(.4,0,.2,1);
  --th: 380ms cubic-bezier(0.22, 1, 0.36, 1); /* hover lift — ease-out-expo, smooth float */

  /* Radius */
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;

  /* Z-index */
  --z-nav:   100;
  --z-modal: 200;
}

/* ─── BASE ─── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b);
  background: var(--blanco);
  color: var(--gris-texto);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1),
              transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
  }
}

/* ─── KEYFRAMES ─── */
@keyframes heroEnter {
  from { opacity:0; transform:translateY(40px); }
  to   { opacity:1; transform:none; }
}
@keyframes cardEnter {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:none; }
}
@keyframes dotBlink {
  0%,100% { opacity:1; }
  50%      { opacity:.3; }
}
@keyframes lineDrift {
  0%,100% { transform:rotate(-14deg) translateX(0); }
  50%      { transform:rotate(-14deg) translateX(60px); }
}
@keyframes menuIn {
  from { opacity:0; transform:translateY(-12px); }
  to   { opacity:1; transform:none; }
}
@keyframes modalIn {
  from { opacity:0; transform:scale(.95) translateY(20px); }
  to   { opacity:1; transform:none; }
}
@keyframes countUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:none; }
}

/* ══════════════════════════════════
   NAVBAR
   ══════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: 68px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--ts), border-color var(--ts), height var(--tb), box-shadow var(--ts);
}
.navbar.solid {
  background: rgba(0,13,46,.97);
  border-bottom-color: rgba(245,196,0,.18);
  box-shadow: 0 4px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
/* Hero ve que el navbar es transparente, entonces el hero empieza desde top:0 */
.hero-page .navbar { background: rgba(0,13,46,.30); }
.hero-page .navbar.solid { background: rgba(0,13,46,.97); }

.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px 0 5%;
  height: 100%; display: flex; align-items: center;
  gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; text-decoration: none;
}
.nav-logo img { height: 65px; width: auto; display: block; }
.nav-logo-dot { color: var(--amarillo); }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; margin-left: auto; }
.nav-links a {
  color: rgba(255,255,255,.78); text-decoration: none;
  font-size: 14px; font-weight: 500; letter-spacing: .3px;
  position: relative; padding-bottom: 3px; white-space: nowrap;
  transition: color var(--tf);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--amarillo);
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--tb);
}
.nav-links a:hover, .nav-links a.active { color: var(--amarillo); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta-btn {
  background: var(--amarillo); color: var(--azul-oscuro) !important;
  padding: 9px 22px !important; padding-bottom: 9px !important; border-radius: 6px; font-weight: 700 !important;
  font-size: 14px !important; letter-spacing: .4px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  transition: background var(--tf), transform var(--tf), box-shadow var(--tf) !important;
}
.nav-cta-btn::after { display: none !important; }
.nav-cta-btn:hover {
  background: var(--amarillo-l) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(245,196,0,.35) !important;
}
.nav-burger {
  display: none; background: none; border: none;
  color: var(--blanco); cursor: pointer; padding: 8px;
  border-radius: 6px; transition: background var(--tf);
  flex-direction: column; gap: 5px; width: 38px; height: 38px;
  align-items: center; justify-content: center;
}
.nav-burger:hover { background: rgba(255,255,255,.1); }
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--blanco); border-radius: 2px;
  transition: all var(--tb);
}

/* ══════════════════════════════════
   HERO — SPLIT LAYOUT
   ══════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--azul-negro);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 68px;
}
/* Radial glow backdrop */
.hero::before {
  content: '';
  position: absolute; top: -20%; left: -10%;
  width: 70%; height: 140%;
  background: radial-gradient(ellipse at center, rgba(0,51,153,.35) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg-lines {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-bg-lines::before, .hero-bg-lines::after {
  content: '';
  position: absolute; width: 220%; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(245,196,0,.12), transparent);
  top: 38%; left: -60%; transform: rotate(-14deg);
  animation: lineDrift 11s ease-in-out infinite;
}
.hero-bg-lines::after {
  top: 64%; opacity: .5;
  animation-delay: -5.5s; animation-duration: 14s;
}

/* Bottom accent */
.hero-accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg,
    var(--amarillo) 0%, var(--amarillo) 60%,
    var(--rojo) 60%, var(--rojo) 80%,
    var(--azul) 80%);
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 32px 5% 72px;
  display: grid; grid-template-columns: 56% 44%;
  gap: 48px; align-items: center;
}

/* LEFT — Query title (sección superior) */
.hero-content { animation: heroEnter .9s cubic-bezier(.4,0,.2,1) .1s both; }


.hero-kicker {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
}
.hero-kicker .hk-line {
  display: block; width: 48px; height: 2px;
  background: var(--amarillo);
  flex-shrink: 0;
}
.hero-kicker .hk-text {
  font-family: var(--font-d);
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--amarillo);
}

.hero-query-title {
  font-family: var(--font-d);
  font-size: clamp(52px, 6.6vw, 92px);
  font-weight: 800; color: var(--blanco);
  line-height: 1.0; letter-spacing: -2.6px;
  margin-bottom: 26px;
}
.hero-query-title em {
  font-style: normal; color: var(--amarillo);
  display: block; letter-spacing: -3px;
}

.hero-query-sub {
  font-size: 17px; color: rgba(255,255,255,.52);
  line-height: 1.7; max-width: 400px;
  margin-bottom: 34px;
}

.hero-title {
  font-family: var(--font-d);
  font-size: clamp(64px, 7.5vw, 104px);
  font-weight: 800; color: var(--blanco);
  line-height: 1.05; letter-spacing: -2px; margin-bottom: 28px;
}
.hero-title em {
  font-style: normal; color: var(--amarillo);
  display: block; letter-spacing: -3px;
}
.hero-title .hero-title-last {
  display: block; color: rgba(255,255,255,.55);
  font-size: .62em; letter-spacing: -.5px; margin-top: 4px;
}
.hero-desc {
  font-size: 17px; color: rgba(255,255,255,.65);
  line-height: 1.7; max-width: 480px; margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }



/* RIGHT — Search card */
.hero-visual {
  animation: heroEnter .9s cubic-bezier(.4,0,.2,1) .3s both;
}
.hero-search-card {
  background: rgba(0,13,46,.65);
  border: 1.5px solid rgba(245,196,0,.22);
  border-radius: 18px;
  padding: 32px 28px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.hsc-header { margin-bottom: 22px; }
.hsc-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--amarillo);
  display: block; margin-bottom: 6px;
}
.hsc-title {
  font-family: var(--font-d); font-size: 26px; font-weight: 800;
  color: var(--blanco); line-height: 1;
}
.hsc-field { margin-bottom: 14px; }
.hsc-field label {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-bottom: 6px;
}
.hsc-field select,
.hsc-field input[type="date"],
.hsc-field input.date-mask {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: var(--blanco);
  font-size: 14px; font-family: var(--font-b);
  outline: none;
  color-scheme: dark;
  cursor: pointer;
  transition: border-color var(--tf), background var(--tf);
}
.hsc-field input[type="date"],
.hsc-field input.date-mask {
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255%2C255%2C255%2C.45)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.hsc-field input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.hsc-field select:focus,
.hsc-field input[type="date"]:focus,
.hsc-field input.date-mask:focus {
  border-color: rgba(245,196,0,.55);
  background: rgba(255,255,255,.10);
}
.hsc-field select option { background: var(--azul-negro); color: var(--blanco); }
.hsc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 14px;
}
.hsc-row .hsc-field { margin-bottom: 0; }
.hsc-btn {
  width: 100%; background: var(--amarillo); color: var(--azul-oscuro);
  border: none; border-radius: 10px; padding: 14px;
  font-size: 16px; font-weight: 700; font-family: var(--font-d); letter-spacing: .4px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px;
  transition: background var(--tf), transform var(--tf), box-shadow var(--tf);
}
.hsc-btn:hover {
  background: var(--amarillo-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,196,0,.4);
}
.hsc-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.hsc-footer {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.45);
}
.hsc-dot {
  width: 7px; height: 7px; background: #22c55e;
  border-radius: 50%; flex-shrink: 0;
}

/* ══════════════════════════════════
   SOBRE NOSOTROS SECTION
   ══════════════════════════════════ */
.sobrenosotros-section {
  background: var(--azul-negro);
  padding: 96px 5%;
  border-top: 1px solid rgba(245,196,0,.12);
}
.sobrenosotros-inner {
  max-width: 820px; margin: 0 auto;
  text-align: center;
}
.sobrenosotros-title {
  font-family: var(--font-d);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700; color: var(--blanco);
  margin-bottom: 24px; letter-spacing: -.4px;
}
.sobrenosotros-inner p {
  font-size: 17px; line-height: 1.85;
  color: rgba(255,255,255,.62);
  margin-bottom: 18px;
}
.sobrenosotros-inner p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════
   RECUADRO RENTÁ / MANEJÁ
   ══════════════════════════════════ */
.hero-lower {
  min-height: 56vh;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  background-image: url('../images/fondomontevideo.webp');
  background-size: cover; background-position: center 40%;
  width: 100%;
}
.hero-lower-overlay {
  position: absolute; inset: 0;
  background: rgba(245,196,0,.90);
  pointer-events: none;
}
.hero-lower-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 88px 5%;
  display: flex; align-items: center; justify-content: space-between; gap: 56px;
}
.hero-lower-text {
  display: flex; flex-direction: column;
}
.hero-lower-logo-wrap {
  flex-shrink: 0;
}
.hero-lower-logo {
  height: clamp(100px, 14vw, 168px); width: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.20));
}
.hero-lower-logo-accent { color: var(--azul-oscuro); }
.hero-lower-title {
  font-family: var(--font-d);
  font-size: clamp(66px, 8.2vw, 112px);
  font-weight: 800; color: var(--azul-oscuro);
  line-height: 1.06; letter-spacing: -1.5px;
  margin-bottom: 0;
}
.hero-lower-title em {
  font-style: normal; color: var(--azul-oscuro);
  display: block; letter-spacing: -2.5px;
  font-size: 1.2em; line-height: 1;
}
.hero-lower-subtitle {
  font-family: var(--font-b);
  font-size: clamp(26px, 2.8vw, 38px);
  font-style: italic;
  color: rgba(0,31,102,0.70);
  letter-spacing: 0.1px;
  line-height: 1.5;
  margin-top: 24px;
  padding-left: 16px;
  border-left: 3px solid var(--azul-oscuro);
}
.hero-lower-cta {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  margin-top: 38px;
  padding: 13px 30px;
  border: 2px solid var(--amarillo);
  border-radius: 50px;
  font-family: var(--font-d);
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--amarillo);
  text-decoration: none;
  transition: background var(--tf), color var(--tf), transform var(--tb), box-shadow var(--tb);
}
.hero-lower-cta:hover {
  background: var(--amarillo);
  color: var(--azul-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,196,0,0.30);
}
.hero-lower-cta-arrow {
  transition: transform var(--tf);
  display: inline-block;
}
.hero-lower-cta:hover .hero-lower-cta-arrow {
  transform: translateX(4px);
}

/* ══════════════════════════════════
   SEARCH — PILL STYLE
   ══════════════════════════════════ */
.search-section { background: var(--surface); padding: 0 5% 0; }
.search-pill-wrap {
  max-width: 960px; margin: 0 auto; transform: translateY(-36px);
}
.search-pill {
  display: flex; align-items: stretch;
  background: var(--blanco);
  border: 1.5px solid var(--gris-borde);
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(0,31,102,.13), 0 2px 8px rgba(0,0,0,.05);
  overflow: hidden;
  transition: box-shadow var(--tb), border-color var(--tb);
}
.search-pill:focus-within {
  border-color: rgba(0,51,153,.3);
  box-shadow: 0 12px 64px rgba(0,31,102,.18);
}
.search-pill-field {
  flex: 1; padding: 16px 24px; border-right: 1px solid var(--gris-borde);
  min-width: 0;
}
.search-pill-field:last-of-type { border-right: none; }
.search-pill-field label {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #888; margin-bottom: 4px;
}
.search-pill-field input,
.search-pill-field select {
  border: none; background: transparent; outline: none;
  font-size: 14px; font-family: var(--font-b); color: #222;
  width: 100%; font-weight: 500;
}
.search-pill-field select { cursor: pointer; }
.search-btn-wrap { padding: 10px 12px; display: flex; align-items: center; }
.btn-search {
  background: var(--amarillo); color: var(--azul-oscuro);
  border: none; border-radius: 10px;
  padding: 14px 28px; font-size: 15px; font-weight: 700;
  font-family: var(--font-d); letter-spacing: .4px;
  cursor: pointer; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
  transition: background var(--tf), transform var(--tf), box-shadow var(--tf);
}
.btn-search:hover {
  background: var(--amarillo-l);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245,196,0,.4);
}
.btn-search svg { width: 16px; height: 16px; }

/* ══════════════════════════════════
   FLEET SECTION
   ══════════════════════════════════ */
.fleet-section { padding: 96px 5%; background: var(--surface); }
.section-header {
  max-width: 1200px; margin: 0 auto 56px;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
}
.section-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--rojo); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-d); font-size: clamp(36px,4.5vw,56px);
  font-weight: 800; color: var(--azul-oscuro); line-height: 1; letter-spacing: -.5px;
}
.section-title span { color: var(--rojo); }
.section-sub { font-size: 16px; color: #777; margin-top: 10px; line-height: 1.65; }

.fleet-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}

/* ─── CAR CARD ─── */
.car-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-height: 310px;
  background: var(--blanco);
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--r-md);
  overflow: hidden; cursor: pointer; position: relative;
  box-shadow: var(--sh-card);
  transition: transform 380ms cubic-bezier(0.22,1,0.36,1), box-shadow 380ms cubic-bezier(0.22,1,0.36,1), border-color 380ms cubic-bezier(0.22,1,0.36,1);
}
/* Top accent bar */
.car-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; z-index: 3;
  background: linear-gradient(90deg, var(--amarillo), var(--rojo));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.car-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-hover);
  border-color: transparent;
}
.car-card:hover::before { transform: scaleX(1); }

.car-img {
  height: 220px; overflow: hidden;
  background-color: #ffffff;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center;
  position: relative; color: rgba(0,0,0,.12); font-size: 72px;
}
.car-img img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  background: #ffffff;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.car-card:hover .car-img img { transform: scale(1.07); }
/* Dark gradient overlay on image */
.car-img::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,13,46,.4) 0%, transparent 55%);
  opacity: 0; transition: opacity var(--ts); pointer-events: none;
}
.car-card:hover .car-img::after { opacity: 1; }

.car-category {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--azul-negro); color: var(--amarillo);
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 4px;
}
.car-body { padding: 14px 24px 14px; }
.car-name {
  font-family: var(--font-d); font-size: 26px; font-weight: 800;
  color: var(--azul-oscuro); line-height: 1;
  transition: color var(--tf);
}
.car-card:hover .car-name { color: var(--rojo); }
.car-specs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.car-spec {
  background: none; border: none; padding: 0;
}
.spec-chip {
  position: relative;
  display: inline-flex;
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.spec-chip-img {
  width: 100%; height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.spec-chip-img[src*="icono_maletero"] {
  transform: scale(1.3);
}
.spec-chip-badge {
  position: absolute;
  bottom: -3px; right: -5px;
  background: var(--azul-oscuro);
  color: #fff;
  font-size: 9px; font-weight: 700;
  min-width: 15px; height: 15px;
  border-radius: 8px;
  padding: 0 3px;
  display: flex; align-items: center; justify-content: center;
  border: 2.5px solid #fff;
  font-family: var(--font-b);
  line-height: 1; letter-spacing: 0;
}

/* ══════════════════════════════════
   PROCESO — CÓMO ALQUILAR
   ══════════════════════════════════ */
.process-section { padding: 50px 5%; background: var(--blanco); scroll-margin-top: 100px; min-height: 56vh; }
.process-section .section-header { margin-bottom: 32px; }
.process-steps {
  max-width: 1050px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
  position: relative;
}
/* Connecting line */
.process-steps::before {
  content: ''; position: absolute;
  top: 52px; left: 16.67%; right: 16.67%;
  height: 1px;
  background: linear-gradient(90deg, var(--amarillo) 0%, var(--gris-borde) 50%, var(--amarillo) 100%);
  z-index: 0;
}
.process-step {
  background: var(--surface);
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--r-md); padding: 34px 28px;
  text-align: center; position: relative; z-index: 1;
  transition: transform var(--th), box-shadow var(--th), border-color var(--th);
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: rgba(245,196,0,.4);
}
.step-num-badge {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--azul-oscuro);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--font-d); font-size: 18px; font-weight: 800;
  color: var(--amarillo); line-height: 1;
  border: 3px solid var(--blanco);
  box-shadow: 0 0 0 2px var(--amarillo);
  transition: transform var(--tb), box-shadow var(--tb);
}
.process-step:hover .step-num-badge {
  transform: scale(1.1);
  box-shadow: 0 0 0 2px var(--amarillo), 0 8px 24px rgba(0,31,102,.25);
}
.process-step h3 {
  font-family: var(--font-d); font-size: 23px; font-weight: 700;
  color: var(--azul-oscuro); margin-bottom: 10px;
}
.process-step p { font-size: 15px; color: #777; line-height: 1.6; }
.step-icon {
  width: 44px; height: 44px; margin: 20px auto 0;
  background: rgba(245,196,0,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--amarillo);
}
.step-icon svg { width: 20px; height: 20px; }

/* ══════════════════════════════════
   WHY SECTION — DARK
   ══════════════════════════════════ */
/* ══════════════════════════════════
   INFO SECTION (reemplaza why-section)
   ══════════════════════════════════ */
.info-section {
  padding: 96px 5%;
  scroll-margin-top: 100px;
  background: linear-gradient(160deg, var(--azul-oscuro) 0%, var(--azul-negro) 100%);
  position: relative; overflow: hidden;
  min-height: 56vh;
}
.info-section::before {
  content: ''; position: absolute; inset: 0; opacity: .025;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 80px 80px;
}
.info-section .section-header { position: relative; z-index: 1; }
.info-section .section-title { color: var(--blanco); }
.info-section .section-eyebrow { color: var(--amarillo); }

/* Fila de iconos navegación */
.info-nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 16px; margin-bottom: 0;
  max-width: 1100px; margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}
.info-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 32px 24px; min-width: 155px; flex: 1;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1); border-radius: 20px;
  cursor: pointer; color: rgba(255,255,255,.75);
  font-family: var(--font-d); font-size: 15px; font-weight: 700;
  text-align: center; line-height: 1.25; text-decoration: none;
  letter-spacing: .3px;
  transition: border-color var(--tf), background var(--tf), transform var(--tf), box-shadow var(--tf), color var(--tf);
}
.info-nav-item:hover {
  border-color: var(--amarillo);
  background: rgba(245,196,0,.08);
  color: var(--blanco);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(245,196,0,.2);
}
.info-nav-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(245,196,0,.12);
  border: 1.5px solid rgba(245,196,0,.25);
  color: var(--amarillo);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tf), transform var(--tf), box-shadow var(--tf);
}
.info-nav-item:hover .info-nav-icon {
  background: var(--amarillo); color: var(--azul-oscuro);
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 10px 32px rgba(245,196,0,.35);
}
.info-nav-icon svg { width: 28px; height: 28px; }


/* ══════════════════════════════════
   CTA SECTION
   ══════════════════════════════════ */
.cta-section {
  background: var(--amarillo); padding: 96px 5%;
  position: relative; overflow: hidden;
}
/* Giant watermark */
.cta-section::before {
  content: 'VialCar';
  position: absolute; bottom: -20px; right: 4%;
  font-family: var(--font-d); font-size: 200px; font-weight: 800;
  color: rgba(0,31,102,.07); line-height: 1;
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
.cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; position: relative; z-index: 1;
}
.cta-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(0,31,102,.5); margin-bottom: 12px;
}
.cta-title {
  font-family: var(--font-d); font-size: clamp(40px,5vw,64px);
  font-weight: 800; color: var(--azul-oscuro); line-height: 1;
  letter-spacing: -.5px;
}
.cta-sub {
  font-size: 16px; color: rgba(0,31,102,.65); margin-top: 12px;
}
.cta-actions { display: flex; gap: 14px; align-items: center; flex-shrink: 0; }

/* ══════════════════════════════════
   BUTTONS
   ══════════════════════════════════ */
.btn-primary {
  background: var(--amarillo); color: var(--azul-oscuro);
  padding: 15px 36px; font-size: 16px; font-weight: 700;
  font-family: var(--font-d); letter-spacing: .4px;
  border: none; border-radius: 8px; cursor: pointer; text-decoration: none;
  display: inline-block;
  transition: background var(--tf), transform var(--tf), box-shadow var(--tf);
}
.btn-primary:hover {
  background: var(--amarillo-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,196,0,.4);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px;
  border: 2px solid var(--amarillo);
  border-radius: 50px;
  font-family: var(--font-d);
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--amarillo);
  text-decoration: none; cursor: pointer;
  transition: background var(--tf), color var(--tf), transform var(--tb), box-shadow var(--tb);
}
.btn-ghost:hover {
  background: var(--amarillo);
  color: var(--azul-oscuro);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,196,0,0.30);
}
.btn-outline {
  background: transparent; color: var(--azul-oscuro);
  padding: 12px 28px; font-size: 15px; font-weight: 700;
  font-family: var(--font-d);
  border: 2px solid var(--azul-oscuro); border-radius: 8px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: all var(--tb);
}
.btn-outline:hover {
  background: var(--azul-oscuro); color: var(--blanco);
  transform: translateY(-1px); box-shadow: var(--sh-md);
}
.btn-rojo {
  background: var(--rojo); color: var(--blanco);
  padding: 15px 40px; font-size: 16px; font-weight: 700;
  font-family: var(--font-d);
  border: none; border-radius: 8px; cursor: pointer; text-decoration: none;
  display: inline-block;
  transition: background var(--tf), transform var(--tf), box-shadow var(--tf);
}
.btn-rojo:hover {
  background: var(--rojo-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(204,17,0,.4);
}
/* "ver más" link style */
.link-more {
  color: var(--azul-oscuro); text-decoration: none; font-size: 15px; font-weight: 700;
  font-family: var(--font-d); display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 2px solid var(--amarillo); padding-bottom: 2px;
  transition: gap var(--tf), color var(--tf);
}
.link-more:hover { color: var(--rojo); gap: 10px; }

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
footer {
  background: #070B1B;
  padding: 72px 5% 32px;
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand-logo {
  display: inline-block; margin-bottom: 16px; text-decoration: none;
}
.footer-brand-logo img { height: 50px; width: auto; display: block; }
.footer-brand-logo span { color: var(--amarillo); }
.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,.4);
  line-height: 1.8; max-width: 300px; margin-bottom: 28px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); text-decoration: none;
  transition: background var(--tf), color var(--tf), border-color var(--tf);
}
.social-btn:hover {
  background: var(--amarillo); color: var(--azul-oscuro);
  border-color: var(--amarillo);
}
.social-btn svg { width: 16px; height: 16px; }
footer h4 {
  font-family: var(--font-d); font-size: 13px; font-weight: 700;
  color: var(--amarillo); letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a {
  color: rgba(255,255,255,.45); text-decoration: none; font-size: 14px;
  transition: color var(--tf), padding-left var(--tf); display: inline-block;
}
footer ul li a:hover { color: var(--blanco); padding-left: 5px; }

.footer-stripe {
  max-width: 1200px; margin: 0 auto 36px;
  display: flex; height: 3px; border-radius: 100px; overflow: hidden;
}
.footer-stripe span { flex: 1; }

.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.22); }

/* ══════════════════════════════════
   PAGE HEADER (flota/detalle)
   ══════════════════════════════════ */
.page-header {
  background: linear-gradient(160deg, var(--azul-oscuro) 0%, var(--azul-negro) 100%);
  padding: 128px 5% 72px; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0; opacity: .025;
  background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page-header::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg,
    var(--amarillo) 0%, var(--amarillo) 60%,
    var(--rojo) 60%, var(--rojo) 80%, var(--azul) 80%);
}
.page-header-content { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--font-d); font-size: clamp(40px,6vw,68px);
  font-weight: 800; color: var(--blanco); line-height: 1; margin: 14px 0 14px;
}
.page-header h1 em { font-style: normal; color: var(--amarillo); }
.page-header p { font-size: 17px; color: rgba(255,255,255,.6); max-width: 500px; }
.page-header-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--amarillo); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.page-header-eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--amarillo);
}

/* ══ PÁGINA INFORMACIÓN ══ */
.info-page-body {
  max-width: 860px; margin: 0 auto;
  padding: 56px 5% 96px;
}
.info-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 36px;
}
.info-tab {
  padding: 8px 18px;
  border: 1.5px solid #e8e8e8; border-radius: 40px;
  font-family: var(--font-b); font-size: 13px; font-weight: 500;
  color: var(--azul-oscuro); text-decoration: none;
  transition: border-color var(--tf), background var(--tf), color var(--tf);
}
.info-tab:hover {
  border-color: var(--azul-oscuro);
  background: var(--azul-oscuro); color: var(--blanco);
}

/* Acordeón también usado en info-section del home */
/* Stats bar */
.info-stats-bar {
  background: #f8f9fc; border-bottom: 1px solid #e8e8e8; padding: 44px 5%;
}
.info-stats-inner {
  max-width: 860px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.info-stat { padding: 8px 0; }
.info-stat-num {
  font-family: var(--font-d); font-size: clamp(36px,5vw,52px);
  font-weight: 800; color: var(--azul-oscuro); line-height: 1;
}
.info-stat-num em { font-style: normal; color: var(--rojo); }
.info-stat-label {
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--muted); margin-top: 6px;
}

/* Section label separator */
.info-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #94a3b8;
  margin: 40px 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.info-section-label:first-child { margin-top: 0; }
.info-section-label::after { content: ''; flex: 1; height: 1px; background: #e8e8e8; }

/* Acordeón */
.info-accordion {
  border: 1.5px solid #e8e8e8; border-radius: 16px;
  overflow: hidden;
}
.acc-item { border-bottom: 1px solid #e8e8e8; }
.acc-item:last-child { border-bottom: none; }
.acc-header {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-b); font-size: 16px; font-weight: 600;
  color: var(--azul-oscuro); text-align: left;
  transition: background var(--tf);
}
.acc-header:hover { background: #f8f9fc; }
.acc-item.open > .acc-header { background: #f8f9fc; }
.acc-header-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: #eef2ff; color: var(--azul-oscuro);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tf), color var(--tf);
}
.acc-item.open > .acc-header .acc-header-icon {
  background: var(--azul-oscuro); color: #fff;
}
.acc-header-text { flex: 1; }
.acc-plus {
  flex-shrink: 0; font-size: 22px; font-weight: 300; line-height: 1;
  color: var(--azul-oscuro); margin-left: 4px;
  transition: transform 280ms cubic-bezier(.4,0,.2,1), color 280ms;
}
.acc-item.open > .acc-header .acc-plus { transform: rotate(45deg); color: var(--rojo); }
.acc-body {
  max-height: 0; overflow: hidden;
  padding: 0 24px 0 76px;
}
.acc-item.open > .acc-body {
  max-height: 2000px;
  padding: 4px 24px 24px 76px;
}
.acc-body ul { padding-left: 18px; margin: 0; }
.acc-body li { font-size: 15px; color: #4a5568; line-height: 1.8; padding: 2px 0; }
.acc-body p  { font-size: 15px; color: #4a5568; line-height: 1.8; margin: 0; }
.acc-sublabel {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 6px; margin-top: 0;
}
.acc-sublabel + ul { margin-bottom: 0; }

/* NAV ACTIVE */
.nav-links a.active { color: var(--amarillo) !important; }
.nav-links a.active::after { transform: scaleX(1) !important; }

/* ══════════════════════════════════
   FLOTA PAGE
   ══════════════════════════════════ */
.flota-section { padding: 48px 5% 80px; background: var(--surface); min-height: 60vh; }
.flota-container {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}

/* ── Filtros bar + panel ── */
.filtros-bar {
  background: var(--blanco);
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  position: sticky; top: 72px; z-index: 50;
}
.filtros-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; gap: 12px; flex-wrap: wrap;
}
.filtros-cats { display: flex; gap: 6px; flex-wrap: wrap; }
.cat-pill {
  padding: 6px 15px; border-radius: 999px;
  border: 1.5px solid var(--gris-borde); background: transparent;
  font-family: var(--font-b); font-size: 13px; font-weight: 500; color: #666;
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: background var(--tf), border-color var(--tf), color var(--tf);
}
.cat-pill:hover { border-color: var(--azul); color: var(--azul); }
.cat-pill.active { background: var(--azul-oscuro); border-color: var(--azul-oscuro); color: #fff; }
.btn-mas-filtros {
  display: flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 7px 16px; border-radius: 8px;
  border: 1.5px solid var(--gris-borde); background: transparent;
  font-family: var(--font-b); font-size: 13px; font-weight: 500; color: #555;
  cursor: pointer; white-space: nowrap;
  transition: border-color var(--tf), background var(--tf), color var(--tf);
}
.btn-mas-filtros svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-mas-filtros:hover, .btn-mas-filtros.active {
  border-color: var(--azul-oscuro); color: var(--azul-oscuro);
  background: rgba(0,31,102,.04);
}
.filtros-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--azul-oscuro); color: #fff;
  border-radius: 999px; font-size: 11px; font-weight: 700; font-family: var(--font-d);
}
.filtros-badge:empty { display: none; }

/* Panel desplegable */
.filtros-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--blanco);
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--r-md);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  box-sizing: border-box;
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 10;
}
.filtros-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.filtros-panel-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 16px; padding: 20px 20px 16px;
}
.fp-grupo label {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: #aaa; margin-bottom: 8px;
}
.fp-grupo label strong { font-family: var(--font-d); font-size: 13px; color: var(--azul-oscuro); text-transform: none; letter-spacing: 0; }
.fp-grupo select, .fp-grupo input[type="date"], .fp-grupo input.date-mask {
  width: 100%; padding: 9px 12px; border: 1.5px solid #e8e8e8;
  border-radius: 8px; font-size: 14px; font-family: var(--font-b);
  color: var(--gris-texto); background: var(--surface); outline: none; cursor: pointer;
  transition: border-color var(--tf);
}
.fp-grupo select:focus, .fp-grupo input:focus { border-color: var(--azul); box-shadow: 0 0 0 3px rgba(0,51,153,.08); }
.fp-grupo input[type="date"], .fp-grupo input.date-mask {
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.fp-grupo input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.fp-grupo input[type="range"] { width: 100%; accent-color: var(--azul-oscuro); margin-top: 4px; }
.filtros-panel-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-top: 1px solid #f0f0f0;
}
.fp-btn-limpiar {
  background: none; border: none; font-family: var(--font-b);
  font-size: 13px; color: #aaa; cursor: pointer; text-decoration: underline;
  transition: color var(--tf);
}
.fp-btn-limpiar:hover { color: var(--rojo-d); }
.fp-btn-aplicar {
  padding: 9px 24px; border-radius: 8px;
  background: var(--azul-oscuro); border: none;
  font-family: var(--font-b); font-size: 13px; font-weight: 600; color: #fff;
  cursor: pointer; transition: background var(--tf);
}
.fp-btn-aplicar:hover { background: var(--azul); }

/* Mobile unified controls — oculto en desktop */
.mobile-controls { display: none; }
.sort-panel { display: none; }

.flota-main { display: flex; flex-direction: column; gap: 20px; }
.flota-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--blanco); padding: 14px 20px;
  border-radius: 10px; border: 1.5px solid var(--gris-borde);
  box-shadow: var(--sh-xs);
}
.flota-toolbar span { font-size: 14px; color: #777; font-weight: 500; }
.toolbar-orden { display: flex; align-items: center; gap: 8px; }
.toolbar-orden-label { font-size: 13px; color: #aaa; white-space: nowrap; }
.flota-toolbar select {
  padding: 7px 12px; border: 1.5px solid #ddd; border-radius: 8px;
  font-size: 14px; font-family: var(--font-b); color: var(--gris-texto);
  background: var(--blanco); outline: none; cursor: pointer;
}
.autos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.no-resultados {
  text-align: center; padding: 64px 20px; background: var(--blanco);
  border-radius: var(--r-md); border: 1.5px solid var(--gris-borde);
}
.no-resultados p { font-size: 17px; color: #888; margin-bottom: 20px; }

/* ══════════════════════════════════
   DETALLE PAGE
   ══════════════════════════════════ */
.detalle-section { padding: 48px 5% 96px; background: var(--surface); min-height: 60vh; }
.detalle-container { max-width: 1100px; margin: 0 auto; }
.loading { text-align: center; padding: 80px 20px; font-size: 18px; color: #888; }
.error-msg { text-align: center; padding: 80px 20px; }
.error-msg h2 {
  font-family: var(--font-d); font-size: 32px; color: var(--azul-oscuro); margin-bottom: 12px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #999; margin-bottom: 32px;
}
.breadcrumb a { color: #999; text-decoration: none; transition: color var(--tf); }
.breadcrumb a:hover { color: var(--azul-oscuro); }
.breadcrumb span { color: var(--azul-oscuro); font-weight: 600; }
.detalle-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}
.detalle-bottom {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: stretch; margin-top: 32px;
}
.detalle-left { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 88px; }
.detalle-img-wrap {
  background: var(--blanco); border-radius: var(--r-md);
  border: 1.5px solid var(--gris-borde); overflow: hidden;
  box-shadow: var(--sh-md);
}
.detalle-img {
  height: 320px;
  background-color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-size: 100px; color: rgba(0,0,0,.10); position: relative;
}
.detalle-img img { width: 100%; height: 100%; object-fit: contain; object-position: center; background: #ffffff; }
.detalle-badge-cat {
  position: absolute; top: 16px; left: 16px;
  background: var(--azul-negro); color: var(--amarillo);
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 12px; border-radius: 4px;
}
.detalle-disponible {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; font-size: 13px; font-weight: 600;
  color: var(--rojo); background: rgba(255,245,245,.92);
  backdrop-filter: blur(4px);
}
.detalle-disponible::before {
  content: ''; width: 8px; height: 8px;
  border-radius: 50%; background: var(--rojo); flex-shrink: 0;
}
.detalle-info { display: flex; flex-direction: column; gap: 22px; }
.detalle-nombre {
  font-family: var(--font-d); font-size: clamp(32px,4vw,52px);
  font-weight: 800; color: var(--azul-oscuro); line-height: 1;
}
.detalle-specs {
  background: #f8f9fc; border-radius: var(--r-md);
  border: 1.5px solid #e8e8e8; padding: 24px;
}
.detalle-specs-titulo {
  font-family: var(--font-d); font-size: 14px; font-weight: 700;
  color: var(--azul-oscuro); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
}
.specs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.spec-item { display: flex; flex-direction: column; gap: 4px; }
.spec-label { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.spec-value {
  font-family: var(--font-d); font-size: 18px; font-weight: 700; color: var(--azul-oscuro);
}
.spec-value--icon { display: flex; align-items: center; gap: 0; }
.spec-value--icon .spec-chip { width: 40px; height: 40px; }
.spec-value--icon .spec-chip-badge {
  font-size: 10px; min-width: 17px; height: 17px; bottom: -1px; right: -3px;
}
.detalle-desc {
  background: var(--blanco); border-radius: var(--r-md);
  border: 1.5px solid var(--gris-borde); padding: 24px;
}
.detalle-desc p { font-size: 15px; color: #666; line-height: 1.75; }
.detalle-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-reservar {
  background: var(--rojo); color: var(--blanco);
  padding: 18px 40px; font-size: 18px; font-weight: 700;
  font-family: var(--font-d); letter-spacing: .4px;
  border: none; border-radius: 10px; cursor: pointer; text-decoration: none;
  transition: background var(--tf), transform var(--tf), box-shadow var(--tf);
  display: inline-block; flex: 1; text-align: center;
}
.btn-reservar:hover {
  background: var(--rojo-d); transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(204,17,0,.35);
}

/* MODAL */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,5,20,.65); z-index: var(--z-modal);
  align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--blanco); border-radius: var(--r-md);
  padding: 40px; width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: 0 32px 100px rgba(0,0,0,.3);
  animation: modalIn .3s cubic-bezier(.4,0,.2,1) both;
}
.modal h2 {
  font-family: var(--font-d); font-size: 30px; font-weight: 800;
  color: var(--azul-oscuro); margin-bottom: 4px;
}
.modal-sub { font-size: 14px; color: #888; margin-bottom: 24px; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  background: var(--surface); border: none; font-size: 18px;
  color: #777; cursor: pointer; border-radius: 8px;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  transition: background var(--tf), color var(--tf);
}
.modal-close:hover { background: var(--rojo); color: var(--blanco); }
.auto-resumen {
  background: var(--surface); border-radius: 10px;
  padding: 16px 20px; margin-bottom: 24px;
  border-left: 4px solid var(--amarillo);
  display: flex; align-items: center; justify-content: space-between;
}
.auto-resumen-nombre {
  font-family: var(--font-d); font-size: 20px; font-weight: 700; color: var(--azul-oscuro);
}
.form-grupo { margin-bottom: 18px; }
.form-grupo label {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #aaa; margin-bottom: 8px;
}
.form-grupo input, .form-grupo textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid #e8e8e8;
  border-radius: 8px; font-size: 15px; font-family: var(--font-b);
  color: var(--gris-texto); background: var(--surface); outline: none;
  transition: border-color var(--tf), box-shadow var(--tf); resize: vertical;
}
.form-grupo input:focus, .form-grupo textarea:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(0,51,153,.10);
}
.btn-enviar {
  width: 100%; background: var(--azul-oscuro); color: var(--blanco);
  padding: 16px; font-size: 17px; font-weight: 700; font-family: var(--font-d);
  border: none; border-radius: 10px; cursor: pointer;
  transition: background var(--tb), transform var(--tf); margin-top: 4px;
}
.btn-enviar:hover { background: var(--azul-negro); transform: translateY(-1px); }
.btn-enviar:disabled { background: #bbb; cursor: not-allowed; transform: none; }
.form-mensaje { margin-top: 12px; font-size: 14px; text-align: center; min-height: 20px; }
.form-mensaje.ok { color: #166534; font-weight: 600; }
.form-mensaje.error { color: var(--rojo); }

.car-no-disp {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  font-size: 11px; font-weight: 600; color: #fff;
  background: #dc2626;
  padding: 5px 14px; text-align: center; letter-spacing: .3px;
}

/* ══ WHATSAPP FLOTANTE ══ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .22s, box-shadow .22s;
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 8px 32px rgba(37,211,102,.6); }
.wa-float svg { width: 30px; height: 30px; }


/* ══ DETALLE: DESCRIPCIÓN ══ */
.detalle-descripcion {
  background: #f8f9fc; border: 1.5px solid #e8e8e8;
  border-radius: var(--r-md); padding: 24px;
}
.detalle-desc-titulo {
  font-family: var(--font-d); font-size: 14px; font-weight: 700;
  color: var(--azul-oscuro); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 20px;
}
.detalle-desc-texto {
  font-size: 15px; color: #444; line-height: 1.65;
  white-space: pre-wrap;
}

/* ══ DETALLE: CALCULADORA ══ */
.detalle-calc {
  background: #f8f9fc; border: 1.5px solid #e8e8e8;
  border-radius: 14px; padding: 20px 22px; margin-bottom: 24px;
}
.detalle-calc-title {
  font-family: var(--font-d); font-size: 14px; font-weight: 700;
  color: var(--azul-oscuro); text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}
.detalle-calc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px;
}
.detalle-calc-row label {
  display: block; font-size: 11px; font-weight: 600; color: #888;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px;
}
.detalle-calc-row input[type="date"],
.detalle-calc-row input.date-mask {
  width: 100%; padding: 9px 12px; border: 1.5px solid #e0e0e0;
  border-radius: 8px; font-size: 14px; font-family: var(--font-b);
  color: var(--gris-texto); background: var(--blanco); outline: none;
  cursor: pointer; position: relative;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 36px; transition: border-color .2s;
}
.detalle-calc-row input[type="date"]:focus,
.detalle-calc-row input.date-mask:focus { border-color: var(--azul); }
.detalle-calc-row input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.detalle-calc-result {
  font-family: var(--font-d); font-size: 20px; font-weight: 800;
  color: var(--azul-oscuro);
  padding: 8px 16px; border-radius: 8px;
  background: var(--blanco); border: 1.5px solid #e0e0e0;
  min-width: 100px; text-align: center;
}
.detalle-calc-result:empty::before {
  content: 'USD —'; color: #ccc; font-weight: 600;
}
.detalle-calc-breakdown { font-size: 12px; color: #888; font-weight: 400; display: block; margin-top: 2px; }

/* ══ BOTONES CONSULTA DETALLE ══ */
.consulta-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.consulta-actions--disabled .btn-consulta-wa,
.consulta-actions--disabled .btn-consulta-email {
  opacity: .35; filter: grayscale(1); pointer-events: none;
}
.btn-consulta-wa, .btn-consulta-email {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 20px; border-radius: 10px; border: none;
  font-family: var(--font-d); font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-consulta-wa { background: #25D366; color: #fff; }
.btn-consulta-wa:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn-consulta-email { background: var(--rojo); color: #fff; }
.btn-consulta-email:hover { background: #a80e00; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(204,17,0,.3); }

/* Mini modal nombre WhatsApp */
.modal-sm { max-width: 420px !important; }
.btn-enviar-wa { background: #25D366 !important; }
.btn-enviar-wa:hover:not(:disabled) { background: #1da851 !important; }
.btn-enviar-wa:disabled { background: #bbb !important; cursor: not-allowed; transform: none; }

/* ══ PAGINACIÓN FLOTA ══ */
.paginacion {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin: 40px 0 16px;
}
.pag-btn {
  min-width: 40px; height: 40px; padding: 0 14px;
  border: 1.5px solid #e0e0e0; border-radius: 8px;
  background: var(--blanco); color: var(--azul-oscuro);
  font-family: var(--font-b); font-size: 14px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .18s, background .18s, color .18s;
}
.pag-btn:hover:not(:disabled) { border-color: var(--azul-oscuro); background: var(--azul-oscuro); color: var(--blanco); }
.pag-btn.activa { border-color: var(--azul-oscuro); background: var(--azul-oscuro); color: var(--blanco); }
.pag-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-container { padding-right: calc(5% - 32px); }
  .hero-inner { grid-template-columns: 60% 40%; gap: 32px; }
  .info-nav { gap: 10px; }
}

@media (max-width: 768px) {
  .nav-container { gap: 0; padding-right: 16px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .lang-toggle { margin-left: auto; margin-right: 8px; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(0,5,28,.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 24px 5%; gap: 4px;
    border-bottom: 2px solid var(--amarillo);
    animation: menuIn .22s ease both;
  }
  .nav-links.open li a {
    padding: 12px 0; display: block;
    border-bottom: 1px solid rgba(255,255,255,.06); font-size: 16px;
  }
  .nav-links.open .nav-cta-btn {
    margin-top: 10px; text-align: center; display: block; padding: 14px 0;
  }

  .hero-actions { flex-wrap: nowrap; margin-bottom: 0; }
  .hero-actions .btn-ghost { padding: 11px 18px; font-size: 14px; flex: 1; justify-content: center; }
  .hero-inner { grid-template-columns: 1fr; padding: 40px 5%; gap: 24px; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-query-title { font-size: clamp(38px, 10vw, 52px); margin-bottom: 20px; line-height: 1.15; letter-spacing: -0.5px; }
  .hero-query-title em { letter-spacing: -0.5px; }
  .hero-query-sub { font-size: 14px; line-height: 1.8; max-width: 100%; }
  .hero-lower-inner { padding: 64px 5%; flex-direction: column; align-items: flex-start; }
  .hero-lower-title { font-size: clamp(52px, 13vw, 80px); }
  .hero-lower-subtitle { font-size: 20px; margin-top: 18px; }
  .hero-lower-cta { margin-top: 28px; padding: 12px 26px; font-size: 15px; }
  .hero-lower-logo-wrap { align-self: flex-end; }
  .hero-lower-logo { height: clamp(80px, 20vw, 130px); }
  .hero-trust { flex-wrap: wrap; gap: 16px 0; }
  .trust-item { padding: 0 20px; }

  .search-pill { flex-direction: column; border-radius: var(--r-md); }
  .search-pill-field { border-right: none; border-bottom: 1px solid var(--gris-borde); }
  .search-pill-field:last-of-type { border-bottom: none; }
  .search-btn-wrap { padding: 12px; }
  .btn-search { width: 100%; justify-content: center; }

  .fleet-grid { grid-template-columns: 1fr 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .info-nav { gap: 10px; }
  .info-nav-item { flex-direction: row; min-width: auto; flex: 1 1 calc(50% - 5px); padding: 18px 16px; gap: 12px; text-align: left; font-size: 13px; }
  .info-nav-icon { width: 48px; height: 48px; flex-shrink: 0; }
  .info-nav-icon svg { width: 22px; height: 22px; }
  .info-section { padding: 64px 5%; min-height: auto; }
  .process-section { min-height: auto; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-section::before { font-size: 100px; bottom: -10px; }
  .cta-actions { justify-content: center; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .filtros-bar { position: static; }
  .filtros-bar-inner { display: none; }
  .flota-toolbar { display: none; }
  .mobile-controls {
    display: flex; align-items: stretch;
    height: 44px;
  }
  .mobile-ctrl-filtrar {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    flex: 1; background: transparent; border: none;
    font-family: var(--font-b); font-size: 13px; font-weight: 600; color: var(--azul-oscuro);
    cursor: pointer;
  }
  .mobile-ctrl-filtrar svg { width: 15px; height: 15px; flex-shrink: 0; }
  .mobile-ctrl-sep { width: 1px; background: var(--gris-borde); align-self: stretch; margin: 8px 0; }
  .mobile-ctrl-sort {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    flex: 1; background: transparent; border: none; cursor: pointer;
  }
  .mobile-ctrl-sort svg { width: 14px; height: 14px; flex-shrink: 0; }
  #sort-label-m {
    font-family: var(--font-b); font-size: 13px; font-weight: 600; color: var(--azul-oscuro);
  }
  .sort-panel {
    border-top: 1px solid var(--gris-borde);
    display: none; flex-direction: column;
  }
  .sort-panel.open { display: flex; }
  .sort-option {
    width: 100%; padding: 14px 20px; text-align: left;
    background: transparent; border: none;
    font-family: var(--font-b); font-size: 14px; color: var(--gris-texto);
    cursor: pointer; border-bottom: 1px solid #f5f5f5;
    transition: background var(--tf), color var(--tf);
  }
  .sort-option:last-child { border-bottom: none; }
  .sort-option:hover { background: var(--surface); }
  .sort-option.active { color: var(--azul-oscuro); font-weight: 700; background: rgba(0,31,102,.04); }
  .filtros-panel {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    max-height: 85vh; overflow-y: auto;
    box-shadow: 0 -8px 40px rgba(0,0,0,.18);
    z-index: 10000;
  }
  .filtros-panel.open { transform: translateY(0); }
  .filtros-panel-grid { grid-template-columns: 1fr 1fr; }
  .detalle-grid { grid-template-columns: 1fr; }
  .detalle-bottom { grid-template-columns: 1fr; }
  .detalle-left { position: static; }
  .detalle-img-wrap { position: static; }
  input[type="date"] {
    background-image: none;
    color-scheme: light;
  }
  input[type="date"]::-webkit-calendar-picker-indicator {
    position: static; width: auto; height: auto;
  }
  input[type="date"]::-webkit-date-and-time-value {
    color: inherit;
    text-align: left;
    min-height: 1.5em;
  }
}

@media (max-width: 560px) {
  .info-stats-inner { grid-template-columns: repeat(2,1fr); }
  .acc-body, .acc-item.open > .acc-body { padding-left: 24px; }
  .fleet-grid { grid-template-columns: 1fr; }
  .autos-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .filtros-bar-inner { gap: 8px; padding: 8px 12px; }
  .filtros-panel-grid { grid-template-columns: 1fr; }
  #resultado-count { display: none; }
  .wa-float { bottom: 80px; width: 46px; height: 46px; }
  .wa-float svg { width: 22px; height: 22px; }
  .btn-mas-filtros { padding: 6px 14px; font-size: 12px; }
  .btn-mas-filtros svg { width: 13px; height: 13px; }
  .flota-toolbar { padding: 10px 14px; }
  .toolbar-orden-label { display: none; }
  .flota-toolbar select { font-size: 12px; padding: 5px 10px; }
  .specs-grid { grid-template-columns: repeat(2,1fr); }
  .modal { padding: 28px 20px; }
  .hero-title { font-size: clamp(52px,14vw,80px); }
}

/* ── Language toggle ── */
.lang-toggle {
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}

.lang-flag-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  transition: border-color 150ms, background 150ms, transform 150ms;
  padding: 0;
}
.lang-flag-btn:hover {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.18);
  transform: scale(1.06);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px); right: 0;
  background: rgba(4,12,40,.96);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
  overflow: hidden;
  min-width: 140px;
  backdrop-filter: blur(16px);
  opacity: 0; transform: translateY(-6px) scale(.97);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.lang-dropdown.open {
  opacity: 1; transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-opt {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px;
  background: transparent; border: none; cursor: pointer;
  color: rgba(255,255,255,.75);
  font-family: var(--font); font-size: 13px; font-weight: 500;
  transition: background 120ms;
  text-align: left;
}
.lang-opt:hover { background: rgba(255,255,255,.08); color: #fff; }
.lang-opt.active { color: #fff; background: rgba(245,196,0,.1); }
.lang-opt .lang-opt-flag { font-size: 18px; line-height: 1; }
.lang-opt .lang-opt-label { flex: 1; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #001F66; border-radius: 8px; border: 2px solid #f1f5f9; }
::-webkit-scrollbar-thumb:hover { background: #003399; }
