/* =========================================================
   ESDIM MEDIA
   ESTILOS GENERALES
========================================================= */

:root {
    --primary: #079b91;
    --primary-dark: #057b76;
    --primary-light: #5fd3d0;

    --navy: #071d2d;
    --navy-light: #0a3149;
    --blue: #1e85ae;

    --accent: #ffc934;
    --accent-hover: #ffda64;

    --dark: #1a1a1a;
    --dark-soft: #242424;

    --white: #ffffff;

    --background: #ffffff;
    --surface: #ffffff;

    --gray: #f5f7f7;
    --gray-2: #e8ecee;

    --text: #152326;
    --text-muted: #697579;

    --container: 1180px;

    --radius: 24px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 10px;

    --shadow:
        0 20px 60px rgba(0, 0, 0, .12);

    --transition:
        .3s cubic-bezier(.2, .7, .2, 1);
}


/* =========================================================
   RESET / BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    min-width: 0;

    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    width: 100%;
    min-width: 0;

    margin: 0;

    color: var(--text);
    background: var(--background);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    line-height: 1.5;

    overflow-x: hidden;
}

img {
    display: block;

    max-width: 100%;

    height: auto;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: 90%;
    max-width: 1800px;

    min-width: 0;

    margin-inline: auto;
}

.containerFooter {
    width: 90%;
    max-width: 1800px;
    min-width: 0;

    margin-inline: auto;
}


/* =========================================================
   ACCESIBILIDAD GLOBAL
========================================================= */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background: transparent;

    transition:
        background-color .25s ease,
        box-shadow .25s ease,
        backdrop-filter .25s ease;
}

.header.scrolled {
    background:
        rgba(7, 29, 45, .94);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, .17);
}

.nav {
    min-height: 88px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;

    padding: 5px;
}

.logo img {
    display: block;

    width: 150px;
    height: auto;
}

.header-actions {
    display: flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: flex-end;

    min-width: 0;

    gap: 22px;
}

.header-actions .btn-portal {
    min-height: 42px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        0 18px;

    border: 0;
    border-radius: 8px;

    color: #071d2d;
    background: var(--accent);

    font-family: inherit;
    font-size: 13px;
    font-weight: 800;

    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background-color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.header-actions .btn-portal:hover {
    color: #071d2d;
    background: var(--accent-hover);

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 22px
        rgba(255, 201, 52, .22);
}

.header-actions .btn-portal:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.btn-portal-icon {
    font-size: 16px;
    line-height: 1;
}


/* =========================================================
   BOTONES
========================================================= */

.btn {
    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding:
        0 26px;

    border: 0;
    border-radius: 10px;

    font-family: inherit;
    font-size: 15px;
    font-weight: 800;

    line-height: 1.2;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.btn:hover {
    transform:
        translateY(-2px);
}

.btn-arrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    font-size: 21px;
    line-height: 1;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;

    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(
            circle at 76% 33%,
            rgba(0, 177, 180, .18),
            transparent 31%
        ),
        radial-gradient(
            circle at 22% 38%,
            rgba(30, 133, 174, .15),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #061927 0%,
            #062a42 52%,
            #071d2d 100%
        );
}

.hero::before,
.hero::after {
    content: "";

    position: absolute;

    pointer-events: none;
}

.hero::before {
    width: 520px;
    height: 520px;

    top: 70px;
    right: -260px;

    border:
        1px solid
        rgba(70, 193, 198, .12);

    border-radius: 50%;
}

.hero::after {
    width: 560px;
    height: 560px;

    left: -330px;
    bottom: -360px;

    border-radius: 50%;

    background:
        rgba(19, 97, 171, .09);
}

.hero-inner {
    position: relative;

    z-index: 2;

    min-height: 720px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(430px, .98fr);

    align-items: center;

    gap: 78px;

    padding-top: 140px;
    padding-bottom: 80px;
}


/* =========================================================
   HERO COPY
========================================================= */

.hero-copy {
    min-width: 0;
}

.eyebrow {
    margin:
        0 0 18px;

    color: #61d7d1;

    font-size: 13px;
    font-weight: 800;

    line-height: 1.5;

    letter-spacing: .2em;

    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(48px, 5vw, 70px);

    font-weight: 900;

    line-height: .99;

    letter-spacing: -.055em;

    text-transform: uppercase;
}

.hero-title-line {
    display: block;

    margin-top: 5px;

    color: #ffffff;
}

.hero h1 .hero-highlight {
    display: block;

    margin-top: 7px;

    color: var(--accent);
}

.hero-line {
    width: 78px;
    height: 4px;

    margin-top: 24px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #1bbbac,
            #58d5ce
        );
}

