/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

/* BODY */
body{
background:#111;
color:white;
overflow-x:hidden;
font-family:"Oswald", sans-serif;
}

img{
    max-width:100%;
    height:auto;
}

/* HEADER */
header{
position:fixed;
top:0;
width:100%;
padding:20px 50px;
display:flex;
justify-content:space-between;
align-items:center;
z-index:10;
}

.logo img{
height:60px;
object-fit:contain;
transition:0.3s;
}

/* NAV */
nav a{
color:white;
margin-left:20px;
text-decoration:none;
transition:0.3s;
font-size: 20px;
}

nav a:hover{
color:#1aa64a;
}

nav a.active{
color:#0e8636;
font-weight:600;
border-bottom:2px solid #0e8636;
padding-bottom:4px;
}

header{
background:rgba(255,255,255,0.08);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border-bottom:1px solid rgba(255,255,255,0.15);
}

header{
position:fixed;
top:0;
left:0;
width:100%;
padding:20px 50px;
display:flex;
justify-content:space-between;
align-items:center;
z-index:1000;

/* 🔥 EFECTO BORROSO */
background:rgba(0,0,0,0.25);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);

/* opcional */
border-bottom:1px solid rgba(255,255,255,0.1);
}

/* HERO */
.hero-video{
position:relative;
height:100vh;
width:100%;
overflow:hidden;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
}

.hero-video video{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
}

.hero-video .overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
}

.hero-text{
position:relative;
z-index:2;
}

.hero-text h1{
font-size:70px;
}

.hero-text p{
color:#1aa64a;
font-size: 20px;
}

.hero-btn{
    display:inline-block;
    margin-top:25px;
    padding:14px 35px;
    background:#0e8636;
    color:#fff;
    text-decoration:none;
    font-size:16px;
    border-radius:40px;
    transition:0.3s;
    font-weight:600;
}

.hero-btn:hover{
    background:#1aa64a;
}

/* ABOUT / SECCIONES */
.panel{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
background-size:cover;
background-position:center;
position:relative;
}

/* OVERLAY GENERAL */
.overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
}

/* TITULOS */
h1{
font-size:60px;
max-width:900px;
z-index:2;
}

h2{
font-size:70px;
z-index:2;
color:rgb(0, 0, 0);
}

/* ========================= */
/* 🔥 SERVICIOS PRO */
/* ========================= */
.services{
padding:120px 10%;
background:#dbdbdb;
color:#fff;
text-align:center;
}

.services-header h2{
font-size:56px;
margin-bottom:10px;
}

.services-header p{
opacity:0.7;
margin-bottom:60px;
color: #000;
font-size: 20px;
}

/* GRID 2x2 */
.services-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:30px;
}

/* CARD */
.service-card{
position:relative;
overflow:hidden;
border-radius:18px;
height:300px;
cursor:pointer;
}

/* VIDEO */
.service-card video{
width:100%;
height:100%;
object-fit:cover;
filter:brightness(0.5);
transform:scale(1.05);
transition:0.6s ease;
}

/* TEXTO OCULTO INICIALMENTE */
.service-info{
position:absolute;
bottom:0;
left:0;
right:0;
padding:20px;
background:rgba(0,0,0,0.6);
transform:translateY(100%);
transition:0.4s ease;
text-align:left;
}

/* HOVER DIFERENTE */
.service-card:hover video{
transform:scale(1.15);
filter:brightness(0.8);
}

.service-card:hover .service-info{
transform:translateY(0);
}

/* BOTÓN */
.services-footer{
margin-top:50px;
}

.services-btn{
display:inline-block;
padding:16px 34px;
background:#0e8636;
color:#ffffff;
text-decoration:none;
font-weight:600;
border-radius:30px;
transition:0.3s;
}

.services-btn:hover{
background:#1aa64a;
}

.service-card video{
width:100%;
height:100%;
object-fit:cover;
filter:brightness(0.6);
transform:scale(1.05);
pointer-events:none;
}

.about{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:80px 10%;
background:#f4f4f4;
}

.about-container{
display:flex;
align-items:center;
justify-content:space-between;
gap:80px;
max-width:1200px;
width:100%;
}

/* IMAGEN MÁS GRANDE */
.about-img{
flex:1;
display:flex;
justify-content:center;
}

.about-img img{
width:100%;
max-width:500px;   /* 👈 MÁS GRANDE */
height:auto;
border-radius:12px;
object-fit:cover;
}

/* TEXTO */
.about-text{
flex:1;
display:flex;
flex-direction:column;
align-items:flex-start;
text-align:left;
}

.about-btn{
display:inline-block;
margin-top:25px;
padding:16px 34px;
background:#0e8636;
color:#ffffff;
text-decoration:none;
font-weight:600;
border-radius:30px;
font-size:16px;
transition:0.25s ease;
}

/* hover más claro */
.about-btn:hover{
background:#1aa64a; /* verde más claro */
}

/* TÍTULO ESCALERA */
.stagger-title{
font-size:60px;
color:#000000;
margin-bottom:20px;
line-height:1;
}

