html{
scroll-behavior:smooth;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins;
}

body{
background:#f5f5f5;
color:#333;
padding-top:80px;
}

.container{
width:90%;
margin:auto;
}

header{
background:white;
height:80px;
display:flex;
align-items:center;
box-shadow:0 2px 8px rgba(0,0,0,0.05);

position:fixed;   /* esto la fija */
top:0;
width:100%;
z-index:1000;
}

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
color:#2e7d32;
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
}

nav a:hover{
color:#2e7d32;
}

.logo{
display:flex;
align-items:center;
font-weight:700;
color:#2e7d32;
}

.logo span{
font-size:25px;
font-weight:800;
color:#2e7d32;
letter-spacing:1px;
}

.logo img{
height:80px;
width:auto;
margin-right:10px;
}

nav a{
margin:0 15px;
text-decoration:none;
color:#333;
}

.btn{
background:#2e7d32;
color:white;
border:none;
padding:10px 20px;
border-radius:6px;
cursor:pointer;
text-decoration:none;
display:inline-block;
transition:0.3s;
}

.btn:hover{
transform:translateY(-3px);
box-shadow:0 8px 18px rgba(0,0,0,0.2);
}

.hero{
height:500px;
background:url('img/FondoPrincipal.png') center/cover no-repeat;
display:flex;
align-items:center;
padding-left:10%;
position:relative;
}

.hero::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
}

.hero-text{
position:relative;
color:white;
max-width:500px;
}

.hero h1{
font-size:40px;
margin-bottom:20px;
}

.hero p{
margin-bottom:20px;
font-size:18px;
line-height:1.6;
color:#f0f0f0;
max-width:500px;
}

.h2servicio{
font-size:25px;
color: #2e7d32;
}

.servicios{
padding:80px 10%;
text-align:center;
}

.cards{
display:grid;
grid-template-columns:repeat(4,350px);
justify-content:center;
gap:20px;
margin-top:40px;
}

.card{
background:white;
padding:30px;
border-radius:12px;
text-align:center;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
min-height:200px;
}

.icono{
width:250px;
margin-bottom:0px;
}


.empresa{
background:white;
padding:100px 0;
}

.empresa-container{
display:flex;
align-items:center;
gap:120px;   /* más separación */
max-width:1100px;
margin:auto;
padding:0 40px;
}

.empresa-text{
margin-left:-20px;
}

.empresa img{
width:100%;
max-width:400px;
border-radius:12px;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
margin-right:-20px;
}

.empresa-stats{
display:flex;
gap:40px;
margin-top:30px;
}

.empresa-stats h3{
color:#2e7d32;
font-size:28px;
margin-bottom:5px;
}

.empresa-stats p{
font-size:14px;
color:#666;
}

.empresa-text{
max-width:600px;
}

.proceso{
padding:80px 10%;
text-align:center;
}

.steps{
display:flex;
justify-content:space-between;
margin-top:60px;
position:relative;
}

.step{
position:relative;
display:flex;
flex-direction:column;
align-items:center;
width:150px;
z-index:1;
text-align:center;
}

.circle{
background:#2e7d32;
color:white;
width:80px;
height:80px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
font-size:18px;
margin-bottom:25px;
box-shadow:0 4px 10px rgba(0,0,0,0.15);
}

.steps::before{
content:"";
position:absolute;
top:30px;
left:0;
width:100%;
height:4px;
background:#ddd;
z-index:0;
}

.step span{
font-size:15px;
color:#222;
font-weight:600;
line-height:1.4;
}

.process-images{
display:flex;
justify-content:center;
gap:30px;
margin-top:60px;
flex-wrap:wrap;
}

.process-img{
text-align:center;
}

.process-img img{
width:360px;
height:210px;
object-fit:cover;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.15);
transition:0.3s;
}

.process-img img:hover{
transform:scale(1.05);
}

.process-img p{
margin-top:10px;
font-weight:600;
color:#333;
font-size:14px;
}

.experiencia{
padding:100px 0;
background:white;
}

.experiencia-container{
max-width:1200px;
margin:auto;
display:flex;
align-items:center;
gap:80px;
padding:0 40px;
}

.experiencia h2{
color:#2e7d32;
font-size:32px;
margin-bottom:30px;
}

.exp-number{
display:flex;
align-items:center;
gap:20px;
margin-bottom:30px;
}

.experiencia h1{
font-size:80px;
color:#2e7d32;
margin:0;
}

.exp-list{
list-style:none;
padding:0;
}

.exp-list li{
margin-bottom:12px;
font-size:16px;
position:relative;
padding-left:25px;
}

.exp-list li::before{
content:"✔";
position:absolute;
left:0;
color:#2e7d32;
font-weight:bold;
}

.experiencia-img img{
width:550px;
height:350px;
object-fit:cover;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.contacto{
padding:80px 10%;
}

.contacto-contenido{
display:flex;
align-items:center;
justify-content:center;
gap:80px;
}

.contacto-logo img{
width:400px;
}

.contacto-datos p{
font-size:18px;
margin:8px 0;
color:#333;
}

.contacto-info i{
color:#2e7d32;
margin-right:10px;
font-size:16px;
}

.telefonos{
display:flex;
gap:40px;
margin:10px 0;
}


footer{
background:#2e7d32;
color:white;
text-align:center;
padding:20px;
}

/* ========================= */
/* RESPONSIVE TABLET */
/* ========================= */

@media (max-width:900px){

nav{
display:none;
}

.hero{
height:400px;
padding:0 20px;
text-align:center;
justify-content:center;
}

.hero h1{
font-size:28px;
}

.hero p{
font-size:16px;
}

.cards{
grid-template-columns:repeat(2,1fr);
}

.empresa-container{
flex-direction:column;
text-align:center;
gap:40px;
}

.experiencia-container{
flex-direction:column;
text-align:center;
gap:40px;
}

.contacto-contenido{
flex-direction:column;
text-align:center;
}

.telefonos{
justify-content:center;
}

.empresa img{
max-width:90%;
margin:0;
}

.experiencia-img img{
width:90%;
height:auto;
}

.contacto-logo img{
width:260px;
}

.steps{
flex-direction:column;
align-items:center;
gap:40px;
}

.steps::before{
display:none;
}

.step{
width:100%;
max-width:250px;
}

.process-images{
flex-direction:column;
align-items:center;
}

.process-img img{
width:90%;
height:auto;
}

}


/* ========================= */
/* RESPONSIVE CELULAR */
/* ========================= */

@media (max-width:600px){

.hero h1{
font-size:24px;
}

.cards{
grid-template-columns:1fr;
}

.container{
width:95%;
}

.logo span{
font-size:20px;
}

}

@media (max-width:900px){

nav{
position:absolute;
top:80px;
left:0;
width:100%;
background:white;
flex-direction:column;
display:none;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

nav a{
padding:15px;
display:block;
border-top:1px solid #eee;
}

.menu-toggle{
display:block;
}

nav.active{
display:flex;
}

}

@media (max-width:900px){

.empresa-text{
margin-left:0;
text-align:center;
}

}

@media (max-width:900px){

.empresa img{
margin:0 auto;
display:block;
}

}

@media (max-width:900px){

.experiencia-text{
text-align:center;
}

.exp-number{
justify-content:center;
flex-direction:column;
}

}

@media (max-width:900px){

.hero-text{
text-align:center;
margin:auto;
}

}

@media (max-width:900px){

.hero-buttons{
display:flex;
justify-content:center;
}

}

@media (max-width:900px){

.process-img{
text-align:center;
}

}