:root {
    --navy: #061b3b;
    --navy2: #0a2854;
    --gold: #d8a72d;
    --gold2: #f0cf72;
    --sky: #43b8ff;
    --ink: #10233f;
    --muted: #64748b;
    --soft: #f4f7fb;
    --white: #fff;
    --radius: 24px;
    --shadow: 0 24px 70px rgba(5, 25, 55, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Manrope, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.65;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: inherit
}

button {
    font: inherit
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto
}

.section {
    padding: 110px 0
}

.section-dark {
    background: var(--navy);
    color: #fff
}

.section-soft {
    background: var(--soft)
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--sky));
    width: 0;
    z-index: 1000
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 27, 59, .7);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    transition: .3s
}

.site-header.scrolled {
    background: rgba(6, 27, 59, .95)
}

.nav-wrap {
    height: 80px;
    display: flex;
    align-items: center;
    gap: 28px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-right: auto
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: var(--navy);
    display: grid;
    place-items: center;
    font-family: Playfair Display;
    font-size: 26px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(216, 167, 45, .25)
}

.brand span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.05
}

.brand strong {
    letter-spacing: .14em
}

.brand small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .13em;
    opacity: .7
}

.desktop-nav {
    display: flex;
    gap: 24px;
    font-size: 14px
}

.desktop-nav a {
    opacity: .8
}

.desktop-nav a:hover {
    opacity: 1;
    color: var(--gold2)
}

.menu-toggle,
.mobile-nav {
    display: none
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    padding: 15px 24px;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid transparent;
    transition: .25s;
    cursor: pointer
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--gold2), var(--gold));
    color: var(--navy);
    box-shadow: 0 12px 30px rgba(216, 167, 45, .25)
}

.btn-ghost {
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
    background: rgba(255, 255, 255, .05)
}

.btn-outline {
    border-color: #ccd7e5
}

.btn-small {
    padding: 11px 18px;
    font-size: 12px
}

.btn-full {
    width: 100%
}

.hero {
    min-height: auto;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 135px;
    padding-bottom: 90px;
    overflow: hidden;
    background: radial-gradient(circle at 70% 40%, #123c72 0, transparent 35%), linear-gradient(135deg, #04152f, #082451 62%, #071a38)
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, black, transparent)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 35px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: .17em;
    font-size: 11px;
    font-weight: 800;
    color: var(--gold2);
    margin-bottom: 18px
}

.eyebrow:before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor
}

.eyebrow.dark {
    color: #a67b13
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-size: clamp(44px, 5.8vw, 78px);
    line-height: 1.02;
    letter-spacing: -.045em;
    margin-bottom: 25px
}

h1 em,
h2 em {
    font-family: Playfair Display, serif;
    color: var(--gold2);
    font-weight: 600
}

h2 {
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.08;
    letter-spacing: -.04em;
    margin-bottom: 20px
}

.hero-lead {
    font-size: 18px;
    max-width: 720px;
    color: #cfdbeb
}

.hero-actions {
    display: flex;
    gap: 13px;
    margin: 34px 0
}

.trust-row {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12)
}

.trust-row div {
    display: flex;
    flex-direction: column
}

.trust-row strong {
    font-size: 22px;
    color: #fff
}

.trust-row span {
    font-size: 11px;
    color: #95a7c0
}

.hero-visual {
    position: relative;
    min-height: 540px;
    display: grid;
    place-items: center
}

.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(20px);
    box-shadow: 0 35px 90px rgba(0, 0, 0, .3)
}

.main-card {
    width: 380px;
    min-height: 470px;
    border-radius: 42px;
    padding: 35px;
    text-align: center;
    transform: rotate(2deg)
}

.card-kicker {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #a9bad0
}

.portal {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 28px auto;
    display: grid;
    place-items: center;
    background: conic-gradient(from 20deg, var(--gold), #3aaeff, #183b71, var(--gold));
    padding: 9px;
    animation: spin 14s linear infinite
}

.portal:before {
    content: "";
    position: absolute
}

.portal-core {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, #173d6d, #061b3b 70%);
    font-weight: 800;
    letter-spacing: .25em;
    font-size: 22px;
    animation: spinReverse 14s linear infinite
}

.main-card h3 {
    font-size: 25px;
    margin-bottom: 10px
}

.main-card p {
    color: #adc0d7;
    font-size: 13px
}

.floating-card {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(7, 25, 54, .78);
    backdrop-filter: blur(14px);
    border-radius: 17px;
    padding: 13px 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
    display: flex;
    flex-direction: column
}

.floating-card b {
    color: var(--gold2)
}

.floating-card span {
    font-size: 10px;
    color: #9fb1c9
}

.fc-1 {
    top: 25px;
    right: -10px
}

.fc-2 {
    left: -10px;
    top: 190px
}

.fc-3 {
    right: -25px;
    bottom: 45px
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(67, 184, 255, .18);
    border-radius: 50%
}

.orbit-one {
    width: 700px;
    height: 700px;
    right: -330px;
    top: 60px
}

.orbit-two {
    width: 430px;
    height: 430px;
    left: -250px;
    bottom: -220px
}

.scroll-cue {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #7990ad;
    z-index: 3
}

.scroll-cue span {
    display: inline-block;
    margin-left: 8px;
    animation: bounce 1.5s infinite
}

.social-proof-strip {
    background: #fff;
    border-bottom: 1px solid #e6ebf1
}

/* ==========================================================
   BANNER CONTINUO DE TRAYECTORIA Y ACREDITACIONES
   ========================================================== */

.institution-marquee {
    position: relative;
    z-index: 5;

    width: 100%;
    overflow: hidden;

    border-top: 1px solid rgba(240, 207, 114, .22);
    border-bottom: 1px solid rgba(240, 207, 114, .22);

    background:
        linear-gradient(
            90deg,
            #04152f,
            #0a2854 48%,
            #04152f
        );

    color: #fff;
}

.institution-marquee::before,
.institution-marquee::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;

    width: 110px;

    pointer-events: none;
}

.institution-marquee::before {
    left: 0;

    background:
        linear-gradient(
            90deg,
            #04152f,
            transparent
        );
}

.institution-marquee::after {
    right: 0;

    background:
        linear-gradient(
            270deg,
            #04152f,
            transparent
        );
}

.institution-marquee-track {
    display: flex;
    width: max-content;

    animation:
        institutionMarquee 25s linear infinite;

    will-change: transform;
}

.institution-marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;

    min-width: max-content;
    padding: 19px 0;
}

.institution-marquee-group span {
    padding: 0 30px;

    color: #fff;

    font-size: 14px;
    font-weight: 800;
    line-height: 1;

    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: .08em;
}

.institution-marquee-group span:nth-of-type(2) {
    color: var(--gold2);
}

.institution-marquee-group i {
    color: var(--gold);
    font-style: normal;
    font-size: 17px;
}

.institution-marquee:hover .institution-marquee-track {
    animation-play-state: paused;
}

@keyframes institutionMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.proof-grid {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 13px
}

.proof-grid span {
    color: var(--muted)
}

.proof-grid b {
    color: var(--navy)
}

.proof-grid i {
    color: var(--gold);
    font-style: normal
}

.section-heading {
    max-width: 760px;
    margin-bottom: 55px
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto
}

.section-heading p {
    color: var(--muted);
    font-size: 17px
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

/* ==========================================================
   TARJETAS DE VENTAJAS CON IMAGEN
   ========================================================== */

.benefit-card {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid #e1e7ef;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 14px 45px rgba(5, 25, 55, .07);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.benefit-card:hover {
    transform: translateY(-9px);
    border-color: rgba(216, 167, 45, .48);
    box-shadow: 0 28px 70px rgba(5, 25, 55, .16);
}

.benefit-image-wrap {
    position: relative;
    height: 215px;
    overflow: hidden;
    background: #e9eef5;
}

.benefit-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
}

.benefit-card:hover .benefit-image {
    transform: scale(1.075);
}

.benefit-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(6, 27, 59, .05) 20%,
            rgba(6, 27, 59, .65) 100%);
    pointer-events: none;
}

.benefit-card .num {
    position: absolute;
    z-index: 3;
    right: 20px;
    top: 18px;

    min-width: 52px;
    height: 38px;
    padding: 0 12px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;

    background: rgba(6, 27, 59, .48);
    backdrop-filter: blur(10px);

    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .06em;
}

.benefit-card-content {
    position: relative;
    padding: 35px 32px 32px;
}

.benefit-card .icon {
    position: absolute;
    top: -31px;
    left: 30px;

    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    border: 5px solid #fff;
    border-radius: 19px;

    background: linear-gradient(135deg,
            var(--gold2),
            var(--gold));

    color: var(--navy);
    font-size: 25px;

    box-shadow: 0 12px 28px rgba(5, 25, 55, .17);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.benefit-card:hover .icon {
    transform: rotate(-6deg) scale(1.06);
    box-shadow: 0 16px 32px rgba(216, 167, 45, .3);
}

.benefit-card h3 {
    margin: 18px 0 13px;
    color: var(--navy);
    font-size: 20px;
    line-height: 1.3;
}

.benefit-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.split-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: start
}

.large-text {
    font-size: 19px;
    color: var(--muted)
}

.text-link {
    font-weight: 800;
    color: #a97d12;
    border-bottom: 1px solid #d8a72d;
    padding-bottom: 5px
}

.audience-list {
    background: #fff;
    border-radius: 30px;
    padding: 12px 35px;
    box-shadow: var(--shadow)
}

.audience-list div {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px;
    padding: 26px 0;
    border-bottom: 1px solid #e8edf3
}

.audience-list div:last-child {
    border-bottom: 0
}

.audience-list span {
    color: var(--gold);
    font-weight: 800
}

.audience-list p {
    margin: 0;
    color: var(--muted)
}

.audience-list b {
    color: var(--ink)
}

.journey {
    background: linear-gradient(160deg, #061b3b, #071831);
    overflow: hidden
}

.journey .section-heading p {
    color: #aebed2
}

.timeline {
    position: relative;
    max-width: 950px;
    margin: auto
}

.timeline:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(var(--gold), rgba(255, 255, 255, .1))
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: center;
    margin: 0 0 55px
}

.timeline-item:nth-child(odd) .timeline-card {
    grid-column: 1;
    text-align: right
}

.timeline-item:nth-child(odd) .timeline-dot {
    grid-column: 2;
    grid-row: 1
}

.timeline-item:nth-child(even) .timeline-card {
    grid-column: 3
}

.timeline-item:nth-child(even) .timeline-dot {
    grid-column: 2;
    grid-row: 1
}

.timeline-dot {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid var(--gold);
    display: grid;
    place-items: center;
    margin: auto;
    color: var(--gold2);
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 0 0 9px rgba(216, 167, 45, .08)
}

.timeline-card {
    border: 1px solid rgba(255, 255, 255, .11);
    background: rgba(255, 255, 255, .04);
    border-radius: 22px;
    padding: 28px
}

.timeline-card span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--gold2)
}

.timeline-card h3 {
    font-size: 23px;
    margin: 9px 0
}

.timeline-card p {
    color: #aebed2;
    font-size: 14px
}

.timeline-card small {
    color: #6f88a7
}

.timeline-card.highlight {
    background: linear-gradient(145deg, rgba(216, 167, 45, .18), rgba(255, 255, 255, .05));
    border-color: rgba(216, 167, 45, .4)
}

/* ==========================================================
   METODOLOGÍA — ENCABEZADO SUPERIOR + TARJETAS
   ========================================================== */

.methodology-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(240, 207, 114, .12),
            transparent 26%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #f7f9fc
        );
}

/* Encabezado */

