/* =====================================================
   1️⃣ BASE GLOBAL
===================================================== */
html, body {
    overflow-x: hidden;
}

body {
    font-family: "Montserrat", Helvetica, sans-serif;
    margin: 0;
  
 /* Fondo degradado moderno y suave */
   background-color: #F5F1E8;


        /* Blur ligero para mejorar legibilidad del texto */
    backdrop-filter: blur(1.5px);
}



h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
     color: #EF036C;
}

h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  
}

h2::after, h3:after{
  content:"";
  display:block;
  width:60px;
  height:3px;
  background:#EF036C;
  margin:8px auto 0;
}

h4:after{
  content:"";
  display:block;
  width:3rem;
  height:2px;
  background:#EF036C;
}




/* =====================================================
   2️⃣ COMPONENTES GLOBALES
===================================================== */



/* =====================================================
   3️⃣ NAVBAR
===================================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1B2A41;
  /* background: rgba(15, 23, 42, 0.9); */
  backdrop-filter: blur(6px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: visible; /* <-- importante */
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}



/* Marca */
.nav-brand h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
}

.nav-brand span {
   font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  color:#EE72F8;
}

/* Links */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px; 
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #EF036C;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.logo{
   width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 50%;
  background: white; /* opcional */
  padding: 5px;
}

.nav-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}


.brand-text{
  display: flex;
  flex-direction: column;
}

.brand-text h1{
  margin: 0;
}

.brand-text span{
  font-size: 14px;
}


/* Botón hamburguesa */
.hamburger {
  display: none; /* por defecto no se muestra */
  flex-direction: column;
  justify-content: center; /* centramos las barras verticalmente */
  align-items: center;
  width: 3rem;
  height: 2rem; /* un poco más alto para las barras */
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100; /* arriba del menú */
  margin: 1rem;
  position: relative; /* importante */
}

.hamburger span {
  display: block;
  width: 100%;
  height: 0.25rem; /* más grueso */
  background: #fff;
  border-radius: 3px;
  margin: 0.25rem 0; /* espacio entre barras */
  transition: all 0.3s ease;
  transform-origin: center; /* muy importante para la rotación centrada */
}

.hamburger.open span {
  position: absolute;
  left: 0;
  width: 100%;
  margin: 0;
  top: 50%;
}


/* Animación cruz */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  background: #fff;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  background: #fff;
}


/* =====================================================
   4️⃣ HERO / SLIDER PRINCIPAL
===================================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4rem; /* espacio navbar */
}

.hero-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.hero-slider img.active {
  opacity: 1;
}


/* ===== TEXTO SOBRE EL SLIDER ===== */
.hero-overlay {
  position: relative;
  z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    color: #ffffff; /* blanco */
    text-align: center;
    padding: 2rem;

}

/*Estilo para el parrafo que esta dentro de la imagen*/
.hero-overlay h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* sombra extra para destacar */
}

/*Estilo para el titulo que esta dentro de la imagen*/
.hero-overlay p {
  font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

.hero-overlay .btn-primary,
.duplex-reserve .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    /* background-color: #25D366; */
    background-color: #31EC56;
    color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: background-color 0.3s, transform 0.3s;
}

.hero-overlay .btn-primary:hover {
    background-color: #22B340;
    transform: translateY(-2px);
}

.hero-overlay .btn-primary{
  margin-top: 3rem;
}



/* =====================================================
   1️⃣ SECCIÓN DISPONIBILIDAD - contenedor general
===================================================== */
.disponibilidad {
  padding: 60px 20px;
  text-align: center;
  background: #f7f5ef;
}

/* =====================================================
   2️⃣ CALENDARIO - contenedor y frame
===================================================== */
.calendario-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.calendario-frame {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 15px;
}

/* =====================================================
   3️⃣ NOTA DEL CALENDARIO
===================================================== */
.nota-calendario {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}

