﻿/* --- Variables Base --- */
:root {
  --bg: #020610;
  --text: #ffffff;
  --title: #ffffff;
  --muted: #a0aec0;
  --navy: #0c2d5a;
  --cyan: #1ba1e2;
  --cyan-light: #52c7ff;
  --line: rgba(255, 255, 255, 0.08); /* Sutil y elegante gris oscuro neutro */
  --glow: 0 10px 40px rgba(0, 0, 0, 0.7); /* Sombra elegante neutra sin azul */
  --accent-line: rgba(27, 161, 226, 0.4); /* Línea con brillo cian (para tarjetas/botones) */
  --accent-glow: 0 0 28px rgba(27, 161, 226, 0.35), 0 0 80px rgba(27, 161, 226, 0.15); /* Resplandor cian */
  --radius: 22px;
  --body-bg: linear-gradient(180deg, #020610, #010408 55%, #000000);
  --panel-bg: #070913; /* Fondo neutral oscuro premium */
  --card-bg: linear-gradient(180deg, #0d0f1a, #04050a); /* Tarjetas con fondo oscuro neutro premium */
  --input-bg: rgba(255, 255, 255, .06);
  --pill-bg: rgba(255, 255, 255, .03);
  --pill-border: rgba(255, 255, 255, .08);
  --footer-title: var(--cyan-light);
}

body.light-mode {
  --bg: #ffffff;
  --text: #1e293b;
  --title: #0c2d5a;
  --muted: #64748b;
  --navy: #0284c7;
  --line: rgba(12, 45, 90, 0.12);
  --glow: 0 8px 20px rgba(12, 45, 90, 0.08);
  --accent-line: rgba(12, 45, 90, 0.25);
  --accent-glow: 0 8px 20px rgba(12, 45, 90, 0.15);
  --body-bg: linear-gradient(180deg, #f8fafc, #ffffff);
  --panel-bg: #ffffff;
  --card-bg: #ffffff;
  --input-bg: #f4f7f6;
  --pill-bg: #f4f7f6;
  --pill-border: rgba(12, 45, 90, 0.15);
  --footer-title: var(--navy);
  --cyan-light: var(--navy);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--body-bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title {
  color: var(--title);
  transition: color 0.4s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(100% - 40px, 1500px);
  margin: 0 auto;
}

/* --- Navegación --- */
.header-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--title);
}

.header-top-bar a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  padding: 0 16px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--title);
  font-weight: 800;
  text-decoration: none;
}

.top-left,
.top-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  color: var(--title);
}

.top-separator {
  color: var(--line);
}

.hours-short {
  display: none;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
  transition: background 0.4s ease;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.05em;
}

.logo-light {
  display: none;
  height: 65px;
  width: auto;
  object-fit: contain;
}

.logo-dark {
  display: block;
  height: 65px;
  width: auto;
  object-fit: contain;
}

body.light-mode .logo-dark {
  display: none;
}

body.light-mode .logo-light {
  display: block;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s ease;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 20px;
  color: var(--title);
  background: transparent;
  font-weight: 800;
  font-size: .9rem;
  transition: all .3s ease;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active,
.theme-toggle:hover,
.lang-btn:hover,
.header-top-bar a:hover {
  border-color: var(--cyan);
  background: rgba(27, 161, 226, 0.1);
  box-shadow: var(--accent-glow);
  color: var(--cyan) !important;
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active,
body.light-mode .theme-toggle:hover,
body.light-mode .lang-btn:hover,
body.light-mode .header-top-bar a:hover {
  color: var(--title) !important;
}

.nav-link.primary {
  border-color: var(--line);
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  box-shadow: var(--accent-glow);
  color: #fff !important;
}

.nav-link.primary:hover {
  color: #fff !important;
}

body.light-mode .nav-link.primary,
body.light-mode .nav-link.primary:hover,
body.light-mode .nav-link.active,
body.light-mode .nav-link.active:hover {
  color: #ffffff !important;
}

/* --- Acciones Header (Tema y Selector de Idioma) --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  background: transparent;
  border: 1px solid transparent;
  color: var(--title);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.theme-toggle .sun-icon {
  display: block;
}

.theme-toggle .moon-icon {
  display: none;
}

body.light-mode .theme-toggle .sun-icon {
  display: none;
}

body.light-mode .theme-toggle .moon-icon {
  display: block;
}

/* Selector de Idioma */
.lang-switcher {
  position: relative;
}

.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--title);
  padding: 0 16px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  height: 42px;
}

