.hero-sobre {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 39, 73, 0.9) 0%, rgba(27, 58, 107, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--blanco);
    max-width: 800px;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    background: var(--rojo-principal);
    color: var(--blanco);
    padding: 5px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-line{
    width: 90px;
    height: 5px;
    background: var(--rojo-principal);
    margin: 10px auto;
}

.hero-content p {
    font-size: 17px;
    opacity: 0.9;
}

.values-grid-section {
    padding: 90px 20px;
    background: #f4f8fc;
}

.values-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3.0rem;
    color: var(--azul-oscuro);
    font-weight: 800;
    margin-bottom: 15px;
}

.title-line {
    width: 70px;
    height: 4px;
    background: var(--rojo-principal);
    margin: 0 auto;
    border-radius: 10px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

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

.card-sobre {
    background: var(--blanco);
    padding: 50px 35px;
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(15, 39, 73, 0.04);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}

.card-sobre:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(15, 39, 73, 0.1);
    border-color: rgba(176, 16, 48, 0.1);
}

.icon-circle {
    width: 85px;
    height: 85px;
    background: #f6f6f6;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--rojo-principal);
    font-size: 30px;
    transition: all 0.4s ease;
}

.card-sobre:hover .icon-circle {
    background: var(--rojo-principal);
    color: var(--blanco);
    transform: scale(1.1) rotate(5deg);
}

.card-sobre h3 {
    margin-bottom: 15px;
    color: var(--azul-oscuro);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.card-sobre p {
    font-size: 15px;
    color: #576574;
    line-height: 1.7;
    font-weight: 500;
}

@media (max-width: 992px) {
    .hero-sobre {
        height: 400px;
    }

    .hero-content {
        padding: 0 15px;
        width: 100%;
    }

    .section-tag {
        font-size: 10px;
        padding: 8px 11px;
        display: inline-block;
        margin-bottom: 12px;
    }

    .hero-content h1 {
        font-size: 36px !important;
        letter-spacing: -0.5px;
        margin-bottom: 15px;
        font-weight: 800;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.4;
        max-width: 100%;
        opacity: 0.9;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-title{
        font-size: 34px;
    }
}
