/* Reseteo básico de márgenes y paddings para todo el documento */
body {
  margin: 0 !important;
  padding: 0 !important;
  background-color: #fffaf2 !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

@font-face {
  font-family: 'FuentePrincipal';
  src: url('../assets/fonts/Ruthligos.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'cursi2';
  src: url('../assets/fonts/Rafgins-Regular.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'cursi';
  src: url('../assets/fonts/Hello Baby Karl Script.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'FuenteSecundaria';
  src: url('../assets/fonts/adelia.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fuentep';
  src: url('../assets/fonts/adelia.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'FuenteParrafos';
  src: url('../assets/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'maloca';
  src: url('../assets/fonts/Walbaum60ptBoldItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'descmaloca';
  src: url('../assets/fonts/Walbaum60ptLightItalic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ESTILOS DEL HEADER*/
header {
  background-color: transparent;
  position: fixed;
  width: 100%;
  padding: 40px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  top: 0;
}

/* Header cuando se hace scroll */
header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 5%;
}

/* Ajuste de estilos dentro del header al hacer scroll */
header.scrolled nav ul li a {
  color: black;
  text-shadow: none;
}

header.scrolled .reserva-btn {
  color: black !important;
  border-color: black;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: 23px;
}

.logo img {
  width: auto;
  height: 120px;
  max-height: 120px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.3));
  transition: height 0.3s ease;
}

/* Cuando el header hace scroll */
header.scrolled .logo img {
  content: url(../assets/imagenes/logo-2.png);
  height: 90px;
}

/* Estilos responsive */
@media (max-width: 1200px) {
  .logo img {
    height: 100px;
    max-width: 100px;
  }

  header.scrolled .logo img {
    height: 80px;
  }
}

@media (max-width: 992px) {
  .logo {
    margin-right: 0;
    z-index: 1001;
  }

  .logo img {
    height: 80px;
    max-width: 80px;
  }

  header.scrolled .logo img {
    height: 70px;
  }
}

@media (max-width: 576px) {
  .logo img {
    height: 60px;
    max-width: 60px;
  }

  header.scrolled .logo img {
    height: 50px;
  }
}

@media (max-width: 360px) {
  .logo img {
    height: 50px;
    max-width: 50px;
  }

  header.scrolled .logo img {
    height: 45px;
  }
}

/* Estilos del menú de navegación */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

nav ul li a:hover {
  color: #f8f8f8;
}



/* Botón de reserva */
.reserva-btn {
  background-color: transparent;
  color: white !important;
  padding: 10px 25px;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: 2px solid black;
  font-weight: 800;
  margin-left: 15px;
  text-shadow: none;
  font-size: 15px;
}

.reserva-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: black !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.habitacion {
  position: relative;
  background: none;
  border: none;
  padding: 20px;
  cursor: pointer;
  display: inline-block;
  margin: 20px auto;
}

/* Efecto de resplandor de fondo */
.habitacion::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 90px;
  background: radial-gradient(ellipse, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: reservaBackgroundGlow 3s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes reservaBackgroundGlow {
  0% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.3);
  }
}

.habitacion a {
  display: inline-block;
  position: relative;
  width: 220px;
  padding: 16px 28px;
  background: linear-gradient(135deg,
      #d4d65e 0%,
      #ffd700 20%,
      #e3be8f 40%,
      #ffd700 60%,
      #d1a46b 80%,
      #b8860b 100%);
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 28px;
  border: 3px solid rgba(255, 215, 0, 0.5);
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.3),
    0 0 35px rgba(255, 215, 0, 0.4) inset,
    0 6px 18px rgba(212, 214, 94, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(255, 215, 0, 0.7);
  overflow: hidden;
  z-index: 2;
}

/* Marco dorado exterior animado */
.habitacion a::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(45deg,
      #ffd700 0%,
      #ffef94 20%,
      #ffd700 40%,
      #b8860b 60%,
      #ffd700 80%,
      #ffef94 100%);
  border-radius: 32px;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: reservaFrameRotate 5s linear infinite;
}

@keyframes reservaFrameRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Brillo de oro líquido premium */
.habitacion a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 239, 148, 0.9) 25%,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 239, 148, 0.9) 75%,
      transparent 100%);
  border-radius: 28px;
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  animation: reservaAutoShine 4s ease-in-out infinite;
}

@keyframes reservaAutoShine {

  0%,
  85% {
    left: -150%;
  }

  15%,
  70% {
    left: 150%;
  }
}

.habitacion:hover a,
.habitacion a:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 215, 0, 0.7) inset,
    0 10px 30px rgba(212, 214, 94, 0.7);
  background: linear-gradient(135deg,
      #ffd700 0%,
      #ffef94 20%,
      #ffd700 40%,
      #e3be8f 60%,
      #ffd700 80%,
      #d1a46b 100%);
  border-color: rgba(255, 215, 0, 0.9);
  text-shadow:
    0 4px 15px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(255, 215, 0, 1);
  color: #ffffff !important;
}

.habitacion:hover a::before,
.habitacion a:hover::before {
  opacity: 1;
}

.habitacion:hover a::after,
.habitacion a:hover::after {
  left: 150%;
  animation: none;
}

.habitacion:active a,
.habitacion a:active {
  transform: translateY(-6px) scale(1.06);
  transition: all 0.15s ease;
}

/* Efecto de pulsación constante para llamar la atención */
@keyframes reservaButtonPulse {

  0%,
  100% {
    box-shadow:
      0 18px 35px rgba(0, 0, 0, 0.3),
      0 0 35px rgba(255, 215, 0, 0.4) inset,
      0 6px 18px rgba(212, 214, 94, 0.5);
  }

  50% {
    box-shadow:
      0 18px 35px rgba(0, 0, 0, 0.3),
      0 0 50px rgba(255, 215, 0, 0.6) inset,
      0 6px 18px rgba(212, 214, 94, 0.7);
  }
}

.habitacion a {
  animation: reservaButtonPulse 3s ease-in-out infinite;
}

/* Partículas doradas especiales para RESERVA */
.habitacion::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(255, 215, 0, 0.8) 1px, transparent 1px),
    radial-gradient(circle at 85% 85%, rgba(218, 165, 32, 0.6) 2px, transparent 2px),
    radial-gradient(circle at 30% 85%, rgba(255, 223, 0, 0.5) 1px, transparent 1px),
    radial-gradient(circle at 85% 15%, rgba(184, 134, 11, 0.7) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 239, 148, 0.4) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px, 50px 50px, 70px 70px, 45px 45px;
  animation: reservaParticlesFloat 8s linear infinite;
  pointer-events: none;
  opacity: 0.8;
  border-radius: 35px;
}

@keyframes reservaParticlesFloat {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.1);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Efecto especial de "urgencia" para reservas */
@keyframes reservaUrgency {

  0%,
  90% {
    border-color: rgba(255, 215, 0, 0.5);
  }

  95% {
    border-color: rgba(255, 69, 0, 0.8);
    box-shadow:
      0 18px 35px rgba(0, 0, 0, 0.3),
      0 0 35px rgba(255, 69, 0, 0.4) inset,
      0 6px 18px rgba(255, 69, 0, 0.3);
  }
}

.habitacion a {
  animation: reservaButtonPulse 3s ease-in-out infinite,
    reservaUrgency 6s ease-in-out infinite;
}

/* Texto con efecto especial */
.habitacion a {
  position: relative;
}

.habitacion a:before {
  content: '¡RESERVA!';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(45deg, #fff, #ffd700, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.habitacion:hover a:before,
.habitacion a:hover:before {
  opacity: 1;
}

/* Responsive para móviles */
@media (max-width: 576px) {
  .habitacion a {
    width: 180px;
    padding: 14px 25px;
    font-size: 15px;
    letter-spacing: 1.3px;
  }

  .habitacion::before {
    width: 220px;
    height: 80px;
  }
}

/* Accesibilidad - focus */
.habitacion:focus a,
.habitacion a:focus {
  outline: none;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(255, 215, 0, 0.7) inset,
    0 10px 30px rgba(212, 214, 94, 0.7),
    0 0 0 4px rgba(255, 215, 0, 0.6);
  color: #ffffff !important;
}

/* Asegurar que el texto se mantenga blanco */
.habitacion a.text-reset {
  color: #ffffff !important;
}

.habitacion:hover a.text-reset,
.habitacion a.text-reset:hover {
  color: #ffffff !important;
}

/* Reducir animaciones si el usuario las prefiere reducidas */
@media (prefers-reduced-motion: reduce) {

  .habitacion::before,
  .habitacion::after,
  .habitacion a::before,
  .habitacion a::after,
  .habitacion a {
    animation: none !important;
  }

  .habitacion a {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
}

/* Ícono del menú hamburguesa (oculto en escritorio) */
.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Menú horizontal en escritorio */
@media (min-width: 992px) {
  nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  nav ul li:first-child {
    margin-left: 20px;
    /* Espacio extra solo al primer elemento */
  }

  nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
  }

  nav ul li {
    margin-left: 30px;
    margin-bottom: 0;
  }

  nav ul li.redes {
    margin-left: 40px;
    display: flex;
    gap: 10px;
  }

}

.submenu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.5);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: auto;
  height: 90px;
  margin-top: 1px;
  ;
  z-index: 999;
  max-height: 200px;
}


.submenu li a {
  color: white !important;
  padding: 8px 15px;
  display: block;
  font-weight: bold;
  width: 100%;
  border-radius: 5px;
  text-align: left;
  border-bottom: none;
  background: none;
  transition: all 0.2s ease-in-out;
}

.submenu li a:hover {
  transform: translateY(-2px);
  color: white;
  background: black;
}

/* Menú vertical en móvil */
@media (max-width: 991px) {
  header {
    top: 0 !important;
    padding: 15px 5%;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    right: 30px;
    left: auto;
    align-items: center;
  }

  .menu-toggle span {
    background-color: black !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }

  nav ul {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background-color: #A86523;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    transition: left 0.4s ease;
    z-index: 1000;
  }

  nav ul.active {
    left: 0;
  }

  nav ul li {
    margin: 20px 0;
  }

  nav ul li.redes {
    margin-top: 40px;
    display: flex;
    gap: 12px;
  }

  .submenu {
    position: static !important;
    width: 100%;
    background-color: #A86523;
    box-shadow: none !important;
    border-radius: 0;
    margin: 0 !important;
    /* Elimina todos los márgenes */
    padding: 0 !important;
    /* Fuerza padding a 0 */
    display: flex;
    flex-direction: column;
    align-items: stretch;

    /* ELIMINA TODAS LAS ANIMACIONES Y TRANSFORMACIONES */
    animation: none !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
  }

  /* Elimina el efecto ::after que puede causar espacio */
  .submenu::after {
    display: none !important;
  }

  /* Elimina animaciones de los items */
  .submenu li {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
  }

  .submenu li a {
    padding: 5px 0;
    color: #fff;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    background: none;

    /* Elimina efectos de hover complejos */
    transform: none !important;
  }

  /* Elimina el efecto ::before de ondulación */
  .submenu li a::before {
    display: none !important;
  }

  .submenu li:last-child a {
    border-bottom: none;
  }

  .submenu li a:hover,
  .submenu li a:focus {
    background-color: #fff;
    color: #A86523;
    transform: none !important;
    /* Sin transformaciones en hover */
  }

  header.scrolled {
    background-color: white;
    box-shadow: none;
  }
}