.mobile-menu-actions {
  display: none;
}

.lang-btn:hover {
  box-shadow: var(--glow);
  border-color: var(--cyan);
}

.lang-menu {
  position: absolute;
  top: 110%;
  right: 0;
  background: #1a1a24;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  min-width: 120px;
  overflow: hidden;
  z-index: 200;
}

.lang-menu.show {
  display: flex;
}

.lang-item {
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.lang-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-flag {
  width: 20px;
  height: 14.5px;
  object-fit: cover;
  border-radius: 2px;
}

/* Menú Hamburguesa */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--input-bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  transition: all 0.3s ease;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
  padding: 10px 0 35px;
}

.hero-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-bg);
  box-shadow: var(--glow), 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 0 40px 10px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.hero-slide {
  display: none;
  grid-template-columns: 1.05fr 420px;
  gap: 48px;
  align-items: center;
  padding: 35px 0 15px;
  width: 100%;
  animation: fadeEffect 0.8s ease-in-out;
}

.hero-slide.active {
  display: grid;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.carousel-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-nav-btn {
  background: var(--input-bg);
  border: 1px solid var(--line);
  color: var(--title);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  line-height: 1;
}

.carousel-nav-btn:hover {
  border-color: var(--cyan);
  background: rgba(27, 161, 226, 0.1);
  box-shadow: var(--glow);
  color: var(--cyan) !important;
}

.hero-slide .hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-slide .hero-right {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--glow);
  border: 1px solid var(--line);
}

.hero-slide .hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scroll-indicator {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cyan);
  z-index: 10;
  opacity: 0.6;
  display: flex;
  justify-content: center;
}

.scroll-indicator svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.eyebrow {
  display: inline-flex;
  color: var(--cyan-light);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 6.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.accent {
  color: var(--cyan);
  text-shadow: 0 0 22px rgba(27, 161, 226, .4);
}

.subhead {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 22px 0 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}

.hero-proof .pill {
  border: 1px solid var(--pill-border);
  background: var(--pill-bg);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .92rem;
  font-weight: 800;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--cyan));
  color: white;
  font-weight: 900;
  box-shadow: var(--glow);
  cursor: pointer;
  font-size: 1.05rem;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dot.active {
  background: #fff;
  width: 22px;
  border-radius: 5px;
  box-shadow: 0 0 10px var(--cyan);
}

body.light-mode .dot {
  background: rgba(12, 45, 90, 0.2);
}

body.light-mode .dot.active {
  background: var(--title) !important;
  box-shadow: 0 0 10px rgba(12, 45, 90, 0.3);
}

/* --- Secciones Animadas (Scroll Reveal) --- */
.panel,
.hero-carousel-wrapper {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.panel.visible,
.hero-carousel-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

.panel {
  border: 1px solid var(--line);
  box-shadow: var(--glow), 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- Secciones Globales --- */
.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -.05em;
  margin: 60px 0 30px;
}

.panel {
  border-radius: var(--radius);
  background: var(--panel-bg);
  padding: 50px 40px;
  margin-bottom: 40px;
  transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* --- Sobre Nosotros --- */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.15;
}

.about-content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--glow);
  border: 1px solid var(--line);
  object-fit: cover;
  height: 380px;
}

/* --- Beneficios --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: var(--input-bg);
  padding: 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--glow);
  border-color: var(--cyan);
}

.step .icon {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(27, 161, 226, .1);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.step strong {
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: block;
  color: var(--text);
}

.step span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Flota --- */
.filters-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

#flota .section-title {
  margin-top: 15px;
}

