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

:root {
  --vista-fondo-oscuro: #090D16;
  --vista-superficie: #121824;
  --vista-superficie-resaltada: #1B2336;
  --vista-resplandor-cyan: #00E5FF;
  --vista-resplandor-violeta: #9D4EDD;
  --vista-texto-primario: #F3F4F6;
  --vista-texto-secundario: #9CA3AF;
  --vista-borde-suave: 16px;
  --vista-borde-fino: 1px solid rgba(255, 255, 255, 0.08);
  --vista-gradiente-principal: linear-gradient(135deg, #00E5FF 0%, #9D4EDD 100%);
  --font-display: 'Nunito', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --vista-relleno-bloque: 10dvh;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--vista-fondo-oscuro);
  color: var(--vista-texto-primario);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 900;
  color: #FFFFFF;
}

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

/* Scroll Progress Bar */
@keyframes vista-progreso {
  from { width: 0%; }
  to { width: 100%; }
}
.vista-barra-progreso {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--vista-gradiente-principal);
  z-index: 10000;
  width: 0;
  animation: vista-progreso linear;
  animation-timeline: scroll();
}

/* Scroll Reveal Animation */
@keyframes vista-revelar-desplazamiento {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.vista-revelacion-scroll {
  animation: vista-revelar-desplazamiento linear both;
  animation-timeline: view();
  animation-range: entry 5% entry 40%;
}

/* Header */
.vista-cabecera-fija {
  position: sticky;
  top: 0;
  background-color: rgba(18, 24, 36, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: var(--vista-borde-fino);
  z-index: 999;
}

.vista-contenedor-limite {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.vista-marca-enlace {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  background: var(--vista-gradiente-principal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vista-logo-svg {
  width: 32px;
  height: 32px;
}

.vista-navegacion-principal {
  display: flex;
  align-items: center;
}

.vista-menu-toggle-chk {
  display: none;
}

.vista-hamburguesa-icono {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.vista-hamburguesa-icono span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--vista-texto-primario);
  transition: all 0.3s ease;
}

.vista-enlaces-lista {
  display: flex;
  gap: 32px;
  list-style: none;
}

.vista-enlace-item {
  font-weight: 600;
  font-size: 0.95rem;
}

.vista-enlace-item:hover {
  color: var(--vista-resplandor-cyan);
}

/* Hero Section (Preset A) */
.vista-hero-principal {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(9, 13, 22, 0.65), rgba(9, 13, 22, 0.85)), url('img/bg.webp') no-repeat center center/cover;
  text-align: center;
  padding: 0 24px;
}

.vista-hero-contenido {
  max-width: 800px;
  z-index: 2;
}

.vista-hero-titulo {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 20px;
  background: var(--vista-gradiente-principal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vista-hero-descripcion {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--vista-texto-secundario);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.vista-boton-capsula {
  display: inline-block;
  padding: 16px 40px;
  border-radius: letter-spacing;
  border-radius: 999px;
  background: var(--vista-gradiente-principal);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vista-boton-capsula:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(157, 78, 221, 0.5);
}

/* Floating Stat Bar */
.vista-barra-estadisticas {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.vista-estadisticas-contenedor {
  background-color: var(--vista-superficie);
  border: var(--vista-borde-fino);
  border-radius: var(--vista-borde-suave);
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.vista-estadistica-tarjeta {
  text-align: center;
  border-right: var(--vista-borde-fino);
}

.vista-estadistica-tarjeta:last-child {
  border-right: none;
}

.vista-estadistica-numero {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--vista-resplandor-cyan);
  line-height: 1;
  margin-bottom: 8px;
}

.vista-estadistica-etiqueta {
  font-size: 0.85rem;
  color: var(--vista-texto-secundario);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Block Styles */
.vista-bloque-seccion {
  padding: var(--vista-relleno-bloque) 0;
}

.vista-bloque-seccion-gris {
  background-color: var(--vista-superficie);
  padding: var(--vista-relleno-bloque) 0;
}

/* Zig-Zag Content */
.vista-seccion-zigzag {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.vista-zigzag-fila {
  display: flex;
  align-items: center;
  gap: 60px;
}

.vista-zigzag-fila-invertida {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-direction: row-reverse;
}

.vista-zigzag-bloque-imagen {
  flex: 1;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: var(--vista-borde-suave);
}

.vista-zigzag-bloque-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vista-slanted-right {
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.vista-slanted-left {
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.vista-zigzag-bloque-texto {
  flex: 1.2;
}

.vista-etiqueta-pequena {
  color: var(--vista-resplandor-violeta);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1rem;
  margin-bottom: 12px;
  display: block;
}

.vista-subtitulo-guia {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.vista-texto-parrafo {
  color: var(--vista-texto-secundario);
  margin-bottom: 24px;
}

/* Features Grid */
.vista-rejilla-elementos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.vista-seccion-cabecera {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
  padding: 0 24px;
}

.vista-tarjeta-beneficio {
  background-color: var(--vista-superficie-resaltada);
  border-left: 4px solid var(--vista-resplandor-cyan);
  padding: 40px 30px;
  border-radius: var(--vista-borde-suave);
  transition: all 0.3s ease;
  border-top: var(--vista-borde-fino);
  border-right: var(--vista-borde-fino);
  border-bottom: var(--vista-borde-fino);
}

.vista-tarjeta-beneficio:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border-left-color: var(--vista-resplandor-violeta);
}

.vista-icono-beneficio {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  stroke: var(--vista-resplandor-cyan);
}

.vista-tarjeta-beneficio:hover .vista-icono-beneficio {
  stroke: var(--vista-resplandor-violeta);
}

.vista-tarjeta-titulo {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

/* Timeline */
.vista-timeline-bloque {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.vista-timeline-linea {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--vista-gradiente-principal);
  transform: translateX(-50%);
}

.vista-timeline-paso {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.vista-timeline-paso:last-child {
  margin-bottom: 0;
}

.vista-timeline-nodo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--vista-superficie-resaltada);
  border: 2px solid var(--vista-resplandor-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--vista-resplandor-cyan);
  z-index: 5;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.vista-timeline-contenido-bloque {
  width: 42%;
  background-color: var(--vista-superficie);
  padding: 30px;
  border-radius: var(--vista-borde-suave);
  border: var(--vista-borde-fino);
}

.vista-timeline-paso:nth-child(even) {
  flex-direction: row-reverse;
}

/* CTA Strip */
.vista-faja-accion {
  position: relative;
  background: linear-gradient(rgba(9, 13, 22, 0.8), rgba(9, 13, 22, 0.85)), url('img/bg.webp') no-repeat center center/cover;
  background-attachment: fixed;
  padding: 100px 24px;
  text-align: center;
}

.vista-faja-contenido {
  max-width: 800px;
  margin: 0 auto;
}

/* Form Styles */
.vista-formulario-contenedor {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--vista-superficie);
  padding: 48px;
  border-radius: var(--vista-borde-suave);
  border: var(--vista-borde-fino);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.vista-campo-grupo {
  margin-bottom: 24px;
}

.vista-etiqueta-formulario {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vista-texto-secundario);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vista-entrada-texto {
  width: 100%;
  background-color: var(--vista-fondo-oscuro);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 14px 18px;
  color: #FFFFFF;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.vista-entrada-texto:focus {
  outline: none;
  border-color: var(--vista-resplandor-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.vista-casilla-grupo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 30px;
}

.vista-casilla-input {
  margin-top: 4px;
  accent-color: var(--vista-resplandor-cyan);
}

.vista-casilla-texto {
  font-size: 0.85rem;
  color: var(--vista-texto-secundario);
}

.vista-casilla-texto a {
  color: var(--vista-resplandor-cyan);
  text-decoration: underline;
}

.vista-boton-enviar {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 999px;
  background: var(--vista-gradiente-principal);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
  transition: all 0.3s ease;
}

.vista-boton-enviar:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(157, 78, 221, 0.5);
}

/* Info Cards Block in Reserve */
.vista-reserva-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 80px auto;
  padding: 0 24px;
}

.vista-reserva-tarjeta {
  background-color: var(--vista-superficie-resaltada);
  border: var(--vista-borde-fino);
  border-radius: var(--vista-borde-suave);
  padding: 35px;
}

.vista-reserva-tarjeta h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--vista-resplandor-cyan);
}

.vista-reserva-lista {
  list-style: none;
  margin-top: 20px;
}

.vista-reserva-lista-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--vista-texto-secundario);
  margin-bottom: 12px;
}

.vista-reserva-lista-item::before {
  content: "✓";
  color: var(--vista-resplandor-violeta);
  font-weight: bold;
}

/* FAQ Accordion (CSS only, open by default) */
.vista-acordeon-seccion {
  max-width: 800px;
  margin: 80px auto 0 auto;
  padding: 0 24px;
}

.vista-acordeon-item {
  background-color: var(--vista-superficie);
  border: var(--vista-borde-fino);
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 24px;
}

.vista-acordeon-pregunta {
  font-size: 1.1rem;
  color: var(--vista-resplandor-cyan);
  margin-bottom: 12px;
}

.vista-acordeon-respuesta {
  color: var(--vista-texto-secundario);
  font-size: 0.95rem;
}

/* Legal Pages */
.vista-legal-contenedor {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
}

.vista-legal-titulo {
  font-size: 2.5rem;
  margin-bottom: 40px;
  border-bottom: var(--vista-borde-fino);
  padding-bottom: 20px;
}

.vista-legal-seccion-bloque {
  margin-bottom: 40px;
}

.vista-legal-subtitulo {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Footer */
.vista-pie-pagina {
  background-color: #05080F;
  border-top: var(--vista-borde-fino);
  padding: 60px 24px;
}

.vista-pie-contenedor {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vista-pie-superior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.vista-pie-enlaces {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
}

.vista-pie-enlaces-item {
  font-size: 0.85rem;
  color: var(--vista-texto-secundario);
}

.vista-pie-enlaces-item:hover {
  color: var(--vista-resplandor-cyan);
}

.vista-pie-descargo {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  border-top: var(--vista-borde-fino);
  padding-top: 30px;
}

.vista-pie-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* Cookie Banner */
.vista-banner-cookies {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--vista-superficie);
  border-top: 2px solid var(--vista-resplandor-cyan);
  padding: 20px;
  z-index: 9999;
  display: none;
}

.vista-banner-cookies-interior {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.vista-banner-cookies-texto {
  font-size: 0.9rem;
  color: var(--vista-texto-secundario);
  flex: 1;
}

.vista-banner-cookies-botones {
  display: flex;
  gap: 12px;
}

.vista-boton-cookie-si {
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--vista-gradiente-principal);
  color: #FFFFFF;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
}

.vista-boton-cookie-no {
  padding: 10px 24px;
  border-radius: 999px;
  background: transparent;
  color: var(--vista-texto-secundario);
  border: 1px solid var(--vista-texto-secundario);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
}

.vista-boton-cookie-si:hover {
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
}

.vista-boton-cookie-no:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .vista-hamburguesa-icono {
    display: flex;
  }

  .vista-enlaces-lista {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--vista-superficie);
    border-bottom: var(--vista-borde-fino);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }

  .vista-menu-toggle-chk:checked ~ .vista-enlaces-lista {
    display: flex;
  }

  .vista-zigzag-fila,
  .vista-zigzag-fila-invertida {
    flex-direction: column;
    gap: 40px;
  }

  .vista-zigzag-bloque-imagen {
    width: 100%;
    height: 280px;
  }

  .vista-slanted-right,
  .vista-slanted-left {
    clip-path: none;
  }

  .vista-timeline-linea {
    left: 24px;
  }

  .vista-timeline-nodo {
    left: 24px;
  }

  .vista-timeline-paso {
    justify-content: flex-start;
  }

  .vista-timeline-contenido-bloque {
    width: calc(100% - 48px);
    margin-left: 48px;
  }

  .vista-timeline-paso:nth-child(even) {
    flex-direction: row;
  }

  .vista-pie-superior {
    flex-direction: column;
    align-items: flex-start;
  }

  .vista-formulario-contenedor {
    padding: 24px;
  }

  .vista-barra-estadisticas {
    margin-top: -30px;
  }
}