/* --- CSS VARIABLES CON NOMBRE EXCLUSIVO Y TEMÁTICO --- */
:root {
  --circulo-base: #faf9f6;             /* warm soft off-white background */
  --circulo-placa: #ffffff;            /* background of cards/bento */
  --circulo-pulso: #10b981;            /* emerald active color representing cardiovascular flow */
  --circulo-pulso-gloria: #059669;     /* hover pulse color */
  --circulo-texto-fuerte: #1f2937;     /* dark grey dark slate */
  --circulo-texto-suave: #4b5563;      /* medium grey text */
  --circulo-gradiente-pulso: linear-gradient(135deg, #10b981, #3b82f6);
  --circulo-borde-radio: 16px;         /* soft border radius style */
  --circulo-sombra: 0 10px 35px rgba(0, 0, 0, 0.05); /* raised shadow style */
  --vital-borde-gris: #e5e7eb;
  
  --fuente-pantalla: 'Montserrat', sans-serif;
  --fuente-parrafos: 'Lato', sans-serif;
  --seccion-relleno-escala: 10dvh;     /* normal scale */
}

/* --- ESTILOS DE NORMALIZACIÓN --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--circulo-base);
  color: var(--circulo-texto-fuerte);
  font-family: var(--fuente-parrafos);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--fuente-pantalla);
  text-transform: uppercase; /* heading-case: uppercase */
  letter-spacing: 0.05em;
  font-weight: 700;
}

/* --- HEADER / CABECERA --- */
.vital-cabecera {
  background-color: var(--circulo-placa);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.vital-progreso-barra {
  height: 4px;
  width: 0;
  background: var(--circulo-gradiente-pulso);
  position: absolute;
  top: 0;
  left: 0;
}

@keyframes progress-grow {
  to { width: 100%; }
}

.scroll-progress {
  animation: progress-grow linear;
  animation-timeline: scroll();
}

.vital-navegacion-interior {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vital-marca-enlace {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--circulo-texto-fuerte);
}

.vital-marca-icono {
  width: 32px;
  height: 32px;
  stroke: var(--circulo-pulso);
}

.vital-marca-texto {
  font-family: var(--fuente-pantalla);
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.vital-menu-navegacion {
  display: flex;
  gap: 2rem;
}

.vital-enlace-nav {
  text-decoration: none;
  color: var(--circulo-texto-suave);
  font-weight: 600;
  transition: color 0.3s ease;
  font-family: var(--fuente-pantalla);
  font-size: 0.9rem;
}

.vital-enlace-nav:hover, .vital-enlace-nav.vital-activo {
  color: var(--circulo-pulso);
}

.vital-menu-gatillo-check, .vital-menu-hamburguesa {
  display: none;
}

/* --- MOBILE MENU --- */
@media (max-width: 768px) {
  .vital-menu-hamburguesa {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
  }

  .vital-menu-hamburguesa span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--circulo-texto-fuerte);
    border-radius: 9px;
    transition: all 0.3s ease;
  }

  .vital-menu-navegacion {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--circulo-placa);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    display: none;
  }

  .vital-menu-gatillo-check:checked ~ .vital-menu-navegacion {
    display: flex;
  }

  .vital-menu-gatillo-check:checked ~ .vital-menu-hamburguesa span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .vital-menu-gatillo-check:checked ~ .vital-menu-hamburguesa span:nth-child(2) {
    opacity: 0;
  }

  .vital-menu-gatillo-check:checked ~ .vital-menu-hamburguesa span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* --- HERO SECTION --- */
.vital-heroico-seccion {
  background-size: cover;
  background-position: center;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 4rem 2rem;
}

.vital-heroico-reducido {
  min-height: 45vh;
  padding: 3rem 2rem;
}