.hero-description {
    max-width: 590px;

    margin:
        24px 0 0;

    color:
        rgba(255, 255, 255, .84);

    font-size: 17px;

    line-height: 1.65;
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 15px;

    margin-top: 30px;
}

.hero-btn-primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0cb69e,
            #079891
        );

    box-shadow:
        0 12px 28px
        rgba(8, 155, 145, .25);
}

.hero-btn-primary:hover {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #10c1a8,
            #07877f
        );

    box-shadow:
        0 15px 32px
        rgba(8, 155, 145, .32);
}

.hero-btn-secondary {
    color: #ffffff;

    background:
        rgba(255, 255, 255, .03);

    border:
        1px solid
        rgba(255, 255, 255, .72);
}

.hero-btn-secondary:hover {
    color: #071d2d;
    background: #ffffff;
}


/* =========================================================
   HERO BENEFICIOS
========================================================= */

.hero-benefits {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-top: 38px;
}

.hero-benefit {
    min-width: 0;

    display: flex;

    align-items: center;

    gap: 10px;

    color:
        rgba(255, 255, 255, .88);

    font-size: 12px;
    font-weight: 650;

    line-height: 1.35;
}

.hero-benefit-icon {
    flex: 0 0 31px;

    width: 31px;
    height: 31px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    color: #43cdc3;

    border:
        1px solid
        rgba(67, 205, 195, .42);

    border-radius: 50%;

    font-size: 15px;
}


/* =========================================================
   HERO DIPLOMADO
========================================================= */

.hero-course {
    position: relative;

    min-width: 0;
}

.hero-course-visual {
    position: relative;

    width: 100%;

    padding:
        18px 18px 22px;

    border:
        1px solid
        rgba(255, 255, 255, .11);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(13, 52, 74, .88),
            rgba(6, 27, 43, .88)
        );

    box-shadow:
        0 35px 80px
        rgba(0, 0, 0, .27);
}

.hero-course-image-wrap {
    position: relative;

    z-index: 2;

    width: 100%;

    overflow: hidden;

    border-radius: 14px;

    background: #111;

    box-shadow:
        0 22px 42px
        rgba(0, 0, 0, .32);
}

.hero-course-image {
    width: 100%;

    aspect-ratio: 16 / 8.8;

    object-fit: cover;

    transition:
        transform .45s ease;
}

.hero-course-visual:hover
.hero-course-image {
    transform:
        scale(1.025);
}

.hero-course-content {
    position: relative;

    z-index: 2;

    padding:
        24px 8px 3px;
}

.hero-course-status {
    width: fit-content;

    margin:
        -40px 0 15px;

    padding:
        7px 12px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0bb79e,
            #078f88
        );

    border:
        3px solid
        #092438;

    border-radius: 7px;

    font-size: 11px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: .12em;

    text-transform: uppercase;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, .22);
}

.hero-course-type {
    margin:
        0 0 4px;

    color:
        rgba(255, 255, 255, .58);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.hero-course h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(28px, 3vw, 38px);

    line-height: 1.08;

    letter-spacing: -.035em;
}

.hero-course-tagline {
    margin:
        8px 0 0;

    color: #54d7ce;

    font-size: 17px;
    font-weight: 800;
}

.hero-course-description {
    max-width: 540px;

    margin:
        15px 0 21px;

    color:
        rgba(255, 255, 255, .76);

    font-size: 14px;

    line-height: 1.6;
}

.hero-course-button {
    min-height: 48px;

    color: #101820;

    background: var(--accent);

    box-shadow:
        0 12px 26px
        rgba(255, 201, 52, .18);
}

.hero-course-button:hover {
    color: #101820;

    background: var(--accent-hover);

    box-shadow:
        0 15px 30px
        rgba(255, 201, 52, .25);
}


/* =========================================================
   DECORACIÓN HERO
========================================================= */

.hero-decoration {
    position: absolute;

    z-index: 1;

    pointer-events: none;

    border-radius: 50%;
}

.hero-decoration-one {
    width: 260px;
    height: 260px;

    top: -55px;
    right: -95px;

    border:
        1px solid
        rgba(54, 198, 204, .18);
}

.hero-decoration-two {
    width: 180px;
    height: 180px;

    top: -16px;
    right: -55px;

    border:
        1px dashed
        rgba(54, 198, 204, .14);
}


/* =========================================================
   CURSOS
========================================================= */

