/* ==========================================================================
   GON-CAR VIAJES - ESTILOS PRINCIPALES & SISTEMA DE DISEÑO
   ========================================================================== */

:root {
  --bg-dark: #001430;
  --bg-dark-secondary: #031d45;
  --bg-dark-deep: #000a1a;
  --bg-light: #eef3fb;
  --border-dark: #16315f;
  --border-light: #b8c6dd;
  --accent: #ff9f1c;
  --accent-hover: #ffb84d;
  --blue-primary: #1b64d6;
  --blue-hover: #2f78ec;
  --blue-light: #4d9bff;
  --text-dark: #001430;
  --text-muted-dark: #33425e;
  --text-light: #ffffff;
  --text-muted-light: #b3c4e0;
  --font-disp: 'Archivo', 'Arial Black', sans-serif;
  --font-led: 'Doto', 'Courier New', monospace;
  --font-body: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container-max: 1240px;
  --header-height: 84px;
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-dark);
  background-color: var(--bg-dark);
  width: 100%;
}

body.menu-open {
  overflow: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s ease;
}

button, input {
  font-family: inherit;
  font-size: inherit;
}

/* Tipografía de marca */
.disp {
  font-family: var(--font-disp);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.led {
  font-family: var(--font-led);
  font-weight: 900;
  font-feature-settings: "tnum" 1;
}

/* Accesibilidad y foco */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Contenedores */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   BOTONES Y COMPONENTES REUTILIZABLES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  max-width: 100%;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-amber {
  background-color: var(--accent);
  color: var(--bg-dark);
  box-shadow: 0 8px 20px -6px rgba(255, 159, 28, 0.4);
}

.btn-amber:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 12px 24px -6px rgba(255, 159, 28, 0.5);
}

.btn-ghost {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-blue {
  background-color: var(--blue-primary);
  color: #fff;
}

.btn-blue:hover {
  background-color: var(--blue-hover);
}

/* Badges de parada / sección */
.badge-stop {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 12px;
  border-radius: 12px;
  padding: 6px 16px 6px 8px;
  max-width: 100%;
}

.badge-stop.dark-style {
  background-color: var(--bg-dark-secondary);
  border: 1px solid var(--border-dark);
}

.badge-stop.light-style {
  background-color: var(--bg-dark);
}

.badge-stop .num {
  background-color: var(--accent);
  color: var(--bg-dark);
  border-radius: 8px;
  padding: 0 10px;
  font-size: 24px;
  flex-shrink: 0;
}

.badge-stop .label {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 13px;
  text-transform: uppercase;
}

/* Líneas gráficas de adorno de transporte */
.franja {
  height: 17px;
  width: 100%;
  background: linear-gradient(to bottom, var(--accent) 0 10px, transparent 10px 13px, var(--blue-primary) 13px 17px);
}

.fleet-franja {
  margin-top: 22px;
  border-radius: 99px;
}

.road {
  height: 6px;
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--accent) 0 38px, transparent 38px 76px);
  animation: roadAnim 3s linear infinite;
}

@keyframes roadAnim {
  to {
    background-position: 76px 0;
  }
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.9em;
  background-color: var(--accent);
  margin-left: 0.15em;
  vertical-align: -0.05em;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ==========================================================================
   HEADER Y NAVBAR RESPONSIVO
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 100;
  padding: 20px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  height: 54px;
  width: auto;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.02);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navlink {
  color: #dbe6f7;
  font-weight: 500;
  font-size: 15px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 4px;
  position: relative;
  transition: color 0.18s ease;
}

.navlink:hover,
.navlink.active {
  color: #fff;
}

.navlink::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.25s ease;
}

.navlink:hover::after,
.navlink.active::after {
  width: 100%;
}

/* Botón Hamburguesa Móvil */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.3s ease;
}

.mobile-menu-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--accent);
}

.mobile-menu-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--accent);
}

/* Menú Drawer Móvil */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(0, 14, 34, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  padding: 84px 24px 36px;
  overflow-y: auto;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer .navlink {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  padding: 10px 20px;
  min-height: 48px;
}

.mobile-drawer .navlink:first-child {
  margin-top: auto;
}

.mobile-drawer .btn {
  margin-top: 12px;
  margin-bottom: auto;
  width: 100%;
  max-width: 280px;
}

/* ==========================================================================
   SECCIÓN HERO (#inicio)
   ========================================================================== */

#inicio {
  position: relative;
  background-color: var(--bg-dark);
}

