*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins', sans-serif;
background:#f5f5f5;
color:#333;
}

/* MENU */

nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 60px;
background:#000;
position:fixed;
top:0;
width:100%;
z-index:1000;
transition:0.3s;
}

nav.scrolled{
background:#000;
box-shadow:0 5px 15px rgba(0,0,0,0.3);
}

.logo img{
height:60px;
}

.menu a{
color:white;
margin-left:25px;
text-decoration:none;
font-weight:500;
transition:0.3s;
}

.menu a:hover{
color:#e53935;
}

/* PORTADA */

header{
height:80vh;

background:linear-gradient(
rgba(0,0,0,0.5),
rgba(0,0,0,0.5)
),
url("imagen4.jpg");

background-size:cover;
background-position:center;

display:flex;
align-items:center;
justify-content:center;

text-align:center;
color:white;
}

.hero-text h1{
font-size:55px;
margin-bottom:15px;
}

.hero-text p{
font-size:20px;
}

/* BOTONES */

.boton{
display:inline-block;
margin-top:25px;
background:#e53935;
color:white;
padding:15px 30px;
border-radius:8px;
text-decoration:none;
font-weight:600;
transition:0.3s;
}

.boton:hover{
background:#c62828;
}

.grande{
font-size:20px;
}

/* SECCIONES */

section{
max-width:1200px;
margin:auto;
padding:80px 20px;
text-align:center;
}

h2{
font-size:35px;
margin-bottom:40px;
}

/* SERVICIOS */

.servicios{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
}

.card{
background:white;
padding:40px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
transition:0.3s;
}

.card:hover{
transform:translateY(-10px);
}

/* GALERIA */

.galeria{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:20px;
}

.galeria img{
width:100%;
border-radius:12px;
transition:0.4s;
}

.galeria img:hover{
transform:scale(1.05);
}

/* FOOTER */

footer{
background:#111;
color:white;
text-align:center;
padding:30px;
}

.redes{
margin-top:20px;
display:flex;
justify-content:center;
gap:20px;
}

.redes img{
width:35px;
transition:0.3s;
}

.redes img:hover{
transform:scale(1.2);
}

/* BOTON WHATSAPP */

.whatsapp{
position:fixed;
bottom:25px;
right:25px;
background:#25D366;
padding:12px;
border-radius:50%;
box-shadow:0 5px 15px rgba(0,0,0,0.3);
z-index:1000;
}

.whatsapp img{
width:60px;
transition:0.3s;
}

.whatsapp img:hover{
transform:scale(1.1);
}

.whatsapp{
position:fixed;
bottom:25px;
right:25px;
background:#25D366;
padding:12px 18px;
border-radius:40px;
display:flex;
align-items:center;
gap:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.3);
z-index:1000;
overflow:hidden;
}

.whatsapp img{
width:35px;
}

.whatsapp span{
color:white;
font-weight:600;
white-space:nowrap;
opacity:0;
max-width:0;
transition:0.3s;
}

.whatsapp:hover span{
opacity:1;
max-width:200px;
}
/* RESPONSIVE */

@media (max-width:768px){

nav{
padding:15px 20px;
}

.menu{
display:none;
}

.hero-text h1{
font-size:35px;
}

.servicios{
grid-template-columns:1fr;
}

.galeria{
grid-template-columns:1fr;
}

}