/* ====================================
   BENEFICIOS YACHAY
==================================== */

.beneficios{

    padding:120px 8%;

    background:var(--fondo);

    position:relative;

    overflow:hidden;

}
/* ====================================
   TITULO BENEFICIOS
==================================== */

.beneficios .section-title{

    text-align:center;

    margin-bottom:80px;

    position:relative;

    z-index:2;

}

.beneficios .section-title span{

    display:inline-block;

    font-size:2.5rem;

    font-weight:900;

    letter-spacing:6px;

    text-transform:uppercase;

    margin-bottom:15px;

    background:linear-gradient(
        135deg,
        #ff5f1f,
        #ff7b00,
        #ff3d2e
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;

    text-shadow:
    0 0 15px rgba(255,95,31,.25),
    0 0 25px rgba(255,61,46,.15);

}

.beneficios .section-title span::after{

    content:"";

    display:block;

    width:90px;

    height:4px;

    margin:12px auto 0;

    border-radius:50px;

    background:
    linear-gradient(
    90deg,
    var(--secundario),
    var(--acento)
    );

}

.beneficios .section-title h2{

    margin-top:20px;

}
/* ====================================
   FONDO DECORATIVO
==================================== */

.beneficios::before{

    content:'';

    position:absolute;

    width:500px;
    height:500px;

    border-radius:50%;

    background:

    radial-gradient(
    circle,
    rgba(0,184,212,.08),
    transparent 70%
    );

    top:-250px;
    right:-250px;

}

.beneficios::after{

    content:'';

    position:absolute;

    width:400px;
    height:400px;

    border-radius:50%;

    background:

    radial-gradient(
    circle,
    rgba(31,94,168,.08),
    transparent 70%
    );

    bottom:-200px;
    left:-200px;

}

/* ====================================
   GRID BENEFICIOS
==================================== */

.beneficios-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

    position:relative;

    z-index:2;

}

/* ====================================
   TARJETAS
==================================== */

.beneficio-card{

    position:relative;

    overflow:hidden;

    background:white;

    border-radius:25px;

    padding:40px 35px;

    transition:.45s ease;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);

    cursor:pointer;

}

/* ====================================
   GLOW DINÁMICO
==================================== */

.beneficio-card::before{

    content:'';

    position:absolute;

    left:var(--mouse-x);

    top:var(--mouse-y);

    width:280px;
    height:280px;

    transform:
    translate(-50%,-50%);

    background:
    radial-gradient(
    circle,
    rgba(0,184,212,.30),
    transparent 70%
    );

    opacity:var(--glow-opacity,0);

    transition:.3s;

    pointer-events:none;

}

/* ====================================
   BRILLO SUPERIOR
==================================== */

.beneficio-card::after{

    content:'';

    position:absolute;

    top:0;
    left:-120%;

    width:100%;
    height:100%;

    background:
    linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.30),
    transparent
    );

    transition:.8s;

}

/* ====================================
   HOVER
==================================== */

.beneficio-card:hover{

    transform:
    translateY(-15px)
    scale(1.03);

    background:
    linear-gradient(
    135deg,
    var(--primario),
    var(--secundario)
    );

    color:white;

    box-shadow:
    0 25px 60px rgba(18,59,109,.35);

}

.beneficio-card:hover::after{

    left:120%;

}

/* ====================================
   ICONOS
==================================== */

.beneficio-card i{

    font-size:3rem;

    margin-bottom:25px;

    color:var(--secundario);

    transition:.4s ease;

}

.beneficio-card:hover i{

    color:var(--acento);

    transform:
    scale(1.25)
    rotate(8deg);

}

/* ====================================
   TITULO TARJETA
==================================== */

.beneficio-card h3{

    font-size:1.4rem;

    margin-bottom:15px;

    font-weight:700;

}

/* ====================================
   TEXTO TARJETA
==================================== */

.beneficio-card p{

    line-height:1.8;

    color:var(--gris);

    transition:.3s;

}

.beneficio-card:hover p{

    color:#dbeafe;

}

/* ====================================
   ETIQUETA SUPERIOR
==================================== */

.beneficio-tag{

    display:inline-block;

    padding:8px 15px;

    border-radius:50px;

    font-size:.8rem;

    font-weight:600;

    margin-bottom:20px;

    background:
    rgba(0,184,212,.12);

    color:var(--secundario);

}

.beneficio-card:hover .beneficio-tag{

    background:
    rgba(255,255,255,.15);

    color:white;

}

/* ====================================
   NÚMERO DECORATIVO
==================================== */

.beneficio-number{

    position:absolute;

    top:20px;
    right:25px;

    font-size:4rem;

    font-weight:800;

    color:
    rgba(255,255,255,.05);

    pointer-events:none;

}

/* ====================================
   ANIMACIÓN DE ENTRADA
==================================== */

.beneficio-card{

    opacity:0;

    transform:
    translateY(40px);

}

.beneficio-card.active{

    opacity:1;

    transform:
    translateY(0);

    transition:
    all .8s ease;

}

/* ====================================
   ESTADÍSTICAS
==================================== */

.beneficios-stats{

    margin-top:80px;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.stat-card{

    background:white;

    padding:35px;

    border-radius:20px;

    text-align:center;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

}

.stat-card:hover{

    transform:
    translateY(-10px);

}

.stat-card h3{

    font-size:2.5rem;

    color:var(--acento);

    margin-bottom:10px;

}

.stat-card p{

    color:var(--gris);

}

/* ====================================
   RESPONSIVE
==================================== */

@media(max-width:992px){

    .beneficios{

        padding:100px 6%;

    }

}

@media(max-width:768px){

    .beneficios-grid{

        grid-template-columns:1fr;

    }

    .beneficio-card{

        padding:30px;

    }

}

@media(max-width:576px){

    .beneficios{

        padding:80px 5%;

    }

    .beneficio-card h3{

        font-size:1.2rem;

    }

}


.beneficio-link{
    text-decoration:none;
    display:block;
    color:inherit;
}

.beneficio-card{
    cursor:pointer;
}