:root{
--primary:#459e40;
--dark:#2e7d32;
--light:#f4f8f4;
}

html, body{
margin:0;
padding:0;
overflow-x:hidden;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

body{
color:#333;
scroll-behavior:smooth;
}

/* PRELOADER */
#preloader{
position:fixed;
width:100%;
height:100%;
background:#fff;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
}

.loader span{
display:inline-block;
width:15px;
height:15px;
margin:5px;
background:var(--primary);
border-radius:50%;
animation:bounce 0.6s infinite alternate;
}

.loader span:nth-child(2){animation-delay:0.2s;}
.loader span:nth-child(3){animation-delay:0.4s;}

@keyframes bounce{
to{transform:translateY(-15px);}
}

/* HEADER */
header{
position:fixed;
top:0;
width:100%;
background:#fff;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
box-shadow:0 2px 15px rgba(0,0,0,.05);
z-index:1000;
}

header img{height:60px;}

nav a{
margin-left:25px;
text-decoration:none;
color:#333;
font-weight:600;
}

nav a:hover{color:var(--primary);}

/* HERO */
/* HERO FULL WIDTH REAL */
/* HERO FULL WIDTH CORRECTO */
.hero{
position:relative;
width:100%;
height:100vh;
min-height:700px;
margin:0;
padding:0;
overflow:hidden;
display:flex;
align-items:center;
}

/* Imagen como fondo real */
.hero::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:url("images/inicio.png") no-repeat center center;
background-size:cover;
background-position:center center;
z-index:-2;
}

/* Overlay más claro (menos opaco) */
.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.25); /* antes 0.55 → ahora más claro */
z-index:-1;
}

.hero-content{
max-width:1200px;
width:100%;
margin:auto;
padding:0 8%;
color:#fff;
}


.hero-content{
max-width:1200px;
width:100%;
margin:auto;
padding:0 5%;
color:#fff;
animation:fadeUp 1.2s ease forwards;
}

.hero h1{
font-size:4rem;
font-weight:800;
margin-bottom:10px;
}

.hero h2{
color:var(--primary);
font-size:2rem;
margin-bottom:25px;
}

.hero p{
font-size:1.3rem;
margin-bottom:35px;
line-height:1.6;
}

.hero-btn{
display:inline-block;
background:var(--primary);
color:#fff;
padding:18px 45px;
border-radius:50px;
text-decoration:none;
font-weight:700;
transition:.3s;
}

.hero-btn:hover{
background:var(--dark);
transform:scale(1.05);
}


/* Responsive */
@media(max-width:768px){
.hero{
justify-content:center;
text-align:center;
}

.hero-overlay{
padding:20px;
justify-content:center;
}

.hero h1{
font-size:2.5rem;
}

.hero h2{
font-size:1.5rem;
}

.hero p{
font-size:1rem;
}
}


/* SECTIONS */
section{
    padding:100px 20px;
}

/* Contenedor interno para secciones normales */
.container{
    max-width:1200px;
    margin:auto;
}

.section-title{
text-align:center;
margin-bottom:60px;
font-size:2.2rem;
color:var(--primary);
}

.white{color:#fff;}

/* ============================= */
/* SERVICIOS PROFESIONAL */
/* ============================= */

.services-section{
padding:100px 5%;
background:#f9fafb;
}

.section-header{
text-align:center;
margin-bottom:60px;
}

.section-header h2{
font-size:3rem;
font-weight:800;
color:#1f2937;
}

.section-header p{
font-size:1.2rem;
color:#6b7280;
margin-top:15px;
}

/* BLOQUES */
.services-blocks{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-bottom:80px;
}

.service-card{
background:#fff;
padding:40px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
transition:0.3s;
}

.services-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-bottom:60px;
}

.service-card:hover{
transform:translateY(-5px);
}

.service-card .icon{
font-size:40px;
margin-bottom:20px;
}

.service-card h3{
font-size:1.8rem;
margin:20px 0;
}

.service-card p{
margin-bottom:25px;
color:#555;
}

.service-card ul{
margin-top:20px;
}

.service-card ul li{
margin-bottom:10px;
}

.services-images{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:25px;
}

.services-images img{
width:100%;
border-radius:20px;
transition:0.4s;
}

.services-images img:hover{
transform:scale(1.05);
}

/* GALERÍA */
.services-gallery{
display:grid;
grid-template-columns:repeat(3, 1fr);
gap:30px;
}