.methodology-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 70px;

    margin-bottom: 55px;
    padding-bottom: 42px;

    border-bottom: 1px solid #dfe6ef;
}

.methodology-heading {
    max-width: 830px;
}

.methodology-heading h2 {
    max-width: 850px;
    margin-bottom: 22px;
}

.methodology-heading h2 em {
    display: inline;
}

.methodology-heading p {
    max-width: 790px;
    margin-bottom: 0;

    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.methodology-heading p strong {
    color: var(--ink);
}

/* Métrica */

.methodology-metric {
    display: flex;
    align-items: flex-end;
    gap: 16px;

    flex-shrink: 0;
}

.methodology-metric > strong {
    color: var(--navy);

    font-size: clamp(58px, 6vw, 92px);
    font-weight: 800;
    line-height: .82;
    letter-spacing: -.06em;
}

.methodology-metric > span {
    display: flex;
    flex-direction: column;

    max-width: 155px;
    padding-bottom: 3px;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.methodology-metric small {
    display: block;

    margin-top: 3px;

    color: #9b761a;
    font-size: 11px;
    font-weight: 700;
}

/* Grilla de tarjetas */

.method-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.method-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 285px;
    padding: 27px;

    overflow: hidden;

    border: 1px solid #dde5ef;
    border-radius: 24px;

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

    box-shadow:
        0 12px 35px rgba(5, 25, 55, .05);

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

.method-card::after {
    content: "";

    position: absolute;
    right: -55px;
    bottom: -70px;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(240, 207, 114, .17),
            transparent 68%
        );

    pointer-events: none;
}

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

    border-color: rgba(216, 167, 45, .5);

    box-shadow:
        0 24px 55px rgba(5, 25, 55, .12);
}

/* Número + icono */

.method-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 27px;
}

.method-number {
    color: var(--gold);

    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
}

.method-icon {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(216, 167, 45, .28);
    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(240, 207, 114, .23),
            rgba(216, 167, 45, .08)
        );

    color: #a6790d;
    font-size: 20px;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.method-card:hover .method-icon {
    transform: rotate(-5deg) scale(1.06);

    background:
        linear-gradient(
            135deg,
            var(--gold2),
            var(--gold)
        );

    color: var(--navy);
}

/* Contenido */

.method-card h3 {
    margin: 0 0 12px;

    color: var(--navy);

    font-size: 20px;
    line-height: 1.3;
}

.method-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}

/* Última tarjeta destacada */

.method-card-featured {
    border-color: rgba(216, 167, 45, .6);

    background:
        linear-gradient(
            145deg,
            #fffdf7,
            #ffffff
        );
}

.method-card-featured .method-icon {
    background:
        linear-gradient(
            135deg,
            var(--gold2),
            var(--gold)
        );

    color: var(--navy);
}

@media(max-width:980px) {

    .methodology-header {
        grid-template-columns: 1fr;
        gap: 30px;

        margin-bottom: 42px;
        padding-bottom: 35px;
    }

    .methodology-metric {
        align-items: center;
    }

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

}

@media(max-width:680px) {

    .methodology-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .methodology-header {
        gap: 25px;

        margin-bottom: 32px;
        padding-bottom: 30px;
    }

    .methodology-heading h2 {
        font-size: 38px;
    }

    .methodology-heading h2 em {
        display: block;
    }

    .methodology-heading p {
        font-size: 15px;
        line-height: 1.7;
    }

    .methodology-metric {
        gap: 12px;
    }

    .methodology-metric > strong {
        font-size: 60px;
    }

    .methodology-metric > span {
        max-width: 130px;
        font-size: 12px;
    }

    .method-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .method-card {
        min-height: auto;
        padding: 23px;
    }

    .method-card-top {
        margin-bottom: 21px;
    }

    .method-icon {
        width: 49px;
        height: 49px;

        border-radius: 15px;

        font-size: 18px;
    }

    .method-number {
        font-size: 25px;
    }

    .method-card h3 {
        font-size: 19px;
    }

}

.module-controls {
    display: flex;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 30px
}

.filter {
    border: 1px solid #dbe3ed;
    border-radius: 999px;
    background: #fff;
    padding: 10px 17px;
    cursor: pointer;
    color: var(--muted)
}

.filter.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px
}

.module-card {
    background: #fff;
    border: 1px solid #e0e7ef;
    border-radius: 20px;
    padding: 24px;
    min-height: 190px;
    transition: .3s;
    cursor: pointer
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow)
}

.module-card .module-num {
    font-size: 11px;
    color: #a37912;
    font-weight: 800;
    letter-spacing: .12em
}

.module-card h3 {
    font-size: 16px;
    margin: 22px 0 0
}

.module-card .plus {
    float: right;
    color: #99a8ba
}

/* ==========================================================
   BOTÓN VER TODOS LOS MÓDULOS
   ========================================================== */

.modules-toggle-wrap {
    display: flex;
    justify-content: center;

    width: 100%;
    margin-top: 42px;
}

.modules-toggle-wrap[hidden] {
    display: none;
}

.modules-toggle {
    min-width: 260px;
    min-height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 14px 28px;

    border: 1px solid rgba(216, 167, 45, .45);
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(240, 207, 114, .22),
            rgba(216, 167, 45, .12)
        );

    color: var(--navy);

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

    cursor: pointer;

    box-shadow:
        0 12px 30px rgba(5, 25, 55, .07);

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

.modules-toggle:hover {
    transform: translateY(-3px);

    border-color: var(--gold);

    background:
        linear-gradient(
            135deg,
            var(--gold2),
            var(--gold)
        );

    box-shadow:
        0 17px 38px rgba(216, 167, 45, .22);
}

.modules-toggle i {
    font-size: 12px;

    transition: transform .25s ease;
}

.modules-toggle:hover i {
    transform: translateY(2px);
}

.modules-toggle[aria-expanded="true"]:hover i {
    transform: translateY(-2px);
}

.modules-toggle-wrap {
    margin-top: 30px;
}

.modules-toggle {
    width: 100%;
    min-width: 0;
    min-height: 56px;

    padding: 13px 20px;

    font-size: 13px;
}

.calendar-section {
    background: #fff
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: end;
    margin-bottom: 36px
}

.calendar-header>div {
    max-width: 700px
}

.calendar-header p {
    color: var(--muted)
}

code {
    background: #edf2f7;
    border-radius: 7px;
    padding: 2px 7px;
    font-size: .86em
}

.edition-tabs {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding-bottom: 15px
}

.edition-tab {
    border: 1px solid #dbe3ed;
    background: #fff;
    border-radius: 15px;
    padding: 15px 20px;
    min-width: 190px;
    text-align: left;
    cursor: pointer
}

.edition-tab.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy)
}

.edition-tab b,
.edition-tab span {
    display: block
}

.edition-tab span {
    font-size: 11px;
    opacity: .65
}

.calendar-board {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    align-items: start;
    position: relative;

    border: 1px solid #dfe7f0;
    border-radius: 28px;
    overflow: visible;
    background: #fff;
    box-shadow: var(--shadow);
}

.calendar-summary {
    position: sticky;
    top: 105px;
    align-self: start;
    height: auto;
    max-height: calc(100vh - 130px);
    overflow: hidden;
    z-index: 2;

    background: linear-gradient(150deg, var(--navy), var(--navy2));
    color: #fff;
    padding: 30px 32px;

    border-radius: 26px;
    margin: 14px 0 14px 14px;
}

.calendar-summary .status {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em
}

.calendar-summary h3 {
    font-size: 28px;
    margin: 25px 0 10px
}

.calendar-summary p {
    color: #adc0d8
}

.summary-meta {
    display: grid;
    gap: 14px;
    margin-top: 30px
}

.summary-meta div {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 12px
}

.summary-meta small {
    display: block;
    color: #7892b3
}

.calendar-list {
    min-width: 0;
    padding: 18px 30px 30px 38px;
    background: #fff;
    border-radius: 0 28px 28px 0;
    overflow: hidden;
}

.calendar-summary h3 {
    font-size: 27px;
    margin: 20px 0 8px;
}

.calendar-summary p {
    font-size: 15px;
    margin-bottom: 24px;
}

.summary-meta {
    gap: 0;
    margin-top: 22px;
}

.summary-meta div {
    padding: 16px 0;
}

.summary-meta div:last-child {
    padding-bottom: 0;
}

.summary-meta small {
    margin-bottom: 3px;
}

.summary-meta b {
    display: block;
    font-size: 15px;
    line-height: 1.45;
}

.calendar-row {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 19px 5px;
    border-bottom: 1px solid #edf1f5
}

/* ==========================================================
   CALENDARIO PLEGABLE
   ========================================================== */

.calendar-board {
    --calendar-preview-height: 545px;

    transition:
        height .45s ease,
        box-shadow .3s ease;
}

/* Vista inicial: ambas columnas con la misma altura */

.calendar-board:not(.is-expanded) {
    align-items: stretch;
}

.calendar-board:not(.is-expanded) .calendar-summary {
    position: relative;
    top: auto;

    height: var(--calendar-preview-height);
    min-height: var(--calendar-preview-height);
    max-height: none;
}

.calendar-board:not(.is-expanded) .calendar-list {
    height: var(--calendar-preview-height);
    min-height: var(--calendar-preview-height);

    display: flex;
    flex-direction: column;

    padding-bottom: 18px;
}

/* Contenedor de fechas */

.calendar-rows {
    min-width: 0;
}

.calendar-board:not(.is-expanded) .calendar-rows {
    flex: 1;
    overflow: hidden;
}

/* En modo completo la tarjeta azul vuelve a ser sticky */

.calendar-board.is-expanded {
    align-items: start;
}

.calendar-board.is-expanded .calendar-summary {
    position: sticky;
    top: 105px;

    height: auto;
    min-height: 0;
    max-height: calc(100vh - 130px);
}

.calendar-board.is-expanded .calendar-list {
    height: auto;
    min-height: 0;
}

/* Zona inferior del botón */

.calendar-toggle-wrap {
    position: relative;
    z-index: 4;

    margin-top: auto;
    padding-top: 16px;

    border-top: 1px solid #edf1f5;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .88),
            #ffffff 34%
        );
}

.calendar-toggle {
    width: 100%;
    min-height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid rgba(216, 167, 45, .4);
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(240, 207, 114, .22),
            rgba(216, 167, 45, .11)
        );

    color: var(--navy);

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

    cursor: pointer;

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

.calendar-toggle:hover {
    transform: translateY(-2px);

    border-color: var(--gold);

    background:
        linear-gradient(
            135deg,
            var(--gold2),
            var(--gold)
        );

    box-shadow:
        0 12px 28px rgba(216, 167, 45, .2);
}

.calendar-toggle small {
    padding: 4px 8px;

    border-radius: 999px;

    background: rgba(6, 27, 59, .08);

    color: #80600e;

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

.calendar-toggle i {
    font-size: 11px;

    transition: transform .25s ease;
}

.calendar-toggle:hover i {
    transform: translateY(2px);
}

.calendar-board.is-expanded .calendar-toggle:hover i {
    transform: translateY(-2px);
}

@media(max-width:980px) {

    .calendar-board {
        --calendar-preview-height: auto;
    }

    .calendar-board:not(.is-expanded) .calendar-summary {
        position: static;

        height: auto;
        min-height: 0;
    }

    .calendar-board:not(.is-expanded) .calendar-list {
        height: auto;
        min-height: 0;
    }

    .calendar-board.is-expanded .calendar-summary {
        position: static;
        top: auto;

        max-height: none;
    }

}

@media(max-width:680px) {

    .calendar-list {
        padding:
            10px
            18px
            18px;
    }

    .calendar-toggle-wrap {
        padding-top: 14px;
    }

    .calendar-toggle {
        min-height: 52px;
        padding: 0 16px;

        font-size: 12px;
    }

    .calendar-toggle small {
        font-size: 9px;
    }

}

.calendar-row:last-child {
    border-bottom: 0
}

.calendar-date {
    color: #a37812;
    font-weight: 800;
    font-size: 12px
}

.calendar-row h4 {
    margin: 0;
    font-size: 15px
}

.calendar-row p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 12px
}

