/* ========================= */
/* VARIABLES */
/* ========================= */

:root{
    --primary: #1F2937;
    --secondary: #4B5563;
    --accent: #E10600;
    --light: #f5f5f7;
}

/* ========================= */
/* SECTION */
/* ========================= */

.values-section{
    position: relative;
    padding: 140px 0;
    background:
    linear-gradient(
        180deg,
        #ffffff 0%,
        #f7f7f8 100%
    );
    overflow: hidden;
}

/* ========================= */
/* EFECTOS */
/* ========================= */

.values-blur{
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 999px;
    filter: blur(100px);
    opacity: .35;
}

.values-blur-1{
    top: -100px;
    left: -100px;
    background: rgba(225, 6, 0, .25);
}

.values-blur-2{
    right: -120px;
    bottom: -120px;
    background: rgba(75, 85, 99, .18);
}

/* ========================= */
/* CONTENEDOR */
/* ========================= */

.values-container{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: auto;
    padding: 0 40px;
}

/* ========================= */
/* HEADER */
/* ========================= */

.values-header{
    text-align: center;
    margin-bottom: 90px;
}

.values-badge{
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 28px;

    background: rgba(255,255,255,.75);

    border: 1px solid rgba(225,6,0,.15);

    border-radius: 999px;

    backdrop-filter: blur(12px);

    box-shadow:
    0 10px 30px rgba(0,0,0,.05);

    margin-bottom: 35px;
}

.values-badge i{
    color: var(--accent);
}

.values-badge span{
    color: var(--accent);
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.values-title{
    max-width: 1100px;
    margin: auto auto 30px;

    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.05;
    font-weight: 900;

    color: var(--primary);
}

.values-title span{
    background: linear-gradient(
        90deg,
        var(--accent),
        #ff5c5c
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.values-line{
    width: 90px;
    height: 5px;

    margin: 0 auto 35px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        var(--accent),
        #ff5c5c
    );
}

.values-description{
    max-width: 850px;
    margin: auto;

    font-size: 1.2rem;
    line-height: 1.9;

    color: #6b7280;
}

/* ========================= */
/* GRID */
/* ========================= */

.values-grid{
    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

    gap: 35px;
}

/* ========================= */
/* CARD */
/* ========================= */

.value-card{
    position: relative;

    background:
    rgba(255,255,255,.75);

    backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,.6);

    border-radius: 32px;

    padding: 40px;

    overflow: hidden;

    transition:
    transform .4s ease,
    box-shadow .4s ease;

    box-shadow:
    0 20px 40px rgba(0,0,0,.05);
}

/* HOVER */

.value-card:hover{
    transform: translateY(-12px);

    box-shadow:
    0 30px 70px rgba(0,0,0,.10);
}

/* GLOW */

.card-glow{
    position: absolute;

    top: -100px;
    right: -100px;

    width: 220px;
    height: 220px;

    background:
    radial-gradient(
        circle,
        rgba(225,6,0,.14),
        transparent 70%
    );

    opacity: 0;

    transition: .5s ease;
}

.value-card:hover .card-glow{
    opacity: 1;
}

/* ========================= */
/* TOP */
/* ========================= */

.value-card-top{
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 35px;
}

/* ========================= */
/* ICON */
/* ========================= */

.value-icon{
    width: 84px;
    height: 84px;

    border-radius: 26px;

    background:
    linear-gradient(
        135deg,
        rgba(225,6,0,.12),
        rgba(225,6,0,.03)
    );

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(225,6,0,.08);

    transition: .4s ease;
}

.value-card:hover .value-icon{
    background: var(--accent);
}

.value-icon i{
    font-size: 2rem;
    color: var(--accent);

    transition: .4s ease;
}

.value-card:hover .value-icon i{
    color: white;
}

/* ========================= */
/* NUMBER */
/* ========================= */

.value-number{
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;

    color: rgba(31,41,55,.06);
}

/* ========================= */
/* TITULO */
/* ========================= */

.value-title-card{
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 900;

    color: var(--primary);

    margin-bottom: 18px;
}

/* ========================= */
/* LINE */
/* ========================= */

.value-divider{
    width: 60px;
    height: 4px;

    border-radius: 999px;

    background: linear-gradient(
        90deg,
        var(--accent),
        #ff5c5c
    );

    margin-bottom: 25px;
}

/* ========================= */
/* TEXT */
/* ========================= */

.value-text{
    font-size: 1.05rem;
    line-height: 1.9;

    color: #6b7280;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width: 768px){

    .values-section{
        padding: 100px 0;
    }

    .values-container{
        padding: 0 24px;
    }

    .values-grid{
        grid-template-columns: 1fr;
    }

    .value-card{
        padding: 32px;
    }

    .value-title-card{
        font-size: 1.7rem;
    }

}