.plans-wrapper {
  position: relative;
  width: 100%;
}

.fleet-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--card-bg);
  border: 1px solid var(--line);
  color: var(--title);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: var(--glow);
}

.fleet-prev {
  left: -22px;
}

.fleet-next {
  right: -22px;
}

.fleet-arrow:hover {
  border-color: var(--cyan);
  background: rgba(27, 161, 226, 0.1);
  color: var(--cyan);
  box-shadow: var(--glow);
}

body.light-mode .fleet-arrow {
  background: #ffffff;
  color: var(--navy);
}

body.light-mode .fleet-arrow:hover {
  background: rgba(12, 45, 90, 0.05);
  color: var(--navy);
  border-color: var(--navy);
}

@media (max-width: 900px) {
  .fleet-arrow {
    display: none;
  }
}

.plans {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px 5px 25px 5px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) rgba(255, 255, 255, 0.05);
  width: 100%;
}

.plans::-webkit-scrollbar {
  height: 8px;
}
.plans::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.03);
  border-radius: 99px;
}
.plans::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 99px;
  box-shadow: var(--glow);
}

.plan {
  position: relative;
  flex: 0 0 310px;
  scroll-snap-align: start;
  padding: 20px 15px 15px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-bg);
  box-shadow: var(--glow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.plan:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
}

.plan-header-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}

.plan-header-split h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--title);
}

.plan-header-split h3 span.accent {
  color: var(--cyan);
}

.plan-header-split .price-tag {
  color: var(--cyan);
  font-weight: 900;
  font-size: 0.95rem;
  text-shadow: 0 0 10px rgba(27, 161, 226, 0.3);
  white-space: nowrap;
}

body.light-mode .plan-header-split h3 span.accent {
  color: var(--navy);
}
body.light-mode .plan-header-split .price-tag {
  color: var(--navy);
  text-shadow: none;
}

.plan img {
  width: 100%;
  height: 125px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(128, 128, 128, 0.2);
}

.plan p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.plan-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}

.plan-buttons .btn {
  width: 100%;
  min-height: 40px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plan-buttons .btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.plan-buttons .btn-secondary:hover {
  border-color: var(--cyan);
  background: rgba(27, 161, 226, 0.05);
  color: var(--cyan);
}

body.light-mode .plan-buttons .btn-secondary {
  color: var(--navy);
  border-color: var(--line);
}
body.light-mode .plan-buttons .btn-secondary:hover {
  background: rgba(12, 45, 90, 0.05);
  border-color: var(--navy);
}

/* Modal de Detalles */
.car-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  backdrop-filter: blur(8px);
  animation: fadeInModal 0.4s ease-out;
}

.car-modal.show {
  display: flex;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--glow), 0 20px 50px rgba(0, 0, 0, 0.5);
  width: min(100% - 10px, 850px);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  color: var(--text);
}

body.light-mode .modal-content {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.close-modal-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--title);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.close-modal-btn:hover {
  color: var(--cyan);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-main {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.thumb-img {
  width: 70px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
  flex: 0 0 70px;
}

.thumb-img.active,
.thumb-img:hover {
  opacity: 1;
  border-color: var(--cyan);
}

body.light-mode .thumb-img.active,
body.light-mode .thumb-img:hover {
  border-color: var(--navy);
}

.thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modal-info h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  color: var(--title);
}

.modal-price {
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(27, 161, 226, 0.3);
}

body.light-mode .modal-price {
  color: var(--navy);
  text-shadow: none;
}

.modal-info p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.modal-specs {
  width: 100%;
  margin-bottom: 20px;
}

.modal-specs h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  color: var(--title);
}

.modal-specs ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 0.8rem;
}

.modal-specs ul li {
  background: var(--input-bg);
  padding: 6px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.modal-info .btn {
  width: 100%;
  min-height: 48px;
}

/* --- Formulario --- */
.login-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  background: var(--panel-bg);
  box-shadow: var(--glow);
  max-width: 800px;
  margin: 0 auto;
}

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