.calendar-tag {
    font-size: 10px;
    border-radius: 999px;
    background: #edf7ff;
    color: #1f74a9;
    padding: 6px 9px
}

.credentials {
    background: radial-gradient(circle at 50% 20%, #103b70, transparent 35%), var(--navy)
}

.credentials .section-heading p {
    color: #aebed2
}

.credential-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px
}

.credential-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    padding: 25px;
}

.credential-logo {
    width: 120px;
    height: 120px;

    border-radius: 50%;

    background:
        radial-gradient(circle at 30% 30%, #ffffff, #f5f7fa);

    border: 2px solid rgba(216, 167, 45, .35);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .12);

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

    margin: 0 auto 28px;
    padding: 22px;
}

.credential-card:hover .credential-logo {
    transform: translateY(-6px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, .18);
}

.credential-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;

    transition: .35s;
}

.credential-card:hover .credential-logo img {
    transform: scale(1.08);
}

.credential-card h3 {
    font-size: 15px
}

.credential-card p {
    font-size: 12px;
    color: #aebed2
}

.legal-note {
    text-align: center;
    font-size: 11px;
    color: #718aa8;
    margin-top: 30px
}

.outcomes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px
}

.outcome-items div {
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e5eaf0
}

.outcome-items b {
    color: var(--gold)
}

.outcome-items p {
    color: var(--muted);
    margin: 0
}

.agenda-section {
    position: relative;
    background: linear-gradient(145deg, #061b3b, #0a2b59);
    color: #fff;
    overflow: hidden
}

.agenda-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(67, 184, 255, .14);
    filter: blur(70px);
    right: -150px;
    top: -180px
}

.agenda-box {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center
}

.agenda-copy p {
    color: #b7c7da;
    font-size: 17px
}

.agenda-copy ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

.agenda-copy li:before {
    content: "✓";
    color: var(--gold2);
    margin-right: 7px
}

.agenda-card {
    background: #fff;
    color: var(--ink);
    padding: 38px;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3)
}

.agenda-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: #fff6de;
    color: #a97700;
    display: grid;
    place-items: center;
    font-size: 25px
}

.agenda-card h3 {
    font-size: 25px;
    margin: 22px 0 8px
}

.agenda-card p {
    color: var(--muted)
}

.agenda-card small {
    display: block;
    text-align: center;
    color: #8b98a9;
    margin-top: 15px
}

footer {
    background: #031127;
    color: #9db0c7;
    padding: 65px 0 25px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 50px
}

.footer-grid>div {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 13px
}

.footer-grid b {
    color: #fff
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 45px;
    padding-top: 20px;
    font-size: 11px
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none
}

.modal.open {
    display: block
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 10, 23, .75);
    backdrop-filter: blur(8px)
}

.modal-panel {
    position: relative;
    width: min(520px, calc(100% - 30px));
    margin: 8vh auto;
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, .4);
    animation: modalIn .3s
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    border: 0;
    background: none;
    font-size: 30px;
    color: #7a8798;
    cursor: pointer
}

.embed-placeholder {
    border: 1px dashed #cbd6e2;
    background: #f7f9fc;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 7px
}

.embed-placeholder span {
    font-size: 35px
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: .7s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.delay-1 {
    transition-delay: .1s
}

.delay-2 {
    transition-delay: .2s
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes spinReverse {
    to {
        transform: rotate(-360deg)
    }
}

@keyframes bounce {
    50% {
        transform: translateY(5px)
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97)
    }
}

@media(max-width:980px) {

    .desktop-nav,
    .site-header>.container>.btn {
        display: none
    }

    .menu-toggle {
        display: block;
        border: 0;
        background: none;
        color: #fff;
        font-size: 24px
    }

    .mobile-nav {
        position: absolute;
        top: 80px;
        left: 20px;
        right: 20px;
        background: #071b3b;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 18px;
        padding: 15px;
        flex-direction: column
    }

    .mobile-nav.open {
        display: flex
    }

    .mobile-nav a {
        padding: 10px
    }

    .hero-grid,
    .split-grid,
    .methodology-grid,
    .agenda-box,
    .outcomes-grid {
        grid-template-columns: 1fr
    }

    .hero-copy {
        padding-top: 35px
    }

    .hero-visual {
        min-height: 500px
    }

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

    .benefit-image-wrap {
        height: 230px;
    }

    .benefit-card {
        min-height: 470px;
    }

    .modules-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .credential-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .sticky-copy {
        position: static
    }

    .calendar-board {
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .calendar-summary {
        position: static;
        top: auto;
        width: 100%;
        padding: 30px;
        border-radius: 27px 27px 0 0;
    }

    .calendar-list {
        border-radius: 0 0 27px 27px;
    }

    .calendar-header {
        align-items: start
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .footer-brand {
        grid-column: 1/-1
    }
}

@media(max-width:680px) {
    .container {
        width: min(100% - 48px, 1180px);
    }

    .section {
        padding: 78px 0
    }

    .nav-wrap {
        height: 68px
    }

    .mobile-nav {
        top: 68px
    }

    .hero {
        padding-top: 100px
    }

    .hero-grid {
        gap: 20px
    }

    h1 {
        font-size: 43px
    }

    .hero-lead {
        font-size: 16px
    }

    .hero-actions {
        flex-direction: column
    }

    .trust-row {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .hero-visual {
        min-height: 430px
    }

    .main-card {
        width: 295px;
        min-height: 390px;
        padding: 25px
    }

    .portal {
        width: 190px;
        height: 190px
    }

    .fc-1 {
        right: 0
    }

    .fc-2 {
        left: 0;
        top: 150px
    }

    .fc-3 {
        right: 0
    }

    .proof-grid {
        padding: 20px 0
    }

    .benefits-grid,
    .modules-grid,
    .credential-grid {
        grid-template-columns: 1fr
    }

    .split-grid {
        gap: 40px
    }

    .timeline:before {
        left: 25px
    }

    .timeline-item {
        grid-template-columns: 52px 1fr;
        gap: 15px
    }

    .timeline-item:nth-child(n) .timeline-dot {
        grid-column: 1;
        grid-row: 1
    }

    .timeline-item:nth-child(n) .timeline-card {
        grid-column: 2;
        grid-row: 1;
        text-align: left
    }

    .metric-big strong {
        font-size: 58px
    }

    .method-card {
        grid-template-columns: 45px 1fr;
        padding: 23px
    }

    .calendar-header {
        display: block
    }

    .calendar-header .btn {
        margin-top: 15px
    }

    .calendar-row {
        grid-template-columns: 80px 1fr
    }

    .calendar-tag {
        grid-column: 2;
        width: max-content
    }

    .agenda-copy ul {
        display: grid
    }

    .credential-logo {
        width: 105px;
        height: 105px;
        padding: 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-brand {
        grid-column: auto
    }

    .footer-bottom {
        flex-direction: column
    }

    .floating-cta span {
        display: none
    }

    .modal-panel {
        padding: 30px 22px
    }

    .scroll-cue {
        display: none
    }

    .benefit-card {
        min-height: auto;
    }

    .benefit-image-wrap {
        height: 245px;
    }

    .benefit-card-content {
        padding: 36px 25px 28px;
    }

    .benefit-card .icon {
        left: 24px;
    }
}

/* ==========================================================
   AJUSTES VISUALES DEL MENÚ
   ========================================================== */

.brand-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Línea animada al pasar el cursor por las opciones del menú */
.desktop-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 28px 0 25px;
    opacity: .82;
    transition: color .25s ease, opacity .25s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold2), var(--gold));
    transform: translateX(-50%);
    transition: width .28s ease;
    box-shadow: 0 0 12px rgba(240, 207, 114, .35);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
    opacity: 1;
    color: var(--gold2);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
    width: 100%;
}

/* Pulso suave y continuo para el botón principal de agenda */
.nav-agenda-btn {
    position: relative;
    isolation: isolate;
    animation: agendaPulse 2.2s ease-in-out infinite;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
}

.nav-agenda-btn::before {
    content: "";
    position: absolute;
    inset: -3px;
    z-index: -1;
    border-radius: inherit;
    border: 2px solid rgba(240, 207, 114, .55);
    opacity: 0;
    animation: agendaPulseRing 2.2s ease-out infinite;
    pointer-events: none;
}

.nav-agenda-btn:hover {
    animation-play-state: paused;
    transform: translateY(-2px) scale(1.025);
    box-shadow: 0 15px 38px rgba(216, 167, 45, .4);
}

@keyframes agendaPulse {

    0%,
    100% {
        box-shadow: 0 12px 30px rgba(216, 167, 45, .23);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 14px 38px rgba(216, 167, 45, .44);
        transform: scale(1.035);
    }
}

@keyframes agendaPulseRing {
    0% {
        opacity: .65;
        transform: scale(1);
    }

    70%,
    100% {
        opacity: 0;
        transform: scale(1.16);
    }
}

/* Línea del menú móvil */
.mobile-nav a {
    position: relative;
}

.mobile-nav a::after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 5px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--gold2);
    transition: width .25s ease;
}

.mobile-nav a:hover::after,
.mobile-nav a:focus-visible::after {
    width: calc(100% - 20px);
}

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

    .nav-agenda-btn,
    .nav-agenda-btn::before {
        animation: none;
    }

    .desktop-nav a::after,
    .mobile-nav a::after {
        transition: none;
    }
}

@media(max-width:1180px) and (min-width:981px) {
    .nav-logo {
        width: 210px;
    }

    .desktop-nav {
        gap: 18px;
    }

    .nav-wrap {
        gap: 20px;
    }
}

@media(max-width:680px) {
    .nav-logo {
        width: 205px;
    }
}


/* ==========================================================
   MODAL CON CALENDARIO GHL INTEGRADO
   ========================================================== */

.modal {
    padding: 18px;
    overflow-y: auto;
}

.modal.open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal-panel-calendar {
    width: min(920px, 100%);
    margin: 3vh auto;
    padding: 34px 34px 26px;
    max-height: 94vh;
    overflow-y: auto;
}

.modal-calendar-header {
    padding-right: 48px;
    margin-bottom: 20px;
}

.modal-calendar-header h2 {
    font-size: clamp(34px, 5vw, 58px);
    margin-bottom: 12px;
}

.modal-calendar-header p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
}

.calendar-embed-wrap {
    position: relative;
    width: 100%;
    min-height: 720px;
    overflow: hidden;
    border: 1px solid #dfe7f0;
    border-radius: 20px;
    background: #f7f9fc;
}

.calendar-embed {
    display: block;
    width: 100%;
    min-height: 720px;
    border: 0;
    overflow: hidden;
    background: #fff;
}

.modal-panel-calendar .modal-close {
    position: sticky;
    float: right;
    top: 0;
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f2f5f8;
    color: #6b7788;
    transition: .2s ease;
}

.modal-panel-calendar .modal-close:hover {
    background: var(--navy);
    color: #fff;
    transform: rotate(90deg);
}

