/*.site-header {
  background: transparent;
}*/

/* --- HOME LAYOUT --- */

body {
  margin: 0;
  overflow-x: hidden;
  background-color: #333;
}

.home-row {
  display: flex;
  width: 100%;
  height: 62.9vw; /* ocupa toda la pantalla */
  position: relative;
  left: 0;
  z-index: -1; /* menú encima */
  border-bottom: solid 2px #fff;
}

.home-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Columna izquierda */
.left-col {
  position: relative;
  overflow: hidden;
  background-color: #333;
}

/* contenedor del video + svg */
.video-wrapper {
  margin-top: -40px;
  position: relative;
  width: 80%;
  height: 100%;
}

/* video con máscara SVG */
.masked-video {
  width: 100%;
  height: 100%;
  object-fit: cover;

  -webkit-mask-image: url("../img/MascaraVideoHome.svg");
  mask-image: url("../img/MascaraVideoHome.svg");

  -webkit-mask-size: contain;
  mask-size: contain;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;
}

/* SVG superpuesto */
.overlay-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none; /* no bloquea clics en el video */
}



/* Columna derecha con imagen de fondo */
.right-col {
  background-image: url("../img/FachadaHomeBanner.webp"); /* 🖼️ ajusta la ruta según tu estructura */
  background-size: cover;       /* la imagen cubre todo el espacio */
  background-position: center;  /* centrada */
  background-repeat: no-repeat; /* no se repite */
  height: 62.9vw;                /* asegura que cubra todo el alto */
}


/* --- Responsive --- */
@media (max-width: 900px) {
.home-row {
  margin-top: 0px;
}
}


/* --- FILA BOTÓN SELECCIONAR APTO --- */

.button-row {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 2; /* encima de la fila anterior */
}

.button-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.select-apto-btn {
  width: 20vw;
  max-width: 250px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(-50%);
}



/* --- Responsive --- */
@media (max-width: 900px) {
.select-apto-btn {
  width: 40vw;
}
}

/* --- SECCIÓN UBICACIÓN --- */

.ubicacion-section {
  display: flex;
  width: 100%;
  background-color: #333; /* gris oscuro del fondo */
  padding: 5vw;
  color: white;
  font-family: 'Open Sans', sans-serif;
}

.ubicacion-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 3.5vw;
}

.ubicacion-col.left {
  align-items: flex-end;
}

.img-edificio {
  width: 100%;
  max-width: 44vw;
  height: auto;
}

/* --- Columna derecha --- */
.texto-superior {
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 300;
  letter-spacing: 0.8px;
  line-height: 1.3;
  text-transform: uppercase;
  max-width: 32vw;
  margin-bottom: 4vw;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
}

.img-pareja {
  width: 100%;
  max-width: 29vw;
  padding-left: 1vw;
}

.img-foto {
  width: 100%;
  height: auto;
  display: block;
}

.titulo-ubicacion {
  font-size: 11vw;
  color: #98DCCB; /* color turquesa del texto */
  letter-spacing: -1px;
  margin-top: -4vw;
  margin-bottom: 10px;
  font-family: 'Bebas Neue', sans-serif;
  display: inline-block;
  line-height: 1em;
  z-index: 2;
  font-weight: 300;
}

.texto-inferior {
  font-size: clamp(12px, 1vw, 16px);
  line-height: 1.4;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}

.texto-inferior .direccion {
  font-size: clamp(12px, 1vw, 16px);
  color: #98DCCB;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
}

.descripcion-section-cel{
display: none;

}

.texto-inferior-cel{
  display: none;
}