/* Adaptación para laptops pequeñas */
@media (max-width: 1200px) {
  .redes {
    gap: 12px;
  }

  .redes i {
    font-size: 14px;
  }
}

/* Adaptación para móviles */
@media (max-width: 768px) {
  .redes {
    gap: 10px;
  }

  .redes i {
    font-size: 12px;
  }
}

/* Redes sociales */
.redes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  transition: background 0.25s, transform 0.2s;
  color: #000000;
  margin: 0 4px;
}

.redes i {
  color: #000000;
}

.redes a:hover,
.redes a:focus {
  transform: scale(1.15) rotate(-6deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.redes a .fa-instagram:hover {
  color: #e1306c;
}

.redes a .fa-facebook:hover {
  color: #1877f3;
}

.redes a .fa-whatsapp:hover {
  color: #25d366;
}

.carousel-item {
  height: 115vh;
  min-height: 400px;
  position: relative;
}


.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  padding: 0 20px;
  width: 100%;
  max-width: 90%;
  /* Más cómodo en móviles */
  white-space: normal;
  box-sizing: border-box;
}

.carousel-caption h1 {
  font-size: 4.2rem;
  font-family: 'FuenteSecundaria', sans-serif;
  font-weight: 100 !important;
  color: white;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  margin: 0;
  line-height: 1.2;
}

.carousel-caption p {
  font-size: 1.5rem;
  font-family: 'FuenteParrafos', sans-serif;
  color: white;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 3rem;
  }

  .carousel-caption p {
    font-size: 1.2rem;
  }

  .carousel-item {
    height: 90vh;
  }
}

@media (max-width: 480px) {
  .carousel-caption h1 {
    font-size: 1.9rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .carousel-item {
    height: 114vh;
  }
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: transparent;
  color: black;
  border-radius: 50%;
  background-size: 40% 40%;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}



.book-curve-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 20%,
      rgba(255, 255, 255, 0.3) 40%,
      rgba(255, 255, 255, 0.6) 70%,
      rgba(255, 255, 255, 0.9) 90%,
      white 100%);
}

.book-curve-overlay svg {
  display: none;
}

.object-fit-cover {
  object-fit: cover;
}

#infoCarousel,
#casonaCarousel {
  --carousel-height: 400px;
  height: var(--carousel-height);
  position: relative;
}

#infoCarousel .carousel-inner,
#casonaCarousel .carousel-inner {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}

#infoCarousel .carousel-item,
#casonaCarousel .carousel-item {
  transition: opacity 0.6s ease;
  height: 100%;
}

#infoCarousel .img-cover,
#casonaCarousel .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#infoCarousel .carousel-control-prev,
#casonaCarousel .carousel-control-prev,
#infoCarousel .carousel-control-next,
#casonaCarousel .carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.9;
}

#infoCarousel .carousel-control-prev,
#casonaCarousel .carousel-control-prev {
  left: 15px;
}

#infoCarousel .carousel-control-next,
#casonaCarousel .carousel-control-next {
  right: 15px;
}

/* Estilos para el contenido de texto */
.Title {
  font-family: 'FuenteTexto', sans-serif;
  color: #000000;
  font-size: 90px !important;
}

.camp-title {
  font-family: 'FuenteParrafos', sans-serif;
  color: #000000;
  line-height: 0.9;
  font-size: 2.5rem;
}

.curso {
  font-family: 'FuenteParrafos', sans-serif;
  color: #000000;
  line-height: 1.2;
  /* Leve mejora para que respire mejor */
  font-size: 1rem;
}

.camp-description {
  font-family: 'FuenteParrafos', sans-serif;
  color: #555;
  line-height: 1.4;
}

.rating-text {
  color: #000000;
}

.secundary {
  font-family: 'FuenteSecundaria', sans-serif;
  color: #000000;
  font-size: 2rem;
  font-size: 15px;
}

@media (max-width: 992px) {
  #infoCarousel {
    margin-bottom: 30px;
  }

  .camp-title {
    font-size: 2.5rem;
  }

  .welcome-text {
    font-size: 2rem;
  }
}

/* Contenedor de la tarjeta */
.card-flip {
  perspective: 1000px;
  width: 100%;
  height: 500px;
  /* Altura fija para evitar que crezca */
  background-color: black;
  border-radius: 16px;
  overflow: hidden;
  position:
    relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

@media (max-width: 767.98px) {
  .card-inner:hover {
    transform: none !important;
    transition: none !important;
  }
}

/* Parte interna giratoria */
.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

/* Ambas caras */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  top: 0;
  left: 0;
}



.mas {
  position: relative;
  background: linear-gradient(135deg,
      rgba(245, 245, 245, 0.95) 0%,
      rgba(220, 220, 220, 0.9) 15%,
      rgba(192, 192, 192, 0.85) 35%,
      rgba(169, 169, 169, 0.9) 50%,
      rgba(192, 192, 192, 0.85) 65%,
      rgba(220, 220, 220, 0.9) 85%,
      rgba(245, 245, 245, 0.95) 100%);
  color: #2c3e50;
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 400;
  font-size: 0.60rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow:
    0 8px 25px rgba(169, 169, 169, 0.4),
    0 4px 15px rgba(128, 128, 128, 0.3),
    inset 0 2px 8px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(169, 169, 169, 0.3);
  backdrop-filter: blur(8px);
  cursor: pointer;
  display: inline-block;
  text-align: center;
  outline: none;
  overflow: hidden;
  z-index: 10;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  animation: silverPulse 4.5s infinite ease-in-out;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Contenedor de partículas intensas */
.mas::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  right: -40px;
  bottom: -40px;
  border-radius: 50%;
  background:
    /* Destello plateado principal */
    linear-gradient(45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.8) 45%,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 0.8) 55%,
      transparent 70%),
    /* Solo partículas plateadas y tonos similares */
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.9) 2px, transparent 3px),
    radial-gradient(circle at 80% 20%, rgba(192, 192, 192, 0.8) 1.8px, transparent 2.8px),
    radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.85) 1.5px, transparent 2.5px),
    radial-gradient(circle at 90% 70%, rgba(220, 220, 220, 0.9) 2.2px, transparent 3.2px),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.7) 1.7px, transparent 2.7px),
    radial-gradient(circle at 30% 10%, rgba(240, 240, 240, 0.8) 1.3px, transparent 2.3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.95) 2px, transparent 3px),
    radial-gradient(circle at 85% 40%, rgba(192, 192, 192, 0.75) 1.6px, transparent 2.6px),
    radial-gradient(circle at 15% 50%, rgba(255, 255, 255, 0.8) 1.9px, transparent 2.9px),
    radial-gradient(circle at 45% 90%, rgba(211, 211, 211, 0.85) 1.4px, transparent 2.4px),
    radial-gradient(circle at 25% 25%, rgba(230, 230, 230, 0.7) 1.2px, transparent 2.2px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.6) 1.1px, transparent 2.1px),
    radial-gradient(circle at 50% 10%, rgba(245, 245, 245, 0.8) 1.3px, transparent 2.3px),
    radial-gradient(circle at 10% 50%, rgba(200, 200, 200, 0.6) 1px, transparent 2px);
  background-size: 200% 200%, 70px 70px, 55px 55px, 65px 65px, 50px 50px, 60px 60px,
    45px 45px, 75px 75px, 52px 52px, 58px 58px, 48px 48px,
    40px 40px, 42px 42px, 38px 38px, 36px 36px;
  animation:
    silverWave 7s infinite linear,
    particleFloat 8s infinite linear,
    particleSpin 12s infinite ease-in-out;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}

/* Segundo layer de partículas */
.mas::after {
  content: "";
  position: absolute;
  top: -35px;
  left: -35px;
  right: -35px;
  bottom: -35px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 70%, rgba(255, 255, 255, 0.8) 1.5px, transparent 2.5px),
    radial-gradient(circle at 65% 30%, rgba(192, 192, 192, 0.9) 1.8px, transparent 2.8px),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.75) 1.3px, transparent 2.3px),
    radial-gradient(circle at 80% 15%, rgba(211, 211, 211, 0.8) 1.6px, transparent 2.6px),
    radial-gradient(circle at 15% 65%, rgba(255, 255, 255, 0.85) 1.4px, transparent 2.4px),
    radial-gradient(circle at 55% 85%, rgba(240, 240, 240, 0.7) 1.2px, transparent 2.2px),
    radial-gradient(circle at 90% 50%, rgba(225, 225, 225, 0.6) 1.1px, transparent 2.1px),
    radial-gradient(circle at 20% 80%, rgba(250, 250, 250, 0.6) 1px, transparent 2px);
  background-size: 65px 65px, 50px 50px, 60px 60px, 55px 55px,
    45px 45px, 70px 70px, 48px 48px, 62px 62px;
  animation: particleFloat 10s infinite linear reverse, particleSpin 15s infinite ease-in-out reverse;
  z-index: -2;
  pointer-events: none;
  opacity: 0.7;
}

/* Animación principal del botón */
@keyframes silverPulse {

  0%,
  100% {
    box-shadow:
      0 8px 25px rgba(169, 169, 169, 0.4),
      0 4px 15px rgba(128, 128, 128, 0.3),
      inset 0 2px 8px rgba(255, 255, 255, 0.9),
      inset 0 -2px 4px rgba(169, 169, 169, 0.3);
    transform: scale(1);
  }

  50% {
    box-shadow:
      0 12px 35px rgba(169, 169, 169, 0.5),
      0 6px 20px rgba(128, 128, 128, 0.4),
      inset 0 3px 12px rgba(255, 255, 255, 1),
      inset 0 -3px 6px rgba(169, 169, 169, 0.4);
    transform: scale(1.02);
  }
}

/* Animación de flotación de partículas */
@keyframes particleFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-4px) rotate(90deg);
  }

  50% {
    transform: translateY(-8px) rotate(180deg);
  }

  75% {
    transform: translateY(-4px) rotate(270deg);
  }

  100% {
    transform: translateY(0px) rotate(360deg);
  }
}

/* Animación de rotación suave */
@keyframes particleSpin {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: rotate(180deg) scale(1.1);
    opacity: 1;
  }
}

