html{
    scroll-behavior:smooth;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins', sans-serif;
}

header{
    position:sticky;
    top:0;
    width:100%;
    background:black;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 50px;
    z-index:1000;
}

.logo img{
    height:70px;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#FFD700;
}

.hero{
    height:100vh;
    background:url("fachada-ts.jpeg") center center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.hero-texto{
    background:rgba(0,0,0,.6);
    color:white;
    padding:40px;
    border-radius:15px;
}

.hero h1{
    font-size:56px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:30px;
}

button{
    background:#FFD700;
    color:black;
    border:none;
    padding:15px 35px;
    font-size:18px;
    font-weight:bold;
    border-radius:8px;
    cursor:pointer;
}

button:hover{
    background:#f5c400;
}
.trasteros{
    padding:80px 10%;
    background:#f5f5f5;
    text-align:center;
}

.trasteros h2{
    font-size:40px;
    margin-bottom:50px;
}

.contenedor-trasteros{
    display:flex;
    gap:30px;
    justify-content:center;
    flex-wrap:wrap;
}

.tarjeta{
    background:white;
    width:380px;
    max-width:100%;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    transition:.3s;
}

.tarjeta:hover{
    transform:translateY(-8px);
}

.tarjeta img{
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:15px;
}

.tarjeta h3{
    margin:20px;
}

.tarjeta p{
    padding:0 20px 25px;
}
.info{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:70px;
    padding:100px 10%;
    background:white;
    flex-wrap:wrap;
}

.info-imagen{
    flex:1;
}

.info-imagen img{
    width:100%;
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.info-texto{
    flex:1;
}

.info-texto h2{
    font-size:42px;
    margin-bottom:25px;
}

.info-texto p{
    font-size:19px;
    line-height:1.8;
    margin-bottom:25px;
}

.info-texto ul{
    list-style:none;
    padding:0;
}

.info-texto li{
    margin-bottom:15px;
    font-size:18px;
}
.quienes{
    background:#111;
    color:white;
    padding:100px 10%;
    text-align:center;
}

.quienes h2{
    color:#FFD700;
    font-size:42px;
    margin-bottom:30px;
}

.quienes-contenido{
    max-width:900px;
    margin:auto;
}

.quienes p{
    font-size:20px;
    line-height:1.8;
    margin-bottom:20px;
}
.botones{
    margin-top:35px;
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}

.btn-amarillo{
    background:#FFD700;
    color:black;
    padding:15px 30px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-amarillo:hover{
    transform:scale(1.05);
}

.btn-negro{
    background:white;
    color:black;
    padding:15px 30px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-negro:hover{
    transform:scale(1.05);
}
.contacto{
    padding:100px 10%;
    background:#f8f8f8;
}

.contacto h2{
    text-align:center;
    font-size:42px;
    margin-bottom:60px;
}

.contacto-contenido{
    display:flex;
    justify-content:space-between;
    gap:60px;
    flex-wrap:wrap;
}

.datos{
    flex:1;
    min-width:300px;
}

.datos h3{
    font-size:30px;
    margin-bottom:20px;
}

.datos p{
    font-size:20px;
    margin-bottom:20px;
    line-height:1.7;
}

.datos a{
    color:black;
    text-decoration:none;
    font-weight:600;
}

.mapa{
  .mapa{
    flex:1;
    min-width:350px;
}
}
.faqs{
    padding:100px 10%;
    background:white;
}

.faqs h2{
    text-align:center;
    font-size:42px;
    margin-bottom:50px;
}

.faq{
    margin-bottom:20px;
}

.faq-pregunta{
    width:100%;
    background:#111;
    color:white;
    padding:20px;
    border:none;
    border-radius:10px;
    text-align:left;
    font-size:18px;
    cursor:pointer;
}

.faq-respuesta{
    background:#f4f4f4;
    padding:20px;
    display:none;
    border-radius:0 0 10px 10px;
}
.whatsapp{

position:fixed;

right:25px;

bottom:25px;

width:65px;

height:65px;

background:#25D366;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:34px;

text-decoration:none;

box-shadow:0 10px 25px rgba(0,0,0,.3);

transition:.3s;

z-index:9999;

}

.whatsapp:hover{

transform:scale(1.15);

}
nav i{
    font-size:22px;
    color:white;
    transition:.3s;
}

nav i:hover{
    color:#FFD700;
    transform:scale(1.2);
}
.datos-rapidos{

display:flex;
justify-content:center;
gap:40px;
padding:40px 10%;
background:#111;
color:white;
flex-wrap:wrap;

}

.datos-rapidos div{

text-align:center;

}

.datos-rapidos strong{

display:block;
font-size:35px;
color:#FFD700;

}

.datos-rapidos span{

font-size:16px;

}
.instalaciones{

padding:100px 10%;
background:#f8f8f8;
text-align:center;

}

.instalaciones h2{

font-size:42px;
margin-bottom:25px;

}

.instalaciones p{

max-width:800px;
margin:auto;
font-size:19px;
line-height:1.7;
margin-bottom:50px;

}


.galeria-instalaciones{

display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;

}


.galeria-instalaciones img{

width:100%;
height:300px;
object-fit:cover;
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,.15);
transition:.3s;

}


.galeria-instalaciones img:hover{

transform:scale(1.03);

}
.plano-instalaciones{
    margin-top:60px;
    display:flex;
    justify-content:center;
}


.plano-instalaciones img{
    width:95%;
    max-width:1400px;
    border-radius:20px;
    padding:15px;
    background:white;
    box-shadow:0 15px 40px rgba(0,0,0,.2);
}
/* VERSION MOVIL */

@media (max-width: 768px){
.tarjeta img{
    height:260px;
}
    header{
    padding:15px 20px;
    flex-direction:column;
    }


     nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    margin-top:10px;
}

nav a{
    font-size:13px;
}

    .hero{
        min-height:80vh;
        padding:30px 20px;
    }


    .hero-texto h1{
        font-size:38px;
    }


    .hero-texto p{
        font-size:17px;
    }


    .botones{
        flex-direction:column;
        align-items:center;
    }


    .btn-amarillo,
    .btn-negro{
        width:80%;
        text-align:center;
    }


    .contenedor-trasteros{
    width:100%;
    padding:0 15px;
    }
    .tarjeta{
    width:100%;
    }

    .galeria-instalaciones{
        grid-template-columns:1fr;
    }


    .plano-instalaciones img{
        width:100%;
        padding:8px;
    }


    .contacto-contenido{
        flex-direction:column;
    }


    .datos-rapidos{
        flex-direction:column;
        gap:25px;
    }
    .logo img{
        height:50px;
    }

}
section{
    scroll-margin-top:100px;
}
