body{margin:0;font-family:'Poppins',sans-serif}

#preloader{
position:fixed;width:100%;height:100%;background:#000;
display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;z-index:9999;
}
.loader{
border:4px solid #333;border-top:4px solid #00bcd4;border-radius:50%;
width:50px;height:50px;animation:spin 1s linear infinite;
}
@keyframes spin{100%{transform:rotate(360deg)}}


/* NAV MEJORADO */
nav{
position:fixed;
width:100%;
padding:15px 50px;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(0,0,0,0.5);
backdrop-filter: blur(10px);
z-index:1000;
transition:0.3s;
}

nav.scrolled{
background:rgba(0,0,0,0.9);
}

/* LOGO */
.logo img{
filter: brightness(1.2);
}

/* MENU */
.menu a{
color:#fff;
text-decoration:none;
margin:0 15px;
font-weight:500;
position:relative;
transition:0.3s;
}

/* EFECTO LINEA */
.menu a::after{
content:"";
position:absolute;
bottom:-5px;
left:0;
width:0;
height:2px;
background:#00bcd4;
transition:0.3s;
}

.menu a:hover::after{
width:100%;
}

.menu a:hover{
color:#00bcd4;
}

/* IDIOMAS */
.idiomas img{
    width:28px;
    margin-left:10px;
    cursor:pointer;
    border-radius:4px;
    background:#fff; /* 👈 esto lo arregla seguro */
    padding:2px;
}

.idiomas img:hover{
transform:scale(1.1);
box-shadow:0 0 8px rgba(0,0,0,0.4);
}

/* SLIDER BANNER FULL */
/* CONTENEDOR */
.banner-doble{
    display:flex;
    width:100%;
    height:320px; /* 👈 altura real linda */
    gap:10px;
    padding:10px;
}

/* BANNERS */
.banner{
    flex:1;
    overflow:hidden;
    border-radius:12px;
    position:relative;
}

/* IMAGEN */
.banner img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.5s;
}

/* HOVER PRO */
.banner:hover img{
    transform:scale(1.06);
}

/* MOBILE */
@media(max-width:768px){
    .banner-doble{
        flex-direction:column;
        height:auto;
    }

    .banner{
        height:220px;
    }
}
/* SLIDES */
.slide{
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    opacity:0;
    transition:opacity 0.8s ease-in-out;
    display:block;
}

/* ACTIVO */
.slide.active{
    opacity:1;
    z-index:2;
}

/* IMAGEN */
.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* HOVER SUAVE */
.slide:hover img{
    transform:scale(1.03);
    transition:0.4s;
}

/* MOBILE */



.hero{
height:100vh;
background:url('../img/pileta.jpg') center/cover no-repeat;
display:flex;align-items:center;justify-content:center;color:#fff;
}

.btn{
background:#00bcd4;color:#fff;padding:12px 25px;border-radius:30px;text-decoration:none;
}

.section{padding:30px 20px;text-align:center}


.historia-complejo{
    padding:80px 20px;
    background:#f9f9f9;
}

.contenedor{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    gap:50px;
}

/* IMAGEN */
.historia-complejo .img{
    flex:1;
}

.historia-complejo .img img{
    width:100%;
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0,0,0,0.2);
}

/* TEXTO */
.historia-complejo .texto{
    flex:1;
}

.historia-complejo h2{
    font-family:'Playfair Display';
    font-size:36px;
    margin-bottom:20px;
}

.historia-complejo p{
    font-size:15px;
    color:#444;
    margin-bottom:15px;
    line-height:1.6;
}

/* INTRO */
.historia-complejo .intro{
    font-size:17px;
    font-weight:500;
}

/* DESTACADO */
.historia-complejo .destacado{
    margin-top:20px;
    font-weight:600;
    color:#00bcd4;
}

/* MOBILE */
@media(max-width:768px){

    .contenedor{
        flex-direction:column;
    }

    .historia-complejo h2{
        font-size:26px;
        text-align:center;
    }

    .historia-complejo p{
        text-align:center;
    }

}


.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