.courses {
    position: relative;

    width: 100%;

    padding:
        88px 0 110px;

    background:
        linear-gradient(
            to bottom,
            #ffffff,
            #f6f8f8
        );
}

.section-header {
    width: 100%;
    max-width: 730px;

    margin:
        0 auto 48px;

    text-align: center;
}

.section-eyebrow {
    margin:
        0 0 7px !important;

    color: var(--primary) !important;

    font-size: 12px !important;
    font-weight: 900;

    letter-spacing: .15em;

    text-transform: uppercase;
}

.section-header h2 {
    margin: 0;

    color: var(--navy);

    font-size:
        clamp(34px, 5vw, 48px);

    line-height: 1.1;

    letter-spacing: -.04em;
}

.section-line {
    width: 64px;
    height: 4px;

    margin:
        16px auto;

    border-radius: 10px;

    background: var(--primary);
}

.section-header p {
    margin: 0;

    color: var(--text-muted);

    font-size: 17px;

    line-height: 1.6;
}


/* =========================================================
   COURSE CARD
========================================================= */

.course-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 780px);

    justify-content: center;
}

.course-card {
    width: 100%;

    overflow: hidden;

    background: var(--surface);

    border:
        1px solid #e5ebed;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.course-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 28px 65px
        rgba(6, 28, 44, .17);
}

.course-image-link {
    display: block;

    overflow: hidden;
}

.course-image {
    width: 100%;

    aspect-ratio: 16 / 8.3;

    object-fit: cover;
    object-position: center 20%;

    transition:
        transform .4s ease;
}

.course-card:hover
.course-image {
    transform:
        scale(1.015);
}

.course-content {
    width: 100%;

    padding:
        29px 34px 34px;
}

.course-type {
    margin:
        0 0 4px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 900;

    letter-spacing: .1em;

    text-transform: uppercase;
}

.course-content h3 {
    margin: 0;

    color: var(--navy);

    font-size:
        clamp(27px, 4vw, 35px);

    line-height: 1.15;

    letter-spacing: -.03em;
}

.course-tagline {
    margin:
        7px 0 0;

    color: var(--primary);

    font-size: 15px;
    font-weight: 800;
}

.course-description {
    max-width: 630px;

    margin:
        13px 0 25px;

    color: var(--text-muted);

    font-size: 16px;

    line-height: 1.6;
}

.course-actions {
    display: flex;

    align-items: center;

    gap: 14px;
}

.btn-primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #089a88,
            #087b84
        );

    box-shadow:
        0 10px 25px
        rgba(8, 127, 134, .22);
}

.btn-primary:hover {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #078f7e,
            #066d75
        );
}


/* =========================================================
   CONTACTO
========================================================= */

.contact-strip {
    padding:
        38px 0;

    background: var(--accent);
}

.contact-strip-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.contact-strip-copy {
    min-width: 0;
}

.contact-strip h3 {
    margin:
        0 0 8px;

    color: #171717;

    font-size: 1.4rem;

    line-height: 1.2;
}

.contact-strip p {
    margin: 0;

    color:
        rgba(20, 20, 20, .78);

    font-size: 14px;
}

.whatsapp-button {
    min-height: 50px;

    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;

    gap: 9px;

    padding:
        0 23px;

    border-radius: 10px;

    color: var(--white);
    background: var(--dark);

    font-size: 13px;
    font-weight: 800;

    transition:
        transform .2s ease,
        background-color .2s ease;
}

.whatsapp-button:hover {
    color: #ffffff;

    background: var(--primary-dark);

    transform:
        translateY(-2px);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding:
        65px 0 30px;

    color: var(--white);
    background: var(--dark);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr;

    gap: 50px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo img {
    width: 105px;
    height: auto;
}

.footer h4 {
    margin:
        0 0 18px;

    color: var(--accent);
}

.footer p,
.footer a {
    color:
        rgba(255, 255, 255, .66);

    font-size: .9rem;

    line-height: 1.9;
}

.footer-brand p {
    max-width: 390px;

    margin-top: 18px;
}

.footer-contact {
    justify-self: end;
}

.footer-bottom {
    margin-top: 50px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(255, 255, 255, .1);

    color:
        rgba(255, 255, 255, .45);

    font-size: .78rem;
}


/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.float-whatsapp {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 900;

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;
    background: #0f9f6e;

    border-radius: 50%;

    font-size: 21px;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, .2);

    transition:
        transform .2s ease,
        background-color .2s ease;
}

