/* =========================================================
   ESFECOL - PROGRAMAS
========================================================= */

.programas-page {
    --programas-blue: #063b82;
    --programas-blue-dark: #052b61;
    --programas-blue-light: #edf5fc;
    --programas-teal: #3d796b;
    --programas-purple: #55205d;
    --programas-yellow: #f5a623;
    --programas-text: #172033;
    --programas-muted: #647084;
    --programas-white: #ffffff;
    --programas-border: #dce5ee;

    color: var(--programas-text);
    overflow: hidden;
}

.programas-container {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   ICONOS
========================================================= */

.programas-page img {
    max-width: 100%;
}

.programas-include img,
.programas-benefit__icon img,
.programa-card__icon img,
.programa-support__icon img,
.programas-feature__icon img {
    display: block;

    width: 3em;
    height: 3em;

    object-fit: contain;

    filter:
        invert(20%)
        sepia(45%)
        saturate(2500%)
        hue-rotate(190deg)
        brightness(75%)
        contrast(105%);
}


/* =========================================================
   BOTONES
========================================================= */

.programas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 52px;
    padding: 0 28px;

    border-radius: 999px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.programas-btn:hover {
    transform: translateY(-2px);
}

.programas-btn span {
    font-size: 20px;
    line-height: 1;
}

.programas-btn--primary {
    color: #fff;
    background: var(--programas-blue);
    box-shadow: 0 12px 30px rgba(6, 59, 130, 0.2);
}

.programas-btn--primary:hover {
    background: var(--programas-blue-dark);
}

.programas-btn--light {
    color: var(--programas-blue);
    background: #fff;
}


/* =========================================================
   HERO
========================================================= */

.programas-hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    background-image: url("../images/programas-hero.jpg");
    background-position: center;
    background-size: cover;
}

.programas-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(238, 247, 253, 0.98) 0%,
            rgba(238, 247, 253, 0.94) 34%,
            rgba(238, 247, 253, 0.55) 55%,
            rgba(238, 247, 253, 0.05) 78%
        );
}

.programas-hero__content {
    position: relative;
    z-index: 2;

    min-height: 680px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.programas-hero__text {
    width: min(560px, 100%);
}

.programas-eyebrow {
    display: block;

    margin-bottom: 16px;

    color: var(--programas-blue);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 5px;
}

.programas-hero h1 {
    margin: 0 0 22px;

    color: #082958;

    font-size: clamp(52px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -3px;
    font-weight: 800;
}

.programas-hero__text > p {
    max-width: 500px;

    margin: 0 0 30px;

    color: #31445e;

    font-size: 18px;
    line-height: 1.6;
}

.programas-hero__benefits {
    display: flex;
    gap: 55px;

    margin-top: 55px;
}

.programas-benefit {
    display: flex;
    flex-direction: column;
    gap: 10px;

    min-width: 100px;
}

.programas-benefit__icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #9db9d8;
    border-radius: 50%;

    color: var(--programas-blue);
}

.programas-benefit strong {
    color: #19304e;

    font-size: 14px;
    line-height: 1.3;
}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

.programas-section {
    padding: 50px 0;
}

.programas-section-heading {
    margin-bottom: 35px;
}

.programas-section-heading h2 {
    margin: 0 0 8px;

    color: #092d61;

    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.05;
    letter-spacing: -1.8px;
}

.programas-section-heading p {
    max-width: 720px;

    margin: 0;

    color: var(--programas-muted);

    font-size: 16px;
    line-height: 1.6;
}

.programas-section-heading--center {
    text-align: center;
}

.programas-section-heading--center p {
    margin-inline: auto;
}


/* =========================================================
   CARDS DE PROGRAMAS
========================================================= */

.programas-section--programas {
    background: #fff;
}

.programas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.programa-card,
.programa-support {
    min-height: 330px;

    padding: 34px;

    border: 1px solid rgba(20, 65, 110, 0.08);
    border-radius: 12px;
}

.programa-card--annual {
    background: #eef5fc;
}

.programa-card--semester {
    background: #edf7f5;
}

.programa-card__icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 12px;

    color: var(--programas-blue);
    background: rgba(255, 255, 255, 0.65);
}

.programa-card--semester .programa-card__icon {
    color: var(--programas-teal);
}

.programa-card h3 {
    margin: 0 0 22px;

    color: var(--programas-blue);

    font-size: 27px;
    line-height: 1.1;
}

.programa-card--semester h3 {
    color: var(--programas-blue);
}

.programa-card ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.programa-card li {
    display: flex;
    gap: 9px;

    margin-bottom: 14px;

    color: #40516a;

    font-size: 14px;
    line-height: 1.45;
}

.programa-card li span {
    color: #159276;
    font-weight: 800;
}