/* Animación del destello plateado */
@keyframes silverWave {
  0% {
    background-position: -200% 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 200% 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
}

/* Estados interactivos optimizados para móvil */
.mas:hover,
.mas:focus {
  animation-duration: 3.5s;
  box-shadow:
    0 12px 35px rgba(169, 169, 169, 0.6),
    0 6px 20px rgba(128, 128, 128, 0.4),
    0 0 0 3px rgba(255, 255, 255, 0.4),
    inset 0 3px 12px rgba(255, 255, 255, 1),
    inset 0 -3px 6px rgba(169, 169, 169, 0.4);
  transform: translateY(-2px) scale(1.05);
}

.mas:hover::before,
.mas:focus::before {
  animation-duration: 5s;
  opacity: 1;
}

.mas:hover::after,
.mas:focus::after {
  animation-duration: 7s;
  opacity: 0.9;
}

.mas:active {
  transform: scale(0.95) translateY(1px);
  transition: transform 0.1s ease;
  box-shadow:
    0 4px 15px rgba(169, 169, 169, 0.4),
    0 2px 8px rgba(128, 128, 128, 0.3),
    inset 0 2px 8px rgba(255, 255, 255, 0.9),
    inset 0 -2px 4px rgba(169, 169, 169, 0.3);
}

/* Responsive para diferentes tamaños de móvil */
@media (max-width: 480px) {
  .mas {
    padding: 10px 20px;
    font-size: 0.8rem;
    border-radius: 22px;
  }

  .mas::before,
  .mas::after {
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
  }
}

@media (max-width: 320px) {
  .mas {
    padding: 8px 16px;
    font-size: 0.75rem;
    border-radius: 20px;
  }

  .mas::before,
  .mas::after {
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
  }
}

/* Soporte para touch */
@media (hover: none) and (pointer: coarse) {
  .mas:hover {
    transform: none;
    animation-duration: 4.5s;
  }
}

/* Parte frontal */
.card-front {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.card-front h3 {
  font-weight: 100;
  font-size: 2rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}


@media (max-width: 767.98px) {
  zonas-titulo {
    font-weight: 100;
  }

  .card-front h3 {
    font-size: 1.1rem;
    /* o el tamaño que prefieras */
  }
}


.card-front p {
  font-weight: bold;
  font-size: 1.1rem;
  max-width: 80%;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  margin-bottom: 25px;
}

/* Parte trasera */
.card-back {
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 40px;
  opacity: 0.95;
}

.button-52 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 14px 24px;
  outline: 0;
  border: 1px solid black;
  cursor: pointer;
  position: relative;
  background-color: black;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: color 0.3s cubic-bezier(.77, 0, .18, 1);
  text-transform: uppercase;
  overflow: hidden;
  color: #ffffff;
  z-index: 1;
}

.button-52::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: #E9A319;
  pointer-events: none;
  z-index: -1;
  transition: bottom 0.35s cubic-bezier(.77, 0, .18, 1);
}

.button-52:hover::after,
.button-52:focus::after {
  bottom: 0;
}

.button-52:hover,
.button-52:focus {
  color: #fff;
  transform: translateY(-3px);
}

@media (min-width: 768px) {
  .button-52 {
    padding: 14px 30px;
  }
}

/* Efecto al girar */
.card-flip:hover .card-inner {
  transform: rotateY(180deg);
}


@media (max-width: 992px) {
  .card-flip {
    height: 350px;
  }
}

@media (max-width: 600px) {
  .card-flip {
    height: 250px;
  }
}

/* Imágenes específicas para cada tarjeta */
.card-front-1 {
  background-image: url(../assets/imagenes/jupiter.jpg);
  background-size: cover;
  background-position: center;
  object-fit: cover;
}

.card-front-2 {
  background-image: url(../assets/imagenes/maloca.jpg);
  background-size: cover;
  background-position: center;
}

.card-front-3 {
  background-image: url(../assets/imagenes/marte.jpg);
  background-size: cover;
  background-position: center;
}


/* Fondo trasero */
.card-back-1 {
  background: url('../assets/imagenes/banner10.jpg') center/cover no-repeat;
}

.card-back-2 {
  background: url('../assets/imagenes/banner12.jpg') center/cover no-repeat;
}

.card-back-3 {
  background: url('../assets/imagenes/banner27.jpeg') center/cover no-repeat;
}


/* Mejora de accesibilidad para efecto hover en dispositivos táctiles */
@media (hover: none) {
  .card-flip:active .card-inner {
    transform: rotateY(180deg);
  }
}

:root {
  --primary-color: #3b82f6;
  --primary-light: #60a5fa;
  --primary-dark: #1d4ed8;
  --accent-color: #f97316;
  --text-light: #f8fafc;
  --text-dark: #334155;
  --bg-light: #f1f5f9;
  --gold: #d4af37;
  --light-golden: #A86523;
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Variables CSS personalizadas */
:root {
  --light-golden: #F9D079;
  --primary-light: #3B82F6;
  --primary-dark: #2563EB;
  --primary-color: #1D4ED8;
  --bg-light: #FFFFFF;
  --accent-color: #F59E0B;
  --text-light: #1F2937;
  --text-dark: #374151;
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --transition-smooth: all 0.3s ease;
}

/* Estilos del modal */
.modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  margin: 0 auto;
}




@media (max-width: 576px) {
  .modal-body {
    min-width: 0 !important;
    flex-direction: column !important;
    gap: 1rem !important;
    padding: 1rem !important;
  }

  .mainImage {
    width: 100% !important;
    max-width: 100vw;
    height: auto !important;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto 1rem auto;
  }
}

.modal-header {
  background: linear-gradient(120deg, var(--light-golden), #FAD59A);
  padding: 1.2rem 1.5rem;
  border-bottom: none;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*Estilos de los colores personalizados*/
.color-3 {
  background: linear-gradient(135deg, #0a0b1e, #3b0f1c, #7a1e30, #b1222a);
  color: white;
}

.text-3 {
  color: white !important;

}

.color-1 {
  background: linear-gradient(135deg, #d8cfc4, #e3a76f, #a65c38, #c97d4f, #f0e7dd, #8c4a2f, #d58b62);
}

.btn-3 {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  background: linear-gradient(90deg, #be2a2a 60%, #884040 100%);
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.15);
  overflow: hidden;
  transition: color 0.3s cubic-bezier(.77, 0, .18, 1), box-shadow 0.3s;
  z-index: 1;
}

.btn-3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #9b1c1c 60%, #884040 100%);
  border-radius: 30px;
  z-index: -1;
  transition: bottom 0.35s cubic-bezier(.77, 0, .18, 1);
}

.btn-3:hover,
.btn-3:focus {
  color: #ffeaa7;
  box-shadow: 0 8px 24px rgba(139, 90, 43, 0.18);
}

.btn-3:hover::after,
.btn-3:focus::after {
  bottom: 0;
}

.btn-1 {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  background: linear-gradient(135deg, #d8cfc4, #e3a76f, #a65c38, #c97d4f, #a65c38, #c9a27d, #d58b62);
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(166, 92, 56, 0.15);
  overflow: hidden;
  transition: color 0.3s cubic-bezier(.77, 0, .18, 1), box-shadow 0.3s;
  z-index: 1;
}

.btn-1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: #8b5a2b;
  border-radius: 30px;
  z-index: -1;
  transition: bottom 0.35s cubic-bezier(.77, 0, .18, 1);
}

.btn-1:hover,
.btn-1:focus {
  color: #ffeaa7;
  box-shadow: 0 8px 24px rgba(139, 90, 43, 0.18);
}

.btn-1:hover::after,
.btn-1:focus::after {
  bottom: 0;
}


.modal-title {
  font-family: 'FuenteSecundaria', sans-serif;
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 200;
  letter-spacing: 0.5px;
  margin: 0;
  color: var(--text-light);
}

.modal-title::before {
  margin-right: 10px;
  font-size: 1.5rem;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.7;
  transition: var(--transition-smooth);
  cursor: pointer;
  padding: 0;
  color: var(--text-light);
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  background-color: var(--bg-light);
  padding: 1.5rem;
}

/* Estilos de la galería */
.modal-gallery {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  min-width: 300px
}

#modal1Carousel .carousel-inner.rounded-4,
#modal1Carousel .carousel-inner.rounded-4 .carousel-item,
#modal2Carousel .carousel-inner.rounded-4,
#modal2Carousel .carousel-inner.rounded-4 .carousel-item,
#modal3Carousel .carousel-inner.rounded-4,
#modal3Carousel .carousel-inner.rounded-4 .carousel-item {
  background: transparent !important;
}

#modal1Carousel .carousel-inner.rounded-4 .carousel-img,
#modal2Carousel .carousel-inner.rounded-4 .carousel-img,
#modal3Carousel .carousel-inner.rounded-4 .carousel-img {
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
}

@media (max-width: 768px) {
  .modal-gallery {
    flex-direction: column;
  }
}

.list-unstyled {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.thumbs {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  width: 100%;
  order: 2;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  -ms-overflow-style: none;
}

@media (min-width: 768px) {
  .thumbs {
    flex-direction: column;
    width: 100px;
    order: 1;
    overflow-x: visible;
  }
}

.thumbs::-webkit-scrollbar {
  height: 4px;
}

.thumbs::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.thumb {
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
}

.thumb.active {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.thumb:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  order: 1;
}

@media (min-width: 768px) {
  .content {
    order: 2;
  }
}

#mainImage {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

#mainImage:hover {
  transform: scale(1.01);
}

/* Estilos del texto y características */
.text-content p {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.feature-list li {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  color: var(--text-dark);
}

.feature-list li::before {
  content: "✅";
  color: #10b981;
  margin-right: 10px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.highlight {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 1rem;
  display: inline-block;
}

/* Botón de reserva */
.btn-reserve {
  background: linear-gradient(to right, var(--primary-light), var(--primary-dark));
  border: none;
  border-radius: 30px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
  color: white;
  margin-top: 1rem;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-reserve:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.45);
  background: linear-gradient(to right, var(--primary-color), var(--primary-light));
}

.btn-reserve:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 2px;
}

/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  animation: fadeIn 0.3s ease-out;
}

/* Responsive styles */
@media (max-width: 767px) {
  .modal-gallery {
    flex-direction: column;
  }

  .thumbs {
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 10px;
  }

  .thumb {
    min-width: 80px;
    height: 60px;
  }

  #mainImage {
    height: 220px;
  }
}

.ahora {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  background: linear-gradient(90deg, #E9A319 70%, #ffce3a 100%);
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(233, 163, 25, 0.15);
  overflow: hidden;
  transition: color 0.3s cubic-bezier(.77, 0, .18, 1), box-shadow 0.3s;
  z-index: 1;
}

.ahora::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #e88e00 70%, #ffbb33 100%);
  border-radius: 30px;
  z-index: -1;
  transition: bottom 0.35s cubic-bezier(.77, 0, .18, 1);
}