.float-whatsapp:hover {
    color: #ffffff;

    background: #0a895e;

    transform:
        translateY(-3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .hero-inner {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, .9fr);

        gap: 48px;
    }

    .hero h1 {
        font-size:
            clamp(45px, 5.3vw, 62px);
    }

    .hero-benefits {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   TABLET / MÓVIL HORIZONTAL
========================================================= */

@media (max-width: 900px) {

    .hero-inner {
        min-height: auto;

        grid-template-columns:
            minmax(0, 1fr);

        gap: 55px;

        padding-top: 135px;
        padding-bottom: 75px;
    }

    .hero-copy {
        max-width: 720px;

        margin-inline: auto;

        text-align: center;
    }

    .eyebrow {
        text-align: center;
    }

    .hero h1 {
        max-width: 760px;

        margin-inline: auto;

        font-size:
            clamp(47px, 8vw, 68px);

        text-align: center;
    }

    .hero-line {
        margin-inline: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-benefits {
        max-width: 640px;

        margin:
            38px auto 0;

        text-align: left;
    }

    .hero-course {
        width: 100%;
        max-width: 650px;

        margin-inline: auto;
    }

    .contact-strip-inner {
        gap: 24px;
    }
}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 680px) {

    .container {
        width:
            calc(100% - 32px);
    }

    .containerFooter {
        width:
            calc(100% - 32px);
    }


    /* HEADER */

    .nav {
        min-height: 76px;
    }

    .logo img {
        width: 120px;
    }

    .header-actions .btn-portal {
        min-height: 40px;

        padding:
            0 13px;

        font-size: 11px;
    }

    .btn-portal-icon {
        display: none;
    }


    /* HERO */

    .hero-inner {
        gap: 45px;

        padding-top: 115px;
        padding-bottom: 58px;
    }

    .eyebrow {
        margin-bottom: 16px;

        font-size: 11px;

        letter-spacing: .16em;
    }

    .hero h1 {
        font-size:
            clamp(39px, 11.7vw, 56px);

        line-height: 1;
    }

    .hero-title-line {
        margin-top: 4px;
    }

    .hero h1 .hero-highlight {
        margin-top: 5px;
    }

    .hero-line {
        width: 62px;

        margin-top: 21px;
    }

    .hero-description {
        margin-top: 21px;

        font-size: 16px;

        line-height: 1.58;
    }

    .hero-actions {
        width: 100%;

        flex-direction: column;

        margin-top: 27px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-benefits {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            17px 13px;

        margin-top: 30px;
    }

    .hero-benefit {
        font-size: 11px;
    }

    .hero-benefit-icon {
        flex-basis: 29px;

        width: 29px;
        height: 29px;
    }


    /* HERO COURSE */

    .hero-course-visual {
        padding:
            12px 12px 19px;

        border-radius: 18px;
    }

    .hero-course-image-wrap {
        border-radius: 11px;
    }

    .hero-course-image {
        aspect-ratio: 16 / 10;
    }

    .hero-course-content {
        padding:
            20px 7px 0;
    }

    .hero-course-status {
        margin:
            -34px 0 14px;

        padding:
            6px 9px;

        font-size: 9px;

        border-width: 2px;
    }

    .hero-course h2 {
        font-size:
            clamp(27px, 7.5vw, 34px);
    }

    .hero-course-tagline {
        font-size: 15px;
    }

    .hero-course-description {
        margin-bottom: 19px;

        font-size: 13px;
    }

    .hero-course-button {
        width: 100%;
    }


    /* CURSOS */

    .courses {
        padding:
            62px 0 72px;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .section-header h2 {
        font-size:
            clamp(30px, 9vw, 40px);
    }

    .section-header p {
        font-size: 15px;
    }

    .course-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .course-card {
        border-radius: 16px;
    }

    .course-card:hover {
        transform: none;
    }

    .course-image {
        aspect-ratio: 4 / 3;

        object-position: center;
    }

    .course-content {
        padding:
            23px 21px 25px;
    }

    .course-content h3 {
        font-size:
            clamp(25px, 7vw, 31px);
    }

    .course-description {
        margin-bottom: 22px;

        font-size: 15px;
    }

    .course-actions {
        width: 100%;
    }

    .course-actions .btn {
        width: 100%;
    }


    /* CONTACTO */

    .contact-strip {
        padding:
            31px 0;
    }

    .contact-strip-inner {
        flex-direction: column;

        align-items: stretch;

        text-align: center;
    }

    .whatsapp-button {
        width: 100%;

        justify-content: center;
    }


    /* FOOTER */

    .footer {
        padding:
            50px 0 25px;
    }

    .footer-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 30px;
    }

    .footer-spacer {
        display: none;
    }

    .footer-contact {
        justify-self: start;
    }

    .footer-bottom {
        margin-top: 36px;

        font-size: 12px;
    }

    .float-whatsapp {
        right: 16px;
        bottom: 16px;

        width: 50px;
        height: 50px;
    }
}


/* =========================================================
   CELULARES PEQUEÑOS
========================================================= */

@media (max-width: 480px) {

    .container,
    .containerFooter {
        width:
            calc(100% - 28px);
    }

    .nav {
        gap: 12px;
    }

    .logo img {
        width: 106px;
    }

    .header-actions .btn-portal {
        min-height: 39px;

        padding:
            0 11px;

        font-size: 10.5px;
    }

    .hero-inner {
        padding-top: 105px;
    }

    .hero h1 {
        font-size:
            clamp(36px, 11.5vw, 50px);

        letter-spacing: -.05em;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-benefits {
        gap:
            15px 8px;
    }

    .hero-benefit {
        gap: 8px;

        font-size: 10.5px;
    }

    .hero-course-image {
        aspect-ratio: 4 / 3;
    }

    .section-header h2 {
        font-size:
            clamp(28px, 8.7vw, 36px);
    }

    .course-content {
        padding:
            22px 19px 23px;
    }

    .course-type {
        font-size: 12px;
    }

    .course-content h3 {
        font-size:
            clamp(24px, 7vw, 29px);
    }
}


/* =========================================================
   CELULARES MUY PEQUEÑOS
========================================================= */

@media (max-width: 360px) {

    .container,
    .containerFooter {
        width:
            calc(100% - 24px);
    }

    .logo img {
        width: 94px;
    }

    .header-actions .btn-portal {
        min-height: 38px;

        padding:
            0 8px;

        font-size: 9.5px;
    }

    .hero h1 {
        font-size:
            clamp(33px, 11vw, 43px);
    }

    .eyebrow {
        font-size: 10px;

        letter-spacing: .12em;
    }

    .hero-benefit {
        font-size: 10px;
    }

    .hero-benefit-icon {
        flex-basis: 27px;

        width: 27px;
        height: 27px;
    }
}


/* =========================================================
   REDUCIR ANIMACIONES
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   ESDIM MEDIA
   HOME 2026
   CONTENIDO CENTRAL
========================================================= */

:root {
    --esdim-navy: #071d2d;
    --esdim-navy-2: #0a293c;
    --esdim-navy-3: #0d344a;

    --esdim-teal: rgb(4, 137, 134);
    --esdim-teal-dark: rgb(0, 75, 75);
    --esdim-teal-light: rgb(125, 197, 186);

    --esdim-gold: rgb(194, 144, 27);
    --esdim-gold-light: rgb(230, 184, 5);

    --esdim-white: rgb(254, 254, 254);
    --esdim-muted: rgb(169, 184, 197);

    --esdim-bg: #f4f7f8;
    --esdim-surface: #ffffff;
    --esdim-text: #102536;
    --esdim-border: #dfe7ea;
}


/* =========================================================
   UTILIDADES HOME
========================================================= */

.section-kicker {
    display: block;

    margin-bottom: 13px;

    color: var(--esdim-teal);

    font-size: 12px;
    font-weight: 900;

    line-height: 1.2;

    letter-spacing: .16em;

    text-transform: uppercase;
}

.section-header h2 span,
.about-content h2 span,
.home-final-cta h2 span {
    color: var(--esdim-teal);
}

.section-header {
    max-width: 760px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-header h2 {
    margin: 0;

    color: var(--esdim-text);

    font-size:
        clamp(36px, 4.4vw, 58px);

    line-height: 1.03;

    letter-spacing: -.045em;
}

.section-header > p {
    max-width: 680px;

    margin:
        20px auto 0;

    color: #657785;

    font-size: 17px;

    line-height: 1.75;
}


/* =========================================================
   HERO - AJUSTES NUEVO HOME
========================================================= */

.hero-description {
    max-width: 650px;
}

.hero-course {
    position: relative;
}

.hero-course-image-wrap {
    display: block;
}

.hero-course-status.course-status-upcoming {
    color: #102536;

    background:
        linear-gradient(
            135deg,
            var(--esdim-gold-light),
            var(--esdim-gold)
        );
}

.hero-course-status.course-status-open {
    background:
        linear-gradient(
            135deg,
            #12b897,
            var(--esdim-teal)
        );
}

.hero-course-status.course-status-active {
    background:
        linear-gradient(
            135deg,
            #2582bd,
            #17628e
        );
}

.hero-course-status.course-status-finished {
    background: #697985;
}


/* =========================================================
   CURSOS
========================================================= */

.home-courses {
    position: relative;

    padding:
        100px 0 110px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(125, 197, 186, .15),
            transparent 28%
        ),
        var(--esdim-bg);
}

.home-courses .section-header {
    margin-bottom: 55px;
}

.course-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}

.course-card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background: var(--esdim-surface);

    border:
        1px solid
        rgba(7, 29, 45, .08);

    border-radius: 20px;

    box-shadow:
        0 18px 50px
        rgba(7, 29, 45, .08);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.course-card:hover {
    transform:
        translateY(-7px);

    border-color:
        rgba(4, 137, 134, .25);

    box-shadow:
        0 28px 60px
        rgba(7, 29, 45, .14);
}

.course-card-link {
    height: 100%;

    display: flex;

    flex-direction: column;

    color: inherit;

    text-decoration: none;
}

.course-card-link:focus-visible {
    outline:
        4px solid
        rgba(230, 184, 5, .55);

    outline-offset: -4px;
}

.course-media {
    position: relative;

    overflow: hidden;

    background: var(--esdim-navy);
}

.course-image {
    width: 100%;

    aspect-ratio: 16 / 10;

    display: block;

    object-fit: cover;

    transition:
        transform .45s ease;
}

.course-card:hover .course-image {
    transform:
        scale(1.035);
}

.course-image-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    color:
        rgba(255, 255, 255, .3);

    background:
        linear-gradient(
            145deg,
            var(--esdim-navy-3),
            var(--esdim-navy)
        );

    font-size: 30px;
    font-weight: 900;

    letter-spacing: .12em;
}

.course-status {
    position: absolute;

    left: 18px;
    bottom: 18px;

    z-index: 2;

    padding:
        8px 11px;

    color: #ffffff;

    background: var(--esdim-teal);

    border-radius: 7px;

    font-size: 10px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: .1em;

    text-transform: uppercase;

    box-shadow:
        0 8px 22px
        rgba(0, 0, 0, .2);
}

.course-status-upcoming {
    color: #14212b;

    background:
        linear-gradient(
            135deg,
            var(--esdim-gold-light),
            var(--esdim-gold)
        );
}

.course-status-open {
    background:
        linear-gradient(
            135deg,
            #11b897,
            var(--esdim-teal)
        );
}

.course-status-active {
    background:
        linear-gradient(
            135deg,
            #2382bd,
            #17628e
        );
}

.course-status-finished {
    background: #657785;
}

.course-content {
    flex: 1;

    display: flex;

    flex-direction: column;

    padding:
        28px 27px 25px;
}

.course-type {
    margin:
        0 0 8px;

    color: var(--esdim-teal);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .13em;

    text-transform: uppercase;
}

.course-content h3 {
    margin: 0;

    color: var(--esdim-text);

    font-size:
        clamp(24px, 2vw, 31px);

    line-height: 1.1;

    letter-spacing: -.035em;
}

.course-description {
    margin:
        15px 0 22px;

    color: #687b88;

    font-size: 14px;

    line-height: 1.7;
}

.course-meta {
    display: grid;

    gap: 11px;

    margin-top: auto;

    padding:
        18px 0;

    border-top:
        1px solid
        var(--esdim-border);
}

.course-meta-item {
    display: flex;

    gap: 11px;

    align-items: center;
}

.course-meta-icon {
    width: 34px;
    height: 34px;

    flex:
        0 0 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--esdim-teal);

    background:
        rgba(4, 137, 134, .09);

    border-radius: 50%;

    font-size: 15px;
}

.course-meta-item small,
.course-meta-item strong {
    display: block;
}

.course-meta-item small {
    margin-bottom: 2px;

    color: #8997a1;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.course-meta-item strong {
    color: #253c4c;

    font-size: 13px;

    line-height: 1.4;
}

.course-card-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-top: 17px;

    color: var(--esdim-teal-dark);

    border-top:
        1px solid
        var(--esdim-border);

    font-size: 13px;
    font-weight: 900;
}

