/* HERO */
.hero{
    background: url('../images/home/WEN-ABS-HOME-FONDO-INICIO.png') center right / cover no-repeat;
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero .container{
    position: relative;
    z-index: 2;
}

.hero-content{
    max-width: 850px;
}

.hero-content h4{
    color: #003a70;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero-content h1{
    color: #003a70;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p{
    color: #003a70;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 600;
    font-style: italic;
}

.btn-hero{
    background: #8ed000;
    color: #fff;
    padding: 11px 30px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-hero:hover{
    background: #7ab800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(142, 208, 0, 0.4);
}

/* STATS */
.stats{
    background:#f8f9fa;
    padding:60px 0;
}

.stats .container{
    max-width: 1200px; /* Limita el ancho para que no se disperse */
}

.stats-wrapper{
    display: flex;
    align-items: flex-end; /* Alinea por la base de los números */
    justify-content: center;
    gap: 50px;
}

.stats-group-left{
    display: flex;
    gap: 60px;
}

.stats-divider{
    width: 2px;
    height: 80px;
    background: #c9d6e0;
    transform: skewX(-18deg);
    margin-bottom: 15px; /* Ajusta para centrar la diagonal */
}

.stats-group-right{
    display: flex;
    gap: 45px;
}

.stat-item{
    text-align: left;
    position: relative;
}

.stat-with-label{
    padding-top: 34px; /* Espacio para el label absoluto */
}

.stat-label{
    position: absolute;
    top: 0;
    left: 0;
    color: #2d6a8a;
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
}

.stat-item h2{
    color: #2d6a8a;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item p{
    color: #2d6a8a;
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.2;
    margin: 0;
}

/* RESPONSIVE STATS */
@media(max-width:1200px){
    .stats-wrapper{
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .stats-divider{
        width: 200px;
        height: 2px;
        transform: skewX(0);
        margin-bottom: 0;
    }
    
    .stats-group-right{
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 40px;
    }
    
    .stat-item{
        text-align: center;
    }
    
    .stat-label{
        left: 50%;
        transform: translateX(-50%);
    }
}

@media(max-width:768px){
    .stats-group-left{
        flex-direction: column;
        gap: 30px;
    }
    
    .stats-group-right{
        gap: 25px 30px;
    }
    
    .stat-item h2{
        font-size: 40px;
    }
    
    .stat-label{
        font-size: 22px;
    }
}

@media(max-width:576px){
    .stats-group-right{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    
    .stat-with-label{
        grid-column: span 2;
    }
}

/* PARTNERS */
.partners{
    padding: 90px 0;
    text-align: center;
    background: #f8f9fa;
}

.siif-box img{
    max-width: 480px;
    width: 100%;
    height: auto;
    margin: 0 auto 45px;
    display: block;
}

.siif-box h2{
    margin: 0 auto 25px;
    max-width: 900px;
    font-size: 24px;
    color: #1a1a1a;
    font-weight: 800;
    font-style: italic;
    line-height: 1.3;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.siif-box p{
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    color: #333;
    font-size: 16px;
    font-weight: 400;
}

/* RESPONSIVE PARTNERS */
@media(max-width:768px){
    .partners{
        padding: 60px 0;
    }
    
    .siif-box img{
        max-width: 320px;
        margin-bottom: 35px;
    }
    
    .siif-box h2{
        font-size: 20px;
        padding: 0 15px;
    }
    
    .siif-box p{
        font-size: 15px;
        padding: 0 20px;
    }
    
    .siif-box p br{
        display: none;
    }
}

@media(max-width:576px){
    .siif-box img{
        max-width: 280px;
    }
    
    .siif-box h2{
        font-size: 18px;
    }
}

/* QUOTE */
.quote-section{
    background:linear-gradient(90deg,#36c8da,#8de3db);
    color:#fff;
    padding:30px;
    text-align:center;
    font-style:italic;
    font-weight: 600;
}

/* BENEFITS */
.benefits{
    padding: 10px 0 90px;
    background: #fff;
}

.benefit-card{
    cursor: pointer;
}

.benefit-card img{
    transition: transform 0.3s ease;
}

.benefit-card:hover img{
    transform: scale(1.12);
}

.benefits-author{
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.benefits .section-title{
    text-align: center;
    margin-bottom: 60px;
    font-size: 28px;
    color: #1a1a1a;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.5px;
}

.benefits-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto 55px;
}

.benefit-card{
    text-align: center;
}

.benefit-card img{
    width: auto;
    height: 90px;
    margin: 0 auto 20px;
    display: block;
}

.benefit-card h3{
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.3;
}

.center-btn{
    text-align: center;
}

.btn-benefits{
    background: #0a2f82;
    color: #fff;
    padding: 14px 45px;
    border-radius: 12px;
    display: inline-block;
    font-weight: 700;
    font-style: italic;
    font-size: 16px;
    transition: all 0.2s ease;
}

.btn-benefits:hover{
    background: #08256b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 47, 130, 0.3);
}

/* RESPONSIVE BENEFITS */
@media(max-width:992px){
    .benefits-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }
    
    .benefits{
        padding: 60px 0 70px;
    }
}

@media(max-width:576px){
    .benefits-grid{
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .benefits-author{
        font-size: 14px;
        padding: 0 15px;
    }
    
    .benefits .section-title{
        font-size: 24px;
        margin-bottom: 45px;
    }
    
    .benefit-card img{
        width: 75px;
        height: 75px;
    }
    
    .benefit-card h3{
        font-size: 16px;
    }
    
    .benefit-card h3 br{
        display: none;
    }
    
    .btn-benefits{
        padding: 12px 35px;
        font-size: 15px;
    }
}

/* SOLUTIONS */
.solutions{
    padding: 80px 0 90px;
    background: #fff;
}

.solutions .section-title{
    text-align: center;
    margin-bottom: 50px;
    font-size: 28px;
    color: #1a1a1a;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.5px;
}

.solutions-box{
    max-width: 1200px;
    margin: 0 auto;
}

.solutions-header{
    background: linear-gradient(90deg, #00b8e6 0%, #416e77 100%);
    padding: 35px 20px;
    margin-bottom: 1%;
    text-align: center;
}

.solutions-header h3{
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -1px;
}

.solutions-grid{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    background: #fff;
}

.solution-card{
    padding: 35px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.solution-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 2;
}

.solution-subtitle{
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
}

.solution-title{
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    font-style: italic;
    line-height: 1.2;
    display: block;
    text-transform: uppercase;
}

.card-green{ 
    background: linear-gradient(135deg, #7cb342 0%, #596d44 100%); 
}

.card-dark{ 
    background: linear-gradient(135deg, #1a2f4a 0%, #3a4e6b 100%);
}

.card-cyan{ 
    background: linear-gradient(135deg, #00b4d8 0%, #334a55 100%);
}

.card-green-dark{ 
    background: linear-gradient(135deg, #2e7d32 0%, #3a663c 100%);
}

.card-navy{ 
    background: linear-gradient(135deg, #0d2c54 0%, #2b415f 100%); 
}

.card-blue{ 
    background: linear-gradient(135deg, #29b6f6 0%, #354d57 100%); 
}

/* RESPONSIVE SOLUTIONS */
@media(max-width:1100px){
    .solutions-grid{
        grid-template-columns: repeat(3, 1fr);
    }
    
    .solutions-header h3{
        font-size: 40px;
    }
}

@media(max-width:768px){
    .solutions{
        padding: 60px 0 70px;
    }
    
    .solutions .section-title{
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .solutions-header{
        padding: 28px 15px;
    }
    
    .solutions-header h3{
        font-size: 32px;
    }
    
    .solutions-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-card{
        min-height: 140px;
        padding: 28px 12px;
    }
    
    .solution-subtitle{
        font-size: 10px;
    }
    
    .solution-title{
        font-size: 16px;
    }
}

@media(max-width:480px){
    .solutions-grid{
        grid-template-columns: 1fr;
    }
    
    .solutions-header h3{
        font-size: 28px;
    }
    
    .solution-card{
        min-height: 120px;
    }
    
    .card-blue .solution-title br{
        display: none;
    }
}


/* CTA */
.cta-magazine{
    position: relative;
    padding: 0;
    background: url('../images/home/WEN-ABS-HOME-FONDO.png') center center / cover no-repeat;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content{
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.btn-download{
    background: #0a2f82;
    color: #fff;
    padding: 18px 55px;
    border-radius: 12px;
    font-weight: 800;
    font-style: italic;
    font-size: 18px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 47, 130, 0.4);
    border: none;
    cursor: pointer;
}

.btn-download:hover{
    background: #08256b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 47, 130, 0.5);
}

/* RESPONSIVE CTA */
@media(max-width:768px){
    .cta-magazine{
        min-height: 220px;
    }
    
    .btn-download{
        padding: 15px 40px;
        font-size: 16px;
    }
}

@media(max-width:576px){
    .cta-magazine{
        min-height: 180px;
    }
    
    .btn-download{
        padding: 14px 30px;
        font-size: 15px;
        border-radius: 10px;
    }
}

/* MODAL REVISTA FORM */
.revista-modal-content{
    text-align: center;
}

.revista-modal-content h3{
    color: #003a70;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.revista-modal-content > p{
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
}

.revista-form-group{
    text-align: left;
    margin-bottom: 14px;
}

.revista-form-group label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #003a70;
    margin-bottom: 4px;
}

.revista-form-group input{
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.revista-form-group input:focus{
    outline: none;
    border-color: #8ed000;
    box-shadow: 0 0 0 3px rgba(142, 208, 0, 0.15);
}

.btn-revista-enviar{
    width: 100%;
    padding: 13px;
    background: #8ed000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 6px;
}

.btn-revista-enviar:hover{
    background: #7ab800;
    transform: translateY(-2px);
}

.btn-revista-enviar:disabled{
    background: #aaa;
    cursor: not-allowed;
    transform: none;
}

/* RESPONSIVE HOME */
@media(max-width:992px){
    .hero{
        min-height: 480px;
        background-position: 70% center;
    }
    
    .hero::before{
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0) 100%);
        z-index: 1;
    }

    .hero-content h1{ font-size: 32px; }
    .hero-content p{ font-size: 15px; }
    .hero-content p br{ display: none; }

    .stats-grid,
    .benefits-grid,
    .solutions-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 576px){
    .hero{
        min-height: 420px;
        background-position: 80% center;
    }

    .hero-content h1{ font-size: 26px; }
    .hero-content h4{ font-size: 14px; }

    .stats-grid,
    .benefits-grid,
    .solutions-grid{
        grid-template-columns: 1fr;
    }

    .divider{ width: 90%; }
}

/* CLIENTES CAROUSEL */
.clientes-carousel{
    padding: 50px 0;
    background: #fff;
    overflow: hidden;
}

.clientes-carousel .container-fluid{
    padding: 0 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.clientes-wrapper{
    display: flex;
    align-items: center;
    gap: 50px;
}

.clientes-texto{
    flex-shrink: 0;
}

.clientes-texto h3{
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    margin: 0;
    white-space: nowrap;
}

.clientes-slider{
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.clientes-slider::before,
.clientes-slider::after{
    content: '';
    position: absolute;
    top: 0;
    width: 130px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clientes-slider::before{
    left: 0;
    background: linear-gradient(to right, #fff 0%, transparent 100%);
}

.clientes-slider::after{
    right: 0;
    background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.carousel-track{
    display: flex;
    gap: 50px;
    animation: scroll 16s linear infinite;
}

.carousel-track:hover{
    animation-play-state: paused;
}

.carousel-slide{
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.carousel-slide img{
    height: 50px;
    width: auto;
    max-width: 140px;
    display: block;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.carousel-slide img:hover{
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll{
    0%{
        transform: translateX(0);
    }
    100%{
        transform: translateX(-93%);
    }
}

/* RESPONSIVE CLIENTES CAROUSEL */
@media(max-width:992px){
    .clientes-carousel{
        padding: 40px 0;
    }
    
    .clientes-carousel .container-fluid{
        padding: 0 30px;
    }
    
    .clientes-wrapper{
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .clientes-texto h3{
        font-size: 18px;
    }
    
    .carousel-track{
        gap: 40px;
    }
    
    .carousel-slide{
        height: 50px;
    }
    
    .carousel-slide img{
        max-height: 45px;
        max-width: 120px;
    }
}

@media(max-width:576px){
    .clientes-carousel{
        padding: 35px 0;
    }
    
    .clientes-carousel .container-fluid{
        padding: 0 20px;
    }
    
    .clientes-wrapper{
        gap: 25px;
    }
    
    .clientes-texto h3{
        font-size: 16px;
    }
    
    .carousel-track{
        gap: 35px;
        animation: scroll 25s linear infinite;
    }
    
    .carousel-slide{
        height: 45px;
    }
    
    .carousel-slide img{
        max-height: 40px;
        max-width: 100px;
    }
    
    .clientes-slider::before,
    .clientes-slider::after{
        width: 50px;
    }
}