.gallery-item{
overflow:hidden;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.gallery-item img{
width:100%;
height:100%;
object-fit:cover;
transition:0.5s ease;
}

@media (max-width: 992px){

.section-header h2{
font-size:2.3rem;
}

.services-grid{
grid-template-columns:1fr;
}

.services-images{
grid-template-columns:1fr 1fr;
}

}

@media (max-width: 576px){

.section-header h2{
font-size:1.8rem;
line-height:1.2;
}

.section-header p{
font-size:1rem;
padding:0 10px;
}

.service-card{
padding:25px;
}

.service-card h3{
font-size:1.4rem;
}

.services-images{
grid-template-columns:1fr;
}

.services-images img{
height:250px;
object-fit:cover;
}
}



/* EFECTO ZOOM */
.gallery-item:hover img{
transform:scale(1.08);
}

/* RESPONSIVE */
@media(max-width:992px){
.services-blocks{
grid-template-columns:1fr;
}

.services-gallery{
grid-template-columns:1fr;
}
}


.card{
background:#fff;
padding:35px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.07);
opacity:0;
transform:translateY(40px);
transition:.5s;
}

.card.show{
opacity:1;
transform:translateY(0);
}

/* ============================= */
/* NOSOTROS PROFESIONAL */
/* ============================= */

.about-section{
padding:100px 5%;
background:#ffffff;
}

.about-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.about-text h2{
font-size:3rem;
font-weight:800;
margin-bottom:30px;
color:#1f2937;
}

.about-text p{
font-size:1.1rem;
line-height:1.8;
margin-bottom:20px;
color:#4b5563;
}

/* FEATURES */
.about-features{
display:flex;
gap:40px;
margin-top:30px;
}

.feature{
display:flex;
align-items:center;
gap:15px;
}

.feature-item{
display:flex;
align-items:center;
gap:15px;
}

.feature-icon{
width:60px;
height:60px;
background:#e6f4ea;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
color:#459e40;
}

.feature-item h4{
font-weight:800;
margin-bottom:5px;
}

.feature-item p{
margin:0;
color:#666;
}

/* IMAGEN */
.about-image{
position:relative;
}

.about-image img{
width:100%;
border-radius:20px;
}

/* BADGE */
.experience-badge{
position:absolute;
bottom:-25px;
left:-25px;
background:var(--primary);
color:#fff;
padding:30px 40px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,0.2);
}

.experience-badge span{
font-size:2rem;
font-weight:800;
display:block;
}

.experience-badge p{
margin:0;
font-size:1rem;
}

/* RESPONSIVE */
@media(max-width:992px){
.about-container{
grid-template-columns:1fr;
}}

.experience-badge{
position:relative;
bottom:auto;
left:auto;
margin-top:20px;
display:inline-block;
}

@media (max-width: 992px){

.about-container{
grid-template-columns:1fr;
}

.about-text h2{
font-size:2.3rem;
}

.about-features{
justify-content:space-between;
}

}

@media (max-width: 576px){

.about-section{
padding:70px 20px;
}

.about-text h2{
font-size:2rem;
line-height:1.2;
}

.about-text p{
font-size:1rem;
}

.about-features{
flex-direction:column;
gap:20px;
}

.feature{
align-items:flex-start;
}

.feature-icon{
width:50px;
height:50px;
font-size:20px;
}

.about-image img{
margin-top:30px;
border-radius:15px;
}
}


/* ============================= */
/* CLIENTES PROFESIONAL */
/* ============================= */

.clients-section{
padding:100px 5%;
background:#f9fafb;
}

.clients-section .section-header{
text-align:center;
margin-bottom:60px;
}

.clients-section h2{
font-size:3rem;
font-weight:800;
color:#1f2937;
}

.clients-section p{
font-size:1.2rem;
color:#6b7280;
margin-top:15px;
}


.clients-header{
text-align:center;
margin-bottom:70px;
}

.clients-header h2{
font-size:3rem;
font-weight:800;
color:#1c1f2e;
margin-bottom:20px;
}

.clients-header p{
font-size:1.2rem;
color:#666;
}

/* GRID */
.clients-grid{
display:grid;
grid-template-columns:repeat(3, 1fr);
gap:30px;
}

/* CARD */
.client-card{
background:#ffffff;
padding:40px;
border-radius:20px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,0.05);
transition:0.3s;
}

.client-card:hover{
transform:translateY(-5px);
}

.client-card h3{
color:#459e40;
font-size:1.4rem;
margin-bottom:10px;
}

.client-card span{
color:#6b7280;
font-size:1rem;
}

@media (max-width: 992px){

.clients-grid{
grid-template-columns:repeat(2, 1fr);
}

.clients-section h2{
font-size:2.3rem;
}

}

@media (max-width: 576px){

.clients-section{
padding:70px 20px;
}

.clients-section h2{
font-size:2rem;
}

.clients-section p{
font-size:1rem;
padding:0 10px;
}

.clients-grid{
grid-template-columns:1fr;
gap:20px;
}

.client-card{
padding:25px;
}

.client-card h3{
font-size:1.2rem;
}
}

/* RESPONSIVE */
@media(max-width:1200px){
.clients-grid{
grid-template-columns:repeat(3, 1fr);
}}