/* =====================================================
   4️⃣ RESERVA - contenedor de campos y botón
===================================================== */
.reserva-fechas {
   position: relative; /* contenedor padre relativo */
  margin-top: 40px;
  display: flex;
  flex-direction: column; /* elementos uno debajo de otro */
  align-items: center;
  gap: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Campos individuales de entrada/salida */
.campo-fecha {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.campo-fecha label {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #555;
}

.fechas-grid {
  display: flex;
  gap: 15px;
  width: 100%;
}

/* Estilo de los inputs dentro del grid */
.fechas-grid input,
.reserva-fechas input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

.seleccion-fechas{
  color: #0f172a;
  font-size: 1.5rem;
}


/*Estilo de leyendas del calendario*/
.leyenda-calendario{
  display:flex;
  justify-content:center;
  gap:25px;
  margin-top:15px;
  font-size:14px;
}

.item-leyenda{
  display:flex;
  align-items:center;
  gap:8px;
}

.ocupado{
  width:14px;
  height:14px;
  background:#e74c3c;
  border-radius:50%;
}

.libre{
  width:14px;
  height:14px;
  background:#ffffff;
  border:2px solid #ccc;
  border-radius:50%;
}


/* =====================================================
   5️⃣ BOTÓN DE RESERVA
===================================================== */
.btn-reserva {
  background: #31EC56;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn-reserva:hover {
  background: #22B340;
}


/*Modal*/
/* Modal estilo simple */
.modal {
  display: none; /* oculto por defecto */
  position: absolute; /* relativo a reserva-fechas */
  top: 50%; /* centro vertical */
  left: 50%; /* centro horizontal */
  transform: translate(-50%, -50%); /* centra exactamente */
  z-index: 100; /* encima del iframe */
  width: 90%; /* responsive */
  max-width: 380px;
  background: rgba(247,245,239,0.95); /* mismo tono que tu fondo */
  border-radius: 12px;
  padding: 0; /* padding se lo damos al content *//
}

.modal-content {
 background: #ffffff;
  padding: 22px 24px;
  border-radius: 14px;
  text-align: center;

  box-shadow: 0 12px 30px rgba(0,0,0,0.15);

  border-top: 4px solid #EF036C; /* color principal de tu web */
}


/* Texto del modal */

.modal-content p{
  color:#444;
  font-size:0.95rem;
  line-height:1.5;
  margin-top:10px;
}

/* Botón cerrar */

.close {
  color:#EF036C;
  float:right;
  font-size:1.5rem;
  cursor:pointer;
  font-weight:bold;
}

.close:hover {
   color:#c00257;
}

/* =====================================================
   5️⃣ SECCIÓN DÚPLEX (CARDS)
===================================================== */

.duplex-section {
  padding: 1rem 1.5rem;
 background: #F5F1E8;
  text-align: center;
}

.duplex-section h2 {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: #0f172a;
}

.duplex-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.duplex-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.duplex-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.duplex-card img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.duplex-card h3 {
  font-size: 1.3rem;
  margin: 1.2rem 1rem 0.4rem;
  color: #0f172a;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}


.duplex-card p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 1.4rem;
}


/* Botón */
.duplex-card a {
  display: inline-block;
  margin-bottom: 1.6rem;
  padding: 0.6rem 1.8rem;
  background-color:#31EC56;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.duplex-card a:hover {
  background:#22B340;
  transform: translateY(-2px);
}




/* =====================================================
   6️⃣ CARRUSEL INTERNO DÚPLEX
===================================================== */

.duplex-carousel-wrapper {
    /* display: flex; */
    gap: 3rem;
    padding: 2rem;
    max-width: 40rem;
    margin: 0 auto;
    align-items: stretch;
}

.duplex-carousel {
    flex: 2;
    position: relative;
    height: 50vh;
    min-height: 24rem;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 1rem 2.5rem rgba(0,0,0,0.02);
}


.carousel-container img {
 position: absolute;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-container img.active {
  opacity: 1;
}


/* =====================================================
   1️⃣ Planta Baja y Planta Alta
===================================================== */


/*Planta Baja titulo*/
.duplex-hero {
    position: relative;
    text-align: center;
    padding: 5rem 2rem 1rem; /* espacio superior para navbar */
    background: url('../assets/img/hero-duplex.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.duplex-hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color:  #ffffff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.description-container h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #EF036C;
    margin: 8px auto 0;
}

.duplex-hero-text p {
    font-size: 1.2rem;
    color: #EE72F8;
}

.duplex-hero-text h2::after{
    content:"";
    display:block;
    width:60px;
    height:3px;
    background:#EF036C;
    margin:10px auto 0;
}


/* ===== DESCRIPCIÓN DEL DÚPLEX Planta Baja===== */
.duplex-description {
    flex: 1;    
    background: #F5F1E8;  
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* reparte bloques verticalmente */
    
}

.description-container {
  
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* ocupa toda la altura de la descripción */
   
    
}

.desc-block {
    margin-bottom: 0.25rem;
}

.desc-block h4 {
    font-size: 1.2rem;
    color: #EE72F8;
    margin-bottom: 0.5rem;
}

.desc-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}




/* =====================================================
   7️⃣ VIDEO
===================================================== */
/*Planta Baja*/
.duplex-video {
     padding: 4rem 2rem;
    text-align: center; 
    border-radius: 20px; /* suaviza contenedor general */
    background: #F5F1E8;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* sombra sutil */
    margin: 4rem 1rem; /* espacio externo */
    position: relative;
    overflow: hidden;
}

.duplex-video h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #EF036C; /* azul oscuro legible */
    text-shadow: 1px 1px 4px rgba(255,255,255,0.5); /* resalta sobre fondo */
}

/* Contenedor con ancho limitado */
.video-container {
  
    max-width: 60rem;           /* ancho máximo */
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    background: #f1f5f9; /* fondo suave */
    height: 0;
    padding-top: 40%;           /* menor porcentaje = menos alto */
    
}

/* Proporción 16:9 para no alargar demasiado el video */
.video-container::before {
    content: "";
    display: block;
    padding-top: 100%; /* 16:9 */
}

/* Estilo del video */
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}






/* Flechas */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  
  display: flex;
  justify-content: space-between;
  align-items: center;

  transform: translateY(-50%);
  
  padding: 0 75px;
  box-sizing: border-box;

  z-index: 10;
}

