/* ===========================
   RESET
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f4f4f4;
}

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

/* Contenedor de nav con curva */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 220px;
  height: 60px;
  background: rgba(0, 87, 100, 0.8);
  border-bottom-left-radius: 1% 10px;
  border-bottom-right-radius: 1% 10px;
}

/* Menú */
.nav-left,
.nav-right {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: rgb(249, 148, 53);
  transition: width 0.3s ease;
}

/* Hover: subrayado + color + zoom */
.nav-left a:hover,
.nav-right a:hover {
  color: rgb(249, 148, 53);
  transform: scale(1.1);
}


.nav a:hover::after {
  width: 100%;
}

/* Logo centrado circular */
.logo-center {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -50%);
  background: rgb(0, 87, 100);
  border-radius: 50%;
  width: 107px;
  height: 109px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}

.logo-center img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 200ms ease;
  /* animación suave */
}

/* hover SOLO en desktop */
@media (hover: hover) and (pointer: fine) {
  .logo-center:hover img {
    transform: scale(1.06);
  }
}

/* ===========================
   LOGO HORIZONTAL (opcional)
=========================== */
.LogoHorizontal {
  text-align: center;
  padding: 20px 0;
}

.LogoHorizontal img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  height: 140vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Hero slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slider img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 10s ease-in-out;
}

.hero-slider img.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
}

/* En móviles aplica desenfoque al slider */
@media (max-width: 768px) {
  .hero-slider img {
    filter: blur(3px);
    /* ajusta el valor según lo que quieras */
    transform: translate(-50%, -50%) scale(1.1);
    /* leve zoom para que no se vean bordes negros del blur */
  }

  .hero-slider img.active {
    filter: blur(3px);
    transform: translate(-50%, -50%) scale(1.3);
  }
}

/* Animación para que el logo aparezca suavemente desde arriba */
@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-50px);
    /* empieza 50px arriba */
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    /* termina en su posición */
  }
}

.hero-logo {
  max-width: 800px;
  width: 70%;
  height: auto;
  margin-bottom: 20px;
  z-index: 2;
  position: relative;

  /* Empieza invisible */
  opacity: 0;

  /* animación */
  animation: slideDownFade 1s ease-out forwards;
  animation-delay: 0.1s;
}


.hero .overlay {
  background: rgba(0, 87, 100, 0.5);
  padding: 40px;
  border-radius: 12px;
  color: #fff;
  z-index: 2;
  position: relative;
  width: 100%;
  /* ocupa todo el contenedor padre */
  max-width: 1200px;
  /* límite máximo */
  margin: 0 auto;
  /* centrado */
}

/* Texto adaptativo con animación */
.overlay h1 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
  text-align: center;
}

/* =========================== BOTONES =========================== */
/* Contenedor de botón con imagen (solo 1 imagen por botón) */
.image-button {
  position: relative;
  display: block;
  width: 200px;
  /* ajusta según tu diseño */
  height: 60px;
  /* ajusta según tu diseño */
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  background-image: url('assets/img/boton1-normal.webp');
  /* imagen normal */
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease, border 0.3s ease, background-image 0.3s ease;
}

/* Hover: cambia imagen y zoom + borde */
.image-button:hover {
  background-image: url('assets/img/boton1-hover.webp');
  /* imagen hover */
  transform: scale(1.05);
  border: 3px solid rgb(249, 148, 53);
}