.course-arrow {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    background: var(--esdim-teal);

    border-radius: 50%;

    font-size: 17px;

    transition:
        transform .2s ease,
        background-color .2s ease;
}

.course-card:hover
.course-arrow {
    background: var(--esdim-teal-dark);

    transform:
        translateX(3px);
}

.courses-message {
    max-width: 760px;

    margin: 0 auto;

    padding: 32px;

    color: #536775;

    background: #ffffff;

    border:
        1px solid
        var(--esdim-border);

    border-radius: 18px;

    text-align: center;
}

.courses-message strong,
.courses-message span {
    display: block;
}

.courses-message strong {
    margin-bottom: 7px;

    color: var(--esdim-text);

    font-size: 18px;
}

.courses-message-error {
    border-color:
        rgba(180, 61, 61, .25);

    background: #fffafa;
}


/* =========================================================
   QUIÉNES SOMOS
========================================================= */

.about-section {
    padding:
        115px 0;

    background: #ffffff;
}

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(340px, .85fr)
        minmax(0, 1.15fr);

    gap: 90px;

    align-items: center;
}

.about-visual {
    position: relative;

    min-height: 470px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(125, 197, 186, .25),
            transparent 25%
        ),
        linear-gradient(
            145deg,
            var(--esdim-navy-3),
            var(--esdim-navy)
        );

    border-radius: 26px;

    box-shadow:
        0 35px 75px
        rgba(7, 29, 45, .16);
}