.carousel-controls button {
    background: rgba(0,0,0,0.75);
    border: none;
    color: white;
    font-size: 1.2rem;
    
    width: 48px;
    height: 48px;

    border-radius: 50%;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s ease;

    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.carousel-controls button:hover {
  background: rgba(0, 0, 0, 0.8);
}
















/* ===== GRADIENT OVERLAY para sombra ===== */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  z-index: 2;
}













/* =====================================================
   9️⃣ FOOTER
===================================================== */
.footer-modern {
  background: linear-gradient(to top, #06121c, #0f172a);
  color: #e5e7eb;
  padding: 4rem 1.5rem;
  
}

.footer-modern-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

/* Brand */
.footer-modern .brand h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.footer-modern .brand p {
  color: #cbd5e1;
  line-height: 1.6;
  max-width: 380px;
}

/* Columnas */
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: 0.5px;
}

/* .footer-col a, */
.footer-col p {
  display:flex;
  align-items:center;
  gap:6px;
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 0.6rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-col a{
  display: block;
  font-size:0.95rem;
  color:#cbd5e1;
  text-decoration:none;
  transition:all 0.25s ease;
  margin-bottom:0.6rem;
  line-height:1.6;
}

.footer-col a:hover {
  color: #EF036C;
  transform: translateX(4px);
}

.footer-col i{
  color:#EF036C;
  width:20px;
}



.footer-copy {
   margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.85rem;
  color:#94a3b8;
}






.seo-text {
  max-width: 1000px;
  margin: 60px auto;
  padding: 1rem;
  
  /* background: linear-gradient(135deg, rgba(44,123,229,0.08), rgba(44,123,229,0.15)); */
  border-radius: 12px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.seo-text:hover {
  transform: translateY(-5px);
}

.seo-text h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color:#333; /* azul principal */
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
}

.seo-text h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color:#090e1a; /* azul más oscuro para línea */
  margin: 12px auto 0;
  border-radius: 2px;
}

.seo-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555; /* gris oscuro para párrafo */
  max-width: 800px;
  margin: 0 auto;
}

/* Opcional: iconos decorativos minimalistas */
.seo-text::before,
.seo-text::after {
  content: "";
  position: absolute;
  font-size: 3rem;
  opacity: 0.08; /* muy sutil */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #2c7be5;
}


.seo-text h2::after{
    content:"";
    display:block;
    width:50px;
    height:3px;
    background:#EF036C;
    margin:10px auto 0;
}

.seo-text::before {
  top: 10px;
  left: 10px;
}

.seo-text::after {
  bottom: 10px;
  right: 10px;
}

/* =========================
   SECCIÓN CONTACTO PROFESIONAL
========================= */

.contact-section {
    position: relative;
    padding: 4rem 1rem;
    text-align: center;
    color: #fff;
    background-image: url('./assets/img/fondo-contacto.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    font-family: "Montserrat", Helvetica, sans-serif;
}

/* Capa de superposición */
.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65), rgba(0,0,0,0.45));
    z-index: 0;
}

/* Todo el contenido encima de la superposición */
.contact-section > * {
    position: relative;
    z-index: 1;
}

/* Título principal */
.contact-section h2 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.contact-section p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

