/* RESET */

:root{
    color-scheme: light;
}
html,
body{
    background:#ffffff !important;
    color:#1f2937 !important;
    color-scheme: light;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

html{
    scroll-behavior:smooth;
}
body{
    background:#fff;
    color:#1f2937;
}
/* HEADER */
header{
    position:fixed;
    top:0;
    width:100%;
    height:90px; /* altura fija */
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 8%;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
    z-index:1000;
}
.logo{
    display:flex;
    align-items:center;
}
.logo img{
    height:200px;
    width:auto;
}
nav ul{
    display:flex;
    list-style:none;
    gap:30px;
}
nav a{
    text-decoration:none;
    color:#222;
    font-weight:600;
    transition:.3s;
}
nav a:hover{
    color:#4CAF50;
}
/* HERO */
.hero{
    min-height:100vh;
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    padding:180px 8% 80px;
    gap:50px;
}

.hero-content{
    flex:1.8;
    max-width:950px;
    color:#222;
    text-align:left;
}

.bienvenida{
    display:flex;
    align-items:center;
    gap:12px;
    color:#46DA53;
    font-size:32px;
    font-weight:900;
    text-transform:uppercase;
    line-height:1.1;

    margin-bottom:15px;
}

.tes-inline{
    height:50px;
    width:auto;
    object-fit:contain;
}

.hero-content h1{
    font-size:4.5rem;
    margin:20px 0;
    line-height:1.1;
    max-width:900px;
}

.hero-content p:not(.bienvenida){
    font-size:18px;
    line-height:1.8;
    margin-bottom:30px;
    max-width:700px;
}
.hero-buttons{
    display:flex;
    gap:15px;
}
.btn{
    background:#46DA53;
    color:white;
    text-decoration:none;
    padding:15px 30px;
    border-radius:40px;
    font-weight:bold;
    transition:.3s;
    box-shadow:0 8px 20px rgba(70,218,83,.35);
    animation:flotarBoton 3s ease-in-out infinite;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(70,218,83,.45);
}
.btn-secundario{
    border:2px solid #222;
    color:#222;
    text-decoration:none;
    padding:15px 30px;
    border-radius:40px;
    transition:.3s;
}

.btn-secundario:hover{
    background:#222;
    color:white;
}
/* CARDS */
.cards{
     width:95%;
    margin:20px auto 80px;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:40px;
}

.card{
    width:250px;
    height:250px;
    background:#fff;
    border:5px solid #45E6EB;
    border-radius:50%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:25px;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    transition:all .3s ease;
}

.card i{
    font-size:40px;
    color:#46DA53;
    margin-bottom:15px;
}

.card h3{
    font-size:20px;
    margin-bottom:10px;
}

.card p{
    font-size:14px;
    line-height:1.4;
}
/* SERVICIOS */

.servicios{
     padding:20px 8% 80px;
}

.servicios h2{
    text-align:center;
    font-size:2.5rem;
    margin-bottom:50px;
}

.servicio{
    background:#f8f9fa;
    padding:30px;
    margin-bottom:25px;
    border-left:5px solid #46DA53;
}

.servicio h3{
    margin-bottom:20px;
}

.servicio ul{
    padding-left:20px;
}

.servicio li{
    margin-bottom:10px;
}
/* ALIADOS */

.aliados{
    padding:80px 8%;
    background:#f5f5f5;
}

.aliados h2{
    text-align:center;
    margin-bottom:50px;
}

.logos{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:50px;
}

.logo-aliado{
    background:white;
    padding:20px;
    width:250px;
    height:150px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.1);
    transition:.3s;
}

.logo-aliado:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.logo-aliado img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}
/* FOOTER / CONTACTO */

.contacto{
    background:#f8f9fa;
    padding:70px 8% 30px;
    text-align:center;
}

.contacto h2{
    font-size:3rem;
    margin-bottom:20px;
}

.contacto p{
    margin-bottom:15px;
}

.datos{
    margin:30px 0;
}

.datos p{
    font-size:22px;
}