.ahora:hover,
.ahora:focus {
  color: #ffe54c;
  box-shadow: 0 8px 24px rgba(42, 94, 167, 0.18);
}

.ahora:hover::after,
.ahora:focus::after {
  bottom: 0;
}

.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: none;
}

/* Importación de Font Awesome desde CDN */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Estilos base para la sección de servicios */
.servicios-section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 50px;
  background-color: #fffaf2;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #2c3e50;
  line-height: 1.6;
}

.servicios-section h2 {
  font-family: 'Fuentep', sans-serif;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 15px;
  font-weight: 200 !important;
  letter-spacing: 0.5px;
}

.servicios-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: #FAD59A;
  border-radius: 2px;
}

.servicios-section ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 35px;
}

.servicios-section li {
  background-color: #F8F9FA;
  border-radius: 16px;
  padding: 30px;
  border-left: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #FAD59A;
}

.servicios-section li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background-color: #FAD59A;
  border-radius: 4px 0 0 4px;
}

.servicios-section li:hover {
  background-color: #FCEFCB;
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.servicios-section li strong {
  font-family: 'Fuentep', sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #000000;
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 100;
  padding-bottom: 12px;
  border-bottom: 2px dashed rgba(250, 213, 154, 0.5);
}

.servicios-section li strong i {
  margin-left: 15px;
  color: #000000;
  font-size: 2rem;
  background-color: #FAD59A;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(250, 213, 154, 0.4);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.servicios-section li:hover strong i {
  transform: scale(1.1) rotate(5deg);
  background-color: #000000;
  color: #FAD59A;
}

/* Estilos para tablet */
@media (max-width: 992px) {
  .servicios-section {
    padding: 40px;
  }

  .servicios-section ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicios-section h2 {
    font-size: 2rem;
  }
}

/* Estilos para celulares */
@media (max-width: 768px) {
  .servicios-section {
    padding: 30px;
    margin: 50px auto;
    border-radius: 16px;
  }

  .servicios-section ul {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .servicios-section h2 {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }

  .servicios-section li {
    padding: 25px;
  }

  .servicios-section li strong i {
    width: 50px;
    height: 50px;
    font-size: 1.7rem;
    margin-left: 10px;
  }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
  .servicios-section {
    padding: 25px;
    margin: 40px auto;
    border-radius: 12px;
  }

  .servicios-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }

  .servicios-section li {
    padding: 20px;
    font-size: 0.95rem;
  }

  .servicios-section li strong {
    font-size: 1.15rem;
    padding-bottom: 10px;
  }

  .servicios-section li strong i {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    margin-left: 8px;
  }
}

/* Ajustes para pantallas muy grandes */
@media (min-width: 1400px) {
  .servicios-section {
    max-width: 1300px;
  }

  .servicios-section ul {
    gap: 40px;
  }
}


.carousel-item.custom-height {
  height: 400px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hotel-section {
  background-image: url('../assets/imagenes/casona.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
  position: relative;
  z-index: 1;
}

.hotel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(192, 192, 192, 0.4);
  /* oscurece la imagen */
  z-index: -1;
}


.testimonios-section {
  background-image: url('../assets/imagenes/banner7.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 750px;
  position: relative;
  padding: 100px 0 80px 0;
  margin: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.testimonios-section2 {
  background-image: url('../assets/imagenes/test2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 750px;
  position: relative;
  padding: 100px 0 80px 0;
  margin: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.testimonios-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(15, 23, 42, 0.8) 0%,
      rgba(30, 41, 59, 0.7) 30%,
      rgba(0, 0, 0, 0.6) 70%,
      rgba(15, 23, 42, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.testimonios-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 25% 30%,
      rgba(250, 213, 154, 0.18) 0%,
      transparent 60%),
    radial-gradient(ellipse at 75% 70%,
      rgba(233, 163, 25, 0.12) 0%,
      transparent 50%);
  z-index: 2;
}

/* Encabezado de testimonios */
.testimonios-header {
  text-align: center;
  margin-bottom: 85px;
  position: relative;
  z-index: 3;
  animation: fadeInDown 1s ease-out;
}

.section-title {
  font-family: 'FuenteSecundaria', 'Georgia', serif;
  color: #ffffff;
  font-size: 3.4rem;
  font-weight: 300;
  margin: 50px 0 25px 0;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.6),
    0 8px 40px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.section-title2 {
  font-family: 'cursi2', serif;
  color: #ffffff;
  font-size: 3.4rem;
  font-weight: 300;
  margin: 50px 0 25px 0;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.6),
    0 8px 40px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg,
      transparent,
      #FAD59A 20%,
      #ffffff 50%,
      #FAD59A 80%,
      transparent);
  animation: expandGlow 1.5s ease-out 0.7s forwards;
  border-radius: 2px;
}

.decorative-line {
  width: 140px;
  height: 6px;
  background: linear-gradient(90deg,
      transparent 0%,
      #FAD59A 15%,
      #ffffff 35%,
      #E9A319 65%,
      #FAD59A 85%,
      transparent 100%);
  margin: 0 auto;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(250, 213, 154, 0.4);
}

.decorative-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.9),
      transparent);
  animation: shimmerFlow 3s infinite;
}

/* Contenedor de testimonios */
.testimonios-container {
  display: flex;
  justify-content: center;
  gap: 45px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
}

/* Tarjetas de testimonios */
.testimonio-card {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.95) 100%);
  color: #1f2937;
  border-radius: 28px;
  padding: 35px 32px;
  width: 380px;
  min-height: 320px;
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.12),
    0 5px 25px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  animation: floatIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(40px);
}

.testimonio-card:nth-child(1) {
  animation-delay: 0.2s;
}

.testimonio-card:nth-child(2) {
  animation-delay: 0.4s;
}

.testimonio-card:nth-child(3) {
  animation-delay: 0.6s;
}

.testimonio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg,
      #FAD59A 0%,
      #E9A319 25%,
      #ffffff 50%,
      #E9A319 75%,
      #FAD59A 100%);
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 28px 28px 0 0;
}

.testimonio-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%,
      rgba(250, 213, 154, 0.05) 0%,
      transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 28px;
}

.testimonio-card:hover::before {
  transform: scaleX(1);
}

.testimonio-card:hover::after {
  opacity: 1;
}

.testimonio-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.18),
    0 10px 40px rgba(250, 213, 154, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(250, 213, 154, 0.8);
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.98) 100%);
}

/* Estructura interna de la tarjeta */
.testimonio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 15px;
  position: relative;
}

.testimonio-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(250, 213, 154, 0.6) 20%,
      rgba(233, 163, 25, 0.8) 50%,
      rgba(250, 213, 154, 0.6) 80%,
      transparent);
  border-radius: 1px;
}

.testimonio-content {
  flex-grow: 1;
  position: relative;
  margin: 5px 0;
}

.testimonio-footer {
  margin-top: 18px;
  padding-top: 15px;
  position: relative;
}

.testimonio-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(250, 213, 154, 0.4) 30%,
      rgba(233, 163, 25, 0.6) 50%,
      rgba(250, 213, 154, 0.4) 70%,
      transparent);
  border-radius: 1px;
}

/* Estilo para las calificaciones */
.testimonio-rating {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 3px;
  color: #E9A319;
  font-weight: 700;
  text-shadow: 0 3px 8px rgba(233, 163, 25, 0.3);
  display: flex;
  align-items: center;
  gap: 3px;
  position: relative;
}

.testimonio-rating::before {
  content: '★★★★★';
  background: linear-gradient(45deg,
      #E9A319 0%,
      #FAD59A 30%,
      #ffffff 50%,
      #FAD59A 70%,
      #E9A319 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 3px 6px rgba(233, 163, 25, 0.4));
  animation: starGlow 2s ease-in-out infinite alternate;
}

.country-flag {
  font-size: 1.5rem;
  margin-left: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.testimonio-card:hover .country-flag {
  transform: scale(1.25) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) brightness(1.1);
}

/* Estilo para el texto del testimonio */
.testimonio-texto {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.8;
  font-style: italic;
  color: #374151;
  letter-spacing: 0.4px;
  position: relative;
  padding: 8px 18px;
  text-align: justify;
}

.testimonio-texto::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: -2px;
  font-size: 4rem;
  color: #FAD59A;
  font-family: Georgia, serif;
  opacity: 0.8;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(250, 213, 154, 0.5);
  z-index: 1;
}

.testimonio-texto::after {
  content: '"';
  position: absolute;
  bottom: -25px;
  right: 2px;
  font-size: 4rem;
  color: #FAD59A;
  font-family: Georgia, serif;
  opacity: 0.8;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(250, 213, 154, 0.5);
  z-index: 1;
}

/* Estilo para el autor del testimonio */
.testimonio-autor {
  display: block;
  font-weight: 600;
  font-size: 1.2rem;
  color: #1f2937;
  letter-spacing: 1px;
  text-align: right;
  position: relative;
  padding-left: 25px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonio-autor::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #E9A319;
  font-weight: bold;
  font-size: 1.3rem;
  text-shadow: 0 2px 4px rgba(233, 163, 25, 0.4);
}

/* Indicadores del carrusel */
.carousel-indicators {
  bottom: -60px;
  z-index: 4;
}

.carousel-indicators button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin: 0 8px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid #FAD59A;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-indicators button:hover {
  background: rgba(250, 213, 154, 0.7);
  border-color: #ffffff;
  transform: scale(1.2);
  box-shadow: 0 6px 20px rgba(250, 213, 154, 0.6);
}

.carousel-indicators button.active {
  background: #FAD59A;
  border: 2px solid #ffffff;
  box-shadow:
    0 6px 20px rgba(250, 213, 154, 0.8),
    0 0 0 4px rgba(250, 213, 154, 0.3);
  transform: scale(1.15);
}

/* Animación para el carrusel */
.carousel-item {
  transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.6s ease;
}

/* Animaciones */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes expandGlow {
  to {
    width: 120px;
    box-shadow: 0 0 20px rgba(250, 213, 154, 0.6);
  }
}

@keyframes shimmerFlow {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: -100%;
  }
}

@keyframes starGlow {
  0% {
    filter: drop-shadow(0 3px 6px rgba(233, 163, 25, 0.4));
  }

  100% {
    filter: drop-shadow(0 3px 12px rgba(233, 163, 25, 0.8)) brightness(1.1);
  }
}

.fuente-zona2 {
  font-family: 'maloca', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: black;
}

.fuente-zona1 {
  font-family: 'descmaloca', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: black;
}

.cursii {
  font-family: 'cursi', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: black;
}