.hero-route-svg {
  position: absolute;
  right: 0;
  top: 0;
  width: 70%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0 96px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 2;
  min-width: 0;
}

.hero-tag {
  color: #7fb4ff;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 14px;
}

.hero-title {
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  color: #c3d2ea;
  font-size: clamp(16px, 2vw, 19px);
  max-width: 520px;
}

/* Cartel electrónico de destino LED */
.led-sign {
  display: flex;
  align-items: stretch;
  background: var(--bg-dark-deep);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6);
}

.led-sign-number {
  background-color: var(--accent);
  color: var(--bg-dark);
  font-size: 34px;
  padding: 6px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.led-sign-body {
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.led-sign-label {
  color: #7e93b8;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
}

.led-sign-text {
  color: var(--accent);
  font-size: clamp(22px, 3.6vw, 34px);
  line-height: 1.1;
  text-shadow: 0 0 14px rgba(255, 159, 28, 0.55);
  min-height: 38px;
  white-space: nowrap;
}

#led-destination-word {
  transition: opacity 0.18s ease;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Columna visual Hero */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  z-index: 2;
  min-width: 0;
}

.hero-img-wrap {
  border-radius: 240px 28px 28px 28px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.16);
  background-color: var(--bg-dark-deep);
  aspect-ratio: 1 / 1.02;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual:hover .hero-img {
  transform: scale(1.03);
}

.hero-badge-unit {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background-color: var(--accent);
  color: var(--bg-dark);
  border-radius: var(--radius-md);
  padding: 8px 18px 10px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.6);
}

.hero-badge-unit .sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero-badge-unit .num {
  font-size: 44px;
  line-height: 1;
}

/* ==========================================================================
   SECCIÓN VALORES / CONFIANZA
   ========================================================================== */

.values-section {
  background-color: var(--bg-dark-secondary);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 44px 0;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.value-item svg {
  color: var(--blue-light);
  flex-shrink: 0;
}

.value-title {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 14px;
}

.value-sub {
  color: var(--text-muted-light);
  font-size: 15px;
}

/* ==========================================================================
   SECCIÓN SERVICIOS (#servicios)
   ========================================================================== */

#servicios {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.section-wrapper {
  padding-top: 104px;
  padding-bottom: 112px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.armar-wrapper {
  padding-top: 88px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  color: inherit;
}

.section-desc {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted-dark);
}

/* Grilla de tarjetas tipo boleto */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.ticket-card {
  position: relative;
  background-color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 40px -26px rgba(0, 20, 48, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  min-width: 0;
}

@media (hover: hover) {
  .ticket-card:hover {
    transform: translateY(-8px) rotate(-0.5deg);
    box-shadow: 0 30px 50px -24px rgba(0, 20, 48, 0.5);
  }
}

.ticket-card-content {
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.ticket-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-card-num {
  font-size: 32px;
  color: var(--blue-primary);
}

.ticket-card-icon {
  color: var(--blue-primary);
  flex-shrink: 0;
}

.ticket-card-title {
  font-size: 25px;
  line-height: 1.1;
  color: var(--text-dark);
}

.ticket-card-desc {
  color: var(--text-muted-dark);
  font-size: 16px;
  line-height: 1.5;
}

/* Separador perforado de boleto */
.ticket-perforation {
  position: relative;
  height: 0;
  border-top: 2px dashed var(--border-light);
  margin: 0 18px;
}

.ticket-perforation::before,
.ticket-perforation::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-light);
}

.ticket-perforation::before {
  left: -30px;
}

.ticket-perforation::after {
  right: -30px;
}

.ticket-card-footer {
  padding: 12px 26px 16px;
}

.ticket-card-footer .lnk {
  font-weight: 700;
  color: #0b4fc0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.ticket-card-footer .lnk:hover {
  color: var(--text-dark);
  transform: translateX(4px);
}

/* ==========================================================================
   SECCIÓN FLOTA (#flota)
   ========================================================================== */

#flota {
  background-color: var(--bg-dark);
  color: #fff;
  position: relative;
}

.fleet-selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fleet-unit-btn {
  min-width: 96px;
  min-height: 96px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.18);
  background-color: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all 0.22s ease;
  padding: 8px 16px;
}