.datos i{
    color:#46DA53;
    margin-right:10px;
}
/* WHATSAPP */

.whatsapp-container{
    position:fixed;
    right:25px;
    bottom:25px;
    display:flex;
    align-items:center;
    gap:12px;
    z-index:9999;
}

.whatsapp-text{
    background:#46DA53;
    color:#fff;
    padding:9px 15px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    white-space:nowrap;
    box-shadow:0 5px 15px rgba(0,0,0,.2);
    animation:flotarWhatsapp 2.5s ease-in-out infinite;
}
.whatsapp{
    width:65px;
    height:65px;
    background:#46DA53;
    color:white;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    text-decoration:none;
    font-size:32px;
    box-shadow:0 5px 15px rgba(0,0,0,.3);
    transition:.3s;
}

.whatsapp:hover{
    transform:scale(1.05);
}
.whatsapp i{
    font-size:32px;
}


.hero-content{
    flex:1;
    max-width:650px;
}
.hero-image{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
}
.hero-image img{
    width:100%;
    max-width:850px;
    height:auto;
    object-fit:contain;
    transform: translateY(-10px);
}
.card:hover{
    transform:translateY(-12px) scale(1.05);
    box-shadow:
    0 15px 35px rgba(0,0,0,0.25);
    border-color:#2fd8de;
}

.scroll-servicios{
    text-align:center;
    margin-top:20px;
    margin-bottom:40px;
}

.scroll-servicios a{
    text-decoration:none;
    color:#45E6EB;
    font-size:28px;
    font-weight:600;
    display:flex;
    flex-direction:column;
    align-items:center;
    transition:.3s;
}

.scroll-servicios a:hover{
    color:#46DA53;
}

.scroll-servicios i{
    font-size:35px;
    margin-top:10px;
    animation:flechita 1.5s infinite;
}

@keyframes flechita{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(10px);
    }

    100%{
        transform:translateY(0);
    }

}
#servicios{
    scroll-margin-top: 150px;
}

.slider{
    width:100%;
    max-width:800px;
    height:500px;
    position:relative;
    overflow:hidden;
}

.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;
}

.slide.active{
    opacity:1;
}
/* FOOTER */

.footer{
    background:#fff;
    padding:60px 8% 25px;
    border-top:1px solid #e5e7eb;
}

.footer-top{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:60px;
    flex-wrap:wrap;
    text-align:left;
}

.footer-logos{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    margin-left:-80px;
}

.footer-logos img{
    width:350px;
    max-width:100%;
    height:auto;
}

.footer-info p{
    font-size:18px;
    margin-bottom:18px;
}

.footer-info i{
    color:#46DA53;
    width:30px;
}
/* COPYRIGHT */


.footer-bottom{
    border-top:1px solid #e5e7eb;
    margin-top:30px;
    padding-top:20px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    text-align:center;
    flex-wrap:wrap;
}

.footer-bottom p{
    margin:0;
    font-size:16px;
    color:#555;
}

.footer-bottom a{
    color:#46DA53;
    text-decoration:none;
    font-weight:600;
}
.tagweb{
    display:flex;
    align-items:center;
    gap:10px;
}

.tagweb img{
    height:45px;
    width:auto;
}

.tagweb-logo{
    width:70px;
    height:auto;
    object-fit:contain;
}
.footer-info a{
    color:inherit;
    text-decoration:none;
    transition:.3s;
}

.footer-info a:hover{
    color:#46DA53;
}


.menu-toggle{
    display:none;
    font-size:30px;
    cursor:pointer;
    color:#46DA53;
}


@keyframes flotarWhatsapp{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-6px);
    }

    100%{
        transform:translateY(0);
    }

}
@keyframes flotarBoton{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-5px);
    }

    100%{
        transform:translateY(0);
    }

}

html,
body{
    background:#ffffff !important;
    color:#1f2937 !important;
}

header,
.hero,
.cards,
.servicios,
.aliados,
.footer{
    background:#ffffff !important;
}