.about-symbol {
    position: relative;

    z-index: 3;

    color: #ffffff;

    text-align: center;
}

.about-symbol span,
.about-symbol strong {
    display: block;
}

.about-symbol span {
    font-size:
        clamp(46px, 6vw, 75px);

    font-weight: 900;

    line-height: .9;

    letter-spacing: -.06em;
}

.about-symbol strong {
    margin-top: 10px;

    color: var(--esdim-teal-light);

    font-size: 17px;

    letter-spacing: .5em;
}

.about-accent {
    position: absolute;

    border:
        1px solid
        rgba(125, 197, 186, .28);

    border-radius: 50%;
}

.about-accent-one {
    width: 310px;
    height: 310px;

    right: -120px;
    top: -70px;
}

.about-accent-two {
    width: 220px;
    height: 220px;

    left: -100px;
    bottom: -70px;
}

.about-content h2 {
    max-width: 690px;

    margin: 0;

    color: var(--esdim-text);

    font-size:
        clamp(39px, 4.4vw, 61px);

    line-height: 1.03;

    letter-spacing: -.05em;
}

.about-content h2 span {
    display: block;
}

.about-content > p {
    max-width: 720px;

    color: #667985;

    font-size: 16px;

    line-height: 1.8;
}

.about-lead {
    margin:
        26px 0 15px;

    color: #334d5e !important;

    font-size: 18px !important;
    font-weight: 600;
}

