.sticky-menu-section {
    position: relative;
}

.sticky-content {
    position: sticky;
    top: 200px;
    height: fit-content;
    z-index: 10;
}

/* Estilos para la imagen del rector dentro de la sección 'Nuestro Himno' */
.rector-img {
    width: 100%;
    max-height: 390px; /* altura máxima por defecto */
    object-fit: cover; /* recorta sin deformar la imagen */
    display: block;
}

/* Reducir altura en pantallas medianas y pequeñas */
@media (max-width: 991.98px) {
    .rector-img {
        max-height: 260px;
    }
}

@media (max-width: 575.98px) {
    .rector-img {
        max-height: 380px;
    }
}

.menu-content {
    padding-left: 2rem;
}

@media (max-width: 991.98px) {
    .sticky-content {
        position: relative;
        top: auto;
    }

    .menu-content {
        padding-left: 0;
        margin-top: 2rem;
    }
}


/* ===== Estilo moderno tipo referente para tarjetas (desde la 2da) ===== */
.valores-modern-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.25rem;
    background: #f4f3f1;
    border-radius: 20px;
    padding: 1.25rem 1.25rem 1.25rem 1rem;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.valores-modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.12);
}

.valores-modern-card .vmc-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-primary-900);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.valores-modern-card .vmc-icon i {
    color: white;
    font-size: 1.35rem;
}

.valores-modern-card .vmc-text { min-width: 0; }
.valores-modern-card .vmc-title {
    margin: 0 0 .25rem 0;
    font-weight: 700;
    font-size: 1.75rem;
    color: #151515;
    letter-spacing: -0.02em;
}
.valores-modern-card .vmc-desc {
    margin: 0;
    color: #6b6b6b;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 575.98px) {
    .valores-modern-card {
        grid-template-columns: auto 1fr;
        row-gap: .75rem;
        padding: 1rem;
    }
    .valores-modern-card .vmc-title { font-size: 1.375rem; }
}