.cursii2 {
  font-family: 'cursi2', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgb(11, 11, 11);
}

.fuente-zona3 {
  font-family: 'descmaloca', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
}

.font1 {
  font-family: 'FuenteSecundaria', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: white;
}


@media (min-width: 1024px) and (max-width: 1366px) {

  .testimonios-header {
    margin-bottom: 10px;
  }

  .testimonios-section {
    min-height: 650px;
    /* Más pequeño que 750px para que no ocupe tanto */
    padding: 80px 0 60px 0;
    /* Ajusta espacio arriba/abajo */
    margin: 60px 0;
  }

  .testimonios-container {
    gap: 30px;
    /* Menor separación entre tarjetas */
    padding: 20px 15px;
    /* Menor relleno interno */
    max-width: 1100px;
    /* Más estrecho para laptops */
  }

  .section-title {
    font-size: 2.8rem;
    /* Tamaño más controlado */
  }

  .testimonio-card {
    width: 320px;
    /* Más estrechas para caber en laptops */
    min-height: 290px;
    padding: 30px 26px;
  }

  .testimonio-texto {
    font-size: 1rem;
  }

  .testimonio-autor {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .testimonios-section {
    padding: 60px 0 50px 0;
    margin: 40px 0;
    min-height: auto;
  }

  .testimonios-header {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 2.2rem;
    margin: 30px 0 20px 0;
  }

  .decorative-line {
    width: 100px;
    height: 4px;
  }

  .testimonios-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 10px 15px;
  }

  .testimonio-card {
    width: 100%;
    max-width: 95%;
    padding: 25px 20px;
    min-height: auto;
  }

  .testimonio-texto {
    font-size: 1rem;
    padding: 5px 12px;
    line-height: 1.6;
  }

  .testimonio-autor {
    font-size: 1rem;
    padding-left: 18px;
  }

  .testimonio-rating {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .country-flag {
    font-size: 1.3rem;
  }

  .carousel-indicators {
    bottom: -40px;
  }

  .carousel-indicators button {
    width: 10px;
    height: 10px;
    margin: 0 5px;
  }
}

@media (max-width: 1023px) {

  /* Aquí los estilos para dispositivos pequeños y tablets */
  /* ===== SECCIÓN TESTIMONIOS MÓVILES ===== */
  #testimonios-movil {
    background-image: url('../assets/imagenes/banner7.jpeg');
    height: 700px;
    background-size: cover;
    position: relative;
    overflow: hidden;
  }

  /* Efecto de partículas de fondo */
  #testimonios-movil::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
      radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
      radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 80px 80px;
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes particleFloat {

    0%,
    100% {
      transform: translateY(0px) rotate(0deg);
    }

    33% {
      transform: translateY(-10px) rotate(2deg);
    }

    66% {
      transform: translateY(5px) rotate(-1deg);
    }
  }

  /* Título de la sección */
  .section-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    animation: titleSlideIn 1s ease-out;
  }

  @keyframes titleSlideIn {
    0% {
      opacity: 0;
      transform: translateY(-30px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Línea decorativa */
  .decorative-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    border-radius: 2px;
    animation: lineExpand 1.5s ease-out;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
  }

  @keyframes lineExpand {
    0% {
      width: 0;
      opacity: 0;
    }

    100% {
      width: 60px;
      opacity: 1;
    }
  }

  /* Contenedor del carousel */
  .carousel {
    position: relative;
    z-index: 2;
  }

  /* Tarjeta de testimonio */
  .testimonio-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin: 0 1rem;
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.1),
      0 0 20px rgba(255, 255, 255, 0.1) inset;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Efecto hover para las tarjetas */
  .testimonio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
      0 30px 60px rgba(0, 0, 0, 0.15),
      0 0 30px rgba(255, 255, 255, 0.2) inset;
  }

  /* Brillo sutil en la tarjeta */
  .testimonio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent);
    border-radius: 20px;
    transition: left 0.6s ease;
  }

  .testimonio-card:hover::before {
    left: 100%;
  }

  /* Header del testimonio */
  .testimonio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out;
  }

  /* Rating de estrellas */
  .testimonio-rating {
    font-size: 1.2rem;
    margin: 0;
    animation: starGlow 2s ease-in-out infinite alternate;
  }

  @keyframes starGlow {
    0% {
      filter: brightness(1) drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }

    100% {
      filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
    }
  }

  /* Bandera del país */
  .country-flag {
    font-size: 1.5rem;
    animation: flagWave 3s ease-in-out infinite;
    transform-origin: left center;
  }

  @keyframes flagWave {

    0%,
    100% {
      transform: rotate(0deg);
    }

    25% {
      transform: rotate(5deg);
    }

    75% {
      transform: rotate(-3deg);
    }
  }

  /* Contenido del testimonio */
  .testimonio-content {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
  }

  .testimonio-texto {
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
    font-style: italic;
    position: relative;
    margin: 0;
    padding: 0 1rem;
  }

  /* Comillas decorativas */
  .testimonio-texto::before,
  .testimonio-texto::after {
    content: '"';
    font-size: 3rem;
    color: #667eea;
    font-family: serif;
    position: absolute;
    opacity: 0.3;
    animation: quoteFloat 4s ease-in-out infinite;
  }

  .testimonio-texto::before {
    top: -10px;
    left: -5px;
  }

  .testimonio-texto::after {
    bottom: -30px;
    right: -5px;
    transform: rotate(180deg);
  }

  @keyframes quoteFloat {

    0%,
    100% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-5px);
    }
  }

  /* Footer del testimonio */
  .testimonio-footer {
    text-align: right;
    animation: fadeInRight 1s ease-out 0.6s both;
  }

  .testimonio-autor {
    color: #667eea;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
  }

  .testimonio-autor::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
  }

  .testimonio-card:hover .testimonio-autor::before {
    width: 100%;
  }


  /* Animaciones de entrada */
  @keyframes fadeInDown {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInRight {
    0% {
      opacity: 0;
      transform: translateX(20px);
    }

    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Transiciones suaves para el carousel */
  .carousel-item {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Animación de pulso para elementos interactivos */
  @keyframes pulse {

    0%,
    100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.05);
    }
  }

  /* Responsive específico para móviles */
  @media (max-width: 576px) {
    .section-title {
      font-size: 1.5rem;
    }

    .testimonio-card {
      margin: 0 0.5rem;
      padding: 1.5rem 1rem;
    }

    .testimonio-texto {
      font-size: 0.95rem;
      padding: 0 0.5rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
      width: 40px;
      height: 40px;
    }

    .carousel-control-prev {
      left: -20px;
    }

    .carousel-control-next {
      right: -20px;
    }
  }

  /* Mejora la performance de las animaciones */
  .carousel-item,
  .testimonio-card,
  .carousel-control-prev,
  .carousel-control-next {
    will-change: transform;
  }

  /* Pausa las animaciones cuando el usuario prefiere movimiento reducido */
  @media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}


.conoce {
  display: inline-block;
  position: relative;
  width: auto;
  max-width: min(320px, calc(100vw - 40px));
  min-width: min(200px, calc(100vw - 80px));
  padding: 16px 20px;
  background: linear-gradient(145deg,
      #8B4513 0%,
      #A0522D 20%,
      #CD853F 40%,
      #DAA520 60%,
      #B8860B 80%,
      #8B4513 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  border-radius: 16px;
  border: 2px solid rgba(218, 165, 32, 0.3);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(218, 165, 32, 0.2) inset,
    0 2px 4px rgba(255, 248, 220, 0.1) inset;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'desmaloca', serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-align: center;
  animation: gentlePulse 4s ease-in-out infinite;
  white-space: nowrap;
  /* Evita que el texto se rompa */
  box-sizing: border-box;
}

/* Contenedor limpio y centrado */
.conoce-wrapper {
  text-align: center;
  margin: 40px auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  /* Previene overflow horizontal */
  padding: 0 20px;
  /* Padding lateral para móviles */
  box-sizing: border-box;
}

/* Resplandor sutil de fondo */
.conoce-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 40px);
  /* Ajustado para el padding */
  max-width: 320px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(218, 165, 32, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: softGlow 3s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes softGlow {
  0% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.95);
  }

  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Borde decorativo elegante */
.conoce::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
      #DAA520 0%,
      #CD853F 25%,
      #B8860B 50%,
      #A0522D 75%,
      #DAA520 100%);
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Efecto de brillo elegante */
.conoce::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 248, 220, 0.2) 30%,
      rgba(255, 248, 220, 0.4) 50%,
      rgba(255, 248, 220, 0.2) 70%,
      transparent 100%);
  border-radius: 16px;
  transition: left 0.6s ease;
  z-index: 1;
  animation: autoShine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes autoShine {

  0%,
  90% {
    left: -100%;
  }

  10%,
  80% {
    left: 100%;
  }
}

/* Estados hover mejorados */
.conoce:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(218, 165, 32, 0.4) inset,
    0 3px 6px rgba(255, 248, 220, 0.2) inset;
  background: linear-gradient(145deg,
      #A0522D 0%,
      #CD853F 20%,
      #DAA520 40%,
      #F4A460 60%,
      #DDD700 80%,
      #B8860B 100%);
  border-color: rgba(218, 165, 32, 0.6);
  color: #FFFACD;
}

.conoce:hover::before {
  opacity: 1;
}

.conoce:hover::after {
  left: 100%;
  animation: none;
}

.conoce:active {
  transform: translateY(-2px) scale(1.01);
  transition: all 0.1s ease;
}

/* Animación de pulsación suave */
@keyframes gentlePulse {

  0%,
  100% {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(218, 165, 32, 0.2) inset,
      0 2px 4px rgba(255, 248, 220, 0.1) inset;
  }

  50% {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.3),
      0 0 25px rgba(218, 165, 32, 0.3) inset,
      0 2px 4px rgba(255, 248, 220, 0.15) inset;
  }
}

/* Responsive optimizado - Tablet */
@media (max-width: 768px) {
  .conoce {
    max-width: 280px;
    min-width: 220px;
    padding: 15px 20px;
    font-size: 14px;
    letter-spacing: 1px;
    border-radius: 14px;
  }

  .conoce-wrapper {
    margin: 20px auto;
    padding: 0 15px;
  }

  .conoce-wrapper::before {
    height: 70px;
    width: calc(100% - 30px);
    max-width: 280px;
  }

  .conoce::before {
    border-radius: 16px;
  }

  .conoce::after {
    border-radius: 14px;
  }
}