/* Botones de contacto */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    gap: 1rem;
    /* margin-bottom: 0.5rem; */
}


     .contact-buttons a{
  flex:1;
  max-width:11rem;
}

.contact-buttons .btn-primary {
    background-color:#EF036C;
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    
}

.contact-buttons .btn-primary:hover {
    background-color:#d0025e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.contact-buttons .btn-whatsapp{
    background-color:#31EC56;
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    /* margin-top: 5rem; */
}

.contact-buttons .btn-whatsapp:hover {
     background-color: #22B340;
    transform: translateY(-3px);
}








.ubicacion{
margin-top: 4rem;
}

/* Información de contacto estilo tarjeta */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    font-size: 1rem;
    color: #e0e6ed;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.1);
    padding: 0.8rem 0.2rem;
    margin: 2rem;
    border-radius: 12px;
    width: 100%;
    justify-content: center;
    transition: background 0.3s ease;
}

.contact-info p:hover {
    background: rgba(255,255,255,0.2);
}

/* Íconos decorativos opcionales */
.contact-info p::before {
    font-size: 1.2rem;
}


/* =========================
   SECCIÓN UBICACIÓN
========================= */

.ubicacion-section {
  
  position:relative;
  padding:5rem 1rem;
  text-align:center;
  color:#fff;
  font-family:"Montserrat", Helvetica, sans-serif;

  background-image:url('../assets/img/fondo-ubicacion.png');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  

  overflow:hidden;
  min-height:650px;
}

/* ===== Overlay oscuro ===== */
.ubicacion-section::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  z-index:0;
}

/* Contenido encima del overlay */
.ubicacion-section > * {
    position: relative;
    z-index: 1;
}

/* =========================
   TITULO Y TEXTO
========================= */
.ubicacion-section h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.ubicacion-section p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

/* =========================
   MAPA
========================= */
.map-container {
    width: 100%;
   max-width:90%;
  margin:0 auto;
  position:relative;

  height:0;
  padding-bottom:56.25%; /* relación 16:9 */

  border-radius:15px;
  overflow:hidden;

  box-shadow:0 10px 30px rgba(0,0,0,0.3);
  transition:transform .3s ease, box-shadow .3s ease;
}

/* Hover efecto sutil */
.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.35);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
}

/* =========================
   BOTÓN WHATSAPP
========================= */

.ubicacion .btn-whatsapp{
  display: block;
  width: 100%;
  max-width: 340px;   /* evita que sea enorme en escritorio */
  margin: 1rem auto;  /* centra el botón */
  padding: 14px 18px;
  font-size: 1rem;
  text-align: center;
  border-radius: 8px;
}

 

/*Duplex planta Alta*/
.duplex-features {
    padding: 1rem;
    /* background: #f1f5f9;; */
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
}

.feature {
    padding: 1.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.04);
    transition: 0.3s ease;
     display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature:hover {
    transform: translateY(-4px);
}

.feature i{
  font-size:1.1rem;
  color:#EF036C;
}

.feature p {
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}


.duplex-features h3::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #EF036C;
    margin: 8px auto 0;
}

.duplex-reserve {
    text-align: center;
    padding: 4rem 2rem;
}


/*Whatsapp Flotante*/