/* Destello animado con pseudo-elemento */
.image-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(25deg) translateX(-150%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

/* Animación del destello al hover */
.image-button:hover::after {
  transform: rotate(25deg) translateX(150%);
}

/* Botón adicional tipo “más info” */
.hero-button-more {
  display: inline-block;
  padding: 12px 30px;
  background-color: rgba(0, 87, 100);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  text-align: center;
  margin-top: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-button-more:hover {
  background-color: rgb(249, 148, 53);
  transform: scale(1.05);
}


/* REVIEWS ========================================================================================  */
.reviews-strip {
  background: #fff;
  border-radius: 40px;
  padding: 20px 30px;
  max-width: 1200px;
  margin: 30px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 180px;
  /* flexible: asegura altura mínima pero deja crecer */
}

.review-item {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.4s ease-in-out;
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
}

.review-item.active {
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.review-item.exit {
  left: -100%;
  opacity: 0;
}

.review-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.review-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.review-text {
  color: #014f57;
  font-size: 1rem;
  text-decoration: underline;
  line-height: 1.4;
  max-width: 90%;
  word-wrap: break-word;
  /* para que no se corte en pantallas chicas */
}

.review-stars svg {
  width: 20px;
  height: 20px;
}


/* 📱 Responsive tablets */
@media (max-width: 1150px) and (min-width: 769px) {
  .reviews-strip {
    padding: 15px;
    border-radius: 20px;
    min-height: 200px;
    /* un poquito más alto para texto */
    max-width: 500px;
  }

  .review-item {
    padding: 5px;
    gap: 6px;
  }

  .review-avatar {
    width: 50px;
    height: 50px;
  }

  .review-text {
    font-size: 0.85rem;
    max-width: 90%;
  }

  .review-stars svg {
    width: 16px;
    height: 16px;
  }
}

/* 📱 Responsive móviles */
@media (max-width: 480px) {
  .reviews-strip {
    padding: 15px;
    border-radius: 20px;
    min-height: 200px;
    /* un poquito más alto para texto */
    max-width: 300px;
  }

  .review-item {
    padding: 5px;
    gap: 6px;
  }

  .review-avatar {
    width: 50px;
    height: 50px;
  }

  .review-text {
    font-size: 0.85rem;
    max-width: 90%;
  }

  .review-stars svg {
    width: 16px;
    height: 16px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Corrección para móviles en landscape */
@media screen and (orientation: landscape) and (max-width: 844px) {
  .hero {
    height: 100vh;
    /* que ocupe solo la altura visible */
    padding: 20px 0;
    /* espacio interno en vez de forzar altura */
  }

  .hero-logo {
    width: 60%;
    /* un poco más pequeño si hace falta */
    max-width: 500px;
  }

  .hero .overlay {
    padding: 20px;
  }

  .reviews-strip {
    max-width: 90%;
    /* que se ajuste al ancho disponible */
  }

  /* HERO: usa min-height en vez de height fija */
  .hero {
    position: relative;
    min-height: 100vh;   /* ocupa al menos la altura de la ventana */
    width: 100vw;        /* fuerza a ocupar todo el ancho */
    height: auto;        /* crece si el contenido es mayor */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .hero-slider {
    position: absolute;
    inset: 0;           /* top/right/bottom/left = 0 */
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  .hero-slider img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);  /* centra la imagen */
    object-fit: cover;                 /* recorta sin deformar */
    object-position: center center;    /* asegura el recorte centrado */
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 10s ease-in-out;
  }
  
  .hero-slider img.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1); /* pequeño zoom animado */
  }
  

}

/* ===========================
   VIDEO SECTIONS
=========================== */
.video-section {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../img/backgrounds/icons.webp");
  background-position: center;
  background-repeat: repeat;
  background-size: 400px auto;
  /* ancho x alto de cada tile */
  position: relative;
  /* importante para que el ::before se posicione relativo a esta sección */
}

/* Franja superior */
.video-section::before {
  content: "";
  position: absolute;
  top: 0;
  /* al inicio de la sección */
  left: 0;
  width: 100%;
  /* ancho completo */
  height: 10px;
  /* grosor de la franja */
  background-color: rgba(0, 87, 100);
  /* color de la franja */
}


/* NUEVO: contenedor blanco */
.video-box {
  background-color: white;
  /* fondo blanco */
  border-radius: 20px;
  /* bordes redondeados */
  padding: 40px;
  /* espacio interno */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  /* sombra suave opcional */
  display: flex;
  /* mantiene flex para video y texto */
  gap: 40px;
  /* separación entre video y texto */
  max-width: 1200px;
  width: 100%;
}

.video-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

/* Segundo video al revés en escritorio */
.video-section.reverse .video-container {
  flex-direction: row-reverse;
}

.hero-video {
  width: 60%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  accent-color: rgb(249, 148, 53);
}

/* VIDEO 2  ENTREVISTA*/
.video-text {
  width: 40%;
}

.video-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.video-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background: rgba(0, 87, 100);
  border-radius: 2px;
}

.video-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ======= Video 2 texto base ======= */
.video2-text .video2-paragraph {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* El resumen se oculta por defecto */
.video2-text .video2-summary {
  display: none;
}

/* ===========================
   VIDEOS RESPONSIVE
=========================== */
@media (max-width: 1150px) {

  .video-container {
    flex-direction: column !important;
    text-align: center;
  }

  .hero-video,
  .video-text {
    width: 100%;
  }

  .video-text {
    margin-bottom: 20px;
    text-align: center;
  }

  .video-text h2 {
    font-size: 1.5rem;
  }

  /* Texto completo se oculta en móvil */
  .video2-text .video2-paragraph {
    display: none;
  }

  /* Mostrar resumen en móvil */
  .video2-text .video2-summary {
    display: block;
    font-size: 0.8rem;
    line-height: 1.4;
  }
}



/* ===========================
   SECCIÓN THINGS TO DO
=========================== */
.things-section {
  position: relative;
  color: #fff;
  padding: 100px 465px;
  text-align: center;
  overflow: hidden;
}

/* Franja superior */
.things-section::before {
  content: "";
  display: block;
  width: 100%;
  height: 10px;
  /* grosor de la franja */
  background-color: rgba(0, 87, 100);
  /* color de la franja */
  position: absolute;
  top: 0;
  /* línea arriba */
  left: 0;
}

/* Video de fondo */
/* Imagen oculta por defecto */
.background-image-things {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Video ocupa todo */
.background-video-things {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Por defecto la imagen no se muestra */
.mobile-only {
  display: none;
}

/* En pantallas pequeñas: ocultar video y mostrar imagen */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

/* Overlay encima del video */
.things-section .overlay {
  background: rgba(0, 87, 100, 0.5);
  padding: 40px;
  border-radius: 30px;
  color: #fff;
  z-index: 2;
  position: relative;
}

.things-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  /* necesario para que ::after se posicione respecto a este h2 */
  display: inline-block;
}

/* Subrayado decorativo */
.things-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  /* distancia desde el texto */
  width: 100%;
  /* ancho igual al h2 */
  height: 4px;
  /* grosor de la barra */
  background: rgba(0, 87, 100);
  /* color de la barra */
  border-radius: 2px;
  /* bordes redondeados opcional */
}

.things-content p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Contenedor de botones */
.things-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* =========================== BOTONES CUADRADOS NUEVOS =========================== */
.square-button {
  position: relative;
  display: inline-block;
  width: 300px;
  /* ajusta al tamaño del botón circular */
  height: auto;
  border-radius: 50%;
  /* circular */
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Imagen normal */
.square-button .img-normal {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Imagen hover */
.square-button .img-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  /* empieza invisible y colapsada al centro */
  transition: opacity 0.5s ease, transform 0.5s ease;
  border-radius: 50%;
}

/* Hover */
.square-button:hover {
  transform: scale(1.05);
  /* zoom del botón */
}

.square-button:hover .img-normal {
  opacity: 0;
  transform: scale(0.8);
  /* se reduce un poco para efecto de desaparición */
}

.square-button .img-hover {
  transform: translate(-50%, -50%) scale(0) rotate(-10deg);
}

.square-button:hover .img-hover {
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.square-button:hover .img-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
  animation: bounceIn 0.5s forwards;
}

@keyframes bounceIn {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }

  60% {
    transform: translate(-50%, -50%) scale(1.1);
  }

  80% {
    transform: translate(-50%, -50%) scale(0.95);
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* =========================== Promo ========================== */
.promo {
  position: relative;
  padding: 50px 0;
  /* elimina padding lateral */
  text-align: center;
  overflow: hidden;
  height: 800px;
  /* altura del slider */
  max-width: 100%;
  /* ocupa todo el ancho disponible */
}

/* Franja superior */
.promo-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  /* grosor */
  background-color: rgba(0, 87, 100, 1);
  /* color sólido */
  z-index: 5;
}


/* Video de fondo */
/* Imagen oculta por defecto */
.background-image-promo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Video ocupa todo */
.background-video-promo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Por defecto la imagen no se muestra */
.mobile-only {
  display: none;
}

/* En pantallas pequeñas: ocultar video y mostrar imagen */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

/* Overlay sobre video */
.promo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* opacidad para resaltar botones */
  z-index: 1;
  border-radius: 20px;
}

.promo {
  position: relative;
  padding: 50px 0;
  /* elimina padding lateral */
  text-align: center;
  overflow: hidden;
  height: 800px;
  /* altura del slider */
  max-width: 100%;
  /* ocupa todo el ancho disponible */
}

/* Slider */
.promo-slider {
  position: relative;
  width: 100%;
  /* ancho completo */
  max-width: 1400px;
  /* opcional: para limitar a pantalla grande */
  margin: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Cada slide */
.promo-slide {
  position: absolute;
  width: 86%;
  height: auto;
  /* mantiene proporción */
  opacity: 0;
  transition: opacity 1s ease;
  border-radius: 20px;
  overflow: hidden;
}

/* Slide activo */
.promo-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Imagen dentro del slide */
.promo-slide img {
  width: 100%;
  /* ocupa todo el ancho del contenedor */
  height: auto;
  /* mantiene proporción */
  object-fit: contain;
  display: block;
  border-radius: 20px;
  margin: 0 auto;
}

/* Botones */
.promo-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgb(249, 148, 53);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(249, 148, 53, 0.7);
  transition: all 0.8s ease;
  z-index: 3;
  /* encima de todo */
  width: 40%;
  height: auto;
  /* mantiene proporción */
}

.promo-button.right {
  right: 45%;
}

.promo-button.left {
  left: 43%;
}

/* Opcional: efecto hover en botones */
.promo-button:hover {
  background: rgb(224, 120, 0);
  box-shadow: 0 0 20px rgba(255, 170, 70, 0.8);
}

/* ==========================================================================================================
   FOOTER
============================================================================================================= */
.footer {
  background: rgb(0, 87, 100);
  color: #fff;
  text-align: center;
  padding: 20px;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: rgb(249, 148, 53);
  transform: scale(1.1);
}

.scroll-up-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* ocupa todo el ancho de la sección */
  padding: 18px 0;
  background: linear-gradient(90deg, #005764, #007c85);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.scroll-up-btn .arrow {
  margin-right: 10px;
  font-size: 1.8rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.scroll-up-btn:hover {
  background: linear-gradient(90deg, #d16b0b, #f99435);
  transform: translateY(-3px);
}

.scroll-up-btn:hover .arrow {
  transform: translateY(-5px);
}

/* ===========================
   MENÚ MÓVIL
=========================== */
.mobile-menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 87, 100, 0.8);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  transition: top 0.5s ease-in-out;
  z-index: 2000;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu ul li {
  margin: 15px 0;
}

.mobile-menu ul li a {
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.mobile-menu ul li a:hover {
  color: rgb(249, 148, 53);
}

.mobile-menu .close-menu {
  margin-top: 20px;
  padding: 10px 20px;
  background: #fff;
  color: rgb(0, 87, 100);
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.mobile-menu .close-menu:hover {
  background: rgb(249, 148, 53);
  color: #fff;
}

/* Estado abierto */
.mobile-menu.open {
  top: 0;
}

/* Ocultar menús de escritorio en móvil */
@media (max-width: 1150px) {

  /* Oculta menús laterales y centra el contenedor */
  .desktop-menu {
    display: none;
  }

  .nav {
    padding: 8px 16px;
    /* evita el padding 0 220px en mobile */
    height: auto;
    justify-content: center;
    /* MUY importante para centrar el único hijo */
  }

  .logo-center {
    position: relative;
    /* resetea el absolute */
    top: auto;
    left: auto;
    transform: none;
    /* sin translate en mobile */
    margin: 8px auto;
    /* centrado en el flujo */
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    aspect-ratio: 1 / 1;
    /* círculo perfecto (no óvalo) */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    /* mejora respuesta al tap */
    -webkit-tap-highlight-color: transparent;
  }

  .logo-center img {
    width: 70px;
    height: 70px;
    transition: transform 160ms ease;
  }

  /* feedback visual en tap (sin hover en touch) */
  .mobile-menu-btn:active img,
  .mobile-menu-btn.pressed img {
    transform: scale(0.94);
  }
}

/* ===========================
   TABLET (769px - 1150px)
   Botones verticales con espacio
=========================== */
@media (max-width: 1150px) and (min-width: 769px) {

  .hero-logo {
    max-width: 60%;
    height: auto;
    margin: 150px auto 40px;
    /* espacio natural arriba y abajo */
    display: block;
    z-index: 2;
    position: relative;
  }
}

/* ===========================
   MOBILE (<768px)
   Botones verticales más grandes con espacio
=========================== */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 90vh;
    padding-top: 80px;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
  }

  .hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: visible;
  }

  .hero-logo {
    max-width: 80%;
    margin: 100px auto 30px;
    display: block;
    z-index: 2;
    position: relative;
  }

  .hero .overlay {
    margin-top: 20px;
    padding: 20px;
  }

  /* Texto adaptable */
  .hero .overlay h1,
  .hero .overlay h2 {
    font-size: clamp(1.2rem, 6vw, 2rem);
    line-height: 1.2;
  }

  .hero .overlay p {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    line-height: 1.4;
  }


  /* La hover ocupa todo el ancho y mantiene proporción */
  .image-button .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* llena todo el contenedor sin deformarse */
    border-radius: 16px;
    display: block;
    opacity: 1 !important;
  }

}

/* Keyframes para alternar imágenes */
@keyframes imageCycle {

  0%,
  45% {
    opacity: 1;
  }

  50%,
  95% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Ajuste responsivo para el widget Hospitable */
@media (max-width: 768px) {
  .search-widget hospitable-direct-mps {
    transform: scale(0.9);
    transform-origin: top left;
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 480px) {
  .search-widget hospitable-direct-mps {
    transform: scale(0.8);
  }
}

/* ===========================
   VIDEOS RESPONSIVE
=========================== */
@media (max-width: 1150px) {
  .video-container {
    flex-direction: column !important;
    /* todos en columna, incluso los reverse */
    text-align: center;

  }

  .hero-video,
  .video-text {
    width: 100%;
  }

  .video-text {
    margin-bottom: 20px;
    /* espacio entre texto y video */
    text-align: center;
  }

  /* Ajuste de texto en móvil */
  .video-text h2 {
    font-size: 1.5rem;
    /* antes era 2rem, más pequeño en móvil */
  }

  .video-text p {
    font-size: 0.8rem;
    /* antes 1.1rem, más pequeño */
  }


  /* Orden específico en móvil */
  .video-container .video-text {
    order: 1;
    /* siempre arriba */
  }

  .video-container .hero-video {
    order: 2;
    /* siempre abajo */
  }
}

/* ===========================
   SECCIÓN THINGS TO DO RESPONSIVE
=========================== */
/* Base: escritorio y tablet grande */
.things-section {
  position: relative;
  text-align: center;
  padding: 100px 20px;
}

.things-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  /* full width siempre */
  height: 10px;
  background-color: rgba(0, 87, 100);
  z-index: 2;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  /* full width siempre */
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.things-section .overlay {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 30px;
  background: rgba(0, 87, 100, 0.5);
  color: #fff;
  z-index: 3;
}


.things-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.things-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.things-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
  /* no apilar por defecto */
}

.square-button {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  cursor: pointer;
}

/* Tablet 769px - 1150px */
@media (max-width: 1150px) and (min-width: 769px) {
  .things-buttons {
    gap: 15px;
    flex-wrap: wrap;
    /* permiten bajar si no caben */
  }

  .square-button {
    width: 220px;
    height: auto;
  }

  .things-content h2 {
    font-size: 1.5rem;
  }

  .things-content p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* Móvil <769px */
@media (max-width: 768px) {
  .things-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }

  .things-buttons .square-button:nth-child(3) {
    grid-column: 1 / span 2;
  }

  .square-button {
    width: 150px;
    height: 150px;
  }

  .things-content h2,
  .things-content p {
    font-size: 1rem;
  }

  /* Mostrar la imagen hover por defecto en móvil */
  .square-button .img-normal {
    opacity: 0 !important;
    transform: scale(0.8);
    /* opcional: mantener efecto de escala */
  }

  .square-button .img-hover {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1);
    /* asegura que esté centrada y a tamaño normal */
  }
}

/* Pantallas chicas en general (PC reducida, navegadores de prueba, etc.) */
@media (max-width: 767px) {
  .promo {
    padding: 200px 0;
    /* menos padding que en desktop */
    height: auto;
  }

  .promo-slide {
    width: 90%;
  }

  .promo-button {
    width: auto;
    padding: 12px 22px;
    font-size: 15px;
  }

  .promo-button.left {
    left: 45%;
  }

  .promo-button.right {
    right: 45%;
  }
}

/* SOLO móviles táctiles reales */
@media (max-width: 767px) and (pointer: coarse) {
  .promo {
    padding: 200px 0;
    /* todavía menos padding */
  }

  .promo-button {
    padding: 8px 18px;
    font-size: 13px;
  }

  .promo-button.left {
    left: 40%;
  }

  .promo-button.right {
    right: 40%;
  }
}

/* =================================== ABOUT ======================================*/
.about-section {
  padding: 60px 20px;
  background-color: #f0f4f4;
  /* fondo propio */
  background-image: url("../img/backgrounds/icons.webp");
  /* si quieres repetir un pattern */
  background-position: center;
  background-repeat: repeat;
  background-size: 400px auto;
}

/* Animación para que la sección aparezca desde arriba */
@keyframes slideDownFadeSection {
  0% {
    opacity: 0;
    transform: translateY(-50px);
    /* empieza 50px arriba */
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    /* termina en su posición */
  }
}

/* Aplicamos la animación a la caja blanca */
.about-box {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);

  /* Animación */
  opacity: 0;
  /* empieza invisible */
  animation: slideDownFadeSection 1s ease-out forwards;
  animation-delay: 0.1s;
  /* puedes ajustar el retraso */
}

/* CONTENEDOR PRINCIPAL */
.about-row {
  display: flex;
  flex-direction: column;
  /* columna en lugar de fila */
  align-items: center;
  text-align: center;
  /* centra el texto */
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  /* centrar en la página */
  padding: 40px 20px;
}

/* IMAGEN */
.about-image-box {
  width: 100%;
  max-width: 900px;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* TEXTO */
.about-text {
  max-width: 800px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin: 20px 0 10px;
  color: #005764;
  position: relative;
  display: inline-block;
}

.about-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background-color: #005764;
  border-radius: 2px;
}

.about-text p {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-top: 10px;
}

/* Mostrar/ocultar según dispositivo */
.desktop-text {
  display: block;
}

.mobile-text {
  display: none;
}


/* CONTENEDOR DEL VIDEO */
.video-about {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* asegura que ocupe todo el ancho disponible */
  margin: 40px auto;
  text-align: center;
  /* por si acaso */
}

/* VIDEO VERTICAL */
.about-video {
  display: block;
  margin: 0 auto;
  /* centra el bloque */
  max-width: 650px;
  /* control de tamaño */
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ========================== RESPONSIVE ABOUT ============================================= */

@media (max-width: 1150px) {
  .about-text p {
    font-size: 1rem;
    width: auto;
    margin-top: 2px;
  }

  .about-box h2 {
    font-size: 2rem;
    line-height: 2rem;
  }

  .about-image-box {
    width: 100%;
    max-width: 900px;
  }

  .about-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
  }

  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: block;
  }

  .about-text .mobile-text {
    line-height: 1.2;
    /* interlineado compacto */
    font-size: 0.9rem;
    /* opcional */
    width: 100%;
  }

}