label {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  margin-bottom: 9px;
  color: var(--text);
}

input,
select {
  width: 100%;
  height: 56px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--input-bg);
  color: var(--text);
  padding: 0 16px;
  outline: none;
  font-size: 1rem;
  margin-bottom: 20px;
}

input:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(27, 161, 226, .2);
}

option {
  background: var(--bg);
  color: var(--text);
}

body.light-mode option {
  background: #fff;
}

/* --- Footer --- */
.footer {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 45px 30px 25px;
  margin-top: 80px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  color: var(--text);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.footer-links-row a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links-row a:hover {
  color: var(--cyan);
}

.footer-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s;
}

a.contact-item:hover {
  color: var(--cyan);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--input-bg);
  border: 1px solid var(--line);
  color: var(--text);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: rgba(27, 161, 226, .1);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 5px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* --- Media Queries --- */
@media (max-width: 900px) {
  .hero-slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
  }

  .hero-slide .hero-left {
    align-items: center;
  }

  .hero-slide .hero-right img {
    height: auto;
    max-height: 400px;
  }

  .hero-carousel-wrapper {
    min-height: auto;
    padding-bottom: 20px;
  }

  .hero-proof {
    justify-content: center;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 300px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 850px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    opacity: 0;
    pointer-events: none;
  }

  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }

  .header-actions .lang-switcher,
  .header-actions .theme-toggle {
    display: none !important;
  }

  .mobile-menu-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    width: 100%;
  }

  .mobile-menu-actions .lang-switcher {
    display: block;
  }

  .mobile-menu-actions .theme-toggle {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 600px) {
  .header-top-bar {
    padding: 8px 0;
  }

  .hours-full {
    display: none;
  }

  .hours-short {
    display: inline;
  }

  .top-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
  }

  .top-right span {
    font-size: 0.75rem;
  }

  .steps {
    grid-template-columns: 1fr !important;
  }
}

/* --- Desktop Scroll Snapping & Section Height --- */
@media (min-width: 901px) {
  .hero-carousel-wrapper,
  .panel,
  #flota,
  #reserva {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .about-section {
    display: grid !important;
  }
  #flota {
    min-height: calc(100vh - 100px);
    padding-bottom: 40px;
  }
}

/* --- Reserva Split Layout --- */
.reserva-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.reserva-info-panel h3 {
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--title);
  font-weight: 700;
}

.reserva-info-panel p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.reserva-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reserva-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.reserva-features .feature-icon {
  font-size: 1.4rem;
  background: var(--pill-bg);
  border: 1px solid var(--line);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.reserva-features .feature-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--title);
  margin-bottom: 4px;
  font-weight: 600;
}

.reserva-features .feature-text span {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Responsivo para el formulario de reserva */
@media (max-width: 900px) {
  .reserva-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 10px 0;
  }
}

/* Ajustes finos para teléfonos móviles */
@media (max-width: 480px) {
  .hero-frame {
    padding: 0 15px 10px !important;
  }
  .plan {
    flex: 0 0 calc(100vw - 70px) !important;
    max-width: 290px;
  }
  .plans {
    padding: 10px 0 25px 0 !important;
  }
  .plan-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .plan-header-split h3 {
    font-size: 1.1rem;
  }
  .plan-header-split .price-tag {
    font-size: 0.95rem;
  }
  .hero-slide {
    padding: 15px 0 10px;
  }
  .subhead {
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 15px 0 20px;
  }
  .hero-proof {
    gap: 8px;
    justify-content: center;
  }
  .hero-proof .pill {
    padding: 6px 12px;
    font-size: 0.82rem;
  }
  .reserva-features {
    gap: 16px;
  }
  .reserva-features .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .btn {
    min-height: 48px !important;
    padding: 0 18px !important;
    font-size: 0.92rem !important;
    border-radius: 8px !important;
  }
  .footer {
    padding: 35px 20px 20px;
    gap: 20px;
  }
  .footer-links-row {
    flex-direction: column;
    gap: 15px;
  }
  .footer-contact-row {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}