/* Responsivo */
@media (max-width: 900px) {
  .ubicacion-section {
    padding: 7%;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }

  .ubicacion-col {
  padding: 0 1.5vw;
}

.ubicacion-col.left {
  align-items: flex-end;
}

.img-edificio {
 width: 50vw;
 max-width: 50vw;
}
  .texto-superior {
    display: none;

  }

.descripcion-section-cel{
display:flex;
width: 100%;
box-sizing: border-box;
align-items: center;
justify-content: center;
}

.texto-superior-cel {
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 300;
  letter-spacing: 0.8px;
  line-height: 1.3;
  text-transform: uppercase;
  max-width: 80vw;
  margin-bottom: 4vw;
  font-family: 'Open Sans', sans-serif;
  color: #fff;
  text-align: center;
}

.img-pareja {
  width: 100%;
  max-width: 35vw;
  padding: 0 1.5vw;
  box-sizing: border-box;
}

.texto-inferior{
  display: none;
}

.texto-inferior-cel{
  display: block;
}

.texto-inferior-cel {
  font-size: clamp(12px, 1vw, 16px);
  line-height: 1.4;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
}

.texto-inferior-cel .direccion {
  font-size: clamp(12px, 1vw, 16px);
  color: #98DCCB;
  font-family: 'Open Sans', sans-serif;
}


}

/* --- ENTRADA (solo en la imagen) --- */
.ubicacion-section .img-edificio,
.ubicacion-section .img-foto {
  opacity: 0;
  transform: translateY(60px); /* posición inicial para entrada */
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), opacity 0.9s ease-out;
  will-change: transform, opacity;
}

/* cuando la sección entra, las imágenes suben (staggered) */
.ubicacion-section.show .img-edificio {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}
.ubicacion-section.show .img-foto {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}

/* --- WRAPPER PARA PARALLAX (sin transitions) --- */
.parallax-wrap {
  will-change: transform;
  transform: translate3d(0,0,0);
  /* NO pongas transition aquí */
  /* puedes controlar overflow si necesitas recortar: */
  /* overflow: visible; */
}

/* --- ENTRADA TEXTOS --- */
.ubicacion-section .texto-superior,
.ubicacion-section .titulo-ubicacion,
.ubicacion-section .texto-inferior {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease-out;
  will-change: transform, opacity;
}