/* Móvil <769px */
@media (max-width: 768px) and (max-width: 650px) {
  .about-text p {
    font-size: 0.8rem;
    width: 325px;
    margin-top: 2px;
  }

  .about-box h2 {
    font-size: 2rem;
    line-height: 2rem;
  }

  .about-image-box {
    width: 100%;
    max-width: 900px;
  }

  .about-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
  }

}


/* ===================================== RENTALS =========================================== */
.rentals-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 20px;
}

/* Video de fondo */
/* Imagen oculta por defecto */
.background-image-rentals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Video ocupa todo */
.background-video-rentals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Por defecto la imagen no se muestra */
.mobile-only {
  display: none;
}

/* En pantallas pequeñas: ocultar video y mostrar imagen */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}


/* CONTENEDOR PRINCIPAL CON GLASSMORPHISM */
.rentals-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0 auto;

  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ================= OVERLAY ================= */
.overlay {
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 40px 20px;
  border-radius: 20px;
  animation: fadeInDown 1s ease-out;
}

.rentals-section .overlay h1 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
  text-align: center;
}

.rentals-section .overlay p {
  font-size: clamp(1rem, 4vw, 1.2rem);
  line-height: 1.4;
  margin-bottom: 30px;
  text-align: center;
}

/* ================= ANIMACIONES ================= */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= BOTONES RENTALS ================= */
.rentals-button-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-direction: row;
  margin: 40px 0;
}

.rental-button {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: block;
  transition: transform 0.3s ease, border 0.3s ease;
  border: 3px solid transparent;
}

.rental-button .img-normal,
.rental-button .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, filter 0.3s ease;
  border-radius: 16px;
}

.rental-button .img-hover {
  opacity: 0;
}

.rental-button:hover .img-normal {
  opacity: 0;
}

.rental-button:hover .img-hover {
  opacity: 1;
}

.rental-button:hover {
  transform: scale(1.05);
  border: 3px solid rgb(249, 148, 53);
}

/* Destello */
.rental-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(25deg);
  transition: all 0.7s ease;
  pointer-events: none;
}

.rental-button:hover::after {
  left: 125%;
}


/* ================= MAPAS ================= */
.maps-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.map-box {
  position: relative;
  z-index: 2;
  flex: 1 1 500px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  opacity: 0;
  animation: slideDownFade 1s ease-out forwards;
}

.map-box:nth-child(1),
.map-box:nth-child(2),
.map-box:nth-child(3) {
  animation-delay: 0.3s;
}

.map-box iframe {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  border: none;
}

@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= CARRUSEL ================= */
.carousel-row {
  width: 100%;
}

.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  /* mantiene formato panorámico */
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.carousel-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 87, 100, 0.7);
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 6px;
  z-index: 10;
  font-size: 1.5rem;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background-color: rgba(249, 148, 53, 0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}


/* ================= RESPONSIVE ================= */
/* Tablet */
@media (max-width: 1150px) {
  .rentals-button-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    /* <--- Esto centra los botones */
  }

  .rental-button {
    width: 480px;
    height: 260px;
  }

  .rental-button .img-normal {
    display: none;
  }

  .rental-button .img-hover {
    opacity: 1 !important;
  }

  .rentals-section .overlay h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .rentals-section .overlay p {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
  }

  .maps-row {
    flex-direction: column;
    align-items: center;
  }

  .map-box {
    flex: 1 1 auto;
    /* quita el límite del flex */
    max-width: 100%;
    /* ahora puede ocupar todo el ancho */
    width: 480px;
    /* fuerza a usar todo el ancho del contenedor */
  }

  .map-box iframe {
    width: 100%;
    height: 350px;
  }

  .carousel-container {
    max-width: 480px;
    /* 🔹 límite de ancho */
    width: 100%;
    /* 🔹 se adapta al espacio disponible */
    margin: 0 auto;
    /* 🔹 centra el carrusel */
    aspect-ratio: 16/9;
    /* mantiene proporción */
  }

  .carousel-btn {
    display: none;
    /* 🔹 oculta los botones en este breakpoint */
  }

  .carousel-slides img {
    object-fit: contain;
    /* 🔹 evita cortes en pantallas chicas */
    border-radius: 5px;
    /* 🔹 bordes suaves */
  }

}


/* Mobile */
@media (max-width: 450px) {
  .rentals-button-container {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .rental-button .img-normal {
    display: none !important;
  }

  .rental-button .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1 !important;
  }

  .rentals-section .overlay h1 {
    font-size: clamp(0.8rem, 6vw, 1rem);
    margin-bottom: 15px;
  }

  .rentals-section .overlay p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .rental-button {
    width: 100%;
    height: 160px;
  }

  .carousel-btn {
    display: none;
    /* 🔹 oculta los botones en móvil */
  }

  .carousel-container {
    aspect-ratio: auto;
    /* quita la proporción fija */
    height: auto;
  }

  .carousel-slides img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* evita recortes */
    border-radius: 12px;
    /* bordes más suaves en pantallas chicas */
  }

}

@media (max-width: 768px) {
  .rental-button {
    width: 300px;
    height: 160px;
  }

  .rentals-section .overlay h1 {
    font-size: clamp(0.8rem, 6vw, 1rem);
    margin-bottom: 15px;
  }
}

/*========================================== SONORAN SECTION ==========================================*/

/* ===== ANIMACIÓN PARA SECCIONES ===== */
@keyframes slideDownFadeSection {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECCIÓN PRINCIPAL ===== */
.sonoran-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 20px;
  overflow: visible;
}



/* ===== CONTENEDOR PRINCIPAL CON GLASSMORPHISM ===== */
.sonoran-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(1, 154, 162, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: slideDownFadeSection 1s ease-out forwards;
  animation-delay: 0.1s;
}

/* ===== IMAGEN PRINCIPAL Y WIDGET ===== */
.sonoran-image {
  position: relative;
  width: 100%;
  text-align: center;
}

.sonoran-image img,
#sonoran-slide {
  max-width: 100%;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 1s ease-in-out;

}

.sonoran-widget {
  position: absolute;
  /* a la derecha del slider */
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 490px;
  /* tamaño fijo razonable en desktop */
  max-width: 490px;
  padding: 20px;
  z-index: 2;
}

#booking-iframe-sonoran {
  width: 70%;
  height: 510px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  border: none;
}

/* ===== BLOQUE DE TEXTO PRINCIPAL ===== */
.sonoran-text-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 250px;
  margin: 30px auto;
  width: 100%;
  max-width: 1200px;
  text-align: left;
  gap: 18px;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial;
  opacity: 0;
  animation: slideDownFadeSection 1s ease-out forwards;
  animation-delay: 0.1s;
}

/* Imagen */
.map-sonoran-img {
  border-radius: 10px;
}

/* Títulos y sub-títulos */
.sonoran-text-box h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0 0 10px;
  color: rgba(0, 87, 100, 1);
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.sonoran-text-box h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 4px;
  background-color: #014f57;
  opacity: 0.95;
}

.sonoran-text-box h3 {
  font-size: 1rem;
  margin: 0 0 12px;
  color: #014f57;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 6px;
}

/* Párrafos */
.sonoran-text-box p {
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  margin: 12px 0 18px;
  color: #233044;
  line-height: 1.6;
  text-align: center;
}

.sonoran-text-box p.cta {
  display: inline-block;
  padding: 12px 18px;
  margin-top: 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(1, 90, 162, 0.06), rgba(249, 148, 53, 0.04));
  color: #015aa2;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(1, 90, 162, 0.04);
}

/* Listas e íconos */
.sonoran-text-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px 14px;
  flex-grow: 1;
}

.sonoran-text-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: #000;
  line-height: 1.4;
}

.sonoran-text-box li i {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #015aa2, #019aa3);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 3px 8px rgba(1, 90, 162, 0.15);
}

/* ===== CONDO SUMMARY ===== */
.sonoran-condo {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin: 40px 0;
  text-align: center;
  font-size: 1.5rem;
  color: #014f57;
  font-weight: 700;
}

.sonoran-condo-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sonoran-condo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.sonoran-condo-item i {
  color: rgba(0, 87, 100, 1);
  font-size: 20px;
}

/* ===== FEATURES ===== */
.features-sonoran {
  padding: 40px 20px;
  text-align: center;
}

.features-sonoran h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #014f57;
}

