/* ------------------------- */
/* RESETEO BÁSICO */
/* ------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #000;
  scroll-behavior: smooth;
}

body.page-ser {
  background-image: url('img/principal/fondoSer.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* (overlay de imágenes global eliminado) */

/* Contenedor principal con fondo centrado y nítido */
.contenedor-principal {
  position: relative;
  min-height: 100vh;
  background-image: url('img/principal/fondo-inicio.jpg');
  background-attachment: scroll;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}


/* ------------------------- */
/* BARRA SUPERIOR */
/* ------------------------- */

/* Hamburguesa y social-movil: OCULTOS en desktop, se activan solo en @media móvil */
.btn-hamburguesa          { display: none !important; }
.nav-barra .social-movil  { display: none !important; }

.barra-top {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  z-index: 1000;
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contenedor-barra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: auto;
  gap: 12px;
}

.nav-barra {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
}

.logo-barra {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-barra img {
  height: 55px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.logo-barra img:hover {
  transform: scale(1.1);
}

.nav-barra a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-barra a:hover {
  color: #00b894;
  transform: translateY(-2px);
}

.nav-barra a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00b894;
  transition: width 0.3s ease;
}

.nav-barra a:hover::after {
  width: 100%;
}

/* Botón Ingresar — no subrayado, sin recorte */
a.btn-login-nav {
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  flex-shrink: 0;
  white-space: nowrap;
}
a.btn-login-nav::after { display: none; }

/* Buscador en barra superior */
.search-barra {
  position: relative;
  margin-left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-input {
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  width: 220px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-results {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  max-height: 240px;
  overflow-y: auto;
  display: none;
  z-index: 1100;
}

.search-results.visible { display: block; }

.search-results li {
  list-style: none;
  padding: 8px 10px;
  cursor: pointer;
  color: #fff;
}

.search-results li:hover {
  background: rgba(255,255,255,0.1);
}

/* ------------------------- */
/* HERO SECTIONS */
/* ------------------------- */
section {
  padding: 80px 20px;
  text-align: center;
}

.hero-destino {
  height: 100vh;
  padding: 0;
  margin: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Ajuste de altura del héroe solo en SER para acercar el contenido siguiente */
body.page-ser .hero-destino {
  height: 70vh;
}

.hero-inicio {
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  image-rendering: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  color: white;
  background-image: url('img/principal/fondo-inicio.jpg');
  background-attachment: scroll;
  transform: translateZ(0);
}

.logo-hero {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(240px, 32vw, 420px);
  height: clamp(240px, 32vw, 420px);
  padding: 18px 24px;
  margin-top: 110px;
}

.logo-inicio {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (min-width: 768px) {
  .logo-hero {
    max-width: 520px;
    max-height: 520px;
    margin-top: 120px;
  }
}

@media (max-width: 480px) {
  .hero-inicio { flex-direction: column; }
  .frase-principal { text-align: center; margin-top: 16px; }
}

.frase-principal {
  margin-top: 12px;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 1.5px;
  color: #fff;
  -webkit-text-stroke: 2px #000;
  text-shadow:
    1px 1px 0 #000,
    -1px -1px 0 #000,
    -1px 1px 0 #000,
    1px -1px 0 #000,
    0 0 6px rgba(0,0,0,0.8);
  animation: floatText 6s ease-in-out infinite;
}


.hero-ser {
  background-image: url('img/principal/ser-principal.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 20px;
  margin: 80px auto;
  max-width: 1200px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  color: #0a0a0a;
}

.hero-ser .contenido-hero h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
  color: #ffffff;
}

.hero-ser .contenido-hero p {
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
  color: #fff;
}


.hero-ser .contenido-hero {
  position: relative;
  z-index: 2;
}


.hero-estar {
  margin: 0;
  max-width: none;
  min-height: 100vh;
  box-shadow: none;
  color: #fff;
  background: transparent;
}


.hero-estar .contenido-hero {
  position: relative;
  z-index: 2;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease;
}

.hero-estar.visible .contenido-hero {
  transform: translateY(0);
  opacity: 1;
}

.hero-estar .contenido-hero h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
  color: #fff;
}

.hero-estar .contenido-hero p {
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
  color: #fff;
}

.hero-creeser {
  margin: 0;
  max-width: none;
  min-height: 100vh;
  box-shadow: none;
  color: #fff;
  background: transparent;
}


.hero-creeser .contenido-hero {
  position: relative;
  z-index: 2;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease;
}

/* Mantener siempre visible el cuadro de texto en CREE-SER */
body.page-creeser .hero-creeser .contenido-hero {
  transform: none;
  opacity: 1;
}

.hero-creeser.visible .contenido-hero {
  transform: translateY(0);
  opacity: 1;
}

.hero-creeser .contenido-hero h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.9);
  color: #fff;
}

.hero-creeser .contenido-hero p {
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
  color: #fff;
}

.hero-ser .contenido-hero {
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease;
}

.hero-ser.visible .contenido-hero {
  transform: translateY(0);
  opacity: 1;
}

.contenido-hero {
  background: rgba(0, 0, 0, 0.4);
  padding: 60px 50px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
}

body.page-estar .contenido-hero {
  background: rgba(255, 255, 255, 0.25);
  border: 0;
}

/* Fondo global en ESTAR de arriba a abajo */
body.page-estar {
  background-image: url('img/principal/estar-principal.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
}

.estar-frases {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.estar-frases span {
  position: absolute;
  color: #000;
  -webkit-text-stroke: 1px #ffffff;
  font-weight: 800;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.6px;
  transition: opacity 1s ease;
  animation: floatMove 7s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

.estar-frases span:nth-child(1) { top: 10%; left: 8%; animation-duration: 7s; }
.estar-frases span:nth-child(2) { top: 22%; right: 12%; animation-duration: 8s; }
.estar-frases span:nth-child(3) { bottom: 20%; left: 18%; animation-duration: 7.5s; }
.estar-frases span:nth-child(4) { bottom: 28%; right: 16%; animation-duration: 9s; }
.estar-frases span:nth-child(5) { top: 42%; left: 40%; animation-duration: 7s; }
.estar-frases span:nth-child(6) { top: 65%; right: 22%; animation-duration: 8.5s; }
.estar-frases span:nth-child(7) { top: 75%; left: 10%; animation-duration: 7.8s; }
.estar-frases span:nth-child(8) { top: 8%; right: 30%; animation-duration: 8.2s; }

@keyframes drift {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes floatMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(var(--dx, 20px), var(--dy, -12px)); }
}

/* Footer transparente en ESTAR para ver la imagen hasta abajo */
body.page-estar footer.contacto-final {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.logo-inicio {
  width: clamp(220px, 30vw, 360px);
  height: auto;
  margin-bottom: 24px;
  animation: pulse 3s infinite ease-in-out;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.5));
  transition: transform 0.3s ease;
}

.logo-inicio:hover {
  transform: scale(1.05);
}

.contenido-hero h1,
.contenido-hero h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
  color: #fff;
}

.contenido-hero p {
  font-size: 1.3rem;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  margin-top: 10px;
  color: #fff;
}

/* ------------------------- */
/* ANIMACIONES */
/* ------------------------- */

/* Efecto scroll para la barra de navegación */
.barra-top.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* Igualar transparencia de barra superior en SER al cuadro de contacto */
body.page-ser .barra-top { background: rgba(0, 0, 0, 0.55); }
body.page-ser .barra-top.scrolled { background: rgba(0, 0, 0, 0.55); }

/* Partículas de fondo */
.particulas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.particulas::before,
.particulas::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: flotar 20s infinite linear;
}

.particulas::before {
  left: 20%;
  animation-delay: 0s;
}

.particulas::after {
  left: 80%;
  animation-delay: 10s;
}

@keyframes flotar {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ------------------------- */
/* CARRUSEL DESTINOS */
/* ------------------------- */
.carrusel-destinos {
  padding: 40px 20px;
  background-size: 100% auto;
  background-position: center top;
  background-attachment: scroll;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1200px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease;
  position: relative;
}


.carrusel-destinos .destinos-scroll {
  position: relative;
  z-index: 2;
}

/* Fondos específicos para cada carrusel */
.carrusel-destinos.ser-carrusel {
  background-image: url('img/principal/ser-principal.jpg');
}

.carrusel-destinos.estar-carrusel {
  background-image: url('img/principal/estar-principal.jpg');
}

.carrusel-destinos.creeser-carrusel {
  background-image: url('img/principal/creeser-principal.jpg');
}

.carrusel-destinos.visible {
  transform: translateY(0);
  opacity: 1;
}

.destinos-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px;
}

.destinos-scroll::-webkit-scrollbar {
  display: none;
}

.cuadro-destino {
  position: relative;
  min-width: 250px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cuadro-destino:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 15px rgba(0,0,0,0.3);
}

/* Imagen como fondo */
.cuadro-destino img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Capa oscura encima de la imagen */
.cuadro-destino::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* Contenido encima de la imagen */
.cuadro-destino h4,
.cuadro-destino a {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  z-index: 2;
  text-align: center;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.cuadro-destino h4 {
  bottom: 60px;
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
  color: #fff;
}

.cuadro-destino a {
  bottom: 20px;
  background: rgba(255,255,255,0.95);
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  z-index: 10;
  opacity: 1;
  transition: all 0.3s ease;
  text-shadow: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.cuadro-destino a:hover {
  background: #019874;
}

/* ------------------------- */
/* FOOTER DE CONTACTO */
/* ------------------------- */
footer.contacto-final {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease;
}

/* Más transparencia en SER para el cuadro final */
body.page-ser footer.contacto-final {
  background: rgba(0, 0, 0, 0.55);
}

footer.contacto-final h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

footer.contacto-final p {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  margin-bottom: 15px;
}

footer.contacto-final.visible {
  transform: translateY(0);
  opacity: 1;
}

.contenedor-contacto {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 20px;
}

.contacto-info,
.contacto-medios {
  flex: 1;
  min-width: 300px;
}

.contacto-info h2 {
  color: #f8fafa;
  margin-bottom: 10px;
}

.contacto-medios h3 {
  margin-bottom: 10px;
  color: #fefefe;
}

.contacto-medios ul {
  list-style: none;
}

.contacto-medios li {
  margin-bottom: 8px;
}

.redes-sociales {
  margin-top: 15px;
}

.redes-sociales a img {
  width: 30px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.redes-sociales a img:hover {
  transform: scale(1.2);
}
/* --- Subgalería oculta en CREE-SER --- */
.subgaleria {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 5px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 3;
}

.subgaleria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* Mostrar subgaleria y elementos al pasar sobre el destino */
.cuadro-destino:hover .subgaleria {
  opacity: 1;
  visibility: visible;
}

/* Mostrar título y botón al hacer hover */
.cuadro-destino:hover h4,
.cuadro-destino:hover a {
  opacity: 1;
  z-index: 4; /* Asegurar que estén por encima de la subgalería */
}

/* Mejorar la visibilidad del texto al hacer hover */
.cuadro-destino:hover h4 {
  text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
  font-weight: bold;
}

.cuadro-destino:hover a {
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.cuadro-destino.sin-foto {
  background: linear-gradient(160deg,#161616,#0a0a0a);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cuadro-destino.sin-foto::before {
  content: "📷 Foto próximamente";
  color: #555;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-align: center;
  padding: 0 16px;
}
.viaje-card.sin-foto .viaje-img-vacia {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg,#161616,#0a0a0a);
  color: #555;
  font-size: .85rem;
  font-weight: 600;
}

/* ====== ACTIVIDADES EN SER/ESTAR/CREESER ====== */
.grid-actividades-ser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.actividad-card {
  position: relative;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actividad-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 18px rgba(0,0,0,0.3);
}

/* Fix para evitar que las imágenes se vean estiradas */
.actividad-card[style*="background-image"] {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #f8f8f8;
}

/* Ajuste adicional para mejor visualización */
.grid-actividades-ser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.actividad-card {
  position: relative;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contenido-superpuesto {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.actividad-card:hover .contenido-superpuesto {
  opacity: 1;
}

.contenido-superpuesto h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: bold;
}

.contenido-superpuesto p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.boton-wpp {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.boton-wpp:hover {
  background: #1ebd5a;
}

/* Botón de volver */
.volver-container {
  text-align: center;
  margin: 40px 0;
}

.boton-volver {
  display: inline-block;
  background: #444;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.boton-volver:hover {
  background: #000;
}
/* ===== HEADER ESTÉTICO ===== */
.header-ser {
  position: relative;
  width: 100%;
  height: 300px;
  background: url("img/headers/sanluis-banner.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.overlay-header {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5); /* oscurece la imagen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logo-ser {
  width: 120px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.logo-ser:hover {
  transform: scale(1.1);
}

.header-texto h1 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: bold;
  letter-spacing: 2px;
}

.subtitulo {
  font-size: 1.2rem;
  margin-top: 8px;
  font-style: italic;
  color: #e0e0e0;
}

/* ===== ESTILOS PARA PÁGINAS DE ESTAR ===== */
.actividades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.actividad-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.actividad-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.actividad-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.actividad-card h3 {
  padding: 15px 20px 5px;
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0 0 3px #000;
}

.actividad-card p {
  padding: 0 20px;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0 0 3px #000;
  line-height: 1.5;
  margin-bottom: 10px;
}

.actividad-precio {
  padding: 0 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0 0 3px #000;
  margin-bottom: 15px;
}

.btn-whatsapp {
  display: inline-block;
  margin: 0 20px 20px;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease;
}

.btn-whatsapp:hover {
  background: #1ebd5a;
}

.volver-destino {
  text-align: center;
  margin: 40px 0;
}

.contenedor-volver {
  display: inline-block;
}

.btn-volver {
  display: inline-block;
  background: #444;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-volver:hover {
  background: #000;
}
.page-index .contenedor-principal {
  background-image: url('img/principal/fondo web.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
}

/* (Eliminado overlay de "fondo final" para una sola imagen global) */


body.page-estar-sanluis {
  background-image: url('img/ser/sanluis.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: transparent;
}

.page-estar-sanluis .actividad-card {
  position: relative;
  height: 340px;
  background: transparent;
  overflow: hidden;
}

.page-estar-sanluis .actividad-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-estar-sanluis .actividad-card h3,
.page-estar-sanluis .actividad-card p,
.page-estar-sanluis .actividad-precio,
.page-estar-sanluis .btn-whatsapp {
  position: relative;
  z-index: 2;
}
.page-estar-sanluis footer.contacto-final {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  margin: 40px 0;
}
.proximos-viajes {
  margin: 60px auto;
  max-width: 1200px;
  padding: 20px;
}

.proximos-viajes h2 {
  font-size: 2rem;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

.mensaje-dinamico {
  text-align: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.slider-viajes {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

.slider-viajes::-webkit-scrollbar { display: none; }

.viaje-card {
  min-width: 280px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.viaje-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.viaje-info {
  padding: 14px;
  color: #fff;
}

.viaje-info h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.viaje-fecha { font-weight: 600; opacity: 0.9; }

.viaje-btn {
  display: inline-block;
  margin-top: 10px;
  background: #25D366;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}
.social-barra {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* RNT — visible en la barra fija, sin agregar altura al header */
.mw-rnt-badge {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: #00b894;
  background: rgba(0,184,148,.1);
  border: 1px solid rgba(0,184,148,.35);
  border-radius: 20px;
  padding: 4px 10px;
  white-space: nowrap;
  line-height: 1;
}

.mw-rnt-under-logo {
  margin-top: 3px;
  font-size: .55rem;
  padding: 2px 8px;
}

@media (max-width: 900px) {
  .mw-rnt-under-logo { display: none; }
}

.social-barra a img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transition: transform 0.2s ease;
}

.social-barra a img:hover { transform: scale(1.1); }
.logo-hero {
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  padding: 18px 24px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .logo-inicio {
    width: 140px;
    height: auto;
    margin-bottom: 16px;
  }
}

/* ------------------------- */
/* PERSONALIZACIÓN DE USUARIO LOGUEADO */
/* ------------------------- */
.user-greeting-float {
  position: fixed;
  top: 100px;
  left: 30px;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(15px);
  padding: 15px 30px;
  border-radius: 15px;
  border-left: 5px solid #00b894;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.user-greeting-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

.user-greeting-text span {
  color: #00b894;
  text-transform: capitalize;
}

.logout-container-top {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1300;
}

.btn-logout-top {
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-logout-top:hover {
  background: #c0392b;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

@media (max-width: 768px) {
  .user-greeting-float {
    left: 15px;
    top: 80px;
    padding: 10px 20px;
  }
  .user-greeting-text {
    font-size: 1rem;
  }
}

/* ------------------------- */
/* RECOMENDACIONES DINÁMICAS (SCROLL) */
/* ------------------------- */
.recommendation-float {
  position: fixed;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  padding: 12px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  border-left: 4px solid #00b894;
}

.recommendation-float.right {
  right: 30px;
  border-left: none;
  border-right: 4px solid #00b894;
}

.recommendation-float.left {
  left: 30px;
}

.recommendation-float.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .recommendation-float {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
  .recommendation-float.right { right: 15px; }
  .recommendation-float.left { left: 15px; }
}

/* ------------------------- */
/* LANDING PAGE (VISTA RESTRINGIDA) */
/* ------------------------- */
.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.landing-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.landing-card.landing-full-width {
  aspect-ratio: 16/7;
}

.landing-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  text-align: center;
}

.landing-card h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.btn-ver-mas {
  display: inline-block;
  padding: 10px 25px;
  background: #00b894;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  transition: 0.3s;
}

.btn-ver-mas:hover {
  background: #009477;
  transform: scale(1.1);
}

/* Modal de aviso */
.modal-login {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #111;
  padding: 50px;
  border-radius: 20px;
  border: 2px solid #00b894;
  text-align: center;
  max-width: 450px;
  animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.modal-content p {
  color: #00b894;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

@keyframes floatText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
 .ser-destinos-grid {
  margin: 60px auto;
  max-width: 1200px;
  padding: 20px;
}
.ser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
 .ser-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .ser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.ser-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}


.ser-card .features {
  position: absolute;
  inset: 0;
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(52px, 52px));
  gap: 16px;
  align-content: center;
  justify-content: center;
  justify-items: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ser-card:hover .features {
  opacity: 1;
  visibility: visible;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: inline-block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}

.subtitulo-ser {
  margin: 6px auto 6px;
  max-width: 1200px;
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  -webkit-text-stroke: 1px #000;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}
 .ser-card .info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff;
}
 .ser-card .info h4 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
 .ser-card .info a {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  background: rgba(0,0,0,0.6);
  color: #fff;
}
.estar-destinos-panel {
  margin: 60px auto;
  max-width: 1200px;
  padding: 10px 20px 30px;
}

.estar-grid-relax {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.relax-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.relax-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 14px 32px rgba(0,0,0,0.3);
}

.relax-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) brightness(0.95);
}

.relax-info {
  position: absolute;
  inset: auto 18px 18px 18px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 16px;
  padding: 14px;
  color: #0e2a2b;
}

.relax-info h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.relax-info a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  background: rgba(14,42,43,0.15);
  color: #0e2a2b;
}
/* Fondo global para CREE-SER distinto a SER/ESTAR */
body.page-creeser {
  background-image: url('img/principal/creeser-principal.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
}

/* Panel y filtros CREE-SER */
.creeser-panel {
  margin: 40px auto 20px;
  max-width: 1200px;
  padding: 0 20px;
}

.creeser-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 10px auto 20px;
}

.filtro-chip {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.filtro-chip.active { background: rgba(255,255,255,0.25); color: #0e2a2b; border-color: rgba(255,255,255,0.6); }

.creeser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.creeser-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.creeser-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.3); }
.creeser-card img { width: 100%; height: 280px; object-fit: cover; display: block; }

.creeser-info {
  position: absolute;
  inset: auto 12px 12px 12px;
  background: rgba(0,27,35,0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  color: #eaffff;
  padding: 12px;
}
.creeser-info h3 { margin: 0 0 6px; font-size: 1.2rem; letter-spacing: 0.5px; }
.creeser-info p { margin: 0 0 8px; font-size: 0.95rem; opacity: 0.95; }
.creeser-info a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  background: #25D366;
  color: #fff;
}

/* Footer transparente para mantener imagen visible hasta abajo */
body.page-creeser footer.contacto-final {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
/* Tarjetas hero en inicio alineadas y consistentes */
body.page-index .hero-ser,
body.page-index .hero-estar,
body.page-index .hero-creeser {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 20px;
  margin: 80px auto;
  max-width: 1200px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  color: #fff;
}

body.page-index .hero-ser { background-image: url('img/principal/ser-principal.jpg'); }
body.page-index .hero-estar { background-image: url('img/principal/estar-principal.jpg'); }
body.page-index .hero-creeser { background-image: url('img/principal/creeser-principal.jpg'); }
.volver-creeser {
  display: inline-block;
  margin: 10px auto 16px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255,255,255,0.25);
  color: #0e2a2b;
  border: 1px solid rgba(255,255,255,0.6);
}

.experiencias-section {
  margin: 10px auto 60px;
  max-width: 1200px;
  padding: 0 20px;
}

.experiencias-section h2 {
  text-align: center;
  color: #fff;
  -webkit-text-stroke: 1px #000;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.experiencias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.experiencias-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.experiencias-slider {
  margin: 12px auto 0;
  width: 100%;
  max-width: 700px;
  height: auto;
  min-height: 140px;
  max-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: #000;
  transition: height 0.4s ease;
}
.experiencias-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.4s ease;
  display: block;
}
.resaltado {
  outline: 3px solid #25D366;
  outline-offset: 4px;
  animation: pulse 1.2s ease-in-out 3;
}

/* ========================= */
/* SABER-ES                  */
/* ========================= */

/* Hero en index */
body.page-index .hero-saberes {
  background-image: url('img/ser/actividades/cacao.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-radius: 20px;
  margin: 80px auto;
  max-width: 1200px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  color: #fff;
}

/* Overlay cálido sobre la imagen de cacao */
body.page-index .hero-saberes::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(45, 18, 0, 0.55) 0%,
    rgba(120, 55, 5, 0.35) 100%
  );
  z-index: 1;
}

/* Contenido hero SABER-ES */
.hero-saberes .contenido-hero.contenido-saberes {
  position: relative;
  z-index: 2;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease;
  border-left: 4px solid #E8901A;
  background: rgba(30, 12, 0, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(232, 144, 26, 0.3);
  border-left: 4px solid #E8901A;
  max-width: 640px;
  padding: 50px 48px;
  border-radius: 20px;
}

.hero-saberes.visible .contenido-hero.contenido-saberes {
  transform: translateY(0);
  opacity: 1;
}

.saberes-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #E8901A;
  margin-bottom: 12px;
  display: block;
}

.titulo-saberes {
  font-size: 3.8rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  margin-bottom: 16px;
  font-family: 'Bebas Neue', sans-serif;
  line-height: 1;
}

.titulo-saberes span {
  color: #E8901A;
}

.frase-saberes {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  margin-bottom: 28px;
}

.btn-saberes-link {
  display: inline-block;
  background: #E8901A;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(232, 144, 26, 0.4);
}

.btn-saberes-link:hover {
  background: #D4830A;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(232, 144, 26, 0.55);
}

/* Carrusel SABER-ES */
.carrusel-destinos.saberes-carrusel {
  background-image: url('img/ser/actividades/cacao.jpg');
}

/* Página dedicada SABER-ES */
body.page-saberes {
  background-image: url('img/ser/actividades/cacao.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center top;
}

body.page-saberes footer.contacto-final {
  background: rgba(30, 12, 0, 0.85);
  box-shadow: none;
  border-radius: 0;
}

/* Cards de experiencia SABER-ES */
.saberes-card-info {
  position: absolute;
  inset: auto 12px 12px 12px;
  background: rgba(35, 14, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(232, 144, 26, 0.3);
  border-radius: 14px;
  color: #fdf0d5;
  padding: 14px;
}

.saberes-card-info h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: #fff;
}

.saberes-card-info .saberes-tag {
  display: inline-block;
  background: rgba(232, 144, 26, 0.2);
  border: 1px solid rgba(232, 144, 26, 0.5);
  color: #E8901A;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.saberes-card-info p {
  font-size: 0.88rem;
  opacity: 0.88;
  margin: 0 0 10px;
  line-height: 1.5;
}

.saberes-card-info .saberes-precio {
  font-size: 0.82rem;
  color: #E8901A;
  font-weight: 700;
  margin-bottom: 10px;
}

.saberes-card-info a {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  background: #E8901A;
  color: #fff;
  transition: background 0.25s;
}

.saberes-card-info a:hover {
  background: #D4830A;
}

/* Hover en cards SABER-ES */
.cuadro-destino.saberes-destino:hover {
  box-shadow: 0 8px 24px rgba(232, 144, 26, 0.35);
}

/* Sección filosofía */
.saberes-filosofia-bloque {
  margin: 0 auto 40px;
  max-width: 760px;
  padding: 0 20px;
  text-align: center;
}

.saberes-filosofia-bloque h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}

.saberes-filosofia-bloque p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  margin-bottom: 16px;
}

/* Pilares SABER-ES */
.saberes-pilares-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.saberes-pilar {
  flex: 1;
  min-width: 240px;
  background: rgba(30, 12, 0, 0.5);
  border: 1px solid rgba(232, 144, 26, 0.25);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.saberes-pilar-icono {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.saberes-pilar h4 {
  color: #E8901A;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.saberes-pilar p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

/* Título de sección */
.saberes-section-titulo {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 10px;
}

.saberes-section-subtitulo {
  text-align: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
}

/* Grid de experiencias */
.saberes-experiencias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.saberes-exp-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  min-height: 380px;
}

.saberes-exp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(232, 144, 26, 0.25);
}

.saberes-exp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  display: block;
  transition: transform 0.6s ease;
}

.saberes-exp-card:hover img {
  transform: scale(1.05);
}

.saberes-exp-card .saberes-exp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 10, 0, 0.9) 0%, rgba(30, 10, 0, 0.3) 50%, transparent 100%);
}

.saberes-exp-card .saberes-exp-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px;
  z-index: 2;
}

.saberes-exp-content .saberes-tag {
  display: inline-block;
  background: rgba(232, 144, 26, 0.2);
  border: 1px solid rgba(232, 144, 26, 0.6);
  color: #E8901A;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.saberes-exp-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.saberes-exp-content .saberes-territorio {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}

.saberes-exp-content p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  margin-bottom: 14px;
}

.saberes-exp-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.saberes-exp-meta span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.saberes-exp-meta strong {
  color: #E8901A;
}

.saberes-exp-content .btn-saberes-reservar {
  display: inline-block;
  background: #E8901A;
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  box-shadow: 0 3px 12px rgba(232, 144, 26, 0.35);
}

.saberes-exp-content .btn-saberes-reservar:hover {
  background: #D4830A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 144, 26, 0.5);
}

/* Territorios grid en página dedicada */
.saberes-territorios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 70px;
  padding: 0 20px;
}

.saberes-territorio-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 240px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.saberes-territorio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(232, 144, 26, 0.2);
}

.saberes-territorio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.saberes-territorio-card:hover img {
  transform: scale(1.06);
}

.saberes-territorio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(40, 15, 0, 0.75), rgba(40, 15, 0, 0.15) 60%, transparent);
}

.saberes-territorio-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 16px;
  z-index: 2;
}

.saberes-territorio-info h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.saberes-territorio-info p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* Separador decorativo SABER-ES */
.saberes-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #E8901A, #D4830A);
  border-radius: 2px;
  margin: 0 auto 30px;
}

/* CTA final */
.saberes-cta-bloque {
  max-width: 700px;
  margin: 0 auto 80px;
  padding: 50px 40px;
  background: rgba(30, 12, 0, 0.6);
  border: 1px solid rgba(232, 144, 26, 0.3);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  text-align: center;
}

.saberes-cta-bloque h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 3px;
  color: #fff;
  margin-bottom: 14px;
}

.saberes-cta-bloque p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 28px;
}

.btn-saberes-wpp {
  display: inline-block;
  background: #25D366;
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-saberes-wpp:hover {
  background: #1ebd5a;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

/* Responsive SABER-ES */
@media (max-width: 768px) {
  .titulo-saberes { font-size: 2.8rem; }
  .frase-saberes { font-size: 1rem; }
  .saberes-exp-card { min-height: 320px; }
  .saberes-cta-bloque { padding: 36px 24px; }
}

/* ============================================================
   MÓVIL — Mr Weekend (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ── Barra superior ── */
  .barra-top { padding: 10px 16px; }

  .logo-barra img { height: 40px; }

  /* Ocultar buscador y redes en el header — aparecen en el menú */
  .search-barra { display: none; }

  /* ── Botón hamburguesa (inyectado por script.js) ── */
  .btn-hamburguesa {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    position: relative;
  }

  .btn-hamburguesa span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* Animación ☰ → ✕ */
  .btn-hamburguesa.abierto span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .btn-hamburguesa.abierto span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .btn-hamburguesa.abierto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Menú móvil (nav oculta por defecto) ── */
  .nav-barra {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.97);
    z-index: 1050;
    padding: 90px 30px 50px;
    overflow-y: auto;
    gap: 0;
  }

  .nav-barra.mobile-open { display: flex; }

  .nav-barra a {
    font-size: 1.3rem;
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    width: 100%;
    text-align: center;
    letter-spacing: 1px;
    transition: color 0.2s;
  }

  .nav-barra a:last-of-type { border-bottom: none; }

  /* Botones Ingresar / Registrarse dentro del menú */
  a.btn-login-nav {
    margin-top: 10px !important;
    width: auto !important;
    display: inline-block !important;
    border-bottom: none !important;
    padding: 12px 36px !important;
    border-radius: 50px !important;
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
  }

  /* Redes sociales al pie del menú móvil */
  .nav-barra .social-movil {
    display: flex !important;
    gap: 18px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    justify-content: center;
  }

  .nav-barra .social-movil a img {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  }

  /* ── Hero principal ── */
  .hero-inicio {
    min-height: 100svh;
    padding-top: 70px;
    flex-direction: column;
    gap: 16px;
  }

  .logo-hero {
    width: clamp(160px, 55vw, 240px);
    height: clamp(160px, 55vw, 240px);
    margin-top: 0;
    padding: 12px 16px;
  }

  .frase-principal {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
    padding: 0 20px;
    -webkit-text-stroke: 1px #000;
  }

  /* ── Secciones hero (SER / ESTAR / CREE-SER) ── */
  .hero-ser,
  .hero-estar,
  .hero-creeser {
    margin: 12px;
    min-height: 240px;
    border-radius: 16px;
  }

  .contenido-hero {
    padding: 24px 18px;
    max-width: 100%;
    border-radius: 14px;
  }

  .hero-ser .contenido-hero h2,
  .hero-estar .contenido-hero h2,
  .hero-creeser .contenido-hero h2,
  .contenido-hero h1,
  .contenido-hero h2 {
    font-size: 1.75rem !important;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }

  .titulo-ser,
  .titulo-estar,
  .titulo-creeser,
  .titulo-saberes { font-size: 1.75rem !important; }

  .hero-ser .contenido-hero p,
  .hero-estar .contenido-hero p,
  .hero-creeser .contenido-hero p,
  .frase-ser, .frase-estar, .frase-creeser, .frase-saberes,
  .contenido-hero p { font-size: 0.92rem !important; line-height: 1.5; }

  /* ── Carruseles ── */
  .carrusel-destinos {
    margin: 12px;
    border-radius: 12px;
    padding: 14px 8px;
    max-width: calc(100% - 24px);
  }

  .cuadro-destino {
    min-width: 155px;
    height: 210px;
  }

  .cuadro-destino h4 {
    font-size: 1rem;
    bottom: 46px;
  }

  .cuadro-destino a {
    padding: 6px 12px;
    font-size: 0.8rem;
    bottom: 12px;
  }

  /* ── Próximos viajes ── */
  .proximos-viajes {
    margin: 20px 12px;
    padding: 0;
    max-width: calc(100% - 24px);
  }

  .proximos-viajes h2 { font-size: 1.4rem; }

  .viaje-card { min-width: 210px; }

  .viaje-info h3 { font-size: 1rem; }

  /* ── Footer ── */
  footer.contacto-final {
    border-radius: 12px;
    margin: 12px;
    padding: 30px 16px;
  }

  footer.contacto-final h2 { font-size: 1.5rem; }
  footer.contacto-final p  { font-size: 0.95rem; }

  .contenedor-contacto { flex-direction: column; gap: 20px; }
  .contacto-info, .contacto-medios { min-width: unset; }

  /* ── Sección SABER-ES hero ── */
  .titulo-saberes  { font-size: 1.75rem !important; }
  .frase-saberes   { font-size: 0.92rem !important; }
  .saberes-exp-card { min-height: 280px; }
  .saberes-cta-bloque { padding: 28px 16px; }
}

/* ════════════════════════════════════════════════════════════
   CARRUSEL BASE (shared — used by estar.html + ser.html)
════════════════════════════════════════════════════════════ */
.lc-carousel { position: relative; overflow: hidden; background: #0a0807; flex-shrink: 0; }
.lc-track    { display: flex; height: 100%; transition: transform .4s ease; }
.lc-slide    { flex-shrink: 0; width: 100%; height: 100%; }
.lc-slide img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(6,5,4,.72); border: 1px solid rgba(255,255,255,.1);
  color: #fff; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .95rem; transition: background .2s; z-index: 5;
}
.lc-btn:hover { background: var(--tc, #2db87a); border-color: var(--tc, #2db87a); }
.lc-prev { left: 9px; } .lc-next { right: 9px; }
.lc-dots { position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 5; }
.lc-dot  { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.22); cursor: pointer; border: none; transition: background .2s, transform .2s; }
.lc-dot.activo { background: var(--tc, #fff); transform: scale(1.4); }
