/* ==========================================================
   COBACH 34
   HORAS DE FORTALECIMIENTO ACADÉMICO
   Portal Institucional
   ========================================================== */

.hfa-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 88px;
    color: #fff;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255,255,255,.13),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #061d38 0%,
            #082b54 55%,
            #0c3e72 100%
        );
}

.hfa-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -160px;
    bottom: -230px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
}

.hfa-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    gap: 70px;
    align-items: center;
}

.hfa-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
    margin-bottom: 34px;
    font-size: .84rem;
    color: rgba(255,255,255,.66);
}

.hfa-breadcrumb a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
}

.hfa-breadcrumb a:hover {
    color: #fff;
}

.hfa-eyebrow,
.hfa-section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hfa-eyebrow {
    margin-bottom: 16px;
    color: #ffbec2;
}

.hfa-hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    line-height: .99;
    letter-spacing: -.045em;
    color: #fff;
}

.hfa-hero h1 span {
    display: block;
    color: #fff;
}

.hfa-hero-content > p {
    max-width: 700px;
    margin: 26px 0 32px;
    color: rgba(255,255,255,.82);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hfa-primary-button,
.hfa-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-decoration: none;
    font-weight: 800;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.hfa-primary-button {
    min-height: 52px;
    padding: 0 24px;
    color: #082b54;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(0,0,0,.16);
}

.hfa-primary-button:hover {
    transform: translateY(-2px);
}

.hfa-hero-card {
    padding: 34px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 24px;
    background: rgba(255,255,255,.09);
    box-shadow: 0 25px 70px rgba(0,0,0,.20);
    backdrop-filter: blur(14px);
}

.hfa-document-symbol {
    width: 68px;
    height: 68px;
    margin-bottom: 25px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #fff;
    color: #082b54;
    box-shadow: 0 15px 35px rgba(0,0,0,.16);
}

.hfa-document-symbol span {
    font-weight: 900;
    letter-spacing: -.04em;
}

.hfa-hero-card > small {
    color: #ffbec2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.hfa-hero-card h2 {
    margin: 10px 0 13px;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.25;
}

.hfa-hero-card > p {
    color: rgba(255,255,255,.76);
    line-height: 1.65;
}

.hfa-campus-data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 27px;
}

.hfa-campus-data div {
    padding: 15px;
    border-radius: 14px;
    background: rgba(255,255,255,.08);
}

.hfa-campus-data small,
.hfa-campus-data strong {
    display: block;
}

.hfa-campus-data small {
    margin-bottom: 4px;
    color: rgba(255,255,255,.60);
}

.hfa-campus-data strong {
    color: #fff;
}


/* FORMATOS */

.hfa-formats-section {
    padding: 88px 0 96px;
    background: #f5f7fa;
}

.hfa-section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.hfa-section-label {
    margin-bottom: 12px;
    color: #b21f2d;
}

.hfa-section-heading h2 {
    margin: 0 0 14px;
    color: #082b54;
    font-size: clamp(2rem, 3.4vw, 3rem);
    letter-spacing: -.035em;
}

.hfa-section-heading p {
    margin: 0;
    max-width: 690px;
    color: #657284;
    line-height: 1.75;
}

.hfa-formats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.hfa-format-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 390px;
    padding: 34px;
    border: 1px solid #e4e9ef;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(8,43,84,.07);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.hfa-format-card:hover {
    transform: translateY(-5px);
    border-color: #ccd6e2;
    box-shadow: 0 24px 60px rgba(8,43,84,.12);
}

.hfa-format-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.hfa-file-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: #164b85;
    box-shadow: 0 12px 25px rgba(22,75,133,.22);
}

.hfa-file-icon span {
    font-size: 1.55rem;
    font-weight: 900;
}

.hfa-file-type {
    padding: 7px 11px;
    border-radius: 999px;
    background: #edf3f9;
    color: #46627e;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.hfa-format-category {
    margin-bottom: 8px;
    color: #b21f2d;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.hfa-format-card h3 {
    margin: 0 0 13px;
    color: #082b54;
    font-size: 1.55rem;
}

.hfa-format-card > p {
    margin: 0;
    color: #657284;
    line-height: 1.72;
}

.hfa-card-footer {
    margin-top: auto;
    padding-top: 30px;
}

.hfa-download-button {
    min-height: 48px;
    padding: 0 19px;
    border-radius: 11px;
    background: #082b54;
    color: #fff;
}

.hfa-download-button:hover {
    color: #fff;
    background: #0c3e72;
    transform: translateY(-2px);
}

.hfa-unavailable {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #7a8490;
    font-size: .88rem;
    font-weight: 700;
}

.hfa-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #c7ced6;
}

.hfa-information {
    display: flex;
    gap: 17px;
    align-items: flex-start;
    margin-top: 34px;
    padding: 23px 25px;
    border: 1px solid #dce5ee;
    border-radius: 16px;
    background: #fff;
}

.hfa-info-icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8f0f8;
    color: #082b54;
    font-family: Georgia, serif;
    font-weight: 900;
}

.hfa-information strong {
    color: #082b54;
}

.hfa-information p {
    margin: 5px 0 0;
    color: #687586;
    line-height: 1.6;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .hfa-hero {
        padding: 58px 0 64px;
    }

    .hfa-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hfa-formats-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .hfa-hero {
        padding: 42px 0 52px;
    }

    .hfa-hero h1 {
        font-size: 2.55rem;
    }

    .hfa-hero-card,
    .hfa-format-card {
        padding: 25px;
        border-radius: 18px;
    }

    .hfa-campus-data {
        grid-template-columns: 1fr;
    }

    .hfa-formats-section {
        padding: 62px 0 70px;
    }

    .hfa-format-card {
        min-height: 360px;
    }

    .hfa-information {
        padding: 20px;
    }

}