.fleet-unit-btn:hover {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.fleet-unit-btn.active {
  background-color: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
  box-shadow: 0 10px 24px -6px rgba(255, 159, 28, 0.4);
}

.fleet-unit-btn .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.fleet-unit-btn .num {
  font-size: 40px;
  line-height: 1;
}

.fleet-display-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.fleet-image-container {
  position: relative;
  min-width: 0;
}

.fleet-image-frame {
  border-radius: 28px 160px 28px 28px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.14);
  aspect-ratio: 5 / 4;
  background-color: var(--bg-dark-deep);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.fleet-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fleet-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.fleet-thumb {
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-dark-deep);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.fleet-thumb:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.fleet-thumb.active {
  border-color: var(--accent);
  box-shadow: 0 6px 16px -4px rgba(255, 159, 28, 0.45);
}

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

.fleet-info-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.fleet-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.fleet-active-num {
  font-size: clamp(52px, 8vw, 76px);
  line-height: 1;
  color: var(--accent);
}

.fleet-active-name {
  color: #fff;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.05;
}

.fleet-active-desc {
  color: #c3d2ea;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
}

.fleet-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 16px;
}

.fleet-spec-card {
  background-color: var(--bg-dark-secondary);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fleet-spec-card .lbl {
  color: #8aa0c4;
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
}

.fleet-spec-card .val {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.fleet-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.fleet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: var(--bg-dark-secondary);
  border: 1px solid var(--border-dark);
  color: #dbe6f7;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 100%;
}

.fleet-pill svg {
  color: var(--blue-light);
  flex-shrink: 0;
}

.fleet-pill-starlink {
  border-color: rgba(255, 159, 28, 0.45);
  color: #fff;
}

.fleet-pill-starlink svg {
  color: var(--accent);
}

/* ==========================================================================
   SECCIÓN CÓMO RESERVAR (#como)
   ========================================================================== */

#como {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.stop-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.stop-step::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 84px;
  right: -24px;
  border-top: 3px dashed #9db3d6;
  z-index: 0;
}

.stop-step.stop-last::after {
  display: none;
}

.stop-step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--bg-dark);
  color: var(--accent);
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--bg-light);
  box-shadow: 0 0 0 3px var(--bg-dark);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.stop-step.stop-last .stop-step-circle {
  background-color: var(--accent);
  color: var(--bg-dark);
  box-shadow: 0 0 0 3px var(--accent);
}

.stop-step-title {
  font-size: 26px;
  line-height: 1.1;
  color: var(--text-dark);
}

.stop-step-desc {
  color: var(--text-muted-dark);
  font-size: 16px;
  line-height: 1.5;
}

/* ==========================================================================
   SECCIÓN RESEÑAS DE GOOGLE MAPS (#resenas)
   ========================================================================== */

#resenas {
  background-color: var(--bg-dark);
  color: #fff;
  position: relative;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.review-card {
  background-color: var(--bg-dark-secondary);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, 0.65);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.review-stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 0.12em;
  line-height: 1;
}

.review-source {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8aa0c4;
}

.review-text {
  color: #dbe6f7;
  font-size: 16px;
  line-height: 1.6;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-dark);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--bg-dark);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

/* ==========================================================================
   SECCIÓN COTIZADOR / ARMÁ TU VIAJE (#armar)
   ========================================================================== */

#armar {
  background-color: var(--bg-dark-secondary);
  color: #fff;
  position: relative;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.booking-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.booking-legend {
  color: #dbe6f7;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 16px;
}

.services-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-chip {
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background-color: transparent;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s ease;
  max-width: 100%;
}

.service-chip:hover {
  border-color: #fff;
}

.service-chip.active {
  background-color: #fff;
  color: var(--bg-dark);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
}

/* Contador de Pasajeros */
.passenger-counter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.passenger-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.step-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.1s ease;
}

.step-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.step-btn:active {
  transform: scale(0.94);
}

.passenger-number-display {
  min-width: 90px;
  text-align: center;
  color: var(--accent);
  font-size: 52px;
  line-height: 1;
}

/* Campos de entrada */
.fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field-label {
  color: #dbe6f7;
  font-weight: 700;
  font-size: 15px;
}

.field-input {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 2px solid transparent;
  background-color: #fff;
  color: var(--bg-dark);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
  padding: 10px 16px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 159, 28, 0.25);
}

/* Vista previa del Boleto en Vivo */
.ticket-preview-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.live-ticket {
  background-color: #fff;
  color: var(--bg-dark);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .live-ticket:hover {
    transform: translateY(-4px);
  }
}

.live-ticket-header {
  background-color: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 26px;
}

.live-ticket-header .brand {
  font-size: 26px;
  line-height: 1;
}

.live-ticket-header .type {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 12px;
  text-transform: uppercase;
}