.whatsapp-float {
     position: fixed; /* fijo al viewport */
    bottom: 20px;     /* margen desde abajo */
    right: 20px;      /* margen desde la derecha */
    width: 60px;
    height: 60px;
    z-index: 9999;
    cursor: pointer;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* círculo */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

.whatsapp-float:hover {
    transform: scale(1.1); /* efecto hover */
}



.creditos{
  text-align: center;
    margin-top:8px;
    font-size:.85rem;
    color:#94a3b8;;
}

.creditos a{
    color:#2563EB;
    text-decoration:none;
}

.creditos a:hover{
    text-decoration:underline;
}

 

/* ===== Grande: tablets horizontales / laptops ≤ 992px ===== */
@media (max-width: 992px) {
    .duplex-section h2 { font-size: 2rem; }
    .duplex-card img { height: 13.75rem; } /* antes 220px */
    .seo-text h2 { font-size: 2rem; }
    .seo-text p { font-size: 1rem; }
    .btn-primary, .btn-whatsapp { 
      width: auto; padding: 0.8rem 2rem; font-size: 1rem; 
    }

    .video-container{
  width:100%;
  max-width:100%;
  padding-top:60%; /* hace el video más alto */
}

.video-container video{
  object-fit:cover;
}

    .contact-info{
     margin-right: 3rem;
      margin: 0 auto;
      text-align: center;
    }

    .footer-col a{
      font-size:0.95rem;
      color:#cbd5e1;
      text-decoration:none;
      transition:all 0.25s ease;
   }
   
}

/* ===============================
   RESPONSIVE - TABLETS Y MÓVILES
   (max-width: 768px)
================================= */

@media (max-width: 768px) {

  /* =====================================================
     NAVBAR
  ===================================================== */

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;

    transform: translateX(100%);

    display: flex;
    flex-direction: column;

    width: min(20rem, 85vw);
    height: 100vh;

    padding: 4rem 2rem;
    gap: 1.8rem;

    background: #002147;

    overflow-y: auto;

    transition: transform 0.3s ease;

    z-index: 999;
  }

  .nav-links.active {
    transform: translateX(0);
    background: #002147;
  }

  .nav-links a {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
  }

  .hamburger {
    display: flex;
  }


  /* =====================================================
     HERO / DUPLEX
  ===================================================== */

  .duplex-section h2 {
    font-size: 1.8rem;
  }

  .duplex-card img {
    height: 200px;
  }


  /* =====================================================
     SEO TEXT
  ===================================================== */

  .seo-text {
    padding: 30px 20px;
  }

  .seo-text h2 {
    font-size: 1.8rem;
  }

  .seo-text p {
    font-size: 1rem;
  }


  /* =====================================================
     CONTACTO Y UBICACIÓN
  ===================================================== */

  .contact-section h2,
  .ubicacion-section h2 {
    font-size: 2.5rem;
    margin-top: 3.5rem;
  }

  .ubicacion-section {
    padding: 4rem 1rem 1rem;
  }

  /* ----- Contenedor contacto ----- */

  .contact-container {
    width: 100%;
    max-width: 500px;
    margin: auto;
    text-align: center;
  }

  .contact-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }

  /* ----- Botones ----- */

  .contact-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;

    gap: 1rem;
  }

  .contact-buttons a {
    flex: 1;
    max-width: 220px;
  }

  .btn-primary,
  .btn-whatsapp {
    width: 80%;
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  /* ----- Información contacto ----- */

  .contact-info {
    margin: 0 auto;
    margin-top: 2rem;

    text-align: center;

    font-size: 0.95rem;
    line-height: 1.6;
  }


  /* =====================================================
     FOOTER
  ===================================================== */

  .footer-modern {
    text-align: center;
  }

  .footer-modern-container {
    grid-template-columns: 1fr;
    gap: 2rem;

    text-align: center;
  }

  .footer-modern .brand p {
    margin: 0 auto;
  }

  .footer-col p {
    display: flex;
    justify-content: center;

    margin-bottom: 0.6rem;

    text-align: center;

    font-size: 0.95rem;
    color: #cbd5e1;

    text-decoration: none;

    transition: all 0.25s ease;
  }

  .footer-col a:hover {
    transform: none;
  }


  /* =====================================================
     SUBRAYADOS DECORATIVOS
  ===================================================== */

  h4::after {
    content: "";

    display: block;

    width: 3rem;
    height: 2px;

    margin: 8px auto 0;

    background: #EF036C;
  }

  .desc-block h4::after {
    content: "";

    display: block;

    width: 3rem;
    height: 2px;

    margin: auto 0;

    background: #EF036C;
  }

}




/* ===== Pequeño: celulares medianos ≤ 576px ===== */
@media (max-width: 576px) {
    .duplex-section h2 { font-size: 1.6rem; }
    .duplex-card img { height: 10.5rem; } /* antes 170px */
    .seo-text h2 { font-size: 1.6rem; }
    .seo-text p { font-size: 0.95rem; }
    .btn-primary, .btn-whatsapp { width: 85%; padding: 0.7rem 0; font-size: 0.95rem; }

    .contact-info{
  text-align: center;
  margin: 0 auto;
}


}