.features-grid-sonoran {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.feature-sonoran {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.feature-sonoran i {
  color: rgba(0, 87, 100, 1);
  font-size: 20px;
}

.feature-sonoran:hover {
  background: rgba(249, 148, 53, 0.15);
  transform: translateY(-5px);
}

/* ===== GALLERY ===== */
.gallery-section {
  text-align: center;
  margin: 40px auto;
}

.gallery-section h2 {
  font-size: 2rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 4px rgba(249, 148, 53, 1);
  border-radius: 12px;
}

.more-text {
  display: none;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  max-height: 80vh;
  border-radius: 15px;
}

.prev,
.next {
  background: var(--primary);
  color: white;
  border: none;
  font-size: 30px;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev {
  left: -60px;
}

.next {
  right: -60px;
}

.prev:hover,
.next:hover {
  background: var(--accent);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 10000;
}

/* ===== VIDEO ===== */
.sonoran-video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* ===== EXTRA SERVICES - GRID COMPACTO AMPLIADO ===== */
.sonoran-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.sonoran-features .sonoran-text-box {
  min-height: 60px;
  padding: 10px 14px;
  gap: 6px;
  margin: 6px 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sonoran-features .sonoran-text-box h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  padding-bottom: 4px;
}

.sonoran-features .sonoran-text-box ul {
  gap: 4px 0;
}

.sonoran-features .sonoran-text-box li i {
  min-width: 16px;
  height: 16px;
  font-size: 11px;
}

/* ===== RULES - SONORAN ===== */
.sonoran-rules {
  background: rgba(0, 87, 100, 0.95);
  border-radius: 15px;
  padding: 30px;
  max-width: 1200px;
  /* ancho máximo */
  width: 100%;
  /* ocupa el 90% del ancho de la pantalla */
  margin: 0 auto;
  /* centra horizontalmente */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Arial', sans-serif;
  color: #ffffff;
  /* asegura color blanco por defecto */
  box-sizing: border-box;
  /* incluye padding en el ancho total */
}

/* Forzar color blanco en todos los elementos */
.sonoran-rules h2,
.sonoran-rules h3,
.sonoran-rules p,
.sonoran-rules ul,
.sonoran-rules li {
  color: #ffffff !important;
}

.sonoran-rules h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
}

.sonoran-rules .rule-section {
  margin-bottom: 25px;
}

.sonoran-rules h3 {
  font-size: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
}

.sonoran-rules p,
.sonoran-rules ul {
  font-size: 16px;
  line-height: 1.7;
}

.sonoran-rules ul {
  list-style-type: disc;
  padding-left: 20px;
}


/* ===== EXTRA IMAGES - SONORAN ===== */
.sonoran-extra-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}

.sonoran-extra-images img {
  width: 100%;
  max-width: 1200px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* ===== RESPONSIVE: <=1100px ===== */
@media (max-width: 1100px) {

  /* El slider sigue ocupando toda la sección */
  .sonoran-image {
    position: relative;
    width: 100%;
    min-height: 600px;
    /* altura mínima visible */
    overflow: hidden;
  }

  .sonoran-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
  }

  /* Centrar el widget sobre el slider */
  .sonoran-widget {
    position: relative;
    /* no absoluto */
    z-index: 2;
    /* por encima del slider */
    margin: 0 auto;
    top: auto;
    right: auto;
    transform: none;
    width: 90%;
    max-width: 330px;
    padding: 10px;
    display: flex;
    justify-content: center;
    /* centrar horizontalmente */
    margin-top: 20px;
  }

  #booking-iframe-sonoran {
    width: 100%;
    min-height: 510px;
    border-radius: 12px;
  }
}


/* ================================ RESPONSIVE: en pantallas grandes, listas a 2 columnas y mejor espaciado */
@media (min-width: 900px) {
  .sonoran-text-box {
    padding: 40px 46px;
  }

  .sonoran-text-box ul {
    column-count: 2;
    /* divide elementos en dos columnas para mejor distribución */
  }

  .sonoran-text-box h2::after {
    width: 140px;
  }
}

/* ====================== RESPONSIVE MÓVIL <=900px ====================== */
@media (max-width: 900px) {

  /* ===== SLIDER ===== */
  .sonoran-image,
  .sonoran-features-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    /* mismo ancho que luxury */
    max-width: 310px;
    height: auto;
    margin: 20px auto;
    top: 0;
  }

  .sonoran-image img,
  #sonoran-slide {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 12px;
  }

  /* ===== WIDGET ===== */
  .sonoran-widget {
    position: relative;
    /* quitar absolute */
    top: auto;
    right: 0;
    transform: none;
    width: 100%;
    /* ocupar todo el ancho del contenedor */
    max-width: 450px;
    /* igual que luxury */
    margin: 20px auto 0;
    /* centrado y espacio arriba */
  }

  #booking-iframe-sonoran {
    width: 100%;
    /* ocupar todo el widget */
    height: auto;
    min-height: 510px;
    min-width: 310px;
    border-radius: 12px;
    display: block;
  }

  /* ===== TITULOS ESCALABLES ===== */
  h2 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    margin-bottom: 16px;
  }

  .sonoran-text-box .overlay h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* ===== GRIDS PRINCIPALES (1 columna) ===== */
  .sonoran-features,
  .features-grid-sonoran {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ===== BLOQUES DE SERVICIOS SONORAN ===== */
  .sonoran-text-box {
    padding: 12px 16px;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  /* H3 Bloques Sonoran */
  .sonoran-text-box h3 {
    font-size: 0.95rem;
    gap: 6px;
    padding-bottom: 4px;
    margin-bottom: 12px;
  }

  /* Listas dentro Sonoran */
  .sonoran-text-box ul {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }

  .sonoran-text-box li i {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }

  /* ===== FEATURES GRID ===== */
  .features-sonoran {
    padding: 20px 10px;
  }

  .features-sonoran h2 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    margin-bottom: 16px;
  }

  /* Grid móvil: full-width para bloques largos y 2 columnas para los cortos */
  .features-grid-sonoran {
    display: grid;
    grid-template-columns: 1fr;
    /* cada bloque ocupa todo el ancho */
    gap: 12px;
  }

  /* Bloques cortos: 2 columnas */
  .feature.short {
    display: inline-flex;
    width: 48%;
    margin: 0 1%;
    justify-content: flex-start;
  }

  /* Cada bloque de feature */
  .feature-sonoran {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* contenido alineado a la izquierda */
    text-align: left;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
    width: 100%;
    /* 🔹 asegura que el rectángulo use todo el ancho */
    box-sizing: border-box;
  }

  /* Ícono dentro de cada bloque */
  .feature-sonoran i {
    font-size: 16px;
    flex-shrink: 0;
  }

  /* ===== GALERÍA Y CONTENEDOR MORE ===== */
  .gallery img {
    display: none;
  }

  .gallery img:nth-child(-n+3),
  .gallery .more-container {
    display: block;
  }

  .more-container {
    position: relative;
    display: inline-block;
  }

  .more-container img {
    width: 100%;
    display: block;
    border-radius: 12px;
  }

  .more-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    cursor: pointer;
  }

  .lightbox-content {
    flex-direction: column;
  }

  .prev,
  .next {
    position: static;
    transform: none;
    margin: 10px 5px 0 5px;
  }
}

/*========================================== SONORAN LUXURY ==========================================*/

/* ===== ANIMACIÓN PARA SECCIONES ===== */
@keyframes slideDownFadeSection {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECCIÓN PRINCIPAL ===== */
.sonoran-luxury-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 20px;
  overflow: visible;
}

/* ===== CONTENEDOR PRINCIPAL CON GLASSMORPHISM ===== */
.sonoran-luxury-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(1, 154, 162, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: slideDownFadeSection 1s ease-out forwards;
  animation-delay: 0.1s;
}

/* ===== IMAGEN PRINCIPAL Y WIDGET ===== */
.sonoran-luxury-image {
  position: relative;
  width: 100%;
  text-align: center;
}

.sonoran-luxury-image img,
#sonoran-luxury-slide {
  max-width: 100%;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 1s ease-in-out;

}

.sonoran-luxury-widget {
  position: absolute;
  /* a la derecha del slider */
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 490px;
  /* tamaño fijo razonable en desktop */
  max-width: 490px;
  padding: 20px;
  z-index: 2;
}

#booking-iframe-sonoran-luxury {
  width: 70%;
  height: 510px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  border: none;
}

/* ===== BLOQUE DE TEXTO PRINCIPAL ===== */
.sonoran-luxury-text-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 250px;
  margin: 30px auto;
  width: 100%;
  max-width: 1200px;
  text-align: left;
  gap: 18px;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial;
  opacity: 0;
  animation: slideDownFadeSection 1s ease-out forwards;
  animation-delay: 0.1s;
}

/* Títulos y sub-títulos */
.sonoran-luxury-text-box h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0 0 10px;
  color: rgba(0, 87, 100, 1);
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.sonoran-luxury-text-box h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 4px;
  background-color: #014f57;
  opacity: 0.95;
}

.sonoran-luxury-text-box h3 {
  font-size: 1rem;
  margin: 0 0 12px;
  color: #014f57;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 6px;
}

/* Párrafos */
.sonoran-luxury-text-box p {
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  margin: 12px 0 18px;
  color: #233044;
  line-height: 1.6;
  text-align: center;
}

.sonoran-luxury-text-box p.cta {
  display: inline-block;
  padding: 12px 18px;
  margin-top: 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(1, 90, 162, 0.06), rgba(249, 148, 53, 0.04));
  color: #015aa2;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(1, 90, 162, 0.04);
}

/* Listas e íconos */
.sonoran-luxury-text-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px 14px;
  flex-grow: 1;
}

.sonoran-luxury-text-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: #000;
  line-height: 1.4;
}

.sonoran-luxury-text-box li i {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #015aa2, #019aa3);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 3px 8px rgba(1, 90, 162, 0.15);
}

/* ===== CONDO SUMMARY ===== */
.sonoran-luxury-condo {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin: 40px 0;
  text-align: center;
  font-size: 1.5rem;
  color: #014f57;
  font-weight: 700;
}

.sonoran-luxury-condo-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sonoran-luxury-condo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.sonoran-luxury-condo-item i {
  color: rgba(0, 87, 100, 1);
  font-size: 20px;
}

/* ===== FEATURES ===== */
.features-sonoran-luxury {
  padding: 40px 20px;
  text-align: center;
}

.features-sonoran-luxury h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #014f57;
}