@media(max-width:768px){
.clients-grid{
grid-template-columns:repeat(2, 1fr);
}}

@media(max-width:480px){
.clients-grid{
grid-template-columns:1fr;
}}

.form-section{
background:var(--primary);
color:#fff;
border-radius:25px;
padding:60px;
}

form{
display:grid;
gap:20px;
max-width:600px;
margin:auto;
}

input,textarea{
padding:15px;
border:none;
border-radius:10px;
}

button{
background:#fff;
color:var(--primary);
padding:15px;
border:none;
border-radius:50px;
font-weight:700;
cursor:pointer;
}

footer{
text-align:center;
padding:40px;
background:#111;
color:#fff;
}

.whatsapp{
position:fixed;
bottom:25px;
right:25px;
background:#25D366;
width:65px;
height:65px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 5px 15px rgba(0,0,0,.3);
}

.whatsapp img{width:35px;}

/* CTA HEADER */
.cta-btn{
background:var(--primary);
color:#fff !important;
padding:10px 20px;
border-radius:50px;
margin-left:25px;
transition:.3s;
}

.cta-btn:hover{
background:var(--dark);
transform:scale(1.05);
}

/* ============================= */
/* CONTACTO PROFESIONAL */
/* ============================= */

.contact-section{
padding:100px 5%;
background:#f9fafb;
}

.contact-container{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:start;
}

/* IZQUIERDA */
.contact-info h2{
font-size:3rem;
font-weight:800;
margin-bottom:20px;
color:#1f2937;
}

.contact-info p{
font-size:1.1rem;
margin-bottom:40px;
color:#6b7280;
}

.contact-item{
display:flex;
align-items:flex-start;
gap:20px;
margin-bottom:25px;
}

.contact-item h4{
margin-bottom:5px;
font-size:1rem;
font-weight:700;
}

.contact-item span{
color:#4b5563;
font-size:1rem;
}

.contact-icon{
width:60px;
height:60px;
background:#459e40;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
color:#fff;
flex-shrink:0;
}

.highlight{
color:#459e40;
font-weight:600;
}

.contact-image{
margin-top:40px;
}

.contact-image img{
width:100%;
border-radius:20px;
}

@media (max-width: 992px){

.contact-container{
grid-template-columns:1fr;
}

.contact-info h2{
font-size:2.3rem;
}

}

@media (max-width: 576px){

.contact-section{
padding:70px 20px;
}

.contact-info h2{
font-size:2rem;
line-height:1.2;
}

.contact-info p{
font-size:1rem;
}

.contact-item{
gap:15px;
}

.contact-icon{
width:50px;
height:50px;
font-size:18px;
}

.contact-item span{
font-size:0.95rem;
}

}

/* DERECHA */
.contact-form-wrapper{
background:#fff;
padding:50px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

.contact-form-wrapper h3{
font-size:1.5rem;
margin-bottom:30px;
font-weight:800;
}

.contact-form-wrapper form{
display:flex;
flex-direction:column;
gap:15px;
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea{
padding:15px;
border-radius:10px;
border:1px solid #ddd;
font-size:1rem;
}

.contact-form-wrapper textarea{
min-height:120px;
resize:none;
}

.whatsapp-btn{
margin-top:20px;
background:var(--primary);
color:#fff;
padding:18px;
border:none;
border-radius:50px;
font-weight:700;
cursor:pointer;
transition:0.3s;
}

.whatsapp-btn:hover{
background:#3a8a35;
transform:translateY(-3px);
}

.contact-form-wrapper small{
margin-top:10px;
color:#777;
}

/* RESPONSIVE */
@media(max-width:992px){
.contact-container{
grid-template-columns:1fr;
}
}


/* ============================= */
/* HEADER */
/* ============================= */

.header{
width:100%;
background:#fff;
position:fixed;
top:0;
left:0;
z-index:1000;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.nav-container{
display:flex;
align-items:center;
justify-content:space-between;
padding:15px 5%;
}

.logo img{
height:50px;
}

.nav{
display:flex;
gap:30px;
}

.nav a{
text-decoration:none;
color:#333;
font-weight:600;
transition:.3s;
}

.nav a:hover{
color:#459e40;
}

.btn-header{
background:#459e40;
color:#fff;
padding:10px 20px;
border-radius:30px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-header:hover{
background:#3b8c37;
}

.menu-toggle{
display:none;
font-size:28px;
cursor:pointer;
}

@media (max-width: 992px){

.nav{
position:absolute;
top:80px;
right:0;
background:#fff;
flex-direction:column;
width:100%;
padding:20px;
display:none;
gap:30px;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.nav.active{
display:flex;
}

.btn-header{
display:none;
}

.menu-toggle{
display:block;
}
}

.nav-right{
display:flex;
align-items:center;
gap:40px; /* 👈 separación entre menú y botón */
}