.about-values {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 17px;

    margin-top: 35px;
}

.about-value {
    padding:
        22px 18px;

    background: var(--esdim-bg);

    border:
        1px solid
        var(--esdim-border);

    border-radius: 15px;
}

.about-value-number {
    display: block;

    margin-bottom: 18px;

    color: var(--esdim-gold);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: .12em;
}

.about-value h3 {
    margin:
        0 0 7px;

    color: var(--esdim-text);

    font-size: 17px;
}

.about-value p {
    margin: 0;

    color: #71828d;

    font-size: 12.5px;

    line-height: 1.55;
}


/* =========================================================
   QUÉ HACEMOS
========================================================= */

.what-we-do {
    position: relative;

    padding:
        110px 0 120px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(4, 137, 134, .18),
            transparent 30%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(194, 144, 27, .09),
            transparent 30%
        ),
        var(--esdim-navy);
}

.section-header-light h2 {
    color: #ffffff;
}

.section-header-light > p {
    color:
        rgba(255, 255, 255, .63);
}

.section-header-light h2 span {
    color: var(--esdim-teal-light);
}

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-top: 60px;
}

.service-card {
    padding:
        32px 27px;

    background:
        rgba(255, 255, 255, .045);

    border:
        1px solid
        rgba(255, 255, 255, .1);

    border-radius: 18px;

    transition:
        transform .25s ease,
        background-color .25s ease,
        border-color .25s ease;
}

.service-card:hover {
    transform:
        translateY(-5px);

    background:
        rgba(255, 255, 255, .075);

    border-color:
        rgba(125, 197, 186, .35);
}

.service-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    color: var(--esdim-teal-light);

    background:
        rgba(4, 137, 134, .16);

    border:
        1px solid
        rgba(125, 197, 186, .22);

    border-radius: 13px;

    font-size: 21px;
}

.service-card h3 {
    margin:
        0 0 13px;

    color: #ffffff;

    font-size: 20px;

    letter-spacing: -.02em;
}

.service-card p {
    margin: 0;

    color:
        rgba(255, 255, 255, .6);

    font-size: 13.5px;

    line-height: 1.7;
}


/* =========================================================
   FORMACIÓN EN LÍNEA
========================================================= */

.online-learning {
    padding:
        110px 0 120px;

    background: #ffffff;
}