.live-ticket-body {
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.live-ticket-service {
  color: var(--text-muted-dark);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 13px;
  text-transform: uppercase;
}

.live-ticket-route {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.live-ticket-station {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.live-ticket-arrow {
  color: var(--blue-primary);
  flex-shrink: 0;
}

.live-ticket-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.live-ticket-meta .meta-item .lbl {
  color: #4b5b78;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.live-ticket-meta .meta-item .val {
  font-weight: 700;
  font-size: 20px;
}

.live-ticket-perforation {
  position: relative;
  height: 0;
  border-top: 2px dashed #b8c6dd;
  margin: 0 18px;
}

.live-ticket-perforation::before,
.live-ticket-perforation::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-dark-secondary);
}

.live-ticket-perforation::before {
  left: -30px;
}

.live-ticket-perforation::after {
  right: -30px;
}

.live-ticket-footer {
  padding: 18px 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.live-ticket-guarantee {
  color: var(--text-muted-dark);
  font-size: 15px;
  max-width: 240px;
}

.barcode-graphic {
  width: 150px;
  height: 46px;
  flex-shrink: 0;
  background: repeating-linear-gradient(90deg, #001430 0 3px, #fff 3px 5px, #001430 5px 6px, #fff 6px 10px, #001430 10px 14px, #fff 14px 16px);
}

.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   FOOTER (#contacto)
   ========================================================================== */

#contacto {
  background-color: var(--bg-dark);
  position: relative;
  color: #fff;
}

.footer-inner {
  padding-top: 80px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.footer-logo {
  height: 84px;
  width: auto;
  align-self: flex-start;
}

.footer-claim {
  color: #fff;
  font-size: clamp(1.75rem, 3.6vw, 2.8rem);
  line-height: 1.05;
}

.footer-claim span {
  color: var(--blue-light);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #dbe6f7;
  min-width: 0;
}

.footer-contact-row {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.footer-contact-label {
  color: #8aa0c4;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 12px;
  min-width: 108px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.footer-contact-val {
  font-size: 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer-link-phone {
  color: #fff;
}

.footer-link-wa {
  color: var(--accent);
}

.footer-wa-trigger {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
}

.footer-ig-handle {
  font-size: 15px;
  font-weight: 600;
  color: #dbe6f7;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  color: var(--blue-light);
  transition: all 0.2s ease;
}

.footer-social-icon:hover {
  background-color: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  color: #8aa0c4;
  font-size: 14px;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP MÓVIL
   ========================================================================== */

.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.6);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.wa-icon {
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.wa-icon-white {
  filter: brightness(0) invert(1);
}

.wa-icon-dark {
  filter: brightness(0);
}

/* ==========================================================================
   MODAL SELECTOR DE WHATSAPP
   ========================================================================== */

.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wa-modal[hidden] {
  display: none;
}

.wa-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 10, 26, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.wa-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background-color: var(--bg-dark-secondary);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 28px 24px 24px;
  color: #fff;
  box-shadow: 0 32px 64px -20px rgba(0, 0, 0, 0.8);
}

.wa-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: #dbe6f7;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.wa-modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.wa-modal-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding-right: 36px;
}

.wa-modal-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.wa-modal-title {
  font-size: 26px;
  line-height: 1.1;
  color: #fff;
}

.wa-modal-sub {
  font-size: 15px;
  color: var(--text-muted-light);
}

.wa-modal-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wa-option-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  min-height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--bg-dark);
  border: 2px solid var(--border-dark);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.wa-option-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.wa-option-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.wa-option-num {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.wa-option-desc {
  font-size: 14px;
  color: #b3c4e0;
}

.floating-whatsapp-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(37, 211, 102, 0.7);
}

.floating-whatsapp-btn::after {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.6;
  animation: pulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulsePing {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ==========================================================================
   ANIMACIONES SCROLL-ON (INTERSECTION OBSERVER)
   ========================================================================== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Retardos escalonados */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   MEDIA QUERIES RESPONSIVAS
   ========================================================================== */

@media (max-width: 1140px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .nav-desktop {
    gap: 18px;
  }

  .nav-container .btn {
    padding: 10px 20px;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(3rem, 6.2vw, 5.2rem);
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 28px 0 68px;
  }

  .hero-visual {
    margin: 0 auto;
    max-width: 440px;
  }

  .hero-badge-unit {
    left: 14px;
    bottom: 18px;
  }

  .fleet-display-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .fleet-image-frame {
    aspect-ratio: 4 / 3;
    border-radius: 24px 104px 24px 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stop-step::after {
    display: none;
  }

  .booking-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .scroll-reveal-left,
  .scroll-reveal-right {
    transform: translateY(24px);
  }

  .scroll-reveal-left.revealed,
  .scroll-reveal-right.revealed {
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .section-wrapper,
  .armar-wrapper {
    padding-top: 72px;
    padding-bottom: 80px;
    gap: 40px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-inner {
    padding-top: 64px;
    padding-bottom: 92px;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 24px;
  }

  .site-header {
    padding: 16px 0;
  }

  .brand-logo {
    height: 44px;
  }

  .hero-grid {
    padding: 20px 0 56px;
    gap: 36px;
  }

  .hero-content {
    gap: 22px;
  }

  .hero-tag {
    font-size: 13px;
    letter-spacing: 0.14em;
  }

  .hero-title {
    font-size: clamp(2.45rem, 12vw, 3.4rem);
  }

  .led-sign-number {
    font-size: 26px;
    padding: 6px 14px;
  }

  .led-sign-body {
    padding: 10px 14px;
  }

  .led-sign-text {
    font-size: clamp(18px, 5.5vw, 24px);
    min-height: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-img-wrap {
    border-radius: 140px 24px 24px 24px;
  }

  .hero-badge-unit {
    left: 10px;
    bottom: 14px;
    padding: 6px 14px 8px;
  }

  .hero-badge-unit .num {
    font-size: 34px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }

  .section-wrapper,
  .armar-wrapper {
    padding-top: 56px;
    padding-bottom: 64px;
    gap: 32px;
  }

  .section-header {
    gap: 16px;
  }

  .badge-stop .num {
    font-size: 20px;
  }

  .badge-stop .label {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .ticket-card-content {
    padding: 22px 20px 20px;
  }

  .ticket-card-title {
    font-size: 22px;
  }

  .ticket-card-footer {
    padding: 10px 20px 14px;
  }

  .fleet-selector-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .fleet-unit-btn {
    min-width: 0;
    min-height: 78px;
    padding: 8px 6px;
    border-radius: 16px;
  }

  .fleet-unit-btn .tag {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .fleet-unit-btn .num {
    font-size: 32px;
  }

  .fleet-image-frame {
    border-radius: 20px 80px 20px 20px;
  }

  .fleet-info-column {
    gap: 20px;
  }

  .fleet-info-column .btn {
    width: 100%;
    padding: 12px 18px;
  }

  .stop-step {
    gap: 12px;
  }

  .stop-step-circle {
    width: 60px;
    height: 60px;
    font-size: 32px;
  }

  .stop-step-title {
    font-size: 22px;
  }

  .service-chip {
    padding: 10px 16px;
    font-size: 14px;
  }

  .fields-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .live-ticket {
    border-radius: 20px;
  }

  .live-ticket-header {
    padding: 12px 18px;
    gap: 8px;
  }

  .live-ticket-header .brand {
    font-size: 22px;
  }

  .live-ticket-header .type {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .live-ticket-body {
    padding: 20px 18px 18px;
    gap: 14px;
  }

  .live-ticket-station {
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .live-ticket-meta {
    gap: 24px;
  }

  .live-ticket-footer {
    padding: 16px 18px 20px;
  }

  .live-ticket-guarantee {
    max-width: 100%;
  }

  .ticket-actions {
    flex-direction: column;
  }

  .ticket-actions .btn {
    width: 100%;
  }

  .footer-inner {
    padding-top: 52px;
    padding-bottom: 88px;
    gap: 32px;
  }

  .footer-logo {
    height: 64px;
  }

  .footer-contact-list {
    gap: 14px;
  }

  .footer-contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .footer-contact-label {
    min-width: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .floating-whatsapp-btn {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
}

/* Soporte para preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .road,
  .cursor,
  .floating-whatsapp-btn::after {
    animation: none;
  }

  .btn,
  .navlink,
  .navlink::after,
  .hamburger-line,
  .mobile-drawer,
  .hero-img,
  .ticket-card,
  .ticket-card-footer .lnk,
  .fleet-unit-btn,
  .fleet-image-frame img,
  .service-chip,
  .step-btn,
  .field-input,
  .live-ticket,
  .footer-social-icon,
  .floating-whatsapp-btn,
  #led-destination-word {
    transition: none;
  }

  .scroll-reveal,
  .scroll-reveal-left,
  .scroll-reveal-right,
  .scroll-reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