@media (max-width:768px){

    /* HEADER */

    header{
        padding:0 20px;
    }

    .logo img{
        height:180px;
    }

    .menu-toggle{
        display:block;
        font-size:30px;
        cursor:pointer;
    }

    nav{
        display:none;
        position:absolute;
        top:90px;
        left:0;
        width:100%;
        background:#fff;
        box-shadow:0 5px 15px rgba(0,0,0,.1);
        z-index:999;
    }

    nav.active{
        display:block;
    }

    nav ul{
        flex-direction:column;
        gap:0;
    }

    nav ul li{
        text-align:center;
        border-bottom:1px solid #eee;
    }

    nav ul li a{
        display:block;
        padding:15px;
    }

    /* HERO */

    .hero{
        flex-direction:column;
        align-items:center;
        text-align:center;
        padding:130px 20px 50px;
        gap:30px;
    }

    .hero-content{
        max-width:100%;
        text-align:center;
    }

    .bienvenida{
        justify-content:center;
        font-size:24px;
    }

    .tes-inline{
        height:35px;
    }

    .hero-content h1{
        font-size:2.5rem;
        line-height:1.1;
    }

    .hero-content p:not(.bienvenida){
        max-width:100%;
        font-size:16px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .btn{
        width:100%;
        max-width:300px;
    }

    /* SLIDER */

    .hero-image{
        width:100%;
        justify-content:center;
    }

    .slider{
        width:100%;
        max-width:340px;
        height:340px;
    }

    .slide{
        object-fit:contain;
    }

    /* CARDS */

    .cards{
        gap:20px;
    }

    .card{
        width:220px;
        height:220px;
    }

    /* ALIADOS */

    .logos{
        gap:20px;
    }

    .logo-aliado{
        width:220px;
    }

    /* FOOTER */

    .footer-top{
        flex-direction:column;
        text-align:center;
    }

    .footer-logos{
        margin-left:0;
        justify-content:center;
    }

    .footer-info{
        text-align:center;
    }

    .footer-bottom{
        flex-direction:column;
    }

    .tagweb-logo{
        width:60px;
    }

    /* WHATSAPP */

    .whatsapp-text{
        display:none;
    }
}

/* ===================================
   NOSOTROS PREMIUM TES
=================================== */

.nosotros-container{
    width:90%;
    max-width:1400px;
    margin:110px auto 80px;
}

/* PRIMERA FILA */

.nosotros-grid{
    display:grid;
    grid-template-columns:1.9fr 1.9fr;
    gap:30px;
    margin-bottom:90px;
    align-items:start;
}

/* TARJETA PRINCIPAL */

.premium-card{
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.3s;
}

.premium-card:hover{
    transform:translateY(-5px);
}

/* NOSOTROS */

/* NOSOTROS */

.nosotros-hero{
    position: relative;
    min-height: 400px;
    padding: 60px;
    color: white;
    border-radius: 25px;
    background:
        linear-gradient(
            rgba(0,15,20,.80),
            rgba(0,15,20,.90)
        ),
        url("img/panel solar.png");

    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nosotros-hero h1{
    font-size:4rem;
    margin-bottom:30px;
    font-weight:700;
}

.nosotros-hero p{
    font-size:1.5rem;
    line-height:1.6;
    max-width:550px;
}

/* ICONOS */

.hero-icons{
    display:flex;
    gap:30px;
    margin-top:80px;
}

.hero-icon{
    text-align:center;
}

.circle{
    width:90px;
    height:90px;
    border-radius:50%;
    background:rgba(69,230,235,.15);
    border:2px solid #46DA53;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:auto auto 15px;
}

.circle i{
    color:#46DA53;
    font-size:2rem;
}

.hero-icon h3{
    font-size:1rem;
    font-weight:500;
}

/* MISION Y VISION */

.mv-container{
    display:flex;
    flex-direction:column;
    gap:5px;
    margin-top:-3px;
    
}

.mv-card{
    background:#fff;

    padding-top:10px;
    padding-right:40px;
    padding-bottom:40px;
    padding-left:40px;

    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    flex:1;
    position:relative;
}

.mv-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:8px;
    height:100%;
    background:#46DA53;
}

.mv-card i{
    font-size:3rem;
    color:#46DA53;
    margin-bottom:20px;
}

.mv-card h2{
    font-size:2rem;
    margin-bottom:20px;
    color:#222;
}

.mv-card p{
    color:#555;
    line-height:1.8;
}

/* SEGUNDA FILA */

.nosotros-bottom{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    margin-bottom:60px;
}

/* VALORES */

.valores-card{
    background:#fff;
    padding:40px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.valores-card h2{
    color:#46DA53;
    font-size:2rem;
    margin-bottom:40px;
}

.valores-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.valor{
    text-align:center;
}

.valor .icon{
    width:85px;
    height:85px;
    border-radius:50%;
    background:#f5f7f8;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto 15px;
    transition:.3s;
}

.valor:hover .icon{
    background:#46DA53;
}

.valor:hover i{
    color:white;
}

.valor i{
    color:#46DA53;
    font-size:2rem;
    transition:.3s;
}

.valor p{
    font-size:.95rem;
    color:#333;
}

/* OBJETIVO GENERAL */

.objetivo-card{
    padding:45px;
    border-radius:25px;
    color:white;

    background:
    linear-gradient(
        rgba(0,15,20,.85),
        rgba(0,15,20,.90)
    ),
    url("img/panel solar tes.png");

    background-size: 100%;
    background-position: right bottom;
    background-repeat:no-repeat;

    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.objetivo-card h2{
    font-size:2rem;
    margin-bottom:30px;
}

.objetivo-card p{
    line-height:1.8;
    margin-bottom:15px;
}

/* OBJETIVOS ESPECIFICOS */

.obj-especificos{
    background:#fff;
    padding:50px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.obj-especificos h2{
    color:#46DA53;
    font-size:2rem;
    margin-bottom:50px;
}

.timeline{
    display:flex;
    justify-content:space-between;
    gap:30px;
}

.timeline-item{
    flex:1;
    text-align:center;
}

.timeline-number{
    width:100px;
    height:100px;
    border-radius:50%;
    background:linear-gradient(
        135deg,
        #46DA53,
        #45E6EB
    );

    color:white;
    font-size:2rem;
    font-weight:bold;

    display:flex;
    justify-content:center;
    align-items:center;

    margin:0 auto 25px;
}

.timeline-item p{
    line-height:1.8;
    color:#444;
}

/* RESPONSIVE */

@media(max-width:1100px){

    .nosotros-grid,
    .nosotros-bottom{
        grid-template-columns:1fr;
    }

    .timeline{
        flex-direction:column;
    }
}

@media(max-width:768px){

    .nosotros-container{
        width:95%;
    }

    .nosotros-hero{
        padding:30px;
        min-height:auto;
    }

    .nosotros-hero h1{
        font-size:2.5rem;
    }

    .nosotros-hero p{
        font-size:1.1rem;
    }

    .hero-icons{
    flex-direction:row;
    justify-content:center;
    gap:15px;
    margin-top:30px;
}

    .valores-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:500px){

    .valores-grid{
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }

    .valor .icon{
        width:60px;
        height:60px;
    }

    .valor i{
        font-size:1.4rem;
    }

    .valor p{
        font-size:.85rem;
    }

    .timeline-number{
        width:80px;
        height:80px;
        font-size:1.5rem;
    }
}

/* LINEA DECORATIVA TITULOS */

.nosotros-hero h1::after,
.mv-card h2::after,
.valores-card h2::after,
.objetivo-card h2::after,
.obj-especificos h2::after{
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #46DA53;
    border-radius: 10px;
    margin-top: 15px;
}
/* MENU ACTIVO */

nav ul li a.active{
    color: #46DA53;
    position: relative;
}

nav ul li a.active::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;

    width: 100%;
    height: 3px;

    background: #46DA53;
    border-radius: 10px;
}