.features-grid-sonoran-luxury {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.feature-sonoran-luxury {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.feature-sonoran-luxury i {
  color: rgba(0, 87, 100, 1);
  font-size: 20px;
}

.feature-sonoran-luxury:hover {
  background: rgba(249, 148, 53, 0.15);
  transform: translateY(-5px);
}

/* ===== EXTRA SERVICES - GRID COMPACTO AMPLIADO ===== */
.sonoran-luxury-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.sonoran-luxury-features .sonoran-luxury-text-box {
  min-height: 60px;
  padding: 10px 14px;
  gap: 6px;
  margin: 6px 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sonoran-luxury-features .sonoran-luxury-text-box h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  padding-bottom: 4px;
}

.sonoran-luxury-features .sonoran-luxury-text-box ul {
  gap: 4px 0;
}

.sonoran-luxury-features .sonoran-luxury-text-box li i {
  min-width: 16px;
  height: 16px;
  font-size: 11px;
}

/* ===== RULES - SONORAN ===== */
.sonoran-luxury-rules {
  background: rgba(0, 87, 100, 0.95);
  border-radius: 15px;
  padding: 30px;
  max-width: 1200px;
  /* ancho máximo */
  width: 100%;
  /* ocupa el 90% del ancho de la pantalla */
  margin: 0 auto;
  /* centra horizontalmente */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Arial', sans-serif;
  color: #ffffff;
  /* asegura color blanco por defecto */
  box-sizing: border-box;
  /* incluye padding en el ancho total */
}

/* Forzar color blanco en todos los elementos */
.sonoran-luxury-rules h2,
.sonoran-luxury-rules h3,
.sonoran-luxury-rules p,
.sonoran-luxury-rules ul,
.sonoran-luxury-rules li {
  color: #ffffff !important;
}

.sonoran-luxury-rules h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
}

.sonoran-luxury-rules .rule-section {
  margin-bottom: 25px;
}

.sonoran-luxury-rules h3 {
  font-size: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
}

.sonoran-luxury-rules p,
.sonoran-luxury-rules ul {
  font-size: 16px;
  line-height: 1.7;
}

.sonoran-luxury-rules ul {
  list-style-type: disc;
  padding-left: 20px;
}


/* ===== EXTRA IMAGES - SONORAN LUXURY ===== */
.sonoran-luxury-extra-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}

.sonoran-luxury-extra-images img {
  width: 100%;
  max-width: 1200px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}


/* ===== RESPONSIVE: <=1100px ===== */
@media (max-width: 1100px) {

  /* El slider sigue ocupando toda la sección */
  .sonoran-luxury-image {
    position: relative;
    width: 100%;
    min-height: 600px;
    /* altura mínima visible */
    overflow: hidden;
  }

  .sonoran-luxury-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
  }

  /* Centrar el widget sobre el slider */
  .sonoran-luxury-widget {
    position: relative;
    /* no absoluto */
    z-index: 2;
    /* por encima del slider */
    margin: 0 auto;
    top: auto;
    right: auto;
    transform: none;
    width: 90%;
    max-width: 330px;
    padding: 10px;
    display: flex;
    justify-content: center;
    /* centrar horizontalmente */
    margin-top: 20px;
  }

  #booking-iframe-sonoran-luxury {
    width: 100%;
    min-height: 510px;
    border-radius: 12px;
  }
}


/* ================================ RESPONSIVE: en pantallas grandes, listas a 2 columnas y mejor espaciado */
@media (min-width: 900px) {
  .sonoran-luxury-text-box {
    padding: 40px 46px;
  }

  .sonoran-luxury-text-box ul {
    column-count: 2;
    /* divide elementos en dos columnas para mejor distribución */
  }

  .sonoran-luxury-text-box h2::after {
    width: 140px;
  }
}

/* ====================== RESPONSIVE MÓVIL <=900px ====================== */
@media (max-width: 900px) {

  /* ===== SLIDER ===== */
  .sonoran-luxury-image,
  .sonoran-luxury-features-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    /* mismo ancho que luxury */
    max-width: 310px;
    height: auto;
    margin: 20px auto;
    top: 0;
  }

  .sonoran-luxury-image img,
  #sonoran-luxury-slide {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 12px;
  }

  /* ===== WIDGET ===== */
  .sonoran-luxury-widget {
    position: relative;
    /* quitar absolute */
    top: auto;
    right: 0;
    transform: none;
    width: 100%;
    /* ocupar todo el ancho del contenedor */
    max-width: 450px;
    /* igual que luxury */
    margin: 20px auto 0;
    /* centrado y espacio arriba */
  }

  #booking-iframe-sonoran-luxury {
    width: 100%;
    /* ocupar todo el widget */
    height: auto;
    min-height: 510px;
    min-width: 310px;
    border-radius: 12px;
    display: block;
  }

  /* ===== TITULOS ESCALABLES ===== */
  h2 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    margin-bottom: 16px;
  }

  .sonoran-luxury-text-box .overlay h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* ===== GRIDS PRINCIPALES (1 columna) ===== */
  .sonoran-features,
  .features-grid-sonoran {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ===== BLOQUES DE SERVICIOS SONORAN ===== */
  .sonoran-luxury-text-box {
    padding: 12px 16px;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  /* H3 Bloques Sonoran */
  .sonoran-luxury-text-box h3 {
    font-size: 0.95rem;
    gap: 6px;
    padding-bottom: 4px;
    margin-bottom: 12px;
  }

  /* Listas dentro Sonoran */
  .sonoran-luxury-text-box ul {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }

  .sonoran-luxury-text-box li i {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }

  /* ===== FEATURES GRID ===== */
  .features-sonoran-luxury {
    padding: 20px 10px;
  }

  .features-sonoran-luxury h2 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    margin-bottom: 16px;
  }

  /* Grid móvil: full-width para bloques largos y 2 columnas para los cortos */
  .features-grid-sonoran-luxury {
    display: grid;
    grid-template-columns: 1fr;
    /* cada bloque ocupa todo el ancho */
    gap: 12px;
  }

  /* Bloques cortos: 2 columnas */
  .feature.short {
    display: inline-flex;
    width: 48%;
    margin: 0 1%;
    justify-content: flex-start;
  }

  /* Cada bloque de feature */
  .feature-sonoran-luxury {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* contenido alineado a la izquierda */
    text-align: left;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
    width: 100%;
    /* 🔹 asegura que el rectángulo use todo el ancho */
    box-sizing: border-box;
  }

  /* Ícono dentro de cada bloque */
  .feature-sonoran-luxury i {
    font-size: 16px;
    flex-shrink: 0;
  }
}

/*========================================== SONORAN STUDIO ==========================================*/

/* ===== ANIMACIÓN PARA SECCIONES ===== */
@keyframes slideDownFadeSection {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECCIÓN PRINCIPAL ===== */
.sonoran-studio-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 20px;
  overflow: visible;
}

/* ===== CONTENEDOR PRINCIPAL CON GLASSMORPHISM ===== */
.sonoran-studio-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(1, 154, 162, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: slideDownFadeSection 1s ease-out forwards;
  animation-delay: 0.1s;
}

/* ===== IMAGEN PRINCIPAL Y WIDGET ===== */
.sonoran-studio-image {
  position: relative;
  width: 100%;
  text-align: center;
}

.sonoran-studio-image img,
#sonoran-studio-slide {
  max-width: 100%;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 1s ease-in-out;

}

.sonoran-studio-widget {
  position: absolute;
  /* a la derecha del slider */
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 490px;
  /* tamaño fijo razonable en desktop */
  max-width: 490px;
  padding: 20px;
  z-index: 2;
}

#booking-iframe-sonoran-studio {
  width: 70%;
  height: 510px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  border: none;
}


/* ===== BLOQUE DE TEXTO PRINCIPAL ===== */
.sonoran-studio-text-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 250px;
  margin: 30px auto;
  width: 100%;
  max-width: 1200px;
  text-align: left;
  gap: 18px;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial;
  opacity: 0;
  animation: slideDownFadeSection 1s ease-out forwards;
  animation-delay: 0.1s;
}

/* Títulos y sub-títulos */
.sonoran-studio-text-box h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0 0 10px;
  color: rgba(0, 87, 100, 1);
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.sonoran-studio-text-box h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 4px;
  background-color: #014f57;
  opacity: 0.95;
}

.sonoran-studio-text-box h3 {
  font-size: 1rem;
  margin: 0 0 12px;
  color: #014f57;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 6px;
}

/* Párrafos */
.sonoran-studio-text-box p {
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  margin: 12px 0 18px;
  color: #233044;
  line-height: 1.6;
  text-align: center;
}

.sonoran-studio-text-box p.cta {
  display: inline-block;
  padding: 12px 18px;
  margin-top: 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(1, 90, 162, 0.06), rgba(249, 148, 53, 0.04));
  color: #015aa2;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(1, 90, 162, 0.04);
}

/* Listas e íconos */
.sonoran-studio-text-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px 14px;
  flex-grow: 1;
}

.sonoran-studio-text-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: #000;
  line-height: 1.4;
}

.sonoran-studio-text-box li i {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #015aa2, #019aa3);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 3px 8px rgba(1, 90, 162, 0.15);
}

/* ===== CONDO SUMMARY ===== */
.sonoran-studio-condo {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin: 40px 0;
  text-align: center;
  font-size: 1.5rem;
  color: #014f57;
  font-weight: 700;
}

.sonoran-studio-condo-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.sonoran-studio-condo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.sonoran-studio-condo-item i {
  color: rgba(0, 87, 100, 1);
  font-size: 20px;
}

/* ===== FEATURES ===== */
.features-sonoran-studio {
  padding: 40px 20px;
  text-align: center;
}

.features-sonoran-studio h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #014f57;
}

.features-grid-sonoran-studio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.feature-sonoran-studio {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.feature-sonoran-studio i {
  color: rgba(0, 87, 100, 1);
  font-size: 20px;
}

.feature-sonoran-studio:hover {
  background: rgba(249, 148, 53, 0.15);
  transform: translateY(-5px);
}

/* ===== EXTRA SERVICES - GRID COMPACTO AMPLIADO ===== */
.sonoran-studio-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.sonoran-studio-features .sonoran-studio-text-box {
  min-height: 60px;
  padding: 10px 14px;
  gap: 6px;
  margin: 6px 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.sonoran-studio-features .sonoran-studio-text-box h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  padding-bottom: 4px;
}

.sonoran-studio-features .sonoran-studio-text-box ul {
  gap: 4px 0;
}

.sonoran-studio-features .sonoran-studio-text-box li i {
  min-width: 16px;
  height: 16px;
  font-size: 11px;
}

/* ===== RULES - SONORAN ===== */
.sonoran-studio-rules {
  background: rgba(0, 87, 100, 0.95);
  border-radius: 15px;
  padding: 30px;
  max-width: 1200px;
  /* ancho máximo */
  width: 100%;
  /* ocupa el 90% del ancho de la pantalla */
  margin: 0 auto;
  /* centra horizontalmente */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Arial', sans-serif;
  color: #ffffff;
  /* asegura color blanco por defecto */
  box-sizing: border-box;
  /* incluye padding en el ancho total */
}

/* Forzar color blanco en todos los elementos */
.sonoran-studio-rules h2,
.sonoran-studio-rules h3,
.sonoran-studio-rules p,
.sonoran-studio-rules ul,
.sonoran-studio-rules li {
  color: #ffffff !important;
}

.sonoran-studio-rules h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
}