.programa-card__bottom {
    margin-top: 28px;
    padding-top: 22px;

    border-top: 1px solid rgba(20, 65, 110, 0.12);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.programa-price {
    display: flex;
    flex-direction: column;
}

.programa-price small {
    color: var(--programas-muted);
    font-size: 11px;
}

.programa-price strong {
    color: var(--programas-blue);

    font-size: 29px;
    line-height: 1.1;
}

.programa-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 18px;

    border: 1px solid var(--programas-blue);
    border-radius: 999px;

    color: var(--programas-blue);

    font-size: 12px;
    font-weight: 800;
    text-decoration: none;

    white-space: nowrap;
}


/* =========================================================
   SUPPORT CARD
========================================================= */

.programa-support {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: #edf5fc;
}

.programa-support__item {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 15px;

    padding: 4px 0 22px;

    border-bottom: 1px solid #d5e0ec;
}

.programa-support__item + .programa-support__item {
    padding-top: 22px;
}

.programa-support__item:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}

.programa-support__icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--programas-blue);
}

.programa-support h4 {
    margin: 0 0 5px;

    color: #113c75;

    font-size: 14px;
    line-height: 1.3;
}

.programa-support p {
    margin: 0;

    color: #586b82;

    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   WHY PLI
========================================================= */

.programas-section--why {
    padding-top: 20px;
}

.programas-why {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;

    align-items: stretch;
}

.programas-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid #e2e8ef;
    border-left: 1px solid #e2e8ef;
}

.programas-feature {
    min-height: 190px;

    padding: 24px 18px;

    text-align: center;

    border-right: 1px solid #e2e8ef;
    border-bottom: 1px solid #e2e8ef;
}

.programas-feature__icon {
    width: 48px;
    height: 48px;

    margin: 0 auto 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--programas-blue);
    background: #edf5fc;
}

.programas-feature h3 {
    margin: 0 0 8px;

    color: #18345b;

    font-size: 14px;
}

.programas-feature p {
    margin: 0;

    color: #68778b;

    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   STATS
========================================================= */

.programas-stat-card {
    position: relative;

    min-height: 530px;

    overflow: hidden;

    border-radius: 14px;

    color: #fff;

    background: #083d80;
}

.programas-stat-card__background {
    position: absolute;
    inset: 0;

    background-image: url("../images/programas-experiencia.jpg");
    background-size: cover;
    background-position: center;
}

.programas-stat-card__content {
    position: relative;
    z-index: 2;

    min-height: 530px;

    padding: 42px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;

    column-gap: 40px;

    align-items: center;
}

.programas-stat-card blockquote {
    grid-column: 2;
    grid-row: 1;

    max-width: 300px;

    margin: 0;

    justify-self: end;

    color: #fff;

    font-family: 'Caveat', cursive;
    font-size: 28px;
    line-height: 1.2;
}

.programas-stat {
    grid-column: 1;

    max-width: 300px;

    padding-bottom: 25px;
    margin: 0 0 25px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.programas-stat:first-of-type {
    grid-row: 1;
    align-self: end;
}

.programas-stat:nth-of-type(2) {
    grid-row: 2;
    align-self: start;
}

.programas-stat__icon {
    display: block;

    margin-bottom: 8px;

    font-size: 25px;
    line-height: 1;
}

.programas-stat strong {
    display: block;

    margin-bottom: 8px;

    font-size: 52px;
    line-height: 1;
    letter-spacing: -2px;
}

.programas-stat p {
    margin: 0;

    color: rgba(255, 255, 255, 0.92);

    font-size: 13px;
    line-height: 1.5;
}


/* =========================================================
   QUÉ INCLUYEN LOS PROGRAMAS
========================================================= */

.programas-section--includes {
    background: #f7fafc;
}

.programas-includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.programas-include {
    padding: 30px;

    text-align: center;

    background: #fff;

    border: 1px solid #e2e9f0;
    border-radius: 12px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.programas-include:hover {
    transform: translateY(-4px);

    box-shadow: 0 15px 35px rgba(19, 48, 82, 0.08);
}

.programas-include__icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 12px;

    background: #edf5fc;
    color: var(--programas-blue);
}

.programas-include__icon img {
    display: block;

    width: 3em;
    height: 3em;

    object-fit: contain;
}

.programas-include h3 {
    margin: 0 0 10px;

    color: #153d70;

    font-size: 19px;
}

.programas-include p {
    max-width: 320px;

    margin: 0 auto;

    color: #657489;

    font-size: 13px;
    line-height: 1.55;
}
/* =========================================================
   CTA - INCLUYEN LOS PROGRAMAS
========================================================= */

.programas-includes-cta {
    margin-top: 55px;

    padding: 42px 30px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e2e9f0;
    border-radius: 14px;
}

.programas-includes-cta h3 {
    margin: 0 0 10px;

    color: #153d70;

    font-size: 24px;
    line-height: 1.2;
}

.programas-includes-cta p {
    max-width: 620px;

    margin: 0 auto;

    color: #657489;

    font-size: 14px;
    line-height: 1.6;
}

.programas-includes-cta .programas-btn {
    margin-top: 25px;
}


/* =========================================================
   SERVICES
========================================================= */

.programas-services {
    padding: 100px 0;

    background: #fff;
}

.programas-services__intro {
    max-width: 650px;

    margin-bottom: 55px;
}

.programas-services__intro h2 {
    margin: 0 0 18px;

    color: #092d61;

    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.programas-services__intro p {
    margin: 0;

    color: #647084;

    font-size: 16px;
    line-height: 1.65;
}

.programas-services__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    border-top: 1px solid #dfe6ed;
    border-left: 1px solid #dfe6ed;
}

.programas-service {
    min-height: 230px;

    padding: 28px 22px;

    border-right: 1px solid #dfe6ed;
    border-bottom: 1px solid #dfe6ed;
}

.programas-service > span {
    display: block;

    margin-bottom: 45px;

    color: var(--programas-yellow);

    font-size: 12px;
    font-weight: 800;
}

.programas-service h3 {
    margin: 0 0 10px;

    color: #153d70;

    font-size: 16px;
}

.programas-service p {
    margin: 0;

    color: #68778b;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   CTA FINAL
========================================================= */

.programas-cta {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    background-image: url("../images/programas-cta.jpg");
    background-size: cover;
    background-position: center;
}

.programas-cta__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 45, 91, 0.92) 0%,
            rgba(8, 45, 91, 0.68) 45%,
            rgba(8, 45, 91, 0.15) 100%
        );
}