/* cuando entra la sección */
.ubicacion-section.show .texto-superior {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.ubicacion-section.show .titulo-ubicacion {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

.ubicacion-section.show .texto-inferior {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

/* --- ENTRADA IMÁGENES (ajuste con delay mayor) --- */
.ubicacion-section .img-edificio,
.ubicacion-section .img-foto {
  opacity: 0;
  transform: translateY(60px);
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), opacity 0.9s ease-out;
  will-change: transform, opacity;
}

/* cuando la sección entra, las imágenes suben (staggered con 1s de delay inicial) */
.ubicacion-section.show .img-edificio {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.12s; /* 🔹 empieza 1s después */
}

.ubicacion-section.show .img-foto {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.28s; /* 🔹 ligeramente después */
}


/*--------MAPA--------*/

.mapa-section {
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 0;
  position: relative;
}

.mapa-header {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
}

.switch-container {
  position: relative;
  background: #333;
  border-radius: 30px;
  display: flex;
  border: solid #98DCCB 1px;
  overflow: hidden;
  width: fit-content;
}

/* 🔹 Fondo que se mueve bajo el botón activo */
.switch-highlight {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background-color: #98DCCB;
  border-radius: 30px;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

/* Botones */
.switch-btn {
  border: none;
  background: transparent;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  padding: 10px 36px;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  z-index: 1; /* sobre el highlight */
  transition: color 0.3s ease;
}

/* Botón activo */
.switch-btn.active {
  color: #1e1e1e;
}



.mapa-contenedor {
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.mapa-contenedor iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* 🔹 Transición suave entre iframes */
.mapa-contenedor iframe {
  opacity: 1;
  transition: opacity 0.6s ease;
}

.mapa-contenedor iframe.fade-out {
  opacity: 0;
}


/* --- Responsive --- */
@media (max-width: 900px) {
.mapa-header {
  justify-content: center;
  padding-top: 7vh;
  padding-bottom: 5vh;
}

.mapa-contenedor {
  height: 60vh;
}
}


/* ===== ENTORNO SECTION ===== */
.entorno-section {
  display: flex;
  width: 100%;
  min-height: 10svh;
  background-color: #333;
  color: #fff;
}

.entorno-left {
  width: 64vw;
  padding: 3vw 0 0 3vw;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
}

.entorno-texto h4 {
  color: #98DCCB;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: clamp(12px, 1vw, 18px);
  max-width: 30vw;
}

.entorno-texto p {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
  max-width: 30vw;
  margin-top: 12px;
  color: #fff;
  font-weight: 300;
  font-size: clamp(12px, 1vw, 16px);
}

.entorno-imagen {
  position: relative;
  margin-bottom: 0vw;
}

.entorno-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

.entorno-titulo {
  position: absolute;
  top: -9.5vw;
  right: 40px;
  font-size: 6vw;
  font-weight: 300;
  opacity: 0.15 !important;
  letter-spacing: 2px;
  font-family: 'Bebas Neue', sans-serif;
  text-align: right;
}

.entorno-right {
  width: 36vw;
  background-color: #98DCCB;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* empuja el footer al fondo */
  align-items: flex-end; /* alinea a la derecha */
  min-height: 10svh;
}

.entorno-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 36vw; /* 🔹 asegura el ancho exacto */
  border: 2px solid #333333; /* 🔹 un solo borde general */
  border-left: none;
  border-bottom: none;
  box-sizing: border-box; /* 🔹 incluye el borde en el ancho total */
}

.entorno-item {
  position: relative; /* ✅ nuevo */
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-left: 2px solid #333333;
  border-bottom: 2px solid #333333;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.3s ease;
  padding-bottom: 1.2vw;
}



.entorno-item img {
  width: 3vw;
  height: 3vw;
  position: absolute; /* 🔹 centrado total */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: invert(0);
  transition: filter 0.3s ease;
}

.entorno-item.active img {
  filter: invert(1);
  filter: brightness(100);
}

.entorno-item p {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  margin: 0;
  z-index: 2;
  font-size: clamp(12px, 1vw, 18px);
}

.entorno-item.active p {
  color: #fff;
}

.entorno-footer {
  font-family: 'Bebas Neue', sans-serif;
  color: #333333;
  font-weight: 800;
  line-height: 1em;
  font-size: clamp(40px, 3vw, 2.5vw);
  text-align: right;
  width: 20vw;
  padding: 0 2vw;
}

#entorno-img,
#entorno-subtitulo,
#entorno-titulo,
#entorno-descripcion {
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
.entorno-section {
 flex-direction: column-reverse;
 box-sizing: border-box;
 min-height: 0;
}

.entorno-left {
  width: 100vw !important;
  box-sizing: border-box;
  align-items: center;
  padding: 0;
}

.entorno-texto h4 {
  font-size: clamp(16px, 1.5vw, 20px);
  max-width: 90vw !important;
  box-sizing: border-box;
  text-align: center;
  padding-left: 2vw;
  padding-right: 2vw;
  padding-top: 4vw;
}

.entorno-texto p {
  font-size: clamp(16px, 1.5vw, 20px);
  padding-left: 2vw;
  padding-right: 2vw;
  max-width: 90vw !important;
  box-sizing: border-box;
  text-align: center;
  padding-bottom: 10vw;
}


.entorno-titulo {
  top: -18vw;
  font-size: 11vw;
  right: 1vw;
}

.entorno-right {
  width: 100vw;
  flex-direction: row;
  min-height: 1svh;
  box-sizing: border-box;
}

.entorno-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100vw; /* 🔹 asegura el ancho exacto */
}

.entorno-item {
  padding-bottom: 2.5vw;
}

.entorno-item img {
  width: 5vw;
  height: 5vw;
}

.entorno-item p {

  text-align: center;
  margin: 0;
  z-index: 2;
  font-size: clamp(12px, 1.5vw, 18px);
}

.entorno-footer {
 display: none;
}

}


/* --- Responsive --- */
@media (max-width: 768px) {

.entorno-item p {

  display: none;
}

.entorno-item img {
  width: 8vw;
  height: 8vw;
}


}

/* ===== ZONAS COMUNES ===== */

.zonas-comunes-section {
  width: 100vw;
  background-color: #333333;
  display: flex;
  flex-direction: column;
  padding: 6vw 0;
  box-sizing: border-box;
  color: white;
  font-family: 'Open Sans', sans-serif;
}

/* --- Título --- */
.zonas-comunes-title {
  font-family: 'Bebas Neue', sans-serif;
  color: #98DCCB;
  font-size: 12vw;
  line-height: 0.9em;
  margin: 0;
  padding-left: 7vw;
  font-weight: 300;
  z-index: 2;
  opacity: 0;
  transform: translateY(40px) translateZ(0); /* ✅ combinar ambas */
  will-change: transform, opacity;
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), opacity 0.9s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}