.sonoran-studio-rules .rule-section {
  margin-bottom: 25px;
}

.sonoran-studio-rules h3 {
  font-size: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
}

.sonoran-studio-rules p,
.sonoran-studio-rules ul {
  font-size: 16px;
  line-height: 1.7;
}

.sonoran-studio-rules ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* ===== EXTRA IMAGES - SONORAN STUDIO ===== */
.sonoran-studio-extra-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}

.sonoran-studio-extra-images img {
  width: 100%;
  max-width: 1200px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* ===== RESPONSIVE: <=1100px ===== */
@media (max-width: 1100px) {

  /* El slider sigue ocupando toda la sección */
  .sonoran-studio-image {
    position: relative;
    width: 100%;
    min-height: 600px;
    /* altura mínima visible */
    overflow: hidden;
  }

  .sonoran-studio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
  }

  /* Centrar el widget sobre el slider */
  .sonoran-studio-widget {
    position: relative;
    /* no absoluto */
    z-index: 2;
    /* por encima del slider */
    margin: 0 auto;
    top: auto;
    right: auto;
    transform: none;
    width: 90%;
    max-width: 330px;
    padding: 10px;
    display: flex;
    justify-content: center;
    /* centrar horizontalmente */
    margin-top: 20px;
  }

  #booking-iframe-sonoran-studio {
    width: 100%;
    min-height: 510px;
    border-radius: 12px;
  }
}


/* ================================ RESPONSIVE: en pantallas grandes, listas a 2 columnas y mejor espaciado */
@media (min-width: 900px) {
  .sonoran-studio-text-box {
    padding: 40px 46px;
  }

  .sonoran-studio-text-box ul {
    column-count: 2;
    /* divide elementos en dos columnas para mejor distribución */
  }

  .sonoran-studio-text-box h2::after {
    width: 140px;
  }
}

/* ====================== RESPONSIVE MÓVIL <=900px ====================== */
@media (max-width: 900px) {

  /* ===== SLIDER ===== */
  .sonoran-studio-image,
  .sonoran-studio-features-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    /* mismo ancho que luxury */
    max-width: 310px;
    height: auto;
    margin: 20px auto;
    top: 0;
  }

  .sonoran-studio-image img,
  #sonoran-studio-slide {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 12px;
  }

  /* ===== WIDGET ===== */
  .sonoran-studio-widget {
    position: relative;
    /* quitar absolute */
    top: auto;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 450px;
    margin: 20px auto 0;
  }

  #booking-iframe-sonoran-studio {
    width: 100%;
    /* ocupar todo el widget */
    height: auto;
    min-height: 510px;
    min-width: 310px;
    border-radius: 12px;
    display: block;
  }

  /* ===== TITULOS ESCALABLES ===== */
  h2 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    margin-bottom: 16px;
  }

  .sonoran-studio-text-box .overlay h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  /* ===== GRIDS PRINCIPALES (1 columna) ===== */
  .sonoran-features,
  .features-grid-sonoran {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ===== BLOQUES DE SERVICIOS SONORAN ===== */
  .sonoran-studio-text-box {
    padding: 12px 16px;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  /* H3 Bloques Sonoran */
  .sonoran-studio-text-box h3 {
    font-size: 0.95rem;
    gap: 6px;
    padding-bottom: 4px;
    margin-bottom: 12px;
  }

  /* Listas dentro Sonoran */
  .sonoran-studio-text-box ul {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }

  .sonoran-studio-text-box li i {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }

  /* ===== FEATURES GRID ===== */
  .features-sonoran-studio {
    padding: 20px 10px;
  }

  .features-sonoran-studio h2 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    margin-bottom: 16px;
  }

  /* Grid móvil: full-width para bloques largos y 2 columnas para los cortos */
  .features-grid-sonoran-studio {
    display: grid;
    grid-template-columns: 1fr;
    /* cada bloque ocupa todo el ancho */
    gap: 12px;
  }

  /* Bloques cortos: 2 columnas */
  .feature.short {
    display: inline-flex;
    width: 48%;
    margin: 0 1%;
    justify-content: flex-start;
  }

  /* Cada bloque de feature */
  .feature-sonoran-studio {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* contenido alineado a la izquierda */
    text-align: left;
    gap: 8px;
    padding: 10px;
    font-size: 14px;
    width: 100%;
    /* 🔹 asegura que el rectángulo use todo el ancho */
    box-sizing: border-box;
  }

  /* Ícono dentro de cada bloque */
  .feature-sonoran-studio i {
    font-size: 16px;
    flex-shrink: 0;
  }

}

/*========================================== LAS PALMAS SECTION ==========================================*/

/* ===== ANIMACIÓN PARA SECCIONES ===== */
@keyframes slideDownFadeSection {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SECCIÓN PRINCIPAL ===== */
.las-palmas-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 20px;
  overflow: visible;
}

/* ===== VIDEO DE FONDO ===== */
#background-video-las-palmas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/* ===== CONTENEDOR PRINCIPAL CON GLASSMORPHISM ===== */
.las-palmas-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(1, 154, 162, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: slideDownFadeSection 1s ease-out forwards;
  animation-delay: 0.1s;
}

/* ===== IMAGEN PRINCIPAL Y WIDGET ===== */
.las-palmas-image {
  position: relative;
  width: 100%;
  text-align: center;
}

.las-palmas-image img,
#las-palmas-slide {
  max-width: 100%;
  border-radius: 15px;
  display: block;
  margin: 0 auto;
  opacity: 1;
  transition: opacity 1s ease-in-out;

}

.las-palmas-widget {
  position: absolute;
  /* a la derecha del slider */
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 490px;
  /* tamaño fijo razonable en desktop */
  max-width: 490px;
  padding: 20px;
  z-index: 2;
}

#booking-iframe-las-palmas {
  width: 70%;
  height: 510px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  border: none;
}


/* ===== BLOQUE DE TEXTO PRINCIPAL ===== */
.las-palmas-text-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  min-height: 250px;
  margin: 30px auto;
  width: 100%;
  max-width: 1200px;
  text-align: left;
  gap: 18px;
  font-family: "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial;
  opacity: 0;
  animation: slideDownFadeSection 1s ease-out forwards;
  animation-delay: 0.1s;
}

/* Imagen */
.map-las-palmas-img {
  border-radius: 10px;
}

/* Títulos y sub-títulos */
.las-palmas-text-box h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 0 0 10px;
  color: rgba(0, 87, 100, 1);
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.las-palmas-text-box h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 4px;
  background-color: #014f57;
  opacity: 0.95;
}

.las-palmas-text-box h3 {
  font-size: 1rem;
  margin: 0 0 12px;
  color: #014f57;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 6px;
}

/* Párrafos */
.las-palmas-text-box p {
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  margin: 12px 0 18px;
  color: #233044;
  line-height: 1.6;
  text-align: center;
}

.las-palmas-text-box p.cta {
  display: inline-block;
  padding: 12px 18px;
  margin-top: 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(1, 90, 162, 0.06), rgba(249, 148, 53, 0.04));
  color: #015aa2;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(1, 90, 162, 0.04);
}

/* Listas e íconos */
.las-palmas-text-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px 14px;
  flex-grow: 1;
}

.las-palmas-text-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: #000;
  line-height: 1.4;
}

.las-palmas-text-box li i {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #015aa2, #019aa3);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 3px 8px rgba(1, 90, 162, 0.15);
}

/* ===== CONDO SUMMARY ===== */
.las-palmas-condo {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  margin: 40px 0;
  text-align: center;
  font-size: 1.5rem;
  color: #014f57;
  font-weight: 700;
}

.las-palmas-condo-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.las-palmas-condo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.las-palmas-condo-item i {
  color: rgba(0, 87, 100, 1);
  font-size: 20px;
}

/* ===== FEATURES ===== */
.features-las-palmas {
  padding: 40px 20px;
  text-align: center;
}

.features-las-palmas h2 {
  margin-bottom: 20px;
  font-size: 2rem;
  color: #014f57;
}

.features-grid-las-palmas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.feature-las-palmas {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.feature-las-palmas i {
  color: rgba(0, 87, 100, 1);
  font-size: 20px;
}

.feature-las-palmas:hover {
  background: rgba(249, 148, 53, 0.15);
  transform: translateY(-5px);
}

/* ===== GALLERY ===== */
.gallery-section-las-palmas {
  text-align: center;
  margin: 40px auto;
}

.gallery-section-las-palmas h2 {
  font-size: 2rem;
}

.gallery-las-palmas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-las-palmas img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-las-palmas img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 4px rgba(249, 148, 53, 1);
  border-radius: 12px;
}

/* ===== VIDEO ===== */
.las-palmas-video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* ===== EXTRA SERVICES ===== */
.las-palmas-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.las-palmas-features .las-palmas-text-box {
  min-height: 60px;
  padding: 10px 14px;
  gap: 6px;
  margin: 6px 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.las-palmas-features .las-palmas-text-box h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  padding-bottom: 4px;
}

.las-palmas-features .las-palmas-text-box ul {
  gap: 4px 0;
}

.las-palmas-features .las-palmas-text-box li i {
  min-width: 16px;
  height: 16px;
  font-size: 11px;
}

/* ===== RULES - SONORAN ===== */
.las-palmas-rules {
  background: rgba(0, 87, 100, 0.95);
  border-radius: 15px;
  padding: 30px;
  max-width: 1200px;
  /* ancho máximo */
  width: 100%;
  /* ocupa el 90% del ancho de la pantalla */
  margin: 0 auto;
  /* centra horizontalmente */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Arial', sans-serif;
  color: #ffffff;
  /* asegura color blanco por defecto */
  box-sizing: border-box;
  /* incluye padding en el ancho total */
}

/* Forzar color blanco en todos los elementos */
.las-palmas-rules h2,
.las-palmas-rules h3,
.las-palmas-rules p,
.las-palmas-rules ul,
.las-palmas-rules li {
  color: #ffffff !important;
}

.las-palmas-rules h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
}

.las-palmas-rules .rule-section {
  margin-bottom: 25px;
}

.las-palmas-rules h3 {
  font-size: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 5px;
}

.las-palmas-rules p,
.las-palmas-rules ul {
  font-size: 16px;
  line-height: 1.7;
}

.las-palmas-rules ul {
  list-style-type: disc;
  padding-left: 20px;
}

/* ===== EXTRA IMAGES ===== */
.las-palmas-extra-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}