.programas-cta__content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #fff;
}

.programas-cta h2 {
    margin: 0 0 20px;

    font-size: clamp(45px, 5vw, 66px);
    line-height: 0.98;
    letter-spacing: -2px;
}

.programas-cta p {
    margin: 0 0 5px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 16px;
}

.programas-cta .programas-btn {
    margin-top: 28px;
}

.programas-cta__phrase {
    align-self: flex-start;

    margin-top: 40px;
    margin-right: 50px;

    font-family: 'Caveat', cursive;
    font-size: 42px;
    line-height: 1;

    transform: rotate(-4deg);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .programas-container {
        width: min(100% - 48px, 900px);
    }

    .programas-grid {
        grid-template-columns: 1fr 1fr;
    }

    .programa-support {
        grid-column: 1 / -1;

        min-height: auto;
    }

    .programas-why {
        grid-template-columns: 1fr;
    }

    .programas-stat-card {
        min-height: 450px;
    }

    .programas-includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .programas-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .programas-service:last-child {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .programas-container {
        width: calc(100% - 36px);
    }


    /* =====================================================
       HERO
    ===================================================== */

    .programas-hero {
        min-height: 0;
        height: auto;

        aspect-ratio: 550 / 700;

        background-image: url("../images/programas-hero-mobile.jpg");
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .programas-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(238, 247, 253, 0.97) 0%,
                rgba(238, 247, 253, 0.92) 28%,
                rgba(238, 247, 253, 0.50) 100%
            );
    }

    .programas-hero__content {
        min-height: 0;
        height: 100%;

        padding-top: 48px;
        padding-bottom: 35px;

        justify-content: flex-start;
    }

    .programas-hero__text {
        width: 100%;
    }

    .programas-eyebrow {
        margin-bottom: 16px;

        font-size: 10px;
        letter-spacing: 3px;
    }

    .programas-hero h1 {
        max-width: 390px;

        margin-bottom: 22px;

        font-size: 46px;
        line-height: 0.98;
        letter-spacing: -2px;
    }

    .programas-hero__text > p {
        max-width: 390px;

        margin-bottom: 25px;

        color: #31445e;

        font-size: 15px;
        line-height: 1.5;
    }

    .programas-hero .programas-btn {
        margin-top: 0;
    }

    .programas-hero__benefits {
        gap: 18px;

        margin-top: 30px;
    }

    .programas-benefit {
        min-width: 0;
    }

    .programas-benefit__icon {
        width: 42px;
        height: 42px;
    }

    .programas-benefit strong {
        font-size: 11px;
        line-height: 1.25;
    }


    /* =====================================================
       PROGRAMAS
    ===================================================== */

    .programas-section--programas .programas-section-heading {
        text-align: center;
    }

    .programas-section--programas .programas-section-heading p {
        margin-left: auto;
        margin-right: auto;
    }

    .programas-grid {
        grid-template-columns: 1fr;
    }

    .programa-support {
        grid-column: auto;
    }

    .programa-card {
        min-height: auto;

        text-align: center;
    }

    .programas-section--programas .programa-card {
        padding: 28px 24px;
    }

    .programas-section--programas .programa-card__icon {
        margin-left: auto;
        margin-right: auto;
    }

    .programas-section--programas .programa-card ul {
        text-align: left;
    }

    .programas-section--programas .programa-card__bottom {
        align-items: center;
    }

    .programas-section--programas .programa-price {
        align-items: center;
    }

    .programa-card__bottom {
        flex-direction: column;

        align-items: flex-start;
    }


    /* =====================================================
       FEATURES
    ===================================================== */

    .programas-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .programas-feature {
        min-height: 180px;

        padding: 20px 10px;
    }

    .programas-feature h3 {
        font-size: 12px;
    }

    .programas-feature p {
        font-size: 11px;
    }


    /* =====================================================
       STATS
    ===================================================== */

    .programas-stat-card {
        min-height: 520px;
    }

    .programas-stat-card__background {
        background-size: cover;
        background-position: 62% center;

        opacity: 0.36;
    }

    .programas-stat-card__content {
        min-height: 520px;

        padding: 30px;

        display: flex;
        flex-direction: column;

        align-items: stretch;
    }

    .programas-stat-card blockquote {
        order: 1;

        max-width: 100%;

        margin: 0 0 30px;

        text-align: right;

        font-size: 25px;
    }

    .programas-stat {
        max-width: 100%;

        margin-bottom: 22px;
        padding-bottom: 22px;
    }

    .programas-stat:first-of-type {
        order: 2;
    }

    .programas-stat:nth-of-type(2) {
        order: 3;
    }

    .programas-stat strong {
        font-size: 45px;
    }


    /* =====================================================
       INCLUDES
    ===================================================== */

    .programas-includes-grid {
        grid-template-columns: 1fr;
    }

    .programas-include {
        text-align: center;
    }

    .programas-include__icon {
        margin-left: auto;
        margin-right: auto;
    }

    .programas-include h3 {
        text-align: center;
    }

    .programas-include p {
        max-width: 320px;

        margin-left: auto;
        margin-right: auto;

        text-align: center;
    }

    .programas-includes-cta {
        margin-top: 40px;

        padding: 32px 22px;
    }

    .programas-includes-cta h3 {
        font-size: 21px;
    }

    .programas-includes-cta p {
        font-size: 13px;
    }


    /* =====================================================
       SERVICES
    ===================================================== */

    .programas-services {
        padding: 70px 0;
    }

    .programas-services__grid {
        grid-template-columns: 1fr;
    }

    .programas-service {
        min-height: auto;
    }

    .programas-service:last-child {
        grid-column: auto;
    }


    /* =====================================================
       CTA FINAL
    ===================================================== */

    .programas-cta {
        min-height: 550px;
    }

    .programas-cta__content {
        width: calc(100% - 36px);

        align-items: center;
        justify-content: center;

        flex-direction: column;

        text-align: center;
    }

    .programas-cta__content > div:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .programas-cta h2 {
        font-size: 48px;

        text-align: center;
    }

    .programas-cta p {
        max-width: 360px;

        font-size: 14px;

        text-align: center;
    }

    .programas-cta__phrase {
        align-self: center;

        margin: 45px 0 0;

        font-size: 34px;

        text-align: center;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .programas-container {
        width: calc(100% - 28px);
    }


    /* HERO */

    .programas-hero {
        aspect-ratio: 550 / 700;

        background-position: center center;
    }

    .programas-hero__content {
        padding-top: 60px;
        padding-bottom: 28px;
    }

    .programas-eyebrow {
        margin-bottom: 14px;

        font-size: 9px;
        letter-spacing: 2.8px;
    }

    .programas-hero h1 {
        max-width: 350px;

        margin-bottom: 20px;

        font-size: 42px;
        line-height: 0.98;
        letter-spacing: -2px;
    }

    .programas-hero__text > p {
        max-width: 350px;

        margin-bottom: 24px;

        font-size: 14px;
        line-height: 1.5;
    }

    .programas-hero__benefits {
        gap: 25px;

        margin-top: 25px;
    }

    .programas-benefit strong {
        font-size: 10px;
    }


    /* FEATURES */

    .programas-feature {
        padding: 20px 10px;
    }


    /* STATS */

    .programas-stat-card {
        min-height: 500px;
    }

    .programas-stat-card__content {
        min-height: 500px;

        padding: 25px;
    }

    .programas-stat-card blockquote {
        font-size: 23px;
    }

    .programas-stat strong {
        font-size: 42px;
    }


    /* CTA FINAL */

    .programas-cta {
        min-height: 520px;
    }

    .programas-cta__content {
        width: calc(100% - 28px);
    }

    .programas-cta h2 {
        font-size: 42px;
    }
}