/* --- Contenido --- */
.zonas-comunes-content {
  display: flex;
  align-items: end;
  gap: 2vw;
  padding-left: 6vw;
  margin-top: -10vw;
}

/* --- Columna izquierda --- */
.zonas-comunes-left {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: end;
  gap: 1.5vw;
  width: 49vw;
}

.zonas-comunes-img img {
  width: 29vw;
  height: auto;
  display: block;
}

.zonas-comunes-text {
  font-size: clamp(10px, 1vw, 16px);
  color: #ffffff;
  line-height: 1.3em;
  text-align: right;
  width: 18vw;
  font-weight: 300;
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), opacity 0.9s ease-out;
}

/* --- Columna derecha --- */
.zonas-comunes-right {
  flex: 1;
  display: flex;
  justify-content: right;
  align-items: end;
  width: 41vw;
}

.zonas-comunes-right img{
  width: 100%;
}

/* --- Entradas --- */
.zonas-comunes-section .comun-left-img,
.zonas-comunes-section .comun-right-img {
  opacity: 0;
  transform: translateY(60px);
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), opacity 0.9s ease-out;
  will-change: transform, opacity;
}

/* --- Cuando entra en viewport --- */
.zonas-comunes-section.show .zonas-comunes-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.zonas-comunes-section.show .zonas-comunes-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.zonas-comunes-section.show .comun-left-img {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

.zonas-comunes-section.show .comun-right-img {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

/* --- Wrapper parallax --- */
.parallax-wrap {
  will-change: transform;
  transform: translate3d(0,0,0);
  width: 100%;
  height: auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {

.zonas-comunes-section {
  padding: 6vh 0 3vh 0;
  box-sizing: border-box;
}

.zonas-comunes-content {
  box-sizing: border-box;
  margin-top: -5vw;
}

.zonas-comunes-img img {
  display: none;
}

.zonas-comunes-right {
  width: 60vw !important;
  box-sizing: border-box;
}

.zonas-comunes-left {
  width: 30vw !important;
  box-sizing: border-box;
  flex: 0.5;
}

.zonas-comunes-text {
width: 100%;
font-size: clamp(12px, 1.8vw, 24px);
}

.zonas-comunes-title {
  font-size: 15vw;
}

}


/* ===== SLIDER ZONAS COMUNES ===== */

.zonas-slider-section {
  width: 100%;
  overflow: hidden;
  background-color: #333;
  padding: 5vw 0;
  position: relative;
}

.zonas-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  
}

.zonas-slider-track {
  display: flex;
  align-items: center;
  height: 100%;
  transition: transform 0.6s ease;
  will-change: transform;
}

.zona-slide {
  position: relative;
  flex: 0 0 60%; /* 🔹 ancho de la imagen principal */
  margin: 0 2%;
  overflow: hidden;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.zona-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* 🔹 Degradado inferior */
.zona-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  z-index: 1;
}

/* 🔹 Título alineado a la izquierda */
.zona-titulo {
  position: absolute;
  bottom: 20px;
  left: 30px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  color: #fff;
  letter-spacing: 1px;
  z-index: 2;
}

/* 🔹 Estado de escala */
.zona-slide.active {
  transform: scale(1);
  opacity: 1;
  /*cursor: grabbing;*/
}


/* --- RESPONSIVE --- */
@media (max-width: 900px) {

  .zona-slide {
    flex: 0 0 80%;
    margin: 0 1%;
  }

  .zona-titulo {
    left: 20px;
    bottom: 15px;
    font-size: clamp(20px, 6vw, 36px);
  }
}


html, body {
  overflow-x: hidden;
  touch-action: pan-y; /* Permite solo scroll vertical */
}

.zonas-slider-container {
  touch-action: pan-y; /* evita conflicto con scroll horizontal global */
}

/* 🔹 Evita que las imágenes o textos se seleccionen durante el drag */
.zonas-slider-track,
.zona-slide,
.zona-slide img,
.zona-titulo {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent; /* elimina el destello azul en móviles */
}


/* === CURSOR PERSONALIZADO SUAVIZADO CON ANIMACIONES === */
.custom-slider-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 55px;
  height: 55px;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 9999;
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

/* Al entrar al área del slider (animación de aparición) */
.custom-slider-cursor.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Al hacer click (achique sutil) */
.custom-slider-cursor.click {
  transform: translate(-50%, -50%) scale(0.85);
}

.zonas-slider-section,
.zonas-slider-container,
.zonas-slider-track {
  cursor: none !important;
}



/* === SECCIÓN DETALLE === */
.detalle-section {
  width: 100%;
  background-color: #333;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  padding: 2vw 0 7vw 0;
  position: relative;
  overflow: hidden;
}

.detalle-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 10vw;
  color: #98DCCB;
  line-height: 0.9;
  margin: 0;
  text-align: center;
  position: relative;
  z-index: 2;
  transform: translateY(1vw);
  font-weight: 300;
  text-align: left;
  padding-left: 8vw;
}

.detalle-contenido {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  margin-top: -4vw; /* título un poco encima de la imagen */
}

.btn-seleccion{ 
width: 25vw;
display: flex;
justify-content: end;
align-items: end;
}


.detalle-imagen-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.detalle-imagen {
  width: 40vw;
  height: auto;
  display: block;
}

.detalle-texto {
  display: flex;
  flex-direction: column;
  width: 25vw;
  text-align: left;
  justify-content: end;
  padding: 0 2vw;
  gap: 0px;
}

.detalle-texto h3 {
  font-size: clamp(16px, 1vw, 18px);
  font-weight: 600;
  color: #98DCCB;
  margin-bottom: 1vw;
  text-transform: uppercase;
}

.detalle-texto p {
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 300;
  line-height: 1.5;
}

.btn-seleccion a {
  display: inline-block;
   z-index: 2;
}

.btn-seleccion a img {
  display: block;
  width: 20vw;
  max-width: 250px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translate(50%, 50%);
}


/* --- Responsive --- */
@media (max-width: 768px) {

  .detalle-section{

    padding-top: 8vh;

  }
  .detalle-contenido {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 0;
  }

  .detalle-imagen {
    order: 1;
    width: 80%;
  }

  .btn-seleccion{

    order: 2;
    width: 100vw;
    align-items: center;
    justify-content: center;
  }

  .detalle-boton {
  width: 40vw;
  transform: translate(0%, -50%);
  z-index: 2;
}

.btn-seleccion a img {
  width: 40vw;
  transform: translate(0%, -50%);

}

  .detalle-texto {
    order: 3;
    text-align: center;
    width: 80vw;
  }

  .detalle-titulo {
  font-size: 15vw;
  transform: translateY(5vh);
}
}


/* --- ANIMACIONES DE ENTRADA SECCIÓN DETALLE --- */
.detalle-section .detalle-titulo,
.detalle-section .detalle-imagen,
.detalle-section .detalle-texto h3,
.detalle-section .detalle-texto p {
  opacity: 0;
  transform: translateY(40px);
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1), opacity 0.9s ease-out;
  will-change: transform, opacity;
}

/* Cuando entra al viewport */
.detalle-section.show .detalle-titulo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.detalle-section.show .detalle-imagen {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.detalle-section.show .detalle-boton {
  opacity: 1;
  transition-delay: 0.9s;
}

.detalle-section.show .detalle-texto h3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.2s;
}

.detalle-section.show .detalle-texto p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.4s;
}