@media(max-width:680px) {
    .modal {
        padding: 8px;
    }

    .modal-panel-calendar {
        margin: 1vh auto;
        padding: 24px 14px 16px;
        border-radius: 22px;
        max-height: 98vh;
    }

    .modal-calendar-header {
        padding: 0 44px 0 4px;
    }

    .modal-calendar-header h2 {
        font-size: 35px;
    }

    .calendar-embed-wrap,
    .calendar-embed {
        min-height: 760px;
        border-radius: 14px;
    }
}

/* ==========================================================
   CARRUSEL DE DOCENTES
   ========================================================== */

.teachers-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%,
            rgba(240, 207, 114, .17),
            transparent 30%),
        linear-gradient(180deg, #ffffff, #f6f8fc);
}

.teachers-section::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -230px;
    bottom: -200px;
    border: 1px solid rgba(6, 27, 59, .08);
    border-radius: 50%;
}

.teachers-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

.teachers-header>div:first-child {
    max-width: 760px;
}

.teachers-header h2 {
    margin-bottom: 18px;
}

.teachers-header p {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.teachers-controls {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.teacher-arrow {
    width: 52px;
    height: 52px;
    border: 1px solid #d8e0ea;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 20px;
    cursor: pointer;
    transition:
        transform .25s ease,
        color .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.teacher-arrow:hover {
    transform: translateY(-3px);
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
}

.teachers-carousel {
    position: relative;
    z-index: 2;
}

.teachers-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 60px) / 4);
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    padding: 4px 4px 25px;
}

.teachers-track::-webkit-scrollbar {
    display: none;
}

.teacher-card {
    scroll-snap-align: start;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e7ef;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(5, 25, 55, .08);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.teacher-card:hover {
    transform: translateY(-9px);
    border-color: rgba(216, 167, 45, .45);
    box-shadow: 0 26px 65px rgba(5, 25, 55, .15);
}

.teacher-image-wrap {
    position: relative;
    height: 330px;
    overflow: hidden;
    background: #e9eef5;
}

.teacher-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .55s ease;
}

.teacher-card:hover .teacher-image {
    transform: scale(1.055);
}

.teacher-image-wrap::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(to bottom,
            transparent,
            rgba(3, 17, 39, .85));
}

.teacher-number {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    min-width: 44px;
    height: 30px;
    padding: 0 10px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(6, 27, 59, .55);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.teacher-overlay {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 18px;
}

.teacher-overlay span {
    color: var(--gold2);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 10px;
    font-weight: 800;
}

.teacher-content {
    padding: 25px;
}

.teacher-specialty {
    display: block;
    min-height: 36px;
    margin-bottom: 12px;
    color: #a27610;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 9px;
    font-weight: 800;
}

.teacher-content h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 21px;
    line-height: 1.25;
}

.teacher-content p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.teachers-progress {
    position: relative;
    z-index: 2;
    width: 180px;
    height: 3px;
    margin: 18px auto 0;
    overflow: hidden;
    border-radius: 999px;
    background: #dfe5ed;
}

.teachers-progress span {
    display: block;
    width: 12%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,
            var(--gold),
            var(--gold2));
    transition: width .2s ease;
}

@media(max-width:1100px) {
    .teachers-track {
        grid-auto-columns: calc((100% - 40px) / 3);
    }
}

@media(max-width:820px) {
    .teachers-header {
        align-items: flex-start;
    }

    .teachers-track {
        grid-auto-columns: calc((100% - 20px) / 2);
    }

    .teacher-image-wrap {
        height: 360px;
    }
}

@media(max-width:680px) {
    .teachers-header {
        display: block;
        margin-bottom: 34px;
    }

    .teachers-controls {
        margin-top: 24px;
    }

    .teacher-arrow {
        width: 46px;
        height: 46px;
    }

    .teachers-track {
        grid-auto-columns: 84%;
        gap: 14px;
        padding-left: 0;
        padding-right: 0;
    }

    .teacher-image-wrap {
        height: 380px;
    }

    .teachers-progress {
        width: 130px;
    }
}

/* ==========================================================
   TARJETAS Y MODAL DE LOS MÓDULOS
   ========================================================== */

.module-card {
    padding: 0;
}

.module-open {
    position: relative;
    width: 100%;
    min-height: 235px;
    padding: 32px 30px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.module-open:focus-visible {
    outline: 3px solid rgba(216, 167, 45, .35);
    outline-offset: -3px;
    border-radius: 20px;
}

.module-card .plus {
    position: absolute;
    top: 27px;
    right: 27px;
    float: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #8191a7;
    background: #f4f7fb;
    font-size: 18px;
    transition:
        transform .3s ease,
        color .3s ease,
        background .3s ease;
}

.module-card:hover .plus {
    transform: rotate(90deg);
    color: var(--navy);
    background: var(--gold2);
}

.module-card h3 {
    margin: 32px 0 18px;
}

.module-card-action {
    margin-top: auto;
    color: #a37812;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: 0;
    transform: translateY(7px);
    transition:
        opacity .3s ease,
        transform .3s ease;
}

.module-card:hover .module-card-action,
.module-open:focus-visible .module-card-action {
    opacity: 1;
    transform: none;
}

/* Modal */

.module-modal {
    position: fixed;
    inset: 0;
    z-index: 520;
    display: none;
    padding: 20px;
    overflow-y: auto;
}

.module-modal.open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 10, 23, .82);
    backdrop-filter: blur(10px);
}

.module-modal-panel {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 44px;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 35px 110px rgba(0, 0, 0, .45);
    animation: moduleModalIn .35s ease;
}

.module-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #f1f4f8;
    color: #78869a;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    transition:
        transform .25s ease,
        color .25s ease,
        background .25s ease;
}

.module-modal-close:hover {
    transform: rotate(90deg);
    color: #fff;
    background: var(--navy);
}

.module-modal-heading {
    padding-right: 55px;
    margin-bottom: 28px;
}

.module-modal-number {
    display: inline-block;
    margin-bottom: 13px;
    color: #a37812;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.module-modal-heading h2 {
    max-width: 750px;
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 48px);
}

.module-modal-heading p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
}

.module-video-container {
    margin-top: 25px;
}

.module-video-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 22px;
    background: var(--navy);
    box-shadow: 0 22px 55px rgba(5, 25, 55, .18);
}

.module-video-ratio iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.module-description-placeholder {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    align-items: start;
    margin-top: 25px;
    padding: 28px;
    border: 1px solid #dfe6ee;
    border-radius: 22px;
    background:
        linear-gradient(135deg,
            rgba(240, 207, 114, .12),
            rgba(244, 247, 251, .85));
}

.module-description-placeholder[hidden],
.module-video-container[hidden] {
    display: none;
}

.module-description-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg,
            var(--gold2),
            var(--gold));
    color: var(--navy);
    font-size: 23px;
}

.module-description-placeholder strong {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 17px;
}

.module-description-placeholder p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.module-agenda-button {
    margin-top: 28px;
}

@keyframes moduleModalIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media(max-width:680px) {
    .module-modal {
        padding: 8px;
        align-items: flex-start;
    }

    .module-modal-panel {
        max-height: calc(100vh - 16px);
        padding: 34px 20px 24px;
        border-radius: 23px;
    }

    .module-modal-heading {
        padding-right: 35px;
    }

    .module-modal-heading h2 {
        font-size: 30px;
    }

    .module-description-placeholder {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .module-open {
        min-height: 210px;
        padding: 27px 25px;
    }
}

/* ==========================================================
   TARJETAS DE MÓDULOS CON IMAGEN
   ========================================================== */

.module-card.module-card-image {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(5, 25, 55, .07);
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.module-card.module-card-image:hover {
    transform: translateY(-8px);
    border-color: rgba(216, 167, 45, .55);
    box-shadow: 0 25px 65px rgba(5, 25, 55, .16);
}

.module-card-image .module-open {
    width: 100%;
    min-height: 0;
    padding: 0;
    display: block;
    border: 0;
    background: transparent;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.module-image-wrap {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #dfe6ee;
}

.module-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s ease;
}

.module-card-image:hover .module-image {
    transform: scale(1.08);
}

.module-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(6, 27, 59, .06) 15%,
            rgba(6, 27, 59, .75) 100%);
    pointer-events: none;
}

.module-card-image .module-num {
    position: absolute;
    left: 18px;
    bottom: 17px;
    z-index: 3;

    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 999px;

    background: rgba(6, 27, 59, .52);
    backdrop-filter: blur(9px);

    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.module-card-image .plus {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;

    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;

    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(8px);

    color: var(--navy);
    font-size: 20px;
    line-height: 1;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.module-card-image:hover .plus {
    transform: rotate(90deg);
    background: var(--gold2);
    color: var(--navy);
}

.module-video-badge {
    position: absolute;
    right: 16px;
    bottom: 17px;
    z-index: 3;

    padding: 6px 10px;
    border-radius: 999px;

    background: var(--gold2);
    color: var(--navy);

    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.module-card-content {
    min-height: 140px;
    padding: 23px 22px 21px;
    display: flex;
    flex-direction: column;
}

.module-card-image h3 {
    margin: 0 0 22px;
    color: var(--navy);
    font-size: 16px;
    line-height: 1.45;
}

.module-card-image .module-card-action {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #a37812;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;

    opacity: 1;
    transform: none;
}

.module-card-image .module-card-action b {
    font-size: 16px;
    transition: transform .25s ease;
}

.module-card-image:hover .module-card-action b {
    transform: translateX(5px);
}

.module-card-image .module-open:focus-visible {
    outline: 3px solid rgba(216, 167, 45, .45);
    outline-offset: -3px;
    border-radius: 23px;
}

@media(max-width:1100px) {
    .module-image-wrap {
        height: 195px;
    }
}

@media(max-width:680px) {
    .module-image-wrap {
        height: 220px;
    }

    .module-card-content {
        min-height: 125px;
        padding: 22px;
    }

    .module-card-image h3 {
        font-size: 17px;
    }
}

/* ==========================================================
   HERO CON VIDEO HORIZONTAL — VERSIÓN LIMPIA
   ========================================================== */

.hero-video-visual {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    isolation: isolate;
    transform: translateX(-10px);
}

/* Resplandor suave detrás del video */

.hero-video-visual::before {
    content: "";
    position: absolute;
    z-index: -2;
    width: 115%;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(67, 184, 255, .15) 0%,
            rgba(67, 184, 255, .06) 35%,
            transparent 68%);
    filter: blur(10px);
}

/* Contenedor principal */

.hero-video-card {
    position: relative;
    z-index: 2;
    width: min(700px, 100%);
    padding: 10px;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 30px;

    background:
        linear-gradient(145deg,
            rgba(37, 66, 116, .94),
            rgba(9, 33, 72, .96));

    box-shadow:
        0 35px 90px rgba(0, 0, 0, .34),
        0 0 55px rgba(67, 184, 255, .1);

    backdrop-filter: blur(20px);
}

.hero-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9.4;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 21px;
    background: #04152f;
}

/* Borde luminoso, sin figuras giratorias */

.hero-video-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 2px;
    border-radius: inherit;

    background:
        linear-gradient(125deg,
            rgba(240, 207, 114, .85),
            rgba(67, 184, 255, .75),
            rgba(240, 207, 114, .28));

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

/* Encabezado */

.hero-video-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 5px 7px 11px;
}

.hero-video-heading>div {
    min-width: 0;
}

.hero-video-heading span {
    display: block;
    margin-bottom: 3px;
    color: #9fb1c9;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.hero-video-heading strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
}

.hero-video-live {
    flex-shrink: 0;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    margin: 0 !important;
    padding: 7px 10px;

    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;

    color: #d9e5f3 !important;
    background: rgba(255, 255, 255, .06);

    font-size: 8px !important;
    letter-spacing: .08em !important;
}