/* Responsive - Móviles grandes */
@media (max-width: 480px) {
  .conoce {
    max-width: min(240px, calc(100vw - 40px));
    min-width: min(180px, calc(100vw - 60px));
    padding: 12px 16px;
    font-size: 12px;
    letter-spacing: 0.6px;
    border-radius: 12px;
  }

  .conoce-wrapper {
    margin: 20px auto;
    padding: 0 15px;
  }

  .conoce-wrapper::before {
    height: 60px;
    width: calc(100% - 30px);
    max-width: 240px;
  }

  .conoce::before {
    border-radius: 14px;
  }

  .conoce::after {
    border-radius: 12px;
  }

  .conoce:hover {
    transform: translateY(-3px) scale(1.01);
  }
}

/* Responsive - Móviles pequeños */
@media (max-width: 420px) {
  .conoce {
    max-width: min(210px, calc(100vw - 20px));
    /* Más restrictivo */
    min-width: min(150px, calc(100vw - 40px));
    padding: 11px 14px;
    font-size: 11px;
    letter-spacing: 0.5px;
    border-radius: 10px;
  }

  .conoce-wrapper {
    margin: 18px auto;
    padding: 0 10px;
  }

  .conoce-wrapper::before {
    height: 55px;
    width: calc(100% - 20px);
    max-width: 220px;
  }

  .conoce::before {
    border-radius: 12px;
  }

  .conoce::after {
    border-radius: 10px;
  }
}

/* Responsive - Móviles muy pequeños */
@media (max-width: 360px) {
  .conoce {
    max-width: min(200px, calc(100vw - 25px));
    /* Ultra conservador */
    min-width: min(140px, calc(100vw - 45px));
    padding: 10px 12px;
    font-size: 10px;
    letter-spacing: 0.4px;
    border-radius: 8px;
  }

  .conoce-wrapper {
    margin: 15px auto;
    padding: 0 8px;
  }

  .conoce-wrapper::before {
    height: 50px;
    width: calc(100% - 16px);
    max-width: 200px;
  }

  .conoce::before {
    border-radius: 10px;
  }

  .conoce::after {
    border-radius: 8px;
  }
}

/* Estados de foco mejorados */
.conoce:focus {
  outline: none;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(218, 165, 32, 0.4) inset,
    0 3px 6px rgba(255, 248, 220, 0.2) inset,
    0 0 0 3px rgba(218, 165, 32, 0.5);
  transform: translateY(-3px) scale(1.01);
}

