/* Instituciones: estilos específicos (hero moderno) */

.instituciones-page .instituciones-hero {
    position: relative;
    padding: 132px 0 84px;
    overflow: hidden;
    background: #0b0f19;
}

.instituciones-page .instituciones-hero__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    filter: saturate(1.05) contrast(1.03);
}

.instituciones-page .instituciones-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1100px 520px at 20% 10%, rgba(255, 131, 0, 0.22), transparent 60%),
        radial-gradient(900px 520px at 85% 15%, rgba(255, 240, 225, 0.10), transparent 60%),
        linear-gradient(90deg, rgba(17, 24, 39, 0.82) 0%, rgba(17, 24, 39, 0.62) 46%, rgba(17, 24, 39, 0.30) 100%);
}

.instituciones-page .instituciones-hero .container {
    position: relative;
    z-index: 2;
}

.instituciones-page .instituciones-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
    letter-spacing: 0.2px;
}

.instituciones-page .instituciones-hero__title {
    margin: 14px 0 10px;
    font-weight: 1000;
    letter-spacing: -0.03em;
    line-height: 1.06;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(32px, 3.1vw, 46px);
}

.instituciones-page .instituciones-hero__title .accent {
    color: #ff9a3c;
}

.instituciones-page .instituciones-hero__desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    font-size: 1.06rem;
    max-width: 56ch;
}

.instituciones-page .instituciones-hero__actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.instituciones-page .instituciones-hero__actions .btn {
    border-radius: 999px;
    padding: 12px 16px;
    font-weight: 900;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.instituciones-page .instituciones-hero__actions .btn-outline-light {
    color: #111827;
    border-color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: none;
}

.instituciones-page .instituciones-hero__actions .btn-outline-light:hover {
    color: #fff !important;
    background: rgba(255, 131, 0, 0.96) !important;
    border-color: rgba(255, 131, 0, 0.96);
}

.instituciones-page .instituciones-hero__actions .btn-outline-light:hover i {
    color: #fff !important;
}

.instituciones-page .instituciones-hero__actions .btn-outline-light:focus,
.instituciones-page .instituciones-hero__actions .btn-outline-light:active {
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.26), 0 0 0 0.35rem rgba(255, 131, 0, 0.22);
}

.instituciones-page .instituciones-hero__meta {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.instituciones-page .instituciones-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.84);
    font-weight: 800;
    font-size: 0.92rem;
}

.instituciones-page .instituciones-hero__card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 26px;
    padding: 20px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(10px);
}

.instituciones-page .instituciones-hero__card h3 {
    margin: 0 0 10px;
    font-weight: 1000;
    letter-spacing: -0.02em;
    color: #111827;
    font-size: 1.18rem;
}

.instituciones-page .instituciones-hero__card p {
    margin: 0 0 12px;
    color: rgba(17, 24, 39, 0.74);
    line-height: 1.7;
}

.instituciones-page .instituciones-hero__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.instituciones-page .instituciones-hero__list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(17, 24, 39, 0.76);
    line-height: 1.55;
    font-weight: 700;
}

.instituciones-page .instituciones-hero__list i {
    margin-top: 2px;
    color: #ff7a1a;
}

@media (max-width: 991.98px) {
    .instituciones-page .instituciones-hero {
        padding: 118px 0 72px;
    }
}

@media (max-width: 640px) {
    .instituciones-page .instituciones-hero {
        padding: 108px 0 64px;
    }

    .instituciones-page .instituciones-hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