.hero-video-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold2);
    box-shadow: 0 0 0 5px rgba(240, 207, 114, .12);
    animation: heroLivePulse 1.8s ease-in-out infinite;
}

/* Video horizontal */

.hero-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 21px;
    background: #04152f;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .34),
        inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(to top,
            rgba(3, 15, 35, .28),
            transparent 32%);
}

/* Sonido */

.hero-video-sound {
    position: absolute;
    right: 13px;
    bottom: 13px;
    z-index: 3;

    width: 42px;
    height: 42px;
    padding: 0;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;

    background: rgba(6, 27, 59, .78);
    backdrop-filter: blur(10px);

    color: #fff;
    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease;
}

.hero-video-sound:hover {
    transform: scale(1.08);
    background: var(--gold);
}

/* Beneficios debajo del video */

.hero-video-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 12px;
}

.hero-video-feature {
    min-width: 0;
    padding: 12px;

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

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

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

.hero-video-feature:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 207, 114, .28);
    background: rgba(255, 255, 255, .075);
}

.hero-feature-icon {
    display: block;
    margin-bottom: 7px;

    color: var(--gold2);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.hero-video-feature strong {
    display: block;
    margin-bottom: 3px;

    color: #fff;
    font-size: 10px;
    line-height: 1.35;
}

.hero-video-feature small {
    display: block;
    color: #91a5bf;
    font-size: 8px;
    line-height: 1.45;
}

/* Acreditaciones inferiores */

.hero-video-accreditations {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
    padding: 12px 4px 2px;
}

.hero-video-accreditations span {
    padding: 5px 9px;

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

    color: #b8c9dd;
    background: rgba(255, 255, 255, .04);

    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

@keyframes heroLivePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .55;
        transform: scale(.82);
    }
}

@media(max-width:1180px) {
    .hero-grid {
        grid-template-columns: 1.25fr 0.75fr;
        gap: 35px;
    }

    .hero-video-card {
        width: min(520px, 100%);
    }
}

@media(max-width:980px) {
    .hero-grid {
        grid-template-columns: 1.25fr 0.75fr;
        gap: 35px;
    }

    .hero-video-visual {
        width: 100%;
        min-height: auto;
        margin-top: 5px;
    }

    .hero-video-card {
        width: min(680px, 100%);
        margin: 0 auto;
    }
}

@media(max-width:680px) {

    .hero-video-visual {
        padding: 8px 0 30px;
    }

    .hero-video-card {
        width: 100%;
        padding: 9px;
        border-radius: 23px;
    }

    .hero-video-heading {
        padding: 7px 4px 12px;
    }

    .hero-video-heading strong {
        font-size: 14px;
    }

    .hero-video-heading>div>span {
        font-size: 8px;
    }

    .hero-video-live {
        display: none !important;
    }

    /*
     El video se conserva horizontal.
     No debes usar 9 / 12 porque el archivo original es horizontal.
    */
    .hero-video-frame {
        aspect-ratio: 16 / 9;
        border-radius: 16px;
    }

    .hero-video-sound {
        width: 38px;
        height: 38px;
        right: 9px;
        bottom: 9px;
    }

    .hero-video-features {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-top: 9px;
    }

    .hero-video-feature {
        display: grid;
        grid-template-columns: 28px 1fr;
        align-items: center;
        gap: 8px;
        padding: 9px 11px;
    }

    .hero-feature-icon {
        margin: 0;
    }

    .hero-video-feature strong {
        font-size: 10px;
    }

    .hero-video-feature small {
        font-size: 8px;
    }

    .hero-video-accreditations {
        justify-content: flex-start;
        padding-top: 9px;
    }

    .hero-video-accreditations span {
        font-size: 7px;
        padding: 4px 7px;
    }
}

/* ==========================================================
   AJUSTE HERO ESCRITORIO — VIDEO PROTAGONISTA
   ========================================================== */

@media(min-width:1181px) {
    .hero-grid {
        grid-template-columns: minmax(0, .88fr) minmax(200px, 1.12fr);
        gap: 35px;
    }

    .hero-copy h1 {
        font-size: clamp(60px, 4.5vw, 82px);
        max-width: 720px;
    }

    .hero-copy h1 em {
        font-size: .92em;
    }

    .hero-lead {
        max-width: 680px;
    }

    .hero-video-visual {
        justify-content: flex-start;
        transform: translateX(-10px);
    }

    .hero-video-card {
        width: min(700px, 100%);
        padding: 10px;

        box-shadow:
            0 40px 110px rgba(0, 0, 0, .4),
            0 0 75px rgba(67, 184, 255, .13);
    }

    .hero-video-frame {
        aspect-ratio: 16 / 9.4;
    }

    .hero-video-heading {
        padding: 5px 7px 11px;
    }

    .hero-video-heading strong {
        font-size: 15px;
    }

    .hero-video-accreditations {
        padding: 9px 4px 0;
    }

    .hero-video-accreditations span {
        padding: 4px 8px;
        font-size: 7px;
        opacity: .78;
    }
}

@media(min-width:981px) and (max-width:1180px) {
    .hero-grid {
        grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr);
        gap: 32px;
    }

    .hero-video-card {
        width: min(610px, 100%);
    }

    .hero-copy h1 {
        font-size: clamp(52px, 5vw, 68px);
    }
}


/* FOOTER */

.site-footer {
    background: #0B1B3A;
    color: #CBD5E1;
    padding: 70px 0 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1.1fr 1.1fr;
    gap: 38px;
    align-items: start;
}

.footer-logo {
    height: auto;
    width: 150px;
    margin-bottom: 14px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .18));
}

.footer-claim {
    margin: 0 0 50px;
    max-width: 360px;
    color: rgba(255, 255, 255, .85);
    font-weight: 400;
    line-height: 1.55;
    font-size: 14px;
}

.footer-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 800;
    color: rgba(255, 255, 255, .92);
}

.footer-link {
    display: block;
    font-size: 13px;
    padding: 7px 0;
    color: rgba(255, 255, 255, .82);
    font-weight: 400;
    transition: color .2s ease, transform .2s ease;
}

.footer-link:hover {
    color: var(--secondary);

}

.footer-text {
    color: rgba(255, 255, 255, .78);
    line-height: 1.6;
    margin: 0 0 10px;
    font-size: 13px;
}

.footer-block {
    margin: 12px 0 0;
}

.footer-label {
    display: block;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
    font-weight: 800;
    margin-bottom: 6px;
}

/* Social pills (simple, sin SVG por ahora) */
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.social-btn {
    min-width: 35px;
    height: 35px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .92);
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.social-btn i {
    font-size: 14px;
}

.social-btn:hover .fa-instagram {
    color: #E4405F;
}

.social-btn:hover .fa-linkedin-in {
    color: #0A66C2;
}

.social-btn:hover .fa-facebook-f {
    color: #1877F2;
}

.social-btn:hover .fa-youtube {
    color: #FF0000;
}

.social-btn:hover .fa-tiktok {
    color: #69C9D0;
}

/* Divider + bottom row */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, .12);
    margin: 34px 0 18px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.footer-legal-link {
    color: rgba(255, 255, 255, .78);
    font-weight: 700;
    font-size: 14px;
    transition: color .2s ease;
}

.footer-legal-link:hover {
    color: #1E73BE;
    /* tu secondary */
}

.footer-copy {
    text-align: center;
    color: rgba(255, 255, 255, .72);
    font-weight: 600;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .site-footer {
        padding: 60px 0 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-legal {
        justify-content: flex-start;
    }

    .footer-copy {
        text-align: left;
    }
}

/* ==========================================================
   FORMULARIO GHL EN EL HERO
   ========================================================== */

.hero-form-visual {
    position: relative;
    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    isolation: isolate;
}

/* Resplandor detrás de la tarjeta */

.hero-form-visual::before {
    content: "";
    position: absolute;
    z-index: -2;

    width: 115%;
    aspect-ratio: 1;
    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(67, 184, 255, .15) 0%,
            rgba(67, 184, 255, .06) 36%,
            transparent 68%);

    filter: blur(12px);
}

/* Tarjeta principal */

.hero-form-card {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 500px;
    margin-left: auto;
    padding: 14px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 30px;

    background:
        linear-gradient(145deg,
            rgba(37, 66, 116, .96),
            rgba(9, 33, 72, .98));

    box-shadow:
        0 40px 110px rgba(0, 0, 0, .4),
        0 0 75px rgba(67, 184, 255, .12);

    backdrop-filter: blur(20px);
}

/* Borde luminoso */

.hero-form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    padding: 2px;
    border-radius: inherit;

    background:
        linear-gradient(125deg,
            rgba(240, 207, 114, .9),
            rgba(67, 184, 255, .75),
            rgba(240, 207, 114, .3));

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}

/* Banner superior */

.scholarship-banner {
    position: relative;

    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 15px;
    align-items: center;

    margin-bottom: 14px;
    padding: 14px 16px;

    overflow: hidden;

    border: 1px solid rgba(240, 207, 114, .42);
    border-radius: 20px;

    background:
        linear-gradient(120deg,
            rgba(240, 207, 114, .2),
            rgba(216, 167, 45, .08));

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .09);
}

.scholarship-banner::after {
    content: "";

    position: absolute;
    top: -70px;
    right: -55px;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    background: rgba(240, 207, 114, .13);
    filter: blur(5px);
}

.scholarship-banner-icon {
    position: relative;
    z-index: 2;

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border-radius: 15px;

    background:
        linear-gradient(135deg,
            var(--gold2),
            var(--gold));

    color: var(--navy);

    box-shadow:
        0 12px 30px rgba(216, 167, 45, .25);
}

.scholarship-banner-copy {
    position: relative;
    z-index: 2;
}