.las-palmas-extra-images img {
  width: 100%;
  max-width: 1200px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* ===== RESPONSIVE: <=1100px ===== */
@media (max-width: 1100px) {

  /* El slider sigue ocupando toda la sección */
  .las-palmas-image {
    position: relative;
    width: 100%;
    min-height: 600px;
    /* altura mínima visible */
    overflow: hidden;
  }

  .las-palmas-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
  }

  /* Centrar el widget sobre el slider */
  .las-palmas-widget {
    position: relative;
    /* no absoluto */
    z-index: 2;
    /* por encima del slider */
    margin: 0 auto;
    top: auto;
    right: auto;
    transform: none;
    width: 90%;
    max-width: 330px;
    padding: 10px;
    display: flex;
    justify-content: center;
    /* centrar horizontalmente */
    margin-top: 20px;
  }

  #booking-iframe-las-palmas {
    width: 100%;
    min-height: 510px;
    border-radius: 12px;
  }
}


/* ================================ RESPONSIVE: en pantallas grandes, listas a 2 columnas y mejor espaciado */
@media (min-width: 900px) {
  .las-palmas-text-box {
    padding: 40px 46px;
  }

  .las-palmas-text-box ul {
    column-count: 2;
    /* divide elementos en dos columnas para mejor distribución */
  }

  .las-palmas-text-box h2::after {
    width: 140px;
  }
}

/* ====================== RESPONSIVE MÓVIL <=900px ====================== */
@media (max-width: 900px) {

  /* ===== SLIDER ===== */
  .las-palmas-image,
  .las-palmas-features-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 350px;
    /* mismo ancho que luxury */
    max-width: 310px;
    height: auto;
    margin: 20px auto;
    top: 0;
  }

  .las-palmas-image img,
  #las-palmas-slide {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 12px;
  }

  /* ===== WIDGET ===== */
  .las-palmas-widget {
    position: relative;
    /* quitar absolute */
    top: auto;
    right: 0;
    transform: none;
    width: 100%;
    max-width: 450px;
    margin: 20px auto 0;
  }

  #booking-iframe-las-palmas {
    width: 100%;
    /* ocupar todo el widget */
    height: auto;
    min-height: 510px;
    min-width: 310px;
    border-radius: 12px;
    display: block;
  }

  /* Titulos */
  .las-palmas-text-box {
    padding: 12px 16px;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .las-palmas-text-box h3 {
    font-size: 0.95rem;
    gap: 6px;
    padding-bottom: 4px;
    margin-bottom: 12px;
  }

  .las-palmas-text-box ul {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }

  .las-palmas-text-box li i {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }

  .features-las-palmas {
    padding: 20px 10px;
  }

  .features-las-palmas h2 {
    font-size: clamp(1.5rem, 5vw, 1.8rem);
    margin-bottom: 16px;
  }

  .features-grid-las-palmas {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-las-palmas {
    padding: 10px;
    font-size: 14px;
    gap: 6px;
    justify-content: flex-start;
  }

  .feature-las-palmas i {
    font-size: 16px;
  }

  .gallery-las-palmas img {
    display: none;
  }

  .gallery-las-palmas img:nth-child(-n+3),
  .gallery-las-palmas .more-container {
    display: block;
  }

  .more-container {
    position: relative;
    display: inline-block;
  }

  .more-container img {
    width: 100%;
    display: block;
    border-radius: 12px;
  }

  .more-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    cursor: pointer;
  }
}

/* ========================================================== LINKS PLATAFORMAS AIRBNB ETC ===========================*/
.booking-links {
  margin: 30px 0;
  text-align: center;
  font-size: 20px;
  /* más grande */
}

.booking-links p {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #005764;
  /* color principal */
  animation: fadeInDown 1s ease;
  /* animación */
}

.booking-links a {
  color: #014f57;
  margin: 0 15px;
  text-decoration: none;
  font-size: 22px;
  /* más grande */
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: fadeInUp 1s ease;
  /* animación */
}

.booking-links a i {
  font-size: 24px;
  /* íconos más grandes */
}

.booking-links a:hover {
  color: rgb(249, 148, 53);
  transform: scale(1.2) rotate(-5deg);
  /* efecto más dinámico */
}

/* Animaciones */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .booking-links p {
    font-size: 16px;
  }
}


/* =============================================== ACTIVITIES ============================================= */

/* Animaciones generales */
@keyframes slideDownFadeSection {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideDownItem {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUpFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceLoop {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* =============================================== SECTION ACTIVITIES ============================================= */
.activities-section {
  padding: 60px 20px;
  background-color: #f0f4f4;
  /* fondo propio */
  background-image: url("../img/backgrounds/icons.webp");
  /* si quieres repetir un pattern */
  background-position: center;
  background-repeat: repeat;
  background-size: 400px auto;
}

.activities-box {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: slideDownFadeSection 1s ease-out forwards;
  animation-delay: 0.1s;
}

.activities-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 40px 0 20px;
  color: #005764;
  animation: fadeIn 1s ease-out;
}

.activities-title {
  animation: bounceLoop 2s ease-in-out infinite;
}

.activities-description {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 20px auto 40px;
  color: #000000;
  /* texto gris oscuro */
  padding: 20px 25px;
  /* espacio dentro del rectángulo */
  border: 5px solid #f99435;
  /* borde naranja */
  border-radius: 60px;
  /* esquinas redondeadas */
  background-color: #fff7f0;
  /* fondo muy suave para resaltar */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  /* sombra ligera */
}


/* =============================================== PHOTO STACK ============================================= */
.photo-stack,
.photo-stack-laspalmas {
  position: relative;
  width: 500px;
  height: 360px;
  margin: 40px auto;
  cursor: pointer;
}

.photo-stack img,
.photo-stack-laspalmas img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border: 5px solid #005764;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, z-index 0.3s ease, border 0.3s ease;
}

/* Estado normal */
.photo-stack img:nth-child(1),
.photo-stack-laspalmas img:nth-child(1) {
  transform: rotate(-5deg);
  z-index: 1;
}

.photo-stack img:nth-child(2),
.photo-stack-laspalmas img:nth-child(2) {
  transform: rotate(3deg);
  z-index: 2;
}

.photo-stack img:nth-child(3),
.photo-stack-laspalmas img:nth-child(3) {
  transform: rotate(-2deg);
  z-index: 3;
}

/* Estado abierto */
.photo-stack.open img:nth-child(1),
.photo-stack-laspalmas.open img:nth-child(1) {
  transform: rotate(-5deg) translateX(-300px);
}

.photo-stack.open img:nth-child(2),
.photo-stack-laspalmas.open img:nth-child(2) {
  transform: rotate(3deg) translateX(300px);
}

.photo-stack.open img:nth-child(3),
.photo-stack-laspalmas.open img:nth-child(3) {
  transform: scale(1.1) rotate(0deg);
  z-index: 10;
}

/* Hover sobre la última imagen */
.photo-stack img:nth-child(3):hover,
.photo-stack-laspalmas img:nth-child(3):hover {
  border-color: #f99435;
  box-shadow: 0 0 20px rgb(249, 148, 53);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* =============================================== ACTIVITY LIST ============================================= */
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0 0 50px;
  display: grid;
  gap: 12px;
  max-height: 0;
  /* oculta al inicio */
  overflow: hidden;
  /* evita que items inferiores se vean antes */
  opacity: 1;
  /* el contenedor puede estar visible */
  transition: max-height 0.8s ease;
}

.activity-list.show {
  overflow: visible;
  /* permite animación de los items */
}

/* =============================================== ACTIVITY ITEMS ============================================= */
.activity-item {
  background: #f99435;
  padding: 10px;
  border-radius: 10px;
  font-size: 1.05rem;
  color: #000;
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-bottom: 5px solid #c5752a;
  opacity: 0;
  transform: translateY(-20px);
}

.activity-item i {
  color: black;
  margin-right: 8px;
  font-size: 1.2em;
  vertical-align: middle;
}

/* =============================================== ACTIVITY GALLERY LAS PALMAS ============================================= */
.activity-gallery-laspalmas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 30px;
}

.activity-gallery-laspalmas img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* =============================================== VIDEOS SECTION ============================================= */
.videos-section {
  text-align: center;
  margin: 40px 0;
}

/* Contenedor horizontal */
.videos-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  /* espacio entre videos */
  flex-wrap: wrap;
  /* se acomoda en móvil */
}

.video-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
  /* ajusta según tu diseño */
}

.video-label {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 600;
  color: #005764;
}