.online-learning .section-header {
    margin-bottom: 65px;
}

.learning-steps {
    position: relative;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;
}

.learning-steps::before {
    content: "";

    position: absolute;

    left: 9%;
    right: 9%;
    top: 31px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(4, 137, 134, .3),
            rgba(4, 137, 134, .3),
            transparent
        );
}

.learning-step {
    position: relative;

    z-index: 2;

    padding:
        0 15px;

    text-align: center;
}

.learning-number {
    width: 63px;
    height: 63px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto 24px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--esdim-teal),
            var(--esdim-teal-dark)
        );

    border:
        7px solid
        #ffffff;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 900;

    box-shadow:
        0 8px 25px
        rgba(4, 137, 134, .18);
}

.learning-step h3 {
    margin:
        0 0 10px;

    color: var(--esdim-text);

    font-size: 18px;
}

.learning-step p {
    margin: 0;

    color: #75858f;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   CTA FINAL
========================================================= */

.home-final-cta {
    position: relative;

    padding:
        82px 0;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #0c3c4d,
            var(--esdim-teal-dark)
        );
}

.home-final-cta::after {
    content: "";

    position: absolute;

    width: 390px;
    height: 390px;

    right: -150px;
    top: -200px;

    border:
        1px solid
        rgba(255, 255, 255, .1);

    border-radius: 50%;
}

.home-final-cta-inner {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;
}

.home-final-cta h2 {
    max-width: 680px;

    margin: 0;

    color: #ffffff;

    font-size:
        clamp(34px, 4vw, 53px);

    line-height: 1.04;

    letter-spacing: -.045em;
}

.home-final-cta h2 span {
    display: block;

    color: var(--esdim-teal-light);
}

.home-final-cta p {
    max-width: 600px;

    margin:
        17px 0 0;

    color:
        rgba(255, 255, 255, .67);

    font-size: 15px;

    line-height: 1.7;
}

.home-final-cta
.section-kicker {
    color: var(--esdim-gold-light);
}

.home-final-actions {
    min-width: 260px;

    display: flex;

    flex-direction: column;

    gap: 11px;
}

.home-final-actions .btn {
    justify-content: center;

    text-align: center;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .course-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        gap: 55px;
    }

    .about-values {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .about-value {
        display: flex;

        gap: 18px;
    }

    .about-value-number {
        margin-bottom: 0;
    }

    .service-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 900px) {

    .about-grid {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .about-visual {
        min-height: 390px;
    }

    .about-content {
        max-width: 760px;

        margin-inline: auto;
    }

    .learning-steps {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            50px 25px;
    }

    .learning-steps::before {
        display: none;
    }

    .home-final-cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

    .home-final-actions {
        width: 100%;

        max-width: 420px;
    }
}


@media (max-width: 680px) {

    .home-courses,
    .about-section,
    .what-we-do,
    .online-learning {
        padding:
            75px 0 80px;
    }

    .home-courses .section-header,
    .online-learning .section-header {
        margin-bottom: 40px;
    }

    .section-header h2,
    .about-content h2 {
        font-size:
            clamp(31px, 9vw, 41px);
    }

    .section-header > p,
    .about-lead {
        font-size: 15px !important;
    }

    .course-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 20px;
    }

    .course-card:hover {
        transform: none;
    }

    .course-content {
        padding:
            23px 20px 22px;
    }

    .course-content h3 {
        font-size:
            clamp(24px, 7vw, 30px);
    }

    .course-status {
        left: 14px;
        bottom: 14px;
    }

    .about-grid {
        gap: 45px;
    }

    .about-visual {
        min-height: 310px;

        border-radius: 20px;
    }

    .about-values {
        gap: 11px;
    }

    .service-grid {
        grid-template-columns:
            minmax(0, 1fr);

        margin-top: 42px;
    }

    .service-card {
        padding:
            27px 23px;
    }

    .learning-steps {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 35px;
    }

    .learning-step {
        max-width: 390px;

        margin-inline: auto;
    }

    .home-final-cta {
        padding:
            65px 0;
    }

    .home-final-cta h2 {
        font-size:
            clamp(31px, 9vw, 42px);
    }

    .home-final-actions {
        max-width: none;
    }

    .home-final-actions .btn {
        width: 100%;
    }
}


@media (max-width: 480px) {

    .course-image {
        aspect-ratio: 4 / 3;
    }

    .about-visual {
        min-height: 270px;
    }

    .about-symbol span {
        font-size: 52px;
    }

    .about-symbol strong {
        font-size: 12px;
    }
}