.scholarship-banner-copy span {
    display: block;

    margin-bottom: 2px;

    color: var(--gold2);

    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.scholarship-banner-copy strong {
    display: block;

    color: #fff;

    font-size: 20px;
    line-height: 1.35;
}

.scholarship-banner-copy small {
    display: block;

    margin-top: 4px;

    color: #b5c7dc;

    font-size: 10px;
    line-height: 1.45;
}

/* Encabezado interno */

.hero-form-heading {
    padding: 10px 10px 17px;
}

.hero-form-heading>span {
    display: block;

    margin-bottom: 5px;

    color: #9fb1c9;

    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.hero-form-heading h2 {
    margin-bottom: 10px;

    color: #fff;

    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.hero-form-heading p {
    margin-bottom: 0;

    color: #b8c9dc;

    font-size: 13px;
    line-height: 1.6;
}

/* Contenedor del iframe */

.hero-form-embed {
    width: 100%;
    height: auto;
    min-height: auto;
    overflow: hidden;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 21px;

    background: #fff;

    box-shadow:
        0 22px 55px rgba(0, 0, 0, .28);
}

.hero-form-embed iframe {
    display: block;

    width: 100%;
    height: 630px;
    border: 0;
    display: block;

    border: 0;
    background: #fff;
}

/* Mensajes inferiores */

.hero-form-trust {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;

    padding: 13px 8px 2px;
}

.hero-form-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #aebfd3;

    font-size: 9px;
    font-weight: 700;
}

.hero-form-trust i {
    color: var(--gold2);
}

@media(min-width:981px) {
    .hero {
        min-height: 900px;
        align-items: flex-start;
    }

    .hero-grid {
        align-items: center;
    }
}

@media(max-width:1180px) {
    .hero-form-card {
        width: min(570px, 100%);
    }
}

@media(max-width:980px) {
    .hero-form-visual {
        width: 100%;
        min-height: auto;
        margin-top: 20px;
    }

    .hero-form-card {
        width: min(680px, 100%);
        margin: 0 auto;
    }
}

@media(max-width:680px) {
    .hero-form-visual {
        padding: 8px 0 35px;
    }

    .hero-form-card {
        width: 100%;
        padding: 9px;

        border-radius: 23px;
    }

    .scholarship-banner {
        grid-template-columns: 43px 1fr;

        gap: 11px;

        padding: 14px;
        border-radius: 16px;
    }

    .scholarship-banner-icon {
        width: 43px;
        height: 43px;
        border-radius: 13px;
    }

    .scholarship-banner-icon svg {
        width: 19px;
        height: 19px;
    }

    .scholarship-banner-copy strong {
        font-size: 14px;
    }

    .scholarship-banner-copy small {
        font-size: 9px;
    }

    .hero-form-heading {
        padding: 10px 6px 15px;
    }

    .hero-form-heading h2 {
        font-size: 25px;
    }

    .hero-form-heading p {
        font-size: 12px;
    }

    .hero-form-embed {
        min-height: 680px;
        border-radius: 16px;
    }

    .hero-form-embed iframe {
        min-height: 680px;
    }

    .hero-form-trust {
        gap: 10px;
        justify-content: flex-start;
    }
}

/* ==========================================================
   CORRECCIÓN DEFINITIVA DEL HERO EN TABLET Y MÓVIL
   ========================================================== */

@media(max-width:980px) {
    .hero {
        display: block;
        min-height: auto;
        padding-top: 105px;
        padding-bottom: 70px;
    }

    .hero .hero-grid {
        width: min(100% - 48px, 680px);
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
    }

    .hero-form-visual {
        width: 100%;
        min-width: 0;
        min-height: auto;
        margin: 0;
        padding: 0;
        display: block;
        transform: none;
    }

    .hero-form-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}

/* ==========================================================
   SALIDAS PROFESIONALES
   ========================================================== */

.career-paths {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%,
            rgba(216, 167, 45, .08),
            transparent 32%),
        #fff;
}

.career-paths-heading {
    max-width: 790px;
    margin-bottom: 52px;
}

.career-paths-heading h2 {
    margin-bottom: 18px;
    color: var(--navy);
}

.career-paths-heading p {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.career-paths-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Tarjeta */

.career-path-card {
    position: relative;
    min-width: 0;
    overflow: hidden;

    border: 1px solid #dfe6ef;
    border-radius: 23px;

    background: #fff;

    box-shadow:
        0 14px 42px rgba(5, 25, 55, .07);

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

.career-path-card:hover {
    transform: translateY(-8px);

    border-color: rgba(216, 167, 45, .5);

    box-shadow:
        0 28px 65px rgba(5, 25, 55, .14);
}

/* Fotografía */

.career-path-image {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: #e8edf3;
}

.career-path-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(to bottom,
            transparent 50%,
            rgba(6, 27, 59, .22) 100%);

    pointer-events: none;
}

.career-path-image img {
    display: block;
    width: 100%;
    height: 100%;

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

    transition: transform .55s ease;
}

.career-path-card:hover .career-path-image img {
    transform: scale(1.065);
}

/* Contenido */

.career-path-content {
    position: relative;
    min-height: 215px;

    display: flex;
    flex-direction: column;

    padding: 29px 28px 30px;
}

.career-path-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    min-width: 38px;
    height: 26px;
    margin-bottom: 14px;
    padding: 0 10px;

    border-radius: 999px;

    color: #9d7411;
    background: rgba(216, 167, 45, .1);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
}

.career-path-card h3 {
    margin-bottom: 12px;

    color: var(--navy);

    font-size: 20px;
    line-height: 1.35;
    letter-spacing: -.015em;
}

.career-path-card p {
    margin: 0;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.7;
}

/* Tarjeta destacada */

.career-path-card-featured {
    border-color: rgba(216, 167, 45, .85);

    box-shadow:
        0 20px 50px rgba(216, 167, 45, .13);
}

.career-path-card-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;

    border: 1px solid rgba(240, 207, 114, .48);
    border-radius: inherit;

    pointer-events: none;
}

.career-path-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;

    padding: 7px 11px;

    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;

    color: var(--navy);
    background: var(--gold2);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .14);

    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

/* Cierre de sección */

.career-paths-footer {
    max-width: 820px;
    margin: 50px auto 0;

    text-align: center;
}

.career-paths-footer p {
    margin-bottom: 23px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.75;
}

@media(max-width:980px) {
    .career-paths-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .career-path-image {
        height: 220px;
    }
}

/*==================================================
TESTIMONIOS
==================================================*/

.video-testimonials {
    position: relative;
    overflow: hidden;
    padding: 110px 0;

    background:
        radial-gradient(circle at 15% 20%, rgba(76, 184, 255, .10), transparent 35%),
        radial-gradient(circle at 85% 80%, rgba(236, 199, 90, .10), transparent 35%),
        linear-gradient(145deg, #07152E, #0B2346 55%, #081A35);

    color: #fff;
}

.video-testimonials::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);

    background-size: 48px 48px;

    pointer-events: none;
}

.video-testimonials .container {
    position: relative;
    z-index: 2;
}

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

.video-testimonials-header {

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;

    margin-bottom: 55px;

}

.video-testimonials-heading {

    max-width: 720px;

}

.video-testimonials-heading h2 {

    color: #fff;
    margin-bottom: 18px;

}

.video-testimonials-heading em {

    color: var(--gold2);

    font-style: italic;

}

.video-testimonials-heading p {

    color: #B6C4D8;

    font-size: 18px;

    line-height: 1.8;

}

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

.video-testimonials-controls {

    display: flex;
    gap: 12px;

}

.video-testimonial-arrow {

    width: 56px;
    height: 56px;

    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);

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

    color: #fff;

    cursor: pointer;

    transition: .35s;

}

.video-testimonial-arrow:hover {

    background: var(--gold2);

    color: #07152E;

    transform: translateY(-3px);

}

/*=============================
CARRUSEL
=============================*/

.video-testimonials-carousel {

    overflow: hidden;

}

.video-testimonials-track {
    display: grid;
    grid-auto-flow: column;

    /* Tres tarjetas visibles en escritorio */
    grid-auto-columns: calc((100% - 40px) / 3);
    gap: 20px;

    /* Indispensable para que funcione el carrusel */
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;

    padding: 4px 2px 22px;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.video-testimonials-track::-webkit-scrollbar {
    display: none;
}

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

.video-testimonial-card {
    min-width: 0;
    width: 100%;

    scroll-snap-align: start;
    scroll-snap-stop: always;

    border-radius: 26px;
    overflow: hidden;

    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(18px);

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

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

    box-shadow: 0 25px 70px rgba(0, 0, 0, .25);
}

.video-testimonial-card:hover {

    transform: translateY(-8px);

    border-color: rgba(235, 196, 84, .45);

}

/*=============================
VIDEO
=============================*/

.video-testimonial-media {

    position: relative;

    width: 100%;

    aspect-ratio: 16/9;

    overflow: hidden;

    background: #000;

}

.video-testimonial-video {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center;

}

/*=============================
BADGES
=============================*/

.video-testimonial-label {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 6;

    padding: 7px 12px;

    border-radius: 999px;

    color: var(--navy);
    background: var(--gold2);

    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;

    pointer-events: none;
}

.video-testimonial-number {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 6;

    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;

    color: #fff;
    background: rgba(6, 27, 59, .72);

    backdrop-filter: blur(10px);

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

    pointer-events: none;
}

.video-testimonial-label,
.video-testimonial-number {
    z-index: 6;
}

.video-testimonial-card.is-playing .video-testimonial-media {
    background: #000;
}

.video-testimonial-card.is-playing .video-testimonial-video {
    object-fit: contain;
}

.video-testimonial-video {
    object-fit: cover;
}

/*=============================
CONTENIDO
=============================*/

.video-testimonial-content {

    padding: 28px;

    display: flex;
    flex-direction: column;

    min-height: 200px;

}

.video-testimonial-content p {

    color: #C7D3E3;

    line-height: 1.8;

    font-size: 16px;

    margin-bottom: 30px;

}

.video-testimonial-person {

    margin-top: auto;

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

    padding-top: 18px;

}

.video-testimonial-person strong {

    display: block;

    color: #fff;

    font-size: 18px;

    margin-bottom: 5px;

}

.video-testimonial-person span {

    color: var(--gold2);

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: .08em;

}

/*=============================
PROGRESO
=============================*/

.video-testimonials-bottom {

    margin-top: 25px;

    display: flex;
    align-items: center;
    gap: 20px;

}

.video-testimonials-progress {

    flex: 1;

    height: 4px;

    border-radius: 20px;

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

    overflow: hidden;

}

.video-testimonials-progress span {

    display: block;

    width: 0;

    height: 100%;

    background: linear-gradient(90deg, var(--gold), var(--gold2), var(--sky));

}

.video-testimonials-counter {

    min-width: 75px;

    color: #93A6C2;

}

.video-testimonials-counter b {

    color: #fff;

    font-size: 18px;

}

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

@media(max-width:991px) {

    .video-testimonials {

        padding: 90px 0;

    }

    .video-testimonials-header {

        flex-direction: column;
        align-items: flex-start;

        gap: 25px;

    }

    .video-testimonial-card {

        flex: 0 0 82%;

    }

    .video-testimonial-content {

        min-height: auto;

    }

    .video-testimonial-play {
        bottom: -18px;
        right: 22px;
        box-shadow:
            0 20px 40px rgba(0, 0, 0, .35);
    }

}

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

@media(max-width:768px) {

    .video-testimonials {

        padding: 75px 0;

    }

    .video-testimonials-heading h2 {

        font-size: 38px;

    }

    .video-testimonials-heading p {

        font-size: 16px;

    }

    .video-testimonials-track {

        gap: 16px;

    }

    .video-testimonial-card {

        flex: 0 0 94%;

        border-radius: 22px;

    }

    .video-testimonial-media {

        aspect-ratio: 16/9;

    }

    .video-testimonial-content {

        padding: 22px;

    }

    .video-testimonial-content p {

        font-size: 15px;

        line-height: 1.7;

        margin-bottom: 22px;

    }

    .video-testimonial-person strong {

        font-size: 17px;

    }

    .video-testimonial-person span {

        font-size: 12px;

    }

    .video-testimonial-arrow {

        width: 48px;
        height: 48px;

    }

    .video-testimonial-label {
        top: 10px;
        left: 10px;

        padding: 5px 9px;

        font-size: 7px;
    }

    .video-testimonial-number {
        top: 10px;
        right: 10px;

        width: 34px;
        height: 34px;

        font-size: 10px;
    }

    .video-testimonial-play {
        padding: 7px;

        border-radius: 50%;
    }

    .video-testimonial-play-icon {
        width: 45px;
        height: 45px;
    }

    .video-testimonial-play-text {
        display: none;
    }

}

/* ==========================================================
   PORTADA PERSONALIZADA DEL TESTIMONIO
   ========================================================== */

.video-testimonial-cover {
    position: absolute;
    inset: 0;
    z-index: 4;

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    opacity: 1;
    visibility: visible;

    transition:
        opacity .4s ease,
        visibility .4s ease;
}

.video-testimonial-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-testimonial-cover-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

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

    transform: scale(1.01);

    transition:
        transform .7s ease,
        filter .5s ease;
}

.video-testimonial-card:hover .video-testimonial-cover-image {
    transform: scale(1.055);
}

/* Degradado sobre la fotografía */