.card{
background:#fff;border-radius:15px;overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.card img{width:100%;height:200px;object-fit:cover}

.pool{
background:url('../img/pileta2.jpg') center/cover no-repeat;
color:#fff;
}

footer{background:#111;color:#ccc;padding:40px;text-align:center}

.whatsapp{
position:fixed;bottom:20px;right:20px;background:#25D366;
width:60px;height:60px;border-radius:50%;
display:flex;align-items:center;justify-content:center;color:#fff;
}

.servicios-pro{
    padding:80px 20px;
    background:linear-gradient(135deg,#f5f7fa,#e4ecf5);
    text-align:center;
}

.servicios-pro h2{
    font-family:'Playfair Display';
    font-size:38px;
    margin-bottom:40px;
}

/* CONTENEDOR */
.servicios-container{
    display:flex;
    gap:30px;
    max-width:1200px;
    margin:auto;
    flex-wrap:wrap;
}

/* BLOQUES */
.bloque{
    flex:1;
    min-width:280px;
    background:#fff;
    border-radius:15px;
    padding:25px;
    box-shadow:0 15px 40px rgba(0,0,0,0.1);
    transition:0.3s;
}

.bloque:hover{
    transform:translateY(-8px);
}

/* TITULO */
.bloque h3{
    margin-bottom:20px;
    font-size:22px;
    color:#333;
}

.bloque h3 i{
    color:#00bcd4;
    margin-right:8px;
}

/* LISTA */
.bloque ul{
    list-style:none;
    padding:0;
    text-align:left;
}

.bloque ul li{
    padding:8px 0;
    font-size:14px;
    color:#444;
    display:flex;
    align-items:center;
}

/* ICONOS */
.bloque ul li i{
    color:#00bcd4;
    margin-right:10px;
    width:20px;
}

/* MOBILE */
@media(max-width:768px){
    .servicios-container{
        flex-direction:column;
    }

    .servicios-pro h2{
        font-size:28px;
    }
}
.ubicacion-pro{
    margin-top:80px;
    padding:100px 20px;
    background:linear-gradient(135deg,#00bcd4,#4facfe);
    box-shadow:0 -20px 40px rgba(0,0,0,0.1);
}

.ubicacion-pro .contenedor{
    max-width:1200px;
    margin:auto;
    display:flex;
    gap:40px;
    align-items:center;
}

/* TEXTO */
.ubicacion-pro .info{
    flex:1;
}

.ubicacion-pro h2{
    font-family:'Playfair Display';
    font-size:36px;
    margin-bottom:20px;
}

.ubicacion-pro .intro{
    margin-bottom:20px;
    font-size:16px;
}

/* LISTA */
.ubicacion-pro ul{
    list-style:none;
    padding:0;
    margin-bottom:25px;
}

.ubicacion-pro ul li{
    margin-bottom:10px;
    font-size:15px;
    display:flex;
    align-items:center;
}

.ubicacion-pro ul li i{
    margin-right:10px;
    color:#fff;
    background:rgba(255,255,255,0.2);
    padding:8px;
    border-radius:50%;
    font-size:14px;
}

/* BOTON */
.btn-mapa{
    background:#fff;
    color:#00bcd4;
    padding:12px 25px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.btn-mapa:hover{
    background:#000;
    color:#fff;
}

/* MAPA */
.mapa{
    flex:1;
    height:350px;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,0.3);
}

/* MOBILE */
@media(max-width:768px){

    .ubicacion-pro .contenedor{
        flex-direction:column;
    }

    .mapa{
        height:250px;
        width:100%;
    }

    .ubicacion-pro h2{
        text-align:center;
    }

    .ubicacion-pro .info{
        text-align:center;
    }
}
.footer-pro{
    background:#0b0b0b;
    color:#ccc;
    padding:60px 20px 20px;
}

/* CONTENEDOR */
.footer-container{
    max-width:1200px;
    margin:auto;
    display:flex;
    gap:40px;
    flex-wrap:wrap;
}

/* COLUMNAS */
.footer-col{
    flex:1;
    min-width:220px;
}

/* LOGO */
.footer-logo{
    width:140px;
    margin-bottom:15px;
}

/* TITULOS */
.footer-col h4{
    color:#fff;
    margin-bottom:15px;
}

/* LISTAS */
.footer-col ul{
    list-style:none;
    padding:0;
}

.footer-col ul li{
    margin-bottom:8px;
    font-size:14px;
}

/* LINKS */
.footer-col ul li a{
    color:#ccc;
    text-decoration:none;
    transition:0.3s;
}

.footer-col ul li a:hover{
    color:#00bcd4;
}

/* REDES */
.footer-redes a{
    display:inline-block;
    margin-right:10px;
    font-size:18px;
    color:#fff;
    background:#222;
    padding:10px;
    border-radius:50%;
    transition:0.3s;
}

.footer-redes a:hover{
    background:#00bcd4;
}

/* ICONOS LISTA */
.footer-col i{
    margin-right:8px;
    color:#00bcd4;
}

/* BANDERAS */
.idiomas-footer{
    margin-top:15px;
}

.idiomas-footer img{
    width:30px;
    margin-right:8px;
    border-radius:4px;
    background:#fff;
    padding:2px;
}

/* BOTTOM */
.footer-bottom{
    margin-top:40px;
    border-top:1px solid #222;
    padding-top:15px;
    text-align:center;
    font-size:13px;
}

.footer-bottom .powered{
    margin-top:5px;
    color:#888;
}

/* MOBILE */
@media(max-width:768px){
    .footer-container{
        flex-direction:column;
        text-align:center;
    }

    .footer-redes a{
        margin:5px;
    }
}