/* Versión standalone mejorada */
.conoce-standalone {
  display: inline-block;
  position: relative;
  width: auto;
  max-width: min(340px, calc(100vw - 40px));
  min-width: min(280px, calc(100vw - 60px));
  padding: 18px 26px;
  background: linear-gradient(145deg,
      #8B4513 0%,
      #A0522D 20%,
      #CD853F 40%,
      #DAA520 60%,
      #B8860B 80%,
      #8B4513 100%);
  color: #FFF8DC;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  border-radius: 18px;
  border: 2px solid rgba(218, 165, 32, 0.3);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 25px rgba(218, 165, 32, 0.25) inset,
    0 3px 6px rgba(255, 248, 220, 0.15) inset;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Playfair Display', serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  cursor: pointer;
  margin: 50px auto;
  text-align: center;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  animation: gentlePulse 4s ease-in-out infinite;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Responsive para standalone en móviles */
@media (max-width: 480px) {
  .conoce-standalone {
    max-width: min(300px, calc(100vw - 30px));
    min-width: min(200px, calc(100vw - 50px));
    padding: 16px 20px;
    font-size: 14px;
    letter-spacing: 1.2px;
    margin: 30px auto;
  }
}

@media (max-width: 320px) {
  .conoce-standalone {
    max-width: min(280px, calc(100vw - 20px));
    min-width: min(180px, calc(100vw - 40px));
    padding: 14px 18px;
    font-size: 13px;
    letter-spacing: 1px;
    margin: 25px auto;
  }
}

/* Prevención de overflow horizontal global */
.conoce-wrapper,
.conoce,
.conoce-standalone {
  max-width: 100%;
  overflow-x: hidden;
}

/* Accesibilidad - reducir movimiento */
@media (prefers-reduced-motion: reduce) {

  .conoce,
  .conoce-wrapper::before,
  .conoce::after,
  .conoce-standalone {
    animation: none !important;
  }

  .conoce,
  .conoce-standalone {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {

  .conoce:hover,
  .conoce-standalone:hover {
    transform: none;
    background: linear-gradient(145deg,
        #8B4513 0%,
        #A0522D 20%,
        #CD853F 40%,
        #DAA520 60%,
        #B8860B 80%,
        #8B4513 100%);
  }

  .conoce:active,
  .conoce-standalone:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

.res-ha {
  /* Posicionamiento absoluto para que aparezca en su lugar natural */
  position: relative;
  display: inline-block;
  margin: 20px auto;

  /* Gradiente con los colores solicitados */
  background: linear-gradient(145deg,
      #8B4513 0%,
      #A0522D 20%,
      #CD853F 40%,
      #DAA520 60%,
      #B8860B 80%,
      #8B4513 100%);

  /* Estilos del botón */
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 50px;

  /* Efectos visuales */
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);

  /* Transiciones suaves */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Asegurar que esté por encima de otros elementos */
  z-index: 1000;

  /* Cursor pointer */
  cursor: pointer;
}

/* Efecto hover mejorado */
.res-ha:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.7);
  filter: brightness(1.15) saturate(1.1);
  background: linear-gradient(145deg,
      #A0522D 0%,
      #CD853F 20%,
      #DAA520 40%,
      #F4A460 60%,
      #DAA520 80%,
      #A0522D 100%);
}

/* Efecto active/click mejorado */
.res-ha:active {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.6);
}

/* Animación de pulso sutil */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

.res-ha {
  animation: pulse 3s ease-in-out infinite;
}

.res-ha:hover {
  animation: none;
}

/* Responsive para tablets */
@media (max-width: 768px) {
  .res-ha {
    font-size: 16px;
    padding: 12px 24px;
    margin: 15px auto;
  }
}

/* Responsive para móviles */
@media (max-width: 480px) {
  .res-ha {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 40px;
    margin: 12px auto;
  }
}

/* Para pantallas muy pequeñas */
@media (max-width: 320px) {
  .res-ha {
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 30px;
    margin: 10px auto;
  }
}

:root {
  --hm-primary-color: #5C4434;
  /* Marrón oscuro (antes: #2C3E50) */
  --hm-secondary-color: #8B5E3C;
  /* Madera envejecida (antes: #8B7355) */
  --hm-accent-color: #C0A060;
  /* Dorado gastado (antes: #D4AF37) */
  --hm-text-primary: #3E2F23;
  /* Texto oscuro rústico (antes: #2C3E50) */
  --hm-text-secondary: #7A6B5D;
  /* Marrón claro (antes: #5D6D7E) */
  --hm-bg-light: #F5F0E6;
  /* Beige antiguo (antes: #FAFAFA) */
  --hm-bg-white: #FDFBF6;
  /* Blanco hueso (antes: #FFFFFF) */
  --hm-border-light: #D3C4B5;
  /* Beige grisáceo (antes: #E8E8E8) */
  --hm-shadow-soft: 0 4px 20px rgba(92, 68, 52, 0.08);
  /* sombra marrón */
  --hm-shadow-medium: 0 8px 30px rgba(92, 68, 52, 0.15);
  /* sombra marrón más fuerte */
  --hm-shadow-overlay: 0 0 0 100vmax rgba(44, 32, 18, 0.6);
  /* fondo oscuro rústico */
}


/* === UTILITIES === */
.hm-flex {
  display: flex;
}

.hm-flex-col {
  flex-direction: column;
}

.hm-items-center {
  align-items: center;
}

.hm-justify-center {
  justify-content: center;
}

.hm-justify-between {
  justify-content: space-between;
}

.hm-w-full {
  width: 100%;
}

.hm-h-full {
  height: 100%;
}

.hm-hidden {
  display: none;
}

.hm-visible {
  display: block;
}

.hm-relative {
  position: relative;
}

.hm-absolute {
  position: absolute;
}

.hm-fixed {
  position: fixed;
}

.hm-cursor-pointer {
  cursor: pointer;
}

/* === CONTAINER === */
.hm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* === BUTTONS === */
.hm-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
}

.hm-btn-primary {
  background: var(--hm-primary-color);
  color: white;
}

.hm-btn-primary:hover {
  background: var(--hm-secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--hm-shadow-medium);
}

/* === MODAL SYSTEM === */
.hm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.hm-modal-overlay.hm-modal-active {
  opacity: 1;
  visibility: visible;
}

.hm-modal-container {
  background: var(--hm-bg-white);
  border-radius: 12px;
  box-shadow: var(--hm-shadow-medium);
  max-width: 90vw;
  max-height: 90vh;
  width: 1200px;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hm-modal-overlay.hm-modal-active .hm-modal-container {
  transform: scale(1) translateY(0);
}

/* === MODAL HEADER === */
.hm-modal-header {
  background: var(--hm-bg-white);
  border-bottom: 1px solid var(--hm-border-light);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.hm-modal-title {
  font-family: 'cursi', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--hm-text-primary);
  margin: 0;
}

.hm-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--hm-text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

.hm-modal-close:hover {
  opacity: 1;
  background: var(--hm-bg-light);
}

/* === MODAL BODY === */
.hm-modal-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

/* === GRID SYSTEM === */
.hm-grid {
  display: grid;
  gap: 1rem;
}

.hm-grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.hm-grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.hm-grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .hm-grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-grid-cols-2 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 480px) {

  .hm-grid-cols-3,
  .hm-grid-cols-2 {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* === CARDS VIEW === */
.hm-cards-view {
  padding: 2rem;
}

.hm-room-card {
  background: var(--hm-bg-white);
  border: 1px solid var(--hm-border-light);
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.hm-room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hm-shadow-medium);
  border-color: var(--hm-accent-color);
}

.hm-card-body {
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
}

.hm-card-title {
  font-family: 'cursi2', sans-serif;
  font-weight: 550;
  letter-spacing: 1px;
  color: var(--hm-text-primary);
  margin-bottom: 1rem;
  margin-top: 0;
}

.hab {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.hm-card-btn {
  background: var(--hm-primary-color);
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 10px;
}

.hm-card-btn:hover {
  background: var(--hm-secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
}

/* === DETAIL VIEW === */
.hm-detail-view {
  padding: 2rem;
  min-height: 500px;
}

.hm-back-btn {
  background: transparent;
  border: 1px solid var(--hm-border-light);
  border-radius: 6px;
  color: var(--hm-text-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hm-back-btn:hover {
  background: var(--hm-bg-light);
  border-color: var(--hm-secondary-color);
  color: var(--hm-secondary-color);
}

.hm-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hm-detail-text {
  padding-right: 1rem;
}

.hm-detail-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 2rem;
  color: var(--hm-text-primary);
  margin-bottom: 1.5rem;
  margin-top: 0;
  line-height: 1.2;
}

.hm-detail-description {
  font-size: 1rem;
  color: var(--hm-text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hm-amenities-title {
  color: var(--hm-text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 0;
  font-size: 1rem;
}

.hm-amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hm-amenities-list li {
  padding: 0.5rem 0;
  color: var(--hm-text-secondary);
  display: flex;
  align-items: center;
}

.hm-amenities-list li i {
  color: var(--hm-accent-color);
  margin-right: 0.75rem;
  width: 16px;
}

/* === IMAGE SECTION === */
.hm-detail-image {
  position: relative;
}

.hm-image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--hm-shadow-soft);
}

.hm-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.hm-main-image:hover {
  transform: scale(1.02);
}

/* Image Size Controls */
.hm-image-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px;
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.hm-size-btn {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--hm-border-light);
  border-radius: 4px;
  color: var(--hm-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
}

.hm-size-btn:hover,
.hm-size-btn.hm-active {
  background: var(--hm-primary-color);
  color: white;
  border-color: var(--hm-primary-color);
}

/* Image Thumbnails */
.hm-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hm-thumbnail {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hm-thumbnail:hover,
.hm-thumbnail.hm-active {
  opacity: 1;
}

/* Image Size Variations */
.hm-image-small .hm-main-image {
  height: 250px;
}

.hm-image-medium .hm-main-image {
  height: 400px;
}

.hm-image-large .hm-main-image {
  height: 550px;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .hm-detail-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hm-detail-text {
    padding-right: 0;
    order: 2;
  }

  .hm-detail-image {
    order: 1;
  }

  .hm-detail-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {

  .hm-cards-view,
  .hm-detail-view {
    padding: 1rem;
  }

  .hm-modal-header {
    padding: 1rem 1.5rem;
  }

  .hm-modal-title {
    font-size: 1.3rem;
  }

  .hm-detail-title {
    font-size: 1.4rem;
  }

  .hm-main-image {
    height: 250px;
  }

  .hm-image-small .hm-main-image {
    height: 200px;
  }

  .hm-image-medium .hm-main-image {
    height: 250px;
  }

  .hm-image-large .hm-main-image {
    height: 300px;
  }

  .hm-modal-container {
    max-width: 95vw;
    max-height: 95vh;
  }
}

@media (max-width: 480px) {
  .hm-container {
    padding: 1rem;
  }

  .hm-modal-overlay {
    padding: 0.5rem;
  }

  .hm-modal-header {
    padding: 1rem;
  }

  .hm-cards-view,
  .hm-detail-view {
    padding: 0.5rem;
  }
}

* {
  transition: all 0.3s ease;
}

:root {
  --rustic-brown: #8B4513;
  --warm-sand: #D2B48C;
  --forest-green: #228B22;
  --terracotta: #E2725B;
  --cream: #F5F5DC;
  --dark-wood: #654321;
  --copper: #B87333;
  --moss-green: #8FBC8F;
}


.zonas-recreacionales {
  padding: 4rem 0;
  position: relative;
}

.titulo-principal {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--dark-wood);
  text-align: center;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: tituloMajestuoso 2s ease-out;
  font-family: 'desmaloca', sans-serif;
}

@keyframes tituloMajestuoso {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.8);
    filter: blur(10px);
  }

  60% {
    transform: translateY(-10px) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.titulo-principal::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--copper));
  border-radius: 2px;
  animation: lineaExpansion 1.5s ease-out 0.5s both;
}

@keyframes lineaExpansion {
  0% {
    width: 0;
  }

  100% {
    width: 100px;
  }
}

.subtitulo {
  text-align: center;
  color: var(--rustic-brown);
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 4rem;
  font-style: italic;
  animation: subtituloOleada 2s ease-out 0.8s both;
}

@keyframes subtituloOleada {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

  50% {
    transform: translateX(10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.zona-container {
  margin-bottom: 6rem;
  opacity: 0;
  animation: zonaAparicion 1s ease-out forwards;
}

.zona-container:nth-child(odd) {
  animation-delay: 0.2s;
}

.zona-container:nth-child(even) {
  animation-delay: 0.4s;
}

@keyframes zonaAparicion {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.zona-imagen {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
  box-shadow:
    0 20px 40px rgba(139, 69, 19, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 350px;
}

.zona-imagen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      rgba(139, 69, 19, 0.1) 0%,
      rgba(184, 115, 51, 0.2) 50%,
      rgba(139, 69, 19, 0.1) 100%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.zona-imagen:hover::before {
  opacity: 1;
}

.zona-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.9) contrast(1.1);
}

.zona-imagen:hover img {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1.1) contrast(1.2) saturate(1.2);
}

.overlay-icono {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
  z-index: 3;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: all 0.5s ease;
  animation: iconoFlotante 3s ease-in-out infinite;
}

@keyframes iconoFlotante {

  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0px);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-15px);
  }
}

.zona-imagen:hover .overlay-icono {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

/* CONTENEDOR DE TEXTO MEJORADO */
.zona-contenido {
  padding: 2.5rem 2rem;
  background: linear-gradient(145deg, #ffffff 0%, var(--cream) 100%);
  border-radius: 25px;
  box-shadow:
    0 15px 35px rgba(139, 69, 19, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
  /* Removida altura fija - ahora se ajusta al contenido */
  min-height: 350px;
  /* Altura mínima para mantener proporción */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Cambiado de center a flex-start */
  gap: 1rem;
  /* Espaciado consistente entre elementos */
}

.zona-contenido::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(184, 115, 51, 0.1) 90deg,
      transparent 180deg,
      rgba(226, 114, 91, 0.1) 270deg,
      transparent 360deg);
  animation: fondoRotativo 20s linear infinite;
  opacity: 0.3;
}

@keyframes fondoRotativo {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.zona-titulo {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--dark-wood);
  font-weight: 700;
  margin-bottom: 0.5rem;
  /* Reducido el margen */
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  animation: tituloZoom 0.8s ease-out;
  line-height: 1.2;
  /* Mejor espaciado de líneas */
}

@keyframes tituloZoom {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.zona-descripcion {
  color: var(--rustic-brown);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  /* Mejor legibilidad */
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
  animation: descripcionDeslizar 1s ease-out 0.3s both;
  flex-grow: 0;
  /* No se expande automáticamente */
  text-align: justify;
  /* Justificado para mejor apariencia */
}

@keyframes descripcionDeslizar {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.caracteristicas-lista {
  list-style: none;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  /* Espaciado consistente */
  margin-top: auto;
  /* Empuja la lista hacia abajo */
}

.caracteristica-item {
  display: flex;
  align-items: center;
  color: var(--forest-green);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  animation: itemAparicion 0.6s ease-out both;
  padding: 0.3rem 0;
  /* Padding vertical para mejor separación */
}

.caracteristica-item:nth-child(1) {
  animation-delay: 0.1s;
}

.caracteristica-item:nth-child(2) {
  animation-delay: 0.2s;
}

.caracteristica-item:nth-child(3) {
  animation-delay: 0.3s;
}

.caracteristica-item:nth-child(4) {
  animation-delay: 0.4s;
}

.caracteristica-item:nth-child(5) {
  animation-delay: 0.5s;
}

.caracteristica-item:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes itemAparicion {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.caracteristica-item i {
  font-size: 1.2rem;
  margin-right: 0.8rem;
  color: var(--terracotta);
  animation: iconoPulso 2s ease-in-out infinite;
  flex-shrink: 0;
  /* Evita que el icono se encoja */
}

@keyframes iconoPulso {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* Efectos especiales para diferentes zonas */
.camping .zona-imagen::after {
  content: '🏕️';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  z-index: 4;
  animation: emojiBounce 2s ease-in-out infinite;
}

.senderos .zona-imagen::after {
  content: '🥾';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  z-index: 4;
  animation: emojiBounce 2s ease-in-out infinite 0.5s;
}

.picnic .zona-imagen::after {
  content: '🧺';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  z-index: 4;
  animation: emojiBounce 2s ease-in-out infinite 1s;
}

.lago .zona-imagen::after {
  content: '🏊‍♂️';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  z-index: 4;
  animation: emojiBounce 2s ease-in-out infinite 1.5s;
}

@keyframes emojiBounce {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-10px) rotate(5deg);
  }

  75% {
    transform: translateY(-5px) rotate(-5deg);
  }
}

/* Decoraciones flotantes */
.decoracion-flotante {
  position: absolute;
  color: var(--warm-sand);
  opacity: 0.2;
  font-size: 1.5rem;
  animation: decoracionFlotante 15s linear infinite;
  pointer-events: none;
}

.decoracion-flotante:nth-child(1) {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.decoracion-flotante:nth-child(2) {
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.decoracion-flotante:nth-child(3) {
  bottom: 20%;
  left: 15%;
  animation-delay: -10s;
}

@keyframes decoracionFlotante {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.2;
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 0.4;
  }

  100% {
    transform: translateY(0px) rotate(360deg);
    opacity: 0.2;
  }
}

/* RESPONSIVE MEJORADO */
@media (max-width: 768px) {
  .zona-imagen {
    height: 280px;
  }

  .zona-contenido {
    min-height: 320px;
    padding: 2rem 1.5rem;
  }

  .zona-container {
    margin-bottom: 4rem;
  }

  .overlay-icono {
    font-size: 3rem;
  }

  .zona-titulo {
    font-size: clamp(1.6rem, 4vw, 2rem);
  }

  .zona-descripcion {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  .zona-imagen {
    height: 250px;
  }

  .zona-contenido {
    min-height: 280px;
    padding: 1.5rem 1.2rem;
    gap: 0.8rem;
  }

  .zona-titulo {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    margin-bottom: 0.3rem;
  }

  .zona-descripcion {
    font-size: clamp(0.85rem, 3vw, 0.95rem);
    margin-bottom: 1rem;
  }

  .caracteristica-item {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
  }

  .caracteristica-item i {
    font-size: 1rem;
    margin-right: 0.6rem;
  }
}

/* Parallax scroll effect */
@media (min-width: 992px) {
  .zona-container:nth-child(even) .zona-imagen {
    animation: parallaxLeft 1s ease-out 0.5s both;
  }

  .zona-container:nth-child(odd) .zona-contenido {
    animation: parallaxRight 1s ease-out 0.7s both;
  }
}

@keyframes parallaxLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes parallaxRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}



/* Mejor alineación de elementos en pantallas grandes */
@media (min-width: 1200px) {
  .zona-contenido {
    padding: 3rem 2.5rem;
    min-height: 380px;
  }

  .zona-descripcion {
    font-size: 1.15rem;
    line-height: 1.8;
  }
}

/* Transición suave para cambios de altura */
.zona-contenido,
.caracteristicas-lista,
.zona-descripcion {
  transition: all 0.3s ease;
}

/* Evitar overflow de texto largo */
.zona-descripcion {
  word-wrap: break-word;
  hyphens: auto;
}

/* Mejor espaciado en listas largas */
.caracteristicas-lista:has(.caracteristica-item:nth-child(5)) {
  gap: 0.4rem;
}

.caracteristicas-lista:has(.caracteristica-item:nth-child(6)) {
  gap: 0.3rem;
}

:root {
  --desert-gold: #D4A574;
  --desert-orange: #E67E22;
  --night-blue: #2C3E50;
  --star-silver: #BDC3C7;
  --warm-beige: #F4E4C1;
  --deep-blue: #1A1A2E;
}

.campamento-estrella-demo-container {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--night-blue) 100%);
  font-family: 'Inter', sans-serif;
}

.campamento-estrella-btn-trigger {
  background: linear-gradient(45deg, var(--desert-gold), var(--desert-orange));
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.campamento-estrella-btn-trigger::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.campamento-estrella-btn-trigger:hover::before {
  left: 100%;
}

.campamento-estrella-btn-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 165, 116, 0.6);
  background: linear-gradient(45deg, var(--desert-orange), var(--desert-gold));
}

.campamento-estrella-modal-wrapper {
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.campamento-estrella-modal-header-section {
  background: linear-gradient(135deg, var(--night-blue) 0%, var(--deep-blue) 100%);
  color: white;
  border: none;
  padding: 30px;
  position: relative;
}

.campamento-estrella-modal-header-section::before {
  content: '✦ ✧ ✦';
  position: absolute;
  top: 15px;
  right: 30px;
  font-size: 12px;
  color: var(--desert-gold);
  animation: campamento-estrella-twinkle 2s infinite;
}

@keyframes twinkle {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.campamento-estrella-main-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(45deg, var(--desert-gold), var(--desert-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.campamento-estrella-location-subtitle {
  font-size: 1.1rem;
  color: var(--star-silver);
  margin-top: 8px;
  font-weight: 300;
}

.campamento-estrella-modal-content-area {
  padding: 40px;
  background: white;
}

.campamento-estrella-info-section {
  margin-bottom: 35px;
  position: relative;
}

.campamento-estrella-section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--night-blue);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.campamento-estrella-section-heading::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, var(--desert-gold), var(--desert-orange));
  border-radius: 2px;
}

.campamento-estrella-section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
  margin-top: 20px;
}

.campamento-estrella-intro-highlight {
  background: linear-gradient(135deg, var(--warm-beige) 0%, #faf5f0 100%);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  border-left: 5px solid var(--desert-gold);
  position: relative;
}

.campamento-estrella-intro-highlight::before {
  content: '🌟';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  animation: campamento-estrella-float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.campamento-estrella-feature-card {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.campamento-estrella-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.campamento-estrella-icon-theme {
  color: var(--desert-orange);
  font-size: 1.3rem;
  margin-right: 10px;
}

.campamento-estrella-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.campamento-estrella-close-btn:hover {
  opacity: 1;
  color: var(--desert-gold);
}

.campamento-estrella-modal-footer-section {
  border: none;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.campamento-estrella-reservation-btn {
  background: linear-gradient(45deg, var(--desert-gold), var(--desert-orange));
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
}

.campamento-estrella-reservation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.6);
  color: white;
}

.campamento-estrella-celestial-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.campamento-estrella-animated-star {
  position: absolute;
  color: var(--desert-gold);
  animation: campamento-estrella-sparkle 4s infinite;
}

.campamento-estrella-animated-star:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.campamento-estrella-animated-star:nth-child(2) {
  top: 60%;
  left: 85%;
  animation-delay: 1s;
}

.campamento-estrella-animated-star:nth-child(3) {
  top: 80%;
  left: 20%;
  animation-delay: 2s;
}

@keyframes sparkle {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@media (max-width: 768px) {
  .campamento-estrella-main-title {
    font-size: 1.8rem;
  }

  .campamento-estrella-modal-content-area {
    padding: 25px;
  }

  .campamento-estrella-intro-highlight {
    padding: 20px;
  }
}

/* Estilos para las miniaturas móviles con animaciones mejoradas */
.thumbnails-mobile-container {
  padding: 0 15px;
}

.thumb-mobile-wrapper {
  width: 80px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  background-color: transparent;
  padding: 0;
}

.thumb-mobile-wrapper::before {
  display: none;
}

.thumb-mobile-wrapper:hover::before {
  display: none;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.thumb-mobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 13px;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.thumb-mobile-wrapper:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background-color: transparent;
}

.thumb-mobile-wrapper:active {
  transform: scale(1.02) translateY(0px);
  transition: all 0.1s ease;
}

.thumb-mobile-wrapper.active-thumb {
  background-color: transparent;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

@keyframes pulse-border {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  }

  50% {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  }
}

.thumb-mobile-wrapper::after {
  display: none;
}

.thumb-mobile-wrapper.wave-effect::after {
  display: none;
}

.thumbnails-mobile-container .overflow-auto {
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.thumbnails-mobile-container .overflow-auto::-webkit-scrollbar {
  display: none;
}

.thumbnails-mobile-container .flex>*+* {
  margin-left: 20px;
}

.carousel-item video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 12px;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.thumb-mobile,
.thumb {
  pointer-events: auto;
  touch-action: manipulation;
}

@media (max-width: 576px) {
  .thumb-mobile-wrapper {
    width: 65px;
    height: 75px;
    border-radius: 10px;
  }

  .thumb-mobile {
    border-radius: 8px;
  }

  .custom-height {
    height: 280px;
  }

  .thumbnails-mobile-container {
    padding: 0 8px;
  }

  .thumbnails-mobile-container .flex>*+* {
    margin-left: 15px;
  }
}

@media (min-width: 577px) and (max-width: 991px) {
  .thumb-mobile-wrapper {
    width: 75px;
    height: 85px;
  }
}

@media (min-width: 992px) {
  .thumb {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: transparent;
    padding: 0;
  }

  .thumb::before {
    display: none;
  }

  .thumb:hover {
    transform: scale(1.08) translateY(-4px);
    background-color: transparent;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
  }

  .thumb:hover::before {
    display: none;
  }

  .thumb.active-thumb {
    background-color: transparent;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  }

  @keyframes pulse-border-desktop {

    0%,
    100% {
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
    }

    50% {
      box-shadow: 0 0 35px rgba(0, 0, 0, 0.4);
    }
  }

  .thumb::after {
    display: none;
  }

  .thumb.wave-effect::after {
    display: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thumb-mobile-wrapper,
.thumb {
  animation: fadeInUp 0.6s ease forwards;
}

.thumb-mobile-wrapper:nth-child(1) {
  animation-delay: 0.1s;
}

.thumb-mobile-wrapper:nth-child(2) {
  animation-delay: 0.2s;
}

.thumb-mobile-wrapper:nth-child(3) {
  animation-delay: 0.3s;
}

.thumb-mobile-wrapper:nth-child(4) {
  animation-delay: 0.4s;
}

.thumb-mobile-wrapper:nth-child(5) {
  animation-delay: 0.5s;
}

.thumb-mobile-wrapper:focus,
.thumb:focus {
  outline: none;
}

@media (prefers-color-scheme: dark) {

  .thumb-mobile-wrapper,
  .thumb {
    background: transparent;
  }

  .thumb-mobile-wrapper:hover,
  .thumb:hover {
    background: transparent;
  }
}

.badge-mas-visitada {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #2c1810;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
  z-index: 10;
  animation: badge-glow 2s ease-in-out infinite alternate;
}

@keyframes badge-glow {
  from {
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
  }

  to {
    box-shadow: 0 2px 15px rgba(255, 215, 0, 0.7);
  }
}

.jupiter-footer {
  background: linear-gradient(135deg, #d8cfc4, #e3a76f, #a65c38, #c97d4f, #f0e7dd, #8c4a2f, #d58b62);
  padding: 12px 0;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.2);
}

.jupiter-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: black;
}

.jupiter-text {
  font-family: 'FuenteSecundaria', sans-serif;
  font-size: 0.9rem;
  font-weight: 100;
  color: black;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  animation: jupiter-glow 3s ease-in-out infinite alternate;
  margin: 0;
}

.jupiter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

@keyframes jupiter-glow {
  from {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 5px rgba(255, 255, 255, 0.3);
  }

  to {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 255, 255, 0.6);
  }
}


/* Responsive */
@media (max-width: 768px) {
  .jupiter-text {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }

  .jupiter-footer {
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .jupiter-text {
    font-size: 0.7rem;
    letter-spacing: 0.3px;
  }

  .jupiter-container {
    padding: 0 10px;
  }
}

@keyframes jupiter-glow {
  from {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 5px rgba(255, 215, 0, 0.3);
  }

  to {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 215, 0, 0.5);
  }
}

.maloka-footer {
  background: linear-gradient(120deg, var(--light-golden), #FAD59A);
  padding: 12px 0;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.2);
}

.maloka-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: black;
}

.maloka-text {
  font-family: 'FuenteSecundaria', sans-serif;
  font-size: 0.9rem;
  font-weight: 100;
  color: black;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  animation: jupiter-glow 3s ease-in-out infinite alternate;
  margin: 0;
}

.maloka-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

@keyframes maloka-glow {
  from {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 5px rgba(255, 255, 255, 0.3);
  }

  to {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 255, 255, 0.6);
  }
}


/* Responsive */
@media (max-width: 768px) {
  .maloka-text {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }

  .maloka-footer {
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .maloka-text {
    font-size: 0.7rem;
    letter-spacing: 0.3px;
  }

  .maloka-container {
    padding: 0 10px;
  }
}

@keyframes maloka-glow {
  from {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 5px rgba(255, 215, 0, 0.3);
  }

  to {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 215, 0, 0.5);
  }
}

.marte-footer {
  background: linear-gradient(135deg, #0a0b1e, #3b0f1c, #7a1e30, #b1222a);
  padding: 12px 0;
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.2);
}

.marte-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: black;
}

.marte-text {
  font-family: 'FuenteSecundaria', sans-serif;
  font-size: 0.9rem;
  font-weight: 100;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  animation: jupiter-glow 3s ease-in-out infinite alternate;
  margin: 0;
}

.marte-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

@keyframes marte-glow {
  from {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 5px rgba(255, 255, 255, 0.3);
  }

  to {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 255, 255, 0.6);
  }
}


/* Responsive */
@media (max-width: 768px) {
  .marte-text {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }

  .marte-footer {
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .marte-text {
    font-size: 0.7rem;
    letter-spacing: 0.3px;
  }

  .marte-container {
    padding: 0 10px;
  }
}

@keyframes marte-glow {
  from {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 5px rgba(255, 215, 0, 0.3);
  }

  to {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 8px rgba(255, 215, 0, 0.5);
  }
}