.stagger-title span{
display:block;
}

.stagger-title span:nth-child(2){
margin-left:40px; /* efecto escalera */
}

.about-text p{
font-size:18px;
line-height:1.6;
opacity:0.85;
color: #000;
}

.team{
padding:120px 10%;
background:#d3d3d3
}

.team-header{
max-width:800px;
margin:0 auto 70px;
text-align:center;
}

.team-header h2{
font-size:56px;
margin-bottom:20px;
color:#111;
}

.team-header p{
font-size:18px;
line-height:1.8;
color:#666;
}

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

.team-card{
background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.35s ease;
opacity:0;
transform:translateY(60px);
}

.team-card.visible{
opacity:1;
transform:translateY(0);
}

.team-card:hover{
transform:translateY(-8px);
box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.team-card img{
width:100%;
height:220px;
object-fit:cover;
display:block;
}

.team-card h3{
font-size:24px;
padding:22px 22px 10px;
color:#111;
}

.team-card p{
padding:0 22px 25px;
font-size:16px;
line-height:1.7;
color:#666;
}

.projects{
padding:120px 10%;
background:#000;
color:#fff;
text-align:center;
}

.projects-header h2{
font-size:56px;
margin-bottom:15px;
}

.projects-header p{
font-size:18px;
opacity:0.7;
margin-bottom:50px;
}

/* CONTENEDOR */
.slider-wrapper{
    position:relative;
    overflow:hidden;
    width:100%;
    border-radius:15px;
}

/* FLECHAS */
.slider-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:5;
    width:48px;
    height:48px;
    border-radius:50%;
    border:none;
    background:rgba(0,0,0,0.5);
    color:#fff;
    font-size:18px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:0.3s;
}

.slider-arrow:hover{
    background:#0e8636;
    transform:translateY(-50%) scale(1.08);
}

.slider-prev{
    left:20px;
}

.slider-next{
    right:20px;
}

@media (max-width:768px){
    .slider-arrow{
        width:38px;
        height:38px;
        font-size:14px;
    }
    .slider-prev{left:10px;}
    .slider-next{right:10px;}
}

/* TRACK */
.slider-track{
display:flex;
transition:transform 0.5s ease;
}

/* IMÁGENES */
.slider-track img{
width:100%;  
height:525px;  
object-fit:cover;
flex-shrink:0;
transition:0.3s;
min-width: 100%;
}

.slider-track img:hover{
transform:scale(1.05);
}

.footer-right i{
color:#fff;
margin-right:10px;
font-size:18px;
transition:0.3s;
}

/* opcional hover suave */
.footer-right a:hover i{
color:#1aa64a;
}

.footer{
background:#000;
color:#fff;
display:flex;
justify-content:space-between;
gap:40px;
padding:80px 10%;
flex-wrap:wrap;
border-top:1px solid rgba(255,255,255,0.1);
}

/* IZQUIERDA */
.footer-left{
flex:1;
min-width:250px;
}

.footer-logo{
width:140px;
margin-bottom:20px;
}

.footer-address{
color:#aaa;
text-decoration:none;
display:inline-block;
line-height:1.6;
transition:0.3s;
}

.footer-address:hover{
color:#1aa64a;
}

/* CENTRO */
.footer-center{
flex:1;
min-width:200px;
display:flex;
flex-direction:column;
gap:10px;
}

.footer-center h3{
margin-bottom:10px;
font-size:20px;
}

.footer-center a{
color:#aaa;
text-decoration:none;
transition:0.3s;
}

.footer-center a:hover{
color:#1aa64a;
}

.footer-right{
flex:1;
min-width:200px;

/* FORZAR COLUMNA */
display:flex !important;
flex-direction:column !important;
gap:14px;
}

.footer-right h3{
margin-bottom:10px;
font-size:20px;
}

/* LINKS EN BLOQUE */
.footer-right a{
display:flex;
align-items:center;
gap:12px;
color:#aaa;
text-decoration:none;
font-size:16px;
width:100%;
}

/* ICONOS MÁS GRANDES */
.footer-right i{
font-size:24px;
min-width:28px;
color:#fff;
}

/* HOVER SUAVE */
.footer-right a:hover{
color:#1aa64a;
}

/* ========================= */
/* TABLETAS */
/* ========================= */
@media (max-width:1024px){

header{
    padding:15px 30px;
}

.hero-text h1{
    font-size:55px;
}

.services-grid{
    grid-template-columns:1fr;
}

.about-container{
    flex-direction:column;
    text-align:center;
}

.about-text{
    align-items:center;
}

.stagger-title span:nth-child(2){
    margin-left:0;
}

.slider-track img{
    height:420px;
}

}
/* ========================= */
/* CELULARES */
/* ========================= */
@media (max-width:768px){

header{
    flex-direction:column;
    gap:15px;
    padding:15px;
}

.logo img{
    height:50px;
}

nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
}

nav a{
    margin-left:0;
    font-size:16px;
}

.hero-video{
    height:85vh;
}

.hero-text h1{
    font-size:35px;
    padding:0 15px;
}