.vital-heroico-contenido {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.vital-heroico-titulo {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.vital-heroico-subtitulo {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin-bottom: 2.5rem;
  font-weight: 300;
  color: #f3f4f6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.vital-boton-accion-principal, .vital-boton-blanco, .vital-boton-secundario {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-family: var(--fuente-pantalla);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px; /* pill style button */
  box-shadow: var(--circulo-sombra);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.vital-boton-accion-principal {
  background-color: var(--circulo-pulso);
  color: #ffffff;
}

.vital-boton-accion-principal:hover {
  background-color: var(--circulo-pulso-gloria);
  transform: translateY(-2px);
}

.vital-boton-secundario {
  background-color: var(--circulo-texto-fuerte);
  color: #ffffff;
}

.vital-boton-secundario:hover {
  background-color: #000000;
  transform: translateY(-2px);
}

.vital-boton-blanco {
  background-color: #ffffff;
  color: var(--circulo-texto-fuerte);
}

.vital-boton-blanco:hover {
  background-color: var(--circulo-base);
  transform: translateY(-2px);
}

/* --- SCROLL REVEAL INTERACTIVE --- */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  animation: slide-up 0.6s linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* --- TITULO CENTRADO --- */
.vital-titulo-centro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.vital-seccion-encabezado {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--circulo-texto-fuerte);
  margin-bottom: 1rem;
}

.vital-seccion-bajada {
  font-size: 1.1rem;
  color: var(--circulo-texto-suave);
}

/* --- BENTO GRID STYLE --- */
.vital-bloque-malla-bento {
  padding: var(--seccion-relleno-escala) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.vital-bento-malla {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.vital-bento-celda {
  background-color: var(--circulo-placa);
  border-radius: var(--circulo-borde-radio);
  padding: 2.5rem;
  box-shadow: var(--circulo-sombra);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vital-bento-celda:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.vital-bento-span-4 { grid-column: span 4; }
.vital-bento-span-2 { grid-column: span 2; }
.vital-bento-span-3 { grid-column: span 3; }
.vital-bento-span-6 { grid-column: span 6; }

.vital-bento-icono-envoltura {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.vital-bento-icono-envoltura svg {
  width: 26px;
  height: 26px;
  stroke: var(--circulo-pulso);
}

.vital-bento-titulo {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--circulo-texto-fuerte);
}

.vital-bento-descripcion {
  color: var(--circulo-texto-suave);
  font-size: 0.95rem;
}

/* BOX 2 SPECIALS */
.vital-bento-destacado {
  background: var(--circulo-gradiente-pulso);
  color: #ffffff;
  text-align: center;
}

.vital-bento-numero {
  font-family: var(--fuente-pantalla);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.vital-bento-etiqueta {
  font-family: var(--fuente-pantalla);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  align-self: center;
  margin-bottom: 1rem;
}

.vital-bento-subtexto {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* BOX 6 SPECIFIC */
.vital-bento-flex-horizontal {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.vital-bento-grafico {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid var(--circulo-pulso);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vital-bento-porcentaje {
  font-family: var(--fuente-pantalla);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--circulo-pulso);
}

.vital-bento-info-adicional {
  flex-grow: 1;
}

@media (max-width: 992px) {
  .vital-bento-span-4, .vital-bento-span-2, .vital-bento-span-3 {
    grid-column: span 3;
  }
}

@media (max-width: 600px) {
  .vital-bento-malla {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .vital-bento-celda {
    grid-column: span 6;
  }
  .vital-bento-flex-horizontal {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

/* --- SECCION MOSAICO MULTICOLUMNA --- */
.vital-bloque-mosaico {
  padding: var(--seccion-relleno-escala) 2rem;
  background-size: cover;
  background-position: center;
}

.vital-mosaico-interior {
  max-width: 1200px;
  margin: 0 auto;
}

.vital-mosaico-texto {
  max-width: 650px;
  background-color: var(--circulo-placa);
  padding: 3.5rem;
  border-radius: var(--circulo-borde-radio);
  box-shadow: var(--circulo-sombra);
}

.vital-mosaico-titulo {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--circulo-texto-fuerte);
}

.vital-mosaico-parrafo {
  margin-bottom: 1.5rem;
  color: var(--circulo-texto-suave);
  font-size: 1.05rem;
}

.vital-mosaico-acciones {
  margin-top: 2rem;
}

/* --- EXPERT PAGE BIO --- */
.vital-dos-columnas {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.vital-columna-imagen, .vital-columna-texto {
  width: 50%;
}

.vital-imagen-perfil {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  box-shadow: var(--circulo-sombra);
}

@media (max-width: 768px) {
  .vital-dos-columnas {
    flex-direction: column;
    gap: 2.5rem;
  }
  .vital-columna-imagen, .vital-columna-texto {
    width: 100%;
  }
}

/* --- HORIZONTAL STEPS (COMO FUNCIONA) --- */
.vital-bloque-pasos {
  padding: var(--seccion-relleno-escala) 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.vital-pasos-fila {
  display: flex;
  gap: 2.5rem;
}

.vital-paso-item {
  flex: 1;
  background-color: var(--circulo-placa);
  padding: 3rem 2rem;
  border-radius: var(--circulo-borde-radio);
  box-shadow: var(--circulo-sombra);
  position: relative;
  overflow: hidden;
}

.vital-paso-numero-fondo {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 6rem;
  font-family: var(--fuente-pantalla);
  font-weight: 900;
  color: var(--circulo-texto-fuerte);
  opacity: 0.05;
  line-height: 1;
}

.vital-paso-titulo {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--circulo-texto-fuerte);
  position: relative;
  z-index: 2;
}

.vital-paso-descripcion {
  color: var(--circulo-texto-suave);
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .vital-pasos-fila {
    flex-direction: column;
  }
}

/* --- ACCION STRIP --- */
.vital-franja-accion {
  padding: 5rem 2rem;
  text-align: center;
  color: #ffffff;
}

.vital-franja-interior {
  max-width: 800px;
  margin: 0 auto;
}

.vital-franja-titulo {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.vital-franja-subtexto {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* --- BOOKING SECTION & FORM --- */
.vital-seccion-reserva {
  padding: var(--seccion-relleno-escala) 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.vital-reserva-exterior {
  background-color: var(--circulo-placa);
  border-radius: var(--circulo-borde-radio);
  box-shadow: var(--circulo-sombra);
  overflow: hidden;
}

.vital-reserva-mosaico {
  display: flex;
}

.vital-reserva-formulario-zona {
  width: 60%;
  padding: 4rem;
}

.vital-reserva-informacion-zona {
  width: 40%;
  background: #f1f5f9;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 900px) {
  .vital-reserva-mosaico {
    flex-direction: column;
  }
  .vital-reserva-formulario-zona, .vital-reserva-informacion-zona {
    width: 100%;
    padding: 2.5rem;
  }
}

.vital-reserva-formulario-titulo {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--circulo-texto-fuerte);
}

.vital-reserva-formulario-bajada {
  color: var(--circulo-texto-suave);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.vital-formulario-estructura {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vital-campo-grupo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vital-campo-etiqueta {
  font-family: var(--fuente-pantalla);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--circulo-texto-suave);
}

.vital-campo-entrada {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--vital-borde-gris);
  border-radius: 8px;
  font-family: var(--fuente-parrafos);
  font-size: 1rem;
  color: var(--circulo-texto-fuerte);
  transition: border-color 0.2s ease;
}

.vital-campo-entrada:focus {
  outline: none;
  border-color: var(--circulo-pulso);
}

.vital-campo-textarea {
  resize: vertical;
}

.vital-campo-checkbox-grupo {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.vital-campo-check {
  margin-top: 0.25rem;
  cursor: pointer;
}

.vital-campo-check-etiqueta {
  font-size: 0.85rem;
  color: var(--circulo-texto-suave);
}

.vital-campo-check-etiqueta a {
  color: var(--circulo-pulso);
  text-decoration: none;
  font-weight: 600;
}

.vital-boton-formulario {
  background-color: var(--circulo-pulso);
  color: #ffffff;
  padding: 1.15rem;
  border: none;
  border-radius: 999px;
  font-family: var(--fuente-pantalla);
  font-weight: 750;
  text-transform: uppercase;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--circulo-sombra);
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-top: 0.5rem;
}

.vital-boton-formulario:hover {
  background-color: var(--circulo-pulso-gloria);
  transform: translateY(-2px);
}

.vital-soporte-contacto {
  margin-top: 2rem;
  border-top: 1px solid var(--vital-borde-gris);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--circulo-texto-suave);
}

.vital-enlace-correo {
  color: var(--circulo-pulso);
  text-decoration: none;
  font-weight: 600;
}

/* RESERVE SIDEBAR INFO */
.vital-reserva-info-titulo {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--circulo-texto-fuerte);
}

.vital-tarjeta-beneficio {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.vital-tarjeta-numero {
  width: 36px;
  height: 36px;
  background-color: var(--circulo-pulso);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fuente-pantalla);
  font-weight: 700;
  flex-shrink: 0;
}

.vital-tarjeta-detalle h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--circulo-texto-fuerte);
}

.vital-tarjeta-detalle p {
  font-size: 0.85rem;
  color: var(--circulo-texto-suave);
}

/* --- FAQ ACCORDION --- */
.vital-seccion-preguntas {
  padding: 0 2rem var(--seccion-relleno-escala);
  max-width: 800px;
  margin: 0 auto;
}

.vital-preguntas-acordeon {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vital-acordeon-item {
  background-color: var(--circulo-placa);
  border-radius: 12px;
  box-shadow: var(--circulo-sombra);
  overflow: hidden;
}

.vital-acordeon-titulo {
  padding: 1.5rem;
  font-family: var(--fuente-pantalla);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  user-select: none;
  color: var(--circulo-texto-fuerte);
}

.vital-acordeon-titulo:focus {
  outline: none;
}

.vital-acordeon-contenido {
  padding: 0 1.5rem 1.5rem;
  color: var(--circulo-texto-suave);
  font-size: 0.95rem;
  border-top: 1px solid var(--vital-borde-gris);
  margin-top: 0.5rem;
}

/* --- FOOTER / PIE DE PÁGINA --- */
.vital-pie {
  background-color: #111827; /* dark matching typography guidelines */
  color: #f3f4f6;
  padding: 5rem 2rem 2.5rem;
}

.vital-pie-interior {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.vital-pie-bloque-marca {
  max-width: 600px;
}

.vital-pie-bloque-marca .vital-marca-enlace {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.vital-pie-disclaimer {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.5;
}

.vital-pie-enlaces {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 200px;
}

.vital-enlace-pie {
  text-decoration: none;
  color: #9ca3af;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.vital-enlace-pie:hover {
  color: var(--circulo-pulso);
}

.vital-pie-derechos {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .vital-pie-interior {
    flex-direction: column;
    gap: 2.5rem;
  }
}

/* --- COOKIES BANNER --- */
.vital-cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1f2937;
  color: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  z-index: 9999;
  transition: transform 0.4s ease;
}

.vital-cookies-oculto {
  transform: translateY(100%);
}

.vital-cookies-contenedor {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.vital-cookies-texto {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

.vital-cookies-botones {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.vital-cookies-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-family: var(--fuente-pantalla);
  font-weight: 700;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

.vital-cookies-btn-aceptar {
  background-color: var(--circulo-pulso);
  color: #ffffff;
}

.vital-cookies-btn-rechazar {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  .vital-cookies-contenedor {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
}