.activities-video {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* =============================================== RECOMENDACION ============================================= */
/* Contenedor principal */
.activities-testimonial-full {
  position: relative;
  max-width: 1200px;
  margin: 60px auto;
  text-align: center;
}

/* Recuadro de texto que abarca todo */
.testimonial-box {
  background-color: #fff7f0;
  border: 5px solid #f99435;
  border-radius: 60px;
  padding: 40px 30px 30px 30px;
  /* más espacio arriba para la foto */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* Texto dentro del recuadro */
.activities-description-testimonial {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #000000;
  margin: 0;
  text-align: center;
}

/* Foto encima del rectángulo */
.testimonial-photo-over {
  position: absolute;
  top: -60px;
  /* mitad de la altura de la foto fuera del recuadro */
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: 200px;
  object-fit: cover;
  z-index: 2;
}

/* Mostrar/ocultar según dispositivo */
.desktop-text {
  display: block;
}

.mobile-text {
  display: none;
}

/* ====================== RESPONSIVE MÓVIL <=900px ====================== */
@media (max-width: 900px) {

  /* PHOTO STACK / IMÁGENES */
  .photo-stack,
  .photo-stack-laspalmas {
    width: 90%;
    height: auto;
    margin: 0 auto 30px;
    /* centrado */
  }

  .photo-stack img,
  .photo-stack-laspalmas img {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    z-index: auto;
    margin-bottom: 15px;
    width: 100%;
    height: auto;
    border-width: 3px;
    pointer-events: none;
    /* deshabilita clics en móvil */
    cursor: default;
    transition: none;
  }

  /* TITULO */
  .activities-title {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  /* LISTA DE ACTIVIDADES: siempre visible */
  .activity-list {
    max-height: none;
    overflow: visible;
  }

  .activity-item {
    font-size: 0.9rem;
    /* más pequeño */
    padding: 6px 8px;
    /* reduce el padding */
    margin: 0 auto 8px;
    /* reduce margen inferior */
    opacity: 1;
    transform: translateY(0);
  }

  .activity-item i {
    font-size: 1rem;
    /* íconos más pequeños */
    margin-right: 6px;
  }

  .video-label {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: block;
    font-size: 0.9rem;
    line-height: 1.3;
    /* interlineado compacto en móvil */
  }

  .activities-description-testimonial {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .activities-description {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}

/* ===================================== Host's Tips =========================================== */

.hosts-tips-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 20px;

  /* Animación */
  opacity: 0;
  /* empieza invisible */
  animation: fadeInDown 1s ease-out forwards;
  /* 'forwards' mantiene estado final */
}


/* Video de fondo */
/* Imagen oculta por defecto */
.background-image-tips {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Video ocupa todo */
.background-video-tips {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Por defecto la imagen no se muestra */
.mobile-only {
  display: none;
}

/* En pantallas pequeñas: ocultar video y mostrar imagen */
@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}

/* CONTENEDOR PRINCIPAL */
.hosts-tips-section-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* REVIEW STYLES */
.review {
  font-style: italic;
  font-size: 0.95rem;
  color: #333;
  padding: 15px;
  margin: 15px;
  background: rgba(249, 148, 53, 0.08);
  border-left: 4px solid #f99435;
  border-radius: 8px;
}

.description {
  margin: 0 15px 15px;
  font-size: 1rem;
  color: #444;
}

/* GRID */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* HEADER */
.hosts-tips-section-overlay {
  color: #000;
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 1s ease-out;
}

.hosts-tips-section-overlay h1 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  margin-bottom: 10px;
  animation: pulse 3s infinite;
}

.hosts-tips-section-overlay p {
  font-size: clamp(1rem, 4vw, 1.2rem);
  color: #333;
}

/* CARDS */
.tip-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tip-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.tip-card h2 {
  font-size: 1.4rem;
  margin: 15px;
  color: #222;
}

.tip-card p {
  font-size: 1rem;
  color: #444;
  margin: 0 15px 15px;
  flex-grow: 1;
}

/* INFO */
.tip-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  padding: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.tip-info span {
  color: #555;
}

/* BOTONES CONTACTO */
.tip-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 14px 0;
  margin-top: 8px;
  background: linear-gradient(90deg, #005764, #007c85);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.tip-btn:hover {
  background: linear-gradient(90deg, #d16b0b, #f99435);
  transform: translateY(-3px);
}

.tip-btn i {
  margin-right: 10px;
  font-size: 1.2rem;
  color: #fff;
  /* se mantiene blanco */
}


/* HOVER */
.tip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

/* ANIMACIONES */
@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mostrar/ocultar según dispositivo */
.desktop-text {
  display: block;
}

.mobile-text {
  display: none;
}

/* ====================== RESPONSIVE MÓVIL <=900px ====================== */
@media (max-width: 900px) {

  .hosts-tips-section-overlay h1 {
    margin-top: 30px;
    line-height: 1;
    font-size: clamp(1.6rem, 6vw, 1.5rem);
  }

  .hosts-tips-section-overlay p {
    line-height: 1.1;
  }

  .desktop-text {
    display: none;
  }

  .mobile-text {
    display: block;
    font-size: 0.9rem;
    line-height: 1.3;
    /* interlineado compacto en móvil */
  }

  .activities-description-testimonial {
    font-size: 0.9rem;
    line-height: 1.4;
  }
}

/* ============================================================== Contact Us ====================================================================== */
/* SECCIÓN CON FONDO A PANTALLA COMPLETA */
#contact {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 150px 20px;

}

/* VIDEO DE FONDO */
#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/* OVERLAY opcional */
#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* BOX GLASSMORPHISM SOBRE EL FONDO */
.contact-box {
  position: relative;
  z-index: 2;
  /* sobre el overlay */
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0 auto;

  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#contact .contact-container,
#contact .contact-header {
  position: relative;
  z-index: 2;
}

.contact-header {
  margin-bottom: 150px;
  /* espacio en vez de <br> */
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease-out forwards;
}

.contact-header h2 {
  font-size: 7.5rem;
  margin-bottom: 0px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-header p {
  font-size: 1.2rem;
  color: #ffffff;
  line-height: 0.5;
  margin-top: -30px;
}

.contact-info img {
  width: 100%;
  /* ocupa todo el ancho disponible */
  height: auto;
  /* mantiene proporción */
  border-radius: 15px;
  /* bordes redondeados */
  margin: 20px 0;
  /* espacio arriba y abajo */
  object-fit: cover;
  /* recorta si es necesario */
}

/* Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.2s ease-out forwards;
}

.contact-links {
  margin-top: 10px;
}

.contact-links a {
  color: #005764;
  margin: 0 10px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-links a:hover {
  color: rgb(249, 148, 53);
  transform: scale(1.1);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* ===== CONTENEDORES ===== */
.contact-info,
.contact-form,
#mc_embed_signup {
  background: #ffffff;
  /* Fondo blanco puro */
  color: #005764;
  /* Texto principal */
  padding: 20px;
  border-radius: 15px;

  min-width: 300px;
}

.contact-info {
  flex: 0.5;
}

/* Info lateral */
.contact-info .info-item {
  margin-bottom: 20px;
}

.contact-info h4 {
  font-size: 1rem;
  color: #000000;
  margin-bottom: 5px;
  line-height: 1;
}

.contact-info p {
  font-size: 0.9rem;
  color: #000000;
  line-height: 1.8;
}

/* ===== CONTENEDOR ===== */
#mc_embed_signup_widget {
  background: #ffffff;
  color: #005764;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto;
  box-sizing: border-box;
  animation: fadeUp 1.2s ease-out forwards;
  flex: 0.5;
}

/* Inputs del formulario */
#mc_embed_signup_widget input.email,
#mc_embed_signup_widget input.text,
#mc_embed_signup_widget input[type=email] {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  box-sizing: border-box;
}

#mc_embed_signup_widget input.button {
  width: 100%;
  padding: 12px;
  background: #005764;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.3s ease;
}

#mc_embed_signup_widget input.button:hover {
  background: #007b8c;
}

/* ===== Ajuste responsive del iframe ===== */
#mc_embed_signup_widget iframe {
  width: 100%;
  height: 500px;
  /* altura por defecto en PC */
  border: none;
}


/* ============================================================== Special Events ====================================================================== */
/* Eventos dentro de contact */
.events-container {
  margin-top: 20px;
  /* más cerca del bloque de contacto */
  padding: 10px 20px;
  /* opcional, espacio interno */
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* espacio vertical entre los resort items */
  color: #000000;
  text-align: center;
  position: relative;
  z-index: 2;
  /* igual que .contact-container */
}

.events-title {
  font-size: 2.5rem;
  margin-bottom: 5px;
  /* reducir el espacio */
  text-transform: uppercase;
}

.events-subtitle {
  font-size: 1.1rem;
  margin-top: 0;
  line-height: 1.2;
}

.event-item {
  background: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.events-title {
  font-size: 2.5rem;
  margin-bottom: 5px;
  text-transform: uppercase;
  color: #ffffff;
  /* aquí ponemos el blanco directamente */
}

.events-subtitle {
  font-size: 1.1rem;
  margin-top: 0;
  line-height: 1.2;
  color: #ffffff;
  margin-top: -20px;
}

.event-item h4 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.event-contact p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-contact a {
  color: #007c85;
  text-decoration: none;
}

.event-contact a:hover {
  color: #f99435;
}

.event-contact i {
  color: #007c85;
  min-width: 20px;
  text-align: center;
}

/* ==================== RESPONSIVE PARA CELULARES ==================== */
@media (max-width: 1024px) {

  /* Ajustes generales del contenedor principal */
  #contact {
    padding: 100px 15px;
    /* menos padding */
  }

  /* Header */
  .contact-header h2 {
    font-size: 5rem;
    /* más pequeño en tablets */
    line-height: 1;
    margin-top: 55px;
  }

  .contact-header p {
    font-size: 1rem;
    line-height: 2.5;
    margin-top: 15px;
  }

  .contact-box {
    margin-top: -100px;
  }

  /* Contenedor de los boxes */
  .contact-container {
    flex-direction: column;
    /* apilar en vez de fila */
    gap: 30px;
    width: 100%;

  }

  /* Boxes de info y formulario */
  .contact-info {
    min-width: 100%;
    /* ocupar todo el ancho */
    padding: 20px;
  }

  .contact-form iframe {
    transform: scale(0.85);
    /* ajusta según tu diseño */
    transform-origin: 0 0;
    height: 400px;
    /* altura ajustada tras el escalado */
  }

  /* Inputs y textarea más grandes y cómodos */
  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 10px;
  }

  /* Botón */
  .btn {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }

  /* Contact links */
  .contact-links a {
    font-size: 16px;
    gap: 4px;
  }

  /* Imágenes dentro de contact-info */
  .contact-info img {
    max-width: 100%;
    height: auto;
  }

  /* Contenedor de eventos */
  .events-container {
    padding: 20px;
    gap: 20px;
  }

  /* Títulos y subtítulos más pequeños */
  .events-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .events-subtitle {
    font-size: 1rem;
    line-height: 1.3;
  }

  /* Tarjetas de eventos */
  .event-item {
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* ocupan todo el ancho disponible */
    box-sizing: border-box;
  }

  .event-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  /* Contenido dentro de cada tarjeta */
  .event-contact p {
    font-size: 0.9rem;
    line-height: 1.3;
    display: flex;
    flex-wrap: wrap;
    /* permite que se mueva a la siguiente línea si no cabe */
    align-items: center;
    gap: 5px;
    /* menor separación en móviles */
    margin-bottom: 8px;
  }

  .event-contact i {
    min-width: 20px;
    text-align: center;
    color: #007c85;
  }

  .event-contact a {
    word-break: break-word;
    /* evita que links largos se salgan */
  }
}

/* ==================== CELULARES PEQUEÑOS ==================== */
@media (max-width: 768px) {

  /* El contenedor ocupa todo el ancho */
  #mc_embed_signup_widget {
    max-width: 100% !important;
    flex: 1 !important;
  }

  /* El iframe ocupa todo el ancho, pero menos alto */
  #mc_embed_signup_widget iframe {
    width: 100% !important;
    height: 350px !important;
    /* más compacto */
  }

  /* No achiques los inputs, mantenlos al 100% */
  #mc_embed_signup_widget input.email,
  #mc_embed_signup_widget input.text,
  #mc_embed_signup_widget input[type=email],
  #mc_embed_signup_widget input.button {
    width: 100% !important;
  }

  /* Header más pequeño */
  .contact-header h2 {
    font-size: 2.5rem;
  }

  .contact-header p {
    font-size: 0.9rem;
    line-height: 0.5;
  }

  /* Boxes más compactos */
  .contact-box {
    padding: 20px;
    gap: 20px;
  }

  .contact-info,
  .contact-form {
    padding: 15px;
    border-radius: 10px;
  }

  /* Events */
  .events-title {
    font-size: 2rem;
  }

  .events-subtitle {
    font-size: 1rem;
    margin-top: -10px;
  }

  .event-item {
    padding: 15px;
  }
}