.video-testimonial-cover-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(180deg,
            rgba(3, 13, 31, .13) 0%,
            rgba(3, 13, 31, .08) 45%,
            rgba(3, 13, 31, .42) 100%);

    pointer-events: none;
}


/* ==========================================================
   BOTÓN PERSONALIZADO DE REPRODUCCIÓN
   ========================================================== */

.video-testimonial-play {
    position: absolute;
    left: auto;
    top: auto;
    right: -50px;
    bottom: -18px;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 6px 12px 6px 6px;

    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;

    color: #fff;
    background: rgba(6, 27, 59, .78);

    backdrop-filter: blur(12px);

    box-shadow:
        0 10px 26px rgba(0, 0, 0, .28);

    cursor: pointer;

    transform: translate(-50%, -50%);

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

.video-testimonial-play:hover {
    color: var(--navy);
    background: var(--gold2);
    border-color: var(--gold2);

    transform:
        translate(-50%, -50%) scale(1.04);

    box-shadow:
        0 14px 34px rgba(0, 0, 0, .34);
}

.video-testimonial-play-icon {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    color: var(--navy);
    background: var(--gold2);

    box-shadow:
        0 6px 16px rgba(216, 167, 45, .22);

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

.video-testimonial-play:hover .video-testimonial-play-icon {
    color: #fff;
    background: var(--navy);

    transform: scale(1.05);
}

.video-testimonial-play-icon svg {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

.video-testimonial-play-text {
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .065em;
    white-space: nowrap;
}

/* Tablet: dos testimonios */
@media(max-width:980px) {
    .video-testimonials-track {
        grid-auto-columns: calc((100% - 18px) / 2);
        gap: 18px;
    }
}

/* Móvil: una tarjeta y parte de la siguiente */
@media(max-width:680px) {
    .video-testimonials-track {
        grid-auto-columns: 92%;
        gap: 14px;
        padding-bottom: 18px;
    }

    .video-testimonial-play {
        padding: 5px;
        border-radius: 50%;
    }

    .video-testimonial-play-icon {
        width: 38px;
        height: 38px;
    }

    .video-testimonial-play-text {
        display: none;
    }
}

/* ==========================================================
   PREGUNTAS FRECUENTES
   ========================================================== */

.faq-section {
    position: relative;
    overflow: visible;

    background:
        radial-gradient(circle at 10% 10%,
            rgba(240, 207, 114, .13),
            transparent 27%),
        radial-gradient(circle at 92% 85%,
            rgba(67, 184, 255, .08),
            transparent 28%),
        linear-gradient(180deg,
            #ffffff,
            #f5f7fb);
}

.faq-section::before {
    content: "";
    position: absolute;
    top: -210px;
    right: -210px;

    width: 450px;
    height: 450px;

    border: 1px solid rgba(6, 27, 59, .06);
    border-radius: 50%;

    pointer-events: none;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

/* Encabezado */

.faq-heading {
    max-width: 790px;
    margin: 0 auto 55px;

    text-align: center;
}

.faq-heading h2 {
    margin-bottom: 18px;
    color: var(--navy);
}

.faq-heading p {
    max-width: 670px;
    margin: 0 auto;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.75;
}

/* Distribución */

.faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 55px;
    align-items: start;

    /* Importante para que sticky funcione correctamente */
    overflow: visible;
}

.faq-list {
    min-width: 0;

    border-top: 1px solid #dfe5ed;
}

/* Cada pregunta */

.faq-item {
    border-bottom: 1px solid #dfe5ed;
}

.faq-question {
    width: 100%;
    min-height: 94px;
    padding: 25px 6px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 25px;
    align-items: center;

    border: 0;
    background: transparent;

    color: var(--navy);
    text-align: left;

    cursor: pointer;
}

.faq-question>span:first-child {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.015em;
}

.faq-question:hover>span:first-child {
    color: #9d7411;
}

/* Icono + / − */

.faq-icon {
    position: relative;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid #dbe3ed;
    border-radius: 50%;

    color: var(--navy);
    background: #fff;

    box-shadow:
        0 8px 22px rgba(5, 25, 55, .07);

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

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;

    width: 14px;
    height: 2px;

    border-radius: 999px;
    background: currentColor;

    transition:
        transform .3s ease,
        opacity .3s ease;
}

.faq-icon::after {
    transform: rotate(90deg);
}

.faq-item.is-open .faq-icon {
    color: var(--navy);
    background: var(--gold2);
    border-color: var(--gold2);

    transform: rotate(180deg);
}

.faq-item.is-open .faq-icon::after {
    opacity: 0;
    transform: rotate(0);
}

/* Respuesta animada */

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;

    opacity: 0;

    transition:
        grid-template-rows .38s ease,
        opacity .3s ease;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer-inner p {
    max-width: 810px;
    margin: 0;
    padding: 0 70px 28px 6px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

/* Tarjeta lateral */

.faq-help-card {
    position: sticky;
    top: 110px;
    align-self: start;

    width: 100%;
    height: max-content;

    padding: 34px;
    overflow: hidden;

    border: 1px solid rgba(6, 27, 59, .08);
    border-radius: 28px;

    color: #fff;

    background:
        radial-gradient(circle at 85% 10%,
            rgba(67, 184, 255, .18),
            transparent 28%),
        linear-gradient(145deg,
            var(--navy),
            var(--navy2));

    box-shadow:
        0 28px 70px rgba(5, 25, 55, .18);
}

.faq-help-card::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -95px;

    width: 210px;
    height: 210px;

    border: 1px solid rgba(240, 207, 114, .16);
    border-radius: 50%;

    pointer-events: none;
}

.faq-help-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

    border-radius: 18px;

    color: var(--navy);
    background:
        linear-gradient(135deg,
            var(--gold2),
            var(--gold));

    font-size: 23px;

    box-shadow:
        0 13px 32px rgba(216, 167, 45, .24);
}

.faq-help-kicker {
    display: block;
    margin-bottom: 8px;

    color: var(--gold2);

    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .13em;
}

.faq-help-card h3 {
    margin-bottom: 14px;

    color: #fff;

    font-size: 28px;
    line-height: 1.22;
    letter-spacing: -.025em;
}

.faq-help-card p {
    margin-bottom: 25px;

    color: #b8c8dc;

    font-size: 14px;
    line-height: 1.75;
}

.faq-help-card .btn {
    position: relative;
    z-index: 2;
}

.faq-help-card small {
    position: relative;
    z-index: 2;

    display: block;
    margin-top: 15px;

    color: #89a0bc;
    text-align: center;

    font-size: 10px;
}

@media(max-width:980px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq-help-card {
        position: relative;
        top: auto;

        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }
}

@media(max-width:680px) {
    .faq-section {
        padding-top: 78px;
        padding-bottom: 78px;
    }

    .faq-heading {
        margin-bottom: 38px;
        text-align: left;
    }

    .faq-heading .eyebrow {
        justify-content: flex-start;
    }

    .faq-heading h2 {
        font-size: 38px;
    }

    .faq-heading p {
        margin: 0;
        font-size: 15px;
    }

    .faq-layout {
        gap: 32px;
    }

    .faq-question {
        min-height: 82px;
        padding: 21px 0;

        grid-template-columns: minmax(0, 1fr) 38px;
        gap: 15px;
    }

    .faq-question>span:first-child {
        font-size: 17px;
        line-height: 1.42;
    }

    .faq-icon {
        width: 36px;
        height: 36px;
    }

    .faq-icon::before,
    .faq-icon::after {
        width: 12px;
    }

    .faq-answer-inner p {
        padding:
            0 0 23px;

        font-size: 14px;
        line-height: 1.75;
    }

    .faq-help-card {
        padding: 28px 24px;
        border-radius: 23px;
    }

    .faq-help-card h3 {
        font-size: 25px;
    }
}

/* ==========================================================
   SALIDAS PROFESIONALES - MÓVIL
   ========================================================== */

@media (max-width:680px) {

    .career-paths-grid {
        grid-template-columns: 1fr !important;
        gap: 22px;
    }

    .career-path-card {
        width: 100%;
    }

    .career-path-image {
        height: 240px;
    }

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

}

/* ==========================================================
   NOMBRE DE LA FORMACIÓN CENTRADO EN EL HERO
   ========================================================== */

.hero > .hero-grid > .section-heading {
    grid-column: 1 / -1;

    width: 100%;
    max-width: none;

    margin: 0 0 18px;

    text-align: center;
}

.hero > .hero-grid > .section-heading .eyebrow {
    justify-content: center;
    margin-bottom: 10px;
}

.hero > .hero-grid > .section-heading .eyebrow::after {
    content: "";

    width: 28px;
    height: 1px;

    background: currentColor;
}

/* Conserva una línea a cada lado */
.hero > .hero-grid > .section-heading .eyebrow::before {
    width: 28px;
}

.hero > .hero-grid > .section-heading h2 {
    max-width: 1050px;
    margin: 0 auto;

    color: #fff;

    font-size: clamp(27px, 2.6vw, 40px);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.hero > .hero-grid > .section-heading h2 em {
    color: var(--gold2);
    font-style: normal;
    font-family: Manrope, sans-serif;
    font-weight: 800;
}

/* ==========================================================
   POPUP DE INTENCIÓN DE SALIDA · TEST DEL SUPERPODER
   ========================================================== */

.exit-popup {
    position: fixed;
    z-index: 5000;
    inset: 0;

    display: grid;
    place-items: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.exit-popup.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.exit-popup-backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(2, 13, 32, .82);

    backdrop-filter: blur(12px);
}

.exit-popup-panel {
    position: relative;
    z-index: 2;

    width: min(980px, 100%);
    max-height: calc(100vh - 48px);

    overflow: hidden;

    border: 1px solid rgba(240, 207, 114, .48);
    border-radius: 34px;

    background:
        radial-gradient(
            circle at 82% 42%,
            rgba(51, 137, 231, .35),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #061a3a,
            #0b2e63 58%,
            #061831
        );

    color: #fff;

    box-shadow:
        0 40px 120px rgba(0, 0, 0, .55);

    transform:
        translateY(25px)
        scale(.97);

    transition:
        transform .38s cubic-bezier(.2, .8, .2, 1);
}

.exit-popup.is-open .exit-popup-panel {
    transform:
        translateY(0)
        scale(1);
}

.exit-popup-panel::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    pointer-events: none;
}

.exit-popup-close {
    position: absolute;
    z-index: 10;
    top: 18px;
    right: 18px;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 50%;

    background: rgba(4, 20, 47, .65);

    color: #fff;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease;
}

.exit-popup-close:hover {
    transform: rotate(7deg);
    background: rgba(255, 255, 255, .14);
}

.exit-popup-content {
    position: relative;
    z-index: 3;

    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(310px, .92fr);

    align-items: center;

    min-height: 600px;
}

.exit-popup-copy {
    padding: 65px 45px 55px 60px;
}

.exit-popup-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 17px;

    color: var(--gold2);

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .2em;
}

.exit-popup-kicker::before {
    content: "";

    width: 30px;
    height: 1px;

    background: currentColor;
}

.exit-popup-copy h2 {
    max-width: 600px;
    margin-bottom: 20px;

    color: #fff;

    font-size: clamp(35px, 5.2vw, 50px);
    line-height: .98;
    letter-spacing: -.045em;
}

.exit-popup-copy h2 em {
    display: block;

    color: var(--gold2);
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

.exit-popup-lead {
    max-width: 610px;
    margin-bottom: 25px;

    color: #d2deed;

    font-size: 16px;
    line-height: 1.7;
}

.exit-popup-benefits {
    display: grid;
    gap: 11px;

    margin-bottom: 28px;
}

.exit-popup-benefits div {
    display: flex;
    align-items: center;
    gap: 11px;

    color: #e7eef8;

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

.exit-popup-benefits i {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 10px;

    background:
        rgba(240, 207, 114, .13);

    color: var(--gold2);
}

.exit-popup-button {
    width: 100%;
    max-width: 410px;
    min-height: 61px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    padding: 15px 25px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            var(--gold2),
            var(--gold)
        );

    color: var(--navy);

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

    box-shadow:
        0 17px 42px rgba(216, 167, 45, .28);

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

.exit-popup-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 22px 52px rgba(216, 167, 45, .38);
}

.exit-popup-button i {
    transition: transform .25s ease;
}

.exit-popup-button:hover i {
    transform: translateX(5px);
}

.exit-popup-secondary {
    width: 100%;
    max-width: 410px;
    min-height: 54px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 13px 0 0;
    padding: 13px 22px;

    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;

    background: rgba(255, 255, 255, .065);
    backdrop-filter: blur(10px);

    color: #e4ebf5;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    cursor: pointer;

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

.exit-popup-secondary:hover {
    transform: translateY(-2px);

    border-color: rgba(240, 207, 114, .58);

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

    color: #fff;
}

.exit-popup-note {
    display: block;

    margin-top: 16px;

    color: #7f96b4;

    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

/* Parte visual */

.exit-popup-visual {
    position: relative;

    min-height: 600px;

    display: grid;
    place-items: center;

    overflow: hidden;
}

.exit-popup-glow {
    position: absolute;

    width: 390px;
    height: 390px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(67, 184, 255, .43),
            rgba(216, 167, 45, .13) 43%,
            transparent 70%
        );

    filter: blur(4px);

    animation:
        exitPopupGlow 4s ease-in-out infinite;
}

/* Imagen del test dentro del popup */

.exit-popup-image-link {
    position: relative;
    z-index: 3;

    display: block;

    width: min(390px, 82%);

    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 38px;

    overflow: hidden;

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

    box-shadow:
        0 35px 90px rgba(0, 0, 0, .35),
        0 0 0 8px rgba(240, 207, 114, .045);

    transform: rotate(2deg);

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

.exit-popup-image-link:hover {
    transform:
        rotate(0)
        translateY(-7px)
        scale(1.015);

    box-shadow:
        0 45px 110px rgba(0, 0, 0, .45),
        0 0 0 10px rgba(240, 207, 114, .07);
}

.exit-popup-image {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 4 / 5;

    object-fit: cover;
    object-position: center;
}

.exit-popup-floating {
    position: absolute;
    z-index: 5;

    padding: 10px 14px;

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;

    background: rgba(6, 25, 55, .79);

    color: var(--gold2);

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

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .23);
}

.exit-popup-floating-one {
    top: 115px;
    left: 18px;
}

.exit-popup-floating-two {
    top: 245px;
    right: 17px;
}

.exit-popup-floating-three {
    bottom: 92px;
    left: 40px;
}

.exit-popup-orbit {
    position: absolute;

    border: 1px solid rgba(67, 184, 255, .13);
    border-radius: 50%;

    pointer-events: none;
}

.exit-popup-orbit-one {
    width: 430px;
    height: 430px;

    top: -225px;
    right: -130px;
}

.exit-popup-orbit-two {
    width: 290px;
    height: 290px;

    left: -150px;
    bottom: -160px;
}

@keyframes exitPopupGlow {
    0%,
    100% {
        transform: scale(.95);
        opacity: .7;
    }

    50% {
        transform: scale(1.07);
        opacity: 1;
    }
}

@media(max-width:780px) {

    .exit-popup {
        padding: 12px;
    }

    .exit-popup-panel {
        max-height: calc(100dvh - 24px);

        overflow-y: auto;

        border-radius: 26px;
    }

    .exit-popup-content {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .exit-popup-copy {
        padding: 57px 25px 35px;
    }

    .exit-popup-copy h2 {
        font-size: clamp(40px, 12vw, 56px);
    }

    .exit-popup-lead {
        font-size: 15px;
    }

    .exit-popup-button {
        max-width: none;
    }

    .exit-popup-visual {
        min-height: 330px;

        padding-bottom: 30px;
    }

    .exit-popup-symbol {
        width: 225px;
        height: 275px;

        border-radius: 31px;

        transform: rotate(2deg);
    }

    .exit-popup-symbol strong {
        font-size: 31px;
    }

    .exit-popup-symbol > i {
        width: 55px;
        height: 55px;

        margin-top: 22px;

        font-size: 20px;
    }

    .exit-popup-glow {
        width: 290px;
        height: 290px;
    }

    .exit-popup-floating {
        padding: 8px 11px;
        font-size: 9px;
    }

    .exit-popup-floating-one {
        top: 60px;
        left: 22px;
    }

    .exit-popup-floating-two {
        top: 160px;
        right: 18px;
    }

    .exit-popup-floating-three {
        bottom: 40px;
        left: 28px;
    }

    .exit-popup-button,
    .exit-popup-secondary {
        width: 100%;
        max-width: none;
    }

    .exit-popup-image-link {
        width: min(250px, 76%);
        border-radius: 27px;
    }

    .exit-popup-image {
        aspect-ratio: 4 / 5;
    }

    .exit-popup-note {
        text-align: center;
    }

}

/* ===============================
   BOTONES DEL POPUP
================================== */

.exit-popup-actions{
    display:flex;
    gap:18px;
    margin-top:30px;
}

.exit-popup-button,
.exit-popup-secondary{
    flex:1;
    min-height:64px;
}

.exit-popup-secondary{

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

    padding:0 26px;

    border-radius:999px;

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

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

    color:#fff;

    font-weight:700;

    transition:.30s;
}

.exit-popup-secondary:hover{

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

    border-color:var(--gold2);

    transform:translateY(-2px);
}

@media(max-width:780px){

    .exit-popup-actions{

        flex-direction:column;

    }

} 

/* ==========================================================
   EXPERIENCIA · CARRUSEL HORIZONTAL
   ========================================================== */

.journey {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(30, 89, 160, .25),
            transparent 31%
        ),
        linear-gradient(
            160deg,
            #061b3b,
            #071831
        );
}

.journey .section-heading {
    max-width: 880px;
    margin-bottom: 0;
}

.journey .section-heading p {
    color: #aebed2;
}

/* Encabezado y flechas */

.journey-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;

    margin-bottom: 48px;
}

.journey-controls {
    display: flex;
    gap: 12px;

    flex-shrink: 0;
    padding-bottom: 8px;
}

.journey-arrow {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;

    background: rgba(255, 255, 255, .055);
    color: #fff;

    font-size: 20px;

    cursor: pointer;

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

.journey-arrow:hover {
    transform: translateY(-3px);

    border-color: var(--gold2);

    background: var(--gold2);
    color: var(--navy);
}

.journey-arrow:disabled {
    opacity: .35;
    cursor: default;
    transform: none;
}

/* Ventana del carrusel */

.journey-carousel {
    position: relative;

    width: 100%;
    overflow: hidden;

    padding: 12px 2px 28px;

    touch-action: pan-y;
}

.timeline {
    display: flex;
    gap: 22px;

    width: max-content;
    max-width: none;
    margin: 0;

    transform: translate3d(0, 0, 0);

    transition:
        transform .55s cubic-bezier(.22, .75, .25, 1);

    will-change: transform;
}

/* Se elimina la línea vertical anterior */

.timeline::before {
    display: none;
}

/* Tarjeta individual */

.timeline-item {
    position: relative;

    display: flex;
    flex-direction: column;

    flex: 0 0 calc((1180px - 44px) / 3);
    width: calc((1180px - 44px) / 3);
    min-height: 410px;

    margin: 0;
}

.timeline-item::before {
    content: "";

    position: absolute;
    top: 30px;
    left: 62px;
    right: -22px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            rgba(240, 207, 114, .2)
        );
}

.timeline-item:last-child::before {
    right: calc(100% - 62px);
}

.timeline-dot {
    position: relative;
    z-index: 3;

    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    flex-shrink: 0;
    margin: 0 0 23px;

    border: 2px solid var(--gold);
    border-radius: 50%;

    background: #071a38;
    color: var(--gold2);

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

    box-shadow:
        0 0 0 10px rgba(216, 167, 45, .08);
}

.timeline-card {
    position: relative;

    display: flex;
    flex-direction: column;

    flex: 1;
    min-height: 315px;
    padding: 30px;

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

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .075),
            rgba(255, 255, 255, .025)
        );

    text-align: left;

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

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

    border-color: rgba(240, 207, 114, .42);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .105),
            rgba(255, 255, 255, .035)
        );

    box-shadow:
        0 24px 60px rgba(0, 0, 0, .18);
}

