header{
border-bottom:1px solid #eee;
position:sticky;
top:0;
background:white;
z-index:1000;

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

padding:10px 60px;
}

.logo img{
height:30px;
width:auto;
display:block;
}

nav {
display:flex;
gap:30px;
}

nav a{
text-decoration:none;
color:#333;
font-weight:500;
font-size:15px
}

nav a:hover{
color:#000;
}


.hero{
height:80vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
background:#f5f5f5;
}

.hero h1{
font-size:42px;
max-width:700px;
}

.hero{
position:relative;
height:50vh;
overflow:hidden;
}

.slider{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

.slide{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
opacity:0;
transition:opacity 1s ease-in-out;
}

.slide.active{
opacity:1;
}

.hero-text{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%, -50%);
text-align:center;
color:white;
z-index:2;
width:90%;
max-width:800px;
}

.hero h1{
font-size:42px;
max-width:700px;
}

.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.4);
z-index:1;
}

.servicios{
padding:80px 10%;
text-align:center;
background:#f5f5f5;
}

.servicios h2{
margin-bottom:50px;
font-size:32px;
}

.servicios-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:40px;
}

/* Servicio: imagen completa con título superpuesto */
.servicio{
position:relative;
border-radius:8px;
overflow:hidden;
display:block;
text-decoration:none;
box-shadow:0 5px 15px rgba(0,0,0,0.15);
}

.servicio img{
width:100%;
height:280px;
object-fit:cover;
display:block;
transition:transform 0.3s ease;
}

.servicio:hover img{
transform:scale(1.05);
}

.servicio h3{
position:absolute;
bottom:0;
left:0;
width:100%;
margin:0;
padding:14px;
background:linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
color:white;
font-size:16px;
text-align:center;
box-sizing:border-box;
}

.empresa{
padding:80px 10%;
text-align:center;
}

.empresa h2{
margin-bottom:50px;
font-size:30px;
}

.empresa-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
}

.empresa-item{
padding:20px;
}

.empresa-item h3{
margin-bottom:10px;
font-size:20px;
}

.cta{
background:#222;
color:white;
text-align:center;
padding:80px 10%;
}

.cta h2{
margin-bottom:15px;
font-size:28px;
}

.cta p{
margin-bottom:25px;
}

/* Sección Por qué elegirnos */
.porque{
padding:80px 10%;
background:#f5f5f5;
text-align:center;
}

.porque h2{
font-size:30px;
margin-bottom:50px;
}

.porque-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.porque-item{
background:white;
border-radius:10px;
padding:30px 25px;
box-shadow:0 4px 12px rgba(0,0,0,0.07);
text-align:center;
}

.porque-icono{
font-size:36px;
margin-bottom:15px;
}

.porque-item h3{
font-size:17px;
margin-bottom:12px;
color:#111;
}

.porque-item p{
font-size:14px;
color:#555;
line-height:1.7;
}

.btn{
display:inline-block;
background:white;
color:#222;
padding:12px 30px;
border-radius:5px;
text-decoration:none;
font-weight:600;
}

.btn:hover{
background:#eee;
}

.contacto{
padding:80px 10%;
max-width:800px;
margin:auto;
text-align:center;
}

.contacto p{
margin-bottom:10px;
}

.contacto-info{
margin:30px 0;
}

.formulario{
display:flex;
flex-direction:column;
gap:15px;
margin-top:20px;
}

.formulario input,
.formulario textarea{
padding:12px;
border:1px solid #ccc;
border-radius:5px;
font-size:16px;
}

.formulario textarea{
min-height:120px;
}

.formulario button{
padding:12px;
background:black;
color:white;
border:none;
border-radius:5px;
cursor:pointer;
font-size:16px;
}

.formulario button:hover{
background:#333;
cursor:pointer;
}

.nosotros{
padding:80px 10%;
max-width:900px;
margin:auto;
line-height:1.6;
}

.nosotros h1{
margin-bottom:30px;
text-align:center;
}

.nosotros p{
margin-bottom:20px;
}

footer{
background:#111;
color:white;
text-align:center;
padding:30px;
margin-top:60px;
}

.container{
max-width:1200px;
margin:auto;
}

body{
font-family: 'Inter', sans-serif;
margin:0;
}

.whatsapp{
position:fixed;
bottom:25px;
right:25px;
width:55px;
height:55px;
background:#25D366;
color:white;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:26px;
text-decoration:none;
box-shadow:0 4px 10px rgba(0,0,0,0.2);
z-index:999;
}

@media (max-width:768px){
.logo img{
height:25px;
}
}
.whatsapp{
bottom:18px;
right:18px;
width:50px;
height:50px;
font-size:22px;
}

header{
padding:10px 20px;
}

.hero h1{
font-size:26px;
}

.servicios{
padding:40px 5%;
}

.empresa{
padding:40px 5%;
}

.cta{
padding:40px 5%;
}

}

.galeria{
display:flex;
flex-wrap:wrap;
gap:20px;
justify-content:center;
}

.galeria img{
width:300px;
height:200px;
object-fit:cover;
border-radius:6px;
transition:transform 0.3s;
}

.galeria img:hover{
transform:scale(1.03);
}

.productos{
padding:60px 20px;
max-width:1200px;
margin:auto;
}

.productos h1{
margin-bottom:10px;
}

.productos p{
margin-bottom:20px;
color:#444;
line-height:1.7;
}