.hero-text p{
    font-size:16px;
}

.hero-btn{
    padding:12px 25px;
}

h2{
    font-size:40px;
}

.services{
    padding:80px 20px;
}

.services-header h2{
    font-size:40px;
}

.service-card{
    height:250px;
}

.about{
    padding:80px 20px;
}

.about-container{
    gap:40px;
}

.about-img img{
    max-width:100%;
}

.stagger-title{
    font-size:42px;
    text-align:center;
}

.about-text{
    text-align:center;
}

.team{
    padding:80px 20px;
}

.team-header h2{
    font-size:40px;
}

.projects{
    padding:80px 20px;
}

.projects-header h2{
    font-size:40px;
}

.slider-track img{
    height:250px;
}

.footer{
    flex-direction:column;
    text-align:center;
    padding:60px 20px;
}

.footer-left,
.footer-center,
.footer-right{
    width:100%;
}

.footer-center{
    align-items:center;
}

.footer-right{
    align-items:center;
}

}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float{
    position:fixed;
    bottom:26px;
    right:26px;
    width:60px;
    height:60px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:32px;
    box-shadow:0 6px 20px rgba(0,0,0,.3);
    z-index:2000;
    text-decoration:none;
    transition:.3s;
    animation:whatsappPulse 2.4s infinite;
}

.whatsapp-float:hover{
    background:#1ebe57;
    transform:scale(1.08);
}

@keyframes whatsappPulse{
    0%{box-shadow:0 6px 20px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.5);}
    70%{box-shadow:0 6px 20px rgba(0,0,0,.3), 0 0 0 14px rgba(37,211,102,0);}
    100%{box-shadow:0 6px 20px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,0);}
}

@media (max-width:768px){
    .whatsapp-float{
        width:52px;
        height:52px;
        font-size:26px;
        bottom:18px;
        right:18px;
    }
}

/* HEADER: fila principal + trust-bar */
header{
    padding:0;
    display:flex;
    flex-direction:column;
    align-items:stretch;
}

.header-main{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 50px;
}

.trust-bar{
    display:flex;
    justify-content:center;
    padding:7px 20px;
    background:rgba(0,0,0,.3);
    border-top:1px solid rgba(255,255,255,.08);
}

.trust-badge{
    display:inline-flex;
    align-items:center;
    gap:9px;
    background:none;
    border:none;
    color:#dfe7ee;
    font-family:inherit;
    font-size:13px;
    letter-spacing:.02em;
    cursor:pointer;
    padding:4px 12px;
    border-radius:20px;
    transition:.25s;
}

.trust-badge:hover{
    background:rgba(14,134,54,.3);
    color:#fff;
}

.trust-badge i{
    color:#1aa64a;
    font-size:15px;
}

@media (max-width:768px){
    .header-main{
        flex-direction:column;
        padding:14px 20px;
        gap:12px;
    }
    .trust-bar{
        padding:6px 14px;
    }
    .trust-badge{
        font-size:11px;
        text-align:center;
    }
}

/* MODAL REPSE */
.repse-modal-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.72);
    z-index:3000;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.repse-modal-overlay.is-open{
    display:flex;
}

.repse-modal{
    background:#fff;
    color:#111;
    border-radius:20px;
    max-width:560px;
    width:100%;
    max-height:88vh;
    overflow-y:auto;
    padding:36px;
    position:relative;
    box-shadow:0 30px 70px rgba(0,0,0,.4);
}

.repse-modal-close{
    position:absolute;
    top:16px;
    right:16px;
    width:36px;
    height:36px;
    border-radius:50%;
    border:none;
    background:#f2f2f2;
    color:#333;
    font-size:22px;
    line-height:1;
    cursor:pointer;
    transition:.25s;
}

.repse-modal-close:hover{
    background:#0e8636;
    color:#fff;
}

.repse-modal-header{
    display:flex;
    align-items:flex-start;
    gap:16px;
    margin-bottom:24px;
    padding-right:30px;
}

.repse-modal-header i{
    font-size:34px;
    color:#0e8636;
    margin-top:4px;
}

.repse-modal-header h3{
    font-size:24px;
    margin-bottom:6px;
    color:#111;
}

.repse-modal-header p{
    font-size:13px;
    color:#666;
    line-height:1.5;
}

.repse-modal-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin-bottom:24px;
    padding-bottom:24px;
    border-bottom:1px solid #eee;
}

.repse-modal-grid div span{
    display:block;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.04em;
    color:#888;
    margin-bottom:4px;
}

.repse-modal-grid div strong{
    font-size:15px;
    color:#111;
}

.repse-modal-services h4{
    font-size:15px;
    margin-bottom:12px;
    color:#111;
}

.repse-modal-services ul{
    padding-left:18px;
    margin:0;
}

.repse-modal-services li{
    font-size:14px;
    color:#444;
    line-height:1.7;
    margin-bottom:6px;
}

@media (max-width:600px){
    .repse-modal{padding:26px 20px;}
    .repse-modal-grid{grid-template-columns:1fr;}
}