/* Anula la distribución alternada anterior */

.timeline-item:nth-child(n) .timeline-card,
.timeline-item:nth-child(n) .timeline-dot {
    grid-column: auto;
    grid-row: auto;
    text-align: left;
}

.timeline-card span {
    display: block;

    margin-bottom: 11px;

    color: var(--gold2);

    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em;
}

.timeline-card h3 {
    margin: 0 0 15px;

    color: #fff;

    font-size: 22px;
    line-height: 1.28;
}

.timeline-card p {
    margin: 0 0 23px;

    color: #aebed2;

    font-size: 14px;
    line-height: 1.72;
}

.timeline-card small {
    display: block;

    margin-top: auto;

    color: #6f91bd;

    font-size: 12px;
    font-weight: 700;
}

.timeline-card.highlight {
    border-color: rgba(216, 167, 45, .55);

    background:
        linear-gradient(
            145deg,
            rgba(216, 167, 45, .2),
            rgba(255, 255, 255, .055)
        );
}

/* Barra inferior */

.journey-progress {
    position: relative;

    width: 100%;
    height: 3px;

    margin-top: 13px;

    overflow: hidden;

    border-radius: 999px;

    background: rgba(255, 255, 255, .09);
}

.journey-progress span {
    display: block;

    width: 33.333%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--gold),
            var(--gold2)
        );

    transform: translateX(0);

    transition:
        transform .5s ease,
        width .5s ease;
}

@media(max-width:980px) {

    .journey-header {
        align-items: center;
        gap: 25px;
    }

    .timeline-item {
        flex-basis: calc((100vw - 84px) / 2);
        width: calc((100vw - 84px) / 2);
    }

    .journey-progress span {
        width: 50%;
    }

}

@media(max-width:680px) {

    .journey {
        padding-top: 82px;
        padding-bottom: 82px;
    }

    .journey-header {
        display: block;

        margin-bottom: 32px;
    }

    .journey .section-heading {
        margin-bottom: 25px;
    }

    .journey-controls {
        justify-content: flex-end;
        padding-bottom: 0;
    }

    .journey-arrow {
        width: 48px;
        height: 48px;

        font-size: 18px;
    }

    .journey-carousel {
        /*
         * Permite ver un pequeño fragmento de la siguiente tarjeta,
         * indicando visualmente que el contenido se desliza.
         */
        overflow: visible;
        clip-path: inset(-30px -18px -30px 0);
    }

    .timeline {
        gap: 16px;
    }

    .timeline-item {
        flex-basis: calc(100vw - 66px);
        width: calc(100vw - 66px);
        min-height: 390px;
    }

    .timeline-item::before {
        left: 57px;
        right: -16px;
    }

    .timeline-dot {
        width: 57px;
        height: 57px;

        margin-bottom: 20px;
    }

    .timeline-card {
        min-height: 305px;
        padding: 25px;
    }

    .timeline-card h3 {
        font-size: 20px;
    }

    .journey-progress span {
        width: 16.666%;
    }

}

