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

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

.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);
}

/*=============================
    RESET
==============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Oswald", sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#111;
    color:#fff;
    overflow-x:hidden;
}



/*=============================
        HERO
==============================*/

.hero{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
}

.hero video{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    animation:zoomVideo 20s linear infinite alternate;
}

.hero .overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:0 20px;
}

.hero-content h1{
    font-size:70px;
    letter-spacing:5px;
    margin-bottom:20px;
}

.hero-content p{
    max-width:750px;
    line-height:1.8;
    font-size:18px;
    color:#ddd;
    margin-bottom:40px;
}

/*======================
 CASOS DE ÉXITO
======================*/

.casos-exito{

    padding:100px 8%;
    background:#f5f5f5;

}

.casos-header{

    max-width:700px;
    margin:auto;
    text-align:center;
    margin-bottom:70px;

}

.casos-header h2{

    font-size:50px;
    color:#111;
    margin-bottom:20px;

}

.casos-header p{

    font-size:18px;
    color:#666;
    line-height:1.8;

}

/* GRID */

.videos-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;

}

/* CARD */

.video-card{

    background:#fff;
    border-radius:18px;
    overflow:hidden;

    transition:.4s;
    cursor:pointer;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.video-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(0,0,0,.18);

}

/* VIDEO */

.video-container{

    overflow:hidden;

}

.video-container video{

    width:100%;
    display:block;
    transition:.5s;

}

.video-card:hover video{

    transform:scale(1.05);

}

/* TEXTO */

.video-info{

    padding:30px;

}

.video-info h3{

    font-size:25px;
    margin-bottom:15px;
    color:#111;

}

.video-info p{

    color:#666;
    line-height:1.8;

}

.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;
}

@media (max-width: 992px) {

  header{
    padding: 15px 25px;
  }

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

  .hero-content h1{
    font-size: 50px;
  }

  .hero-content p{
    font-size: 16px;
    max-width: 600px;
  }

  .videos-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

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

}

@media (max-width: 768px) {

  header{
    padding: 12px 20px;
    flex-direction: column;
    gap: 10px;
  }

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

  nav a{
    font-size: 14px;
    margin: 5px 10px;
  }

  .logo img{
    height: 45px;
  }

  .hero-content h1{
    font-size: 32px;
    letter-spacing: 2px;
  }

  .hero-content p{
    font-size: 15px;
    line-height: 1.6;
  }

  .videos-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .casos-header h2{
    font-size: 30px;
  }

  .video-info h3{
    font-size: 20px;
  }

  .footer{
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-right,
  .footer-center,
  .footer-left{
    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;}
}