/* =====================================================
   MOBILE MUY PEQUEÑOS (≤ 480px)
   Ajustes generales para celulares chicos
===================================================== */
@media (max-width: 480px) {

/* =====================================================
   TITULOS Y TEXTOS
===================================================== */

.duplex-section h2{
  font-size:1.5rem;
}

.seo-text h2{
  font-size:1.5rem;
}

.seo-text p{
  font-size:0.9rem;
}


/* =====================================================
   TARJETAS DE DUPLEX
===================================================== */

.duplex-card img{
  height:9rem;
}

.carousel-controls{
  padding: 0 0.5rem;
}

/* =====================================================
   BOTONES GENERALES
===================================================== */

.btn-primary,
.btn-whatsapp{
  width:90%;
  padding:0.65rem 0;
  font-size:0.9rem;
}


/* =====================================================
   FEATURES / CARACTERISTICAS
===================================================== */

.features-grid{
  grid-template-columns:repeat(2,1fr);
  gap:1rem;
}

.feature{
  background:none;
  box-shadow:none;
  border-radius:0;
  padding:0.5rem;

  display:flex;
  align-items:center;
  gap:10px;
}

.feature i{
  font-size:1.1rem;
  color:#EF036C;
}

.feature p{
  margin:0;
  text-align:left;
  font-size:0.9rem;
}


/* =====================================================
   SECCION CONTACTO
===================================================== */

.contact-info{
  margin-top:2rem;
  text-align:center;
}

.contact-info p{
  font-size:0.9rem;
  line-height:1.6;
  margin-bottom:0.5rem;
}

/* botones contacto */

.contact-buttons{
  flex-direction:column;
  gap:0.8rem;
  align-items:center;
}

.contact-buttons .btn-primary,
.contact-buttons .btn-whatsapp{
  width:90%;
  padding:0.7rem 0;
  font-size:0.95rem;
  border-radius:8px;
}


/* =====================================================
   BOTON WHATSAPP EN SECCION UBICACION
===================================================== */

.ubicacion .btn-whatsapp{
  width:90%;
  max-width:320px;
  padding:14px 0;
  font-size:1rem;
  border-radius:8px;
}


/* =====================================================
   VIDEO
===================================================== */

.duplex-video{
  padding:1rem 0.5rem;
  margin:1rem 0.5rem;
  text-align:center;
}

.duplex-video h3{
  font-size:1.3rem;
  margin-top:0.3rem;
}

.video-container{
  width:100%;
  max-width:100%;
  padding-top:60%; /* hace el video más alto */
}

.video-container video{
  object-fit:cover;
}


/* =====================================================
   CALENDARIO
===================================================== */

.calendario-container{
  width:100%;
  padding:0.5rem;
  box-sizing:border-box;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 6px 15px rgba(0,0,0,0.12);
}

.calendario-frame{
  width:100%;
  height:400px;
}


/* =====================================================
   FORMULARIO DE RESERVA
===================================================== */

.reserva-fechas{
  width:92%;
  margin-left:auto;
  margin-right:auto;
  padding:18px 16px;
}

.fechas-grid{
  flex-direction:column;
  gap:12px;
}

.campo-fecha input{
  width:95%;
}

.btn-reserva{
  width:100%;
}




/* =====================================================
   UBICACION
===================================================== */

   .ubicacion-section{
    padding:6rem 1rem 1rem;
      min-height:auto;
  }

    .ubicacion-section h2{
    font-size:2.1rem;
    margin-top:2rem;
  }

  .ubicacion-section p{
    font-size:1rem;
    margin-bottom:1rem;
  }

  .ubicacion {
    margin-top: 1rem;
}

/* =====================================================
   MAPA
===================================================== */

.map-container{
   width:100%;
  margin:1rem auto;
  position:relative;
  height:0;
  padding-bottom:65%; /* relación responsive */
}

  /* botones apilados */

  .contact-buttons.ubicacion{
    flex-direction:column;
    gap:1rem;
  }

.map-container iframe{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border:0;
  border-radius:10px;
}

/* =====================================================
   BOTONES UBICACION
===================================================== */

.contact-buttons.ubicacion{
  flex-direction:column;
  gap:1rem;
}




    .contacto-section h2{
    font-size:2.1rem;
    margin-top:2rem;
  }

/* =====================================================
   SECCION FOOTER
===================================================== */

/* subrayado decorativo títulos */

h4:after{
  content:"";
  display:block;
  width:3rem;
  height:2px;
  background:#EF036C;
  margin:8px auto 0;
}


/* iconos alineados con texto */

.footer-col p{
  display:flex;
  align-items:flex-start;
  gap:4px;
  margin-bottom:6px;
  margin-left:0;
}

.footer-col p i{
  width:16px;
  margin-top:2px;
  flex-shrink:0;
}


/* items del footer */

.footer-item{
  display:flex;
  align-items:flex-start;
  gap:4px;
}

.footer-item i{
  font-size:0.95rem;
  margin-top:3px;
  flex-shrink:0;
}

.footer-item span{
  line-height:1.4;
}


}

