/* =========================================================
   ESDIM MEDIA
   DESIGN SYSTEM + LANDING + COURSE DETAIL
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    /* Marca */
    --primary: #005C63;
    --primary-dark: #003F44;
    --primary-light: #00747C;

    --blue: #1E85AE;

    --accent: #F2C230;
    --accent-hover: #FFD84D;

    /* Neutros */
    --dark: #1A1A1A;
    --dark-soft: #242424;

    --navy: #071D2D;

    --white: #FFFFFF;

    --gray: #F2F2F2;
    --gray-2: #E8E8E8;

    --background: #F4F7F8;
    --surface: #FFFFFF;

    --text: #102536;
    --text-secondary: #5F7481;
    --text-muted: #6B7074;

    --border: #DCE5E8;

    /* Estados */
    --success: #176A35;
    --success-bg: #E8F7ED;

    --error: #9C2929;
    --error-bg: #FFEAEA;

    /* Radios */
    --radius: 24px;
    --radius-medium: 18px;
    --radius-small: 12px;
    --radius-xs: 8px;

    /* Sombras */
    --shadow-sm:
        0 8px 24px rgba(7,29,45,.07);

    --shadow:
        0 15px 45px rgba(7,29,45,.12);

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

    /* Transición */
    --transition:
        .35s cubic-bezier(.2,.7,.2,1);
}


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

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

html {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;

    scroll-padding-top: 100px;
}

body {
    margin: 0;
    padding: 0;

    min-width: 320px;

         font-family: 'Roboto', sans-serif;

    background: var(--white);

    color: var(--dark);

    overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
     font-family: 'Roboto', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

img {
    display: block;

    max-width: 100%;

    height: auto;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

video {
    max-width: 100%;
}

.container {
    width: 90%;
    min-width: 0;
    max-width: 1800px;
    margin-inline: auto;
}


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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline:
        3px solid rgba(242,194,48,.55);

    outline-offset: 3px;
}


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

.header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(7,29,45,.72);

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

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

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

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

    border-bottom-color:
        rgba(255,255,255,.08);

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.16);
}

.nav {
    min-height: 88px;

    display: flex;

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

    gap: 30px;
}


/* LOGO */

.logo {
    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;

    padding: 5px;

    position: relative;

    z-index: 2;
}

.logo img {
    display: block;

    width: 150px;
    height: auto;
}


/* NAVEGACIÓN */

.nav-links {
    display: flex;

    align-items: center;

    gap: 28px;
}

.nav-links a {
    position: relative;

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

    font-size: .86rem;
    font-weight: 600;

    transition:
        color .25s ease;
}

.nav-links > a:not(.btn-header)::after {
    content: '';

    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    margin-inline: auto;

    background:
        var(--accent);

    transition:
        width .25s ease;
}

.nav-links > a:not(.btn-header):hover {
    color:
        var(--accent);
}

.nav-links > a:not(.btn-header):hover::after {
    width: 100%;
}


/* BOTÓN HEADER */

.btn-header {
    display: inline-flex;

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

    min-height: 44px;

    padding:
        0 20px;

    border-radius:
        10px;

    color:
        var(--dark) !important;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #FFD746
        );

    font-weight: 800 !important;

    box-shadow:
        0 8px 20px
        rgba(242,194,48,.18);

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

.btn-header::after {
    display: none !important;
}

.btn-header:hover {
    color:
        var(--dark) !important;

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(242,194,48,.28);
}


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

.btn {
    display: inline-flex;

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

    gap: 9px;

    min-height: 56px;

    padding:
        0 30px;

    border: 0;

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

    font-weight: 800;

    line-height: 1;

    cursor: pointer;

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

.btn-primary {
    color:
        var(--dark);

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #FFD746
        );

    box-shadow:
        0 15px 35px
        rgba(242,194,48,.24);
}

.btn-primary:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 20px 40px
        rgba(242,194,48,.35);
}

.btn-outline {
    color:
        var(--white);

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

    background:
        transparent;

    backdrop-filter:
        blur(10px);
}

.btn-outline:hover {
    background:
        rgba(255,255,255,.1);
}


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

.hero {
    position: relative;

    min-height: 820px;

    display: flex;

    align-items: center;

    color:
        var(--white);

    background:
        linear-gradient(
            90deg,
            rgba(6,16,17,.97) 0%,
            rgba(5,29,31,.92) 45%,
            rgba(0,92,99,.62) 100%
        ),
        url('/assets/mentoria-bg.jpg')
        center center / cover
        no-repeat;

    overflow: hidden;
}

.hero::after {
    content: '';

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 7px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            #FFD746,
            var(--accent)
        );
}

.hero-glow {
    position: absolute;

    width: 620px;
    height: 620px;

    right: -250px;
    top: 110px;

    border-radius: 50%;

    background:
        rgba(30,133,174,.25);

    filter:
        blur(80px);

    animation:
        glow 7s
        ease-in-out
        infinite alternate;
}

@keyframes glow {

    from {
        transform:
            scale(.85)
            translateY(-20px);
    }

    to {
        transform:
            scale(1.12)
            translateY(20px);
    }

}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 850px;

    padding-top: 110px;
}

.hero-kicker {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    color:
        var(--accent);

    font-weight: 700;

    letter-spacing: 4px;
}

.hero-kicker::before {
    content: '';

    width: 40px;
    height: 2px;

    background:
        var(--accent);
}

.hero h1 {
    margin: 0;

    font-size:
        clamp(
            3.4rem,
            8vw,
            7.4rem
        );

    line-height: .86;

    text-transform:
        uppercase;

    letter-spacing:
        -5px;

    font-weight:
        900;
}

.hero h1 span {
    display: block;

    margin-top: 25px;

    color:
        var(--accent);

    font-size:
        clamp(
            1.3rem,
            3vw,
            2.35rem
        );

    letter-spacing:
        clamp(
            8px,
            1.5vw,
            18px
        );
}

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

    margin-top: 35px;

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

    font-size: 1.1rem;

    line-height: 1.8;
}

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 16px;

    margin-top: 35px;
}


/* =========================================================
   STATS
========================================================= */

.hero-stats {
    margin-top: 55px;

    display: grid;

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

    gap: 15px;
}

.stat {
    min-height: 110px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 20px;

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

    border-radius: 16px;

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

    backdrop-filter:
        blur(10px);

    transition:
        var(--transition);
}

.stat:hover {
    transform:
        translateY(-6px);

    background:
        rgba(0,92,99,.35);

    border-color:
        rgba(242,194,48,.4);
}

.stat-icon {
    min-width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        var(--primary);

    font-size: 1.25rem;
}

.stat strong {
    display: block;

    margin-bottom: 4px;

    font-size: .9rem;
}

.stat small {
    color:
        rgba(255,255,255,.7);

    line-height: 1.5;
}


/* =========================================================
   SECCIONES GENERALES
========================================================= */

.section {
    padding:
        105px 0;
}

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

    margin:
        0 auto 60px;

    text-align:
        center;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color:
        var(--primary);

    font-size: .85rem;
    font-weight: 800;

    letter-spacing: 3px;

    text-transform:
        uppercase;
}

.section-title h2 {
    margin: 0;

    color:
        var(--text);

    font-size:
        clamp(
            2rem,
            5vw,
            3.6rem
        );

    line-height: 1.08;

    font-weight: 900;

    letter-spacing:
        -2px;
}

.section-title p {
    margin-top: 18px;

    color:
        var(--text-muted);

    line-height: 1.8;
}


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

.benefits {
    background:
        var(--gray);
}

.benefit-grid {
    display: grid;

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

    gap: 25px;
}

.benefit-card {
    position: relative;

    padding:
        40px 30px;

    border-radius:
        var(--radius);

    background:
        var(--white);

    overflow: hidden;

    transition:
        var(--transition);
}

.benefit-card::after {
    content: '';

    position: absolute;

    width: 120px;
    height: 120px;

    right: -60px;
    top: -60px;

    border-radius: 50%;

    background:
        rgba(0,92,99,.08);

    transition:
        .45s;
}

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

    box-shadow:
        var(--shadow);
}

.benefit-icon {
    width: 72px;
    height: 72px;

    display: grid;

    place-items: center;

    margin-bottom: 24px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--blue)
        );

    color:
        var(--white);

    font-size: 1.8rem;
}

.benefit-card h3 {
    margin-bottom: 12px;

    color:
        var(--primary);
}

.benefit-card p {
    color:
        var(--text-muted);

    line-height: 1.75;
}


/* =========================================================
   MISIÓN
========================================================= */

.mission {
    color:
        var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );
}

.mission-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;
}

.mission-copy h2 {
    margin-bottom: 25px;

    font-size:
        clamp(
            2.2rem,
            5vw,
            4rem
        );

    line-height: 1.05;
}

.mission-copy h2 span {
    color:
        var(--accent);
}

.mission-copy p,
.mission-box p {
    color:
        rgba(255,255,255,.76);

    line-height: 1.9;
}

.mission-box {
    padding: 45px;

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

    border-radius:
        var(--radius);

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

    backdrop-filter:
        blur(12px);
}

.mission-box h3 {
    margin-bottom: 18px;

    color:
        var(--accent);
}


/* =========================================================
   RUTA FORMATIVA
========================================================= */

.route {
    background:
        var(--white);
}

.route-grid {
    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 16px;
}

.route-item {
    position: relative;

    display: flex;

    align-items: center;

    gap: 20px;

    padding:
        22px 25px;

    border-radius: 15px;

    background:
        var(--gray);

    transition:
        var(--transition);
}

.route-item:hover {
    background:
        #EBF2F2;
}

.route-number {
    min-width: 55px;

    height: 55px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    background:
        var(--accent);

    color:
        var(--dark);

    font-weight: 900;
}

.route-content {
    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 5px;
}

.route-title {
    color:
        var(--dark);

    font-size: 1rem;

    font-weight: 700;

    line-height: 1.35;
}

.route-speaker {
    color:
        var(--text-muted);

    line-height: 1.4;
}

.route-photo-wrapper {
    flex: 0 0 auto;

    margin-left: auto;
}

.route-photo {
    width: 78px;
    height: 78px;

    border:
        3px solid
        var(--white);

    border-radius: 50%;

    object-fit: cover;

    object-position:
        center top;

    background:
        var(--primary-dark);

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

.route-opening {
    width: 100%;
}

.route-opening-number {
    min-width: 130px;
}

.route-speakers-photos {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-left: auto;
}

.route-opening .route-photo {
    width: 88px;
    height: 88px;
}


/* =========================================================
   SEMBLANZAS
========================================================= */

.route-item-bio {
    position: relative;

    cursor: pointer;

    overflow: visible;
}

.route-bio-hint {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    margin-top: 7px;

    color:
        var(--primary);

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

    letter-spacing: .06em;

    text-transform:
        uppercase;
}

.route-bio-hint::after {
    content: '→';

    transition:
        transform .2s ease;
}

.route-item-bio:hover
.route-bio-hint::after {
    transform:
        translateX(4px);
}

.route-biography {
    position: absolute;

    z-index: 50;

    left: 50%;
    bottom:
        calc(100% + 14px);

    width:
        min(
            440px,
            calc(100vw - 40px)
        );

    padding: 22px;

    color:
        #243438;

    background:
        var(--white);

    border:
        1px solid
        rgba(0,92,99,.15);

    border-radius: 18px;

    box-shadow:
        0 24px 60px
        rgba(0,45,50,.18);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translate(-50%,10px);

    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease;
}

.route-biography::after {
    content: '';

    position: absolute;

    left: 50%;
    bottom: -9px;

    width: 18px;
    height: 18px;

    background:
        var(--white);

    border-right:
        1px solid
        rgba(0,92,99,.15);

    border-bottom:
        1px solid
        rgba(0,92,99,.15);

    transform:
        translateX(-50%)
        rotate(45deg);
}

.route-biography-header {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 14px;
}

.route-biography-photo {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    object-fit: cover;
}

.route-biography-header small {
    display: block;

    margin-bottom: 3px;

    color:
        #879497;

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

    letter-spacing: .1em;

    text-transform:
        uppercase;
}

.route-biography-header strong {
    display: block;

    color:
        var(--primary);

    font-size: 16px;

    line-height: 1.25;
}

.route-biography p {
    margin: 0;

    color:
        #4E5D60;

    font-size: 13px;

    line-height: 1.65;
}

@media (hover:hover) and (pointer:fine) {

    .route-item-bio:hover
    .route-biography,
    .route-item-bio:focus-within
    .route-biography {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translate(-50%,0);
    }
}


/* =========================================================
   COURSE DETAIL
========================================================= */

.course-detail {
    min-height: 100vh;

    color:
        var(--text);

    background:
        var(--background);
}


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

.course-detail-hero {
    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    padding:
        155px 0 90px;

    color:
        var(--white);

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(30,133,174,.25),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #071D2D 0%,
            var(--primary-dark) 100%
        );

    overflow: hidden;
}

.course-detail-hero::before {
    content: '';

    position: absolute;

    width: 500px;
    height: 500px;

    right: -260px;
    bottom: -300px;

    border:
        1px solid
        rgba(242,194,48,.13);

    border-radius: 50%;
}

.course-detail-hero::after {
    content: '';

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            #FFD746,
            var(--accent)
        );
}

.course-detail-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0,1.1fr)
        minmax(350px,.9fr);

    gap: 70px;

    align-items: center;
}

.course-detail-back {
    display: inline-flex;

    margin-bottom: 28px;

    color:
        var(--accent);

    font-size: 13px;

    font-weight: 700;

    transition:
        color .2s ease;
}

.course-detail-back:hover {
    color:
        var(--accent-hover);
}

.course-detail-status {
    display: inline-flex;

    margin-bottom: 18px;

    padding:
        8px 12px;

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

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

    letter-spacing: .11em;

    text-transform:
        uppercase;
}

.course-detail-status.open {
    color:
        var(--white);

    background:
        var(--primary-light);
}

.course-detail-status.upcoming {
    color:
        var(--dark);

    background:
        var(--accent);
}

.course-detail-status.active {
    color:
        var(--white);

    background:
        var(--blue);
}

.course-detail-status.finished {
    color:
        var(--white);

    background:
        #687985;
}

.course-detail-type {
    margin:
        0 0 13px;

    color:
        var(--accent);

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

    letter-spacing: .14em;

    text-transform:
        uppercase;
}

.course-detail-title {
    max-width: 780px;

    margin:
        0 0 24px;

    color:
        var(--white);

    font-size:
        clamp(
            42px,
            5.4vw,
            75px
        );

    font-weight: 900;

    line-height: .98;

    letter-spacing:
        -.055em;
}

.course-detail-description {
    max-width: 720px;

    margin: 0;

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

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   COURSE MEDIA
========================================================= */

.course-detail-image-card {
    overflow: hidden;

    min-height: 300px;

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

    border-radius:
        var(--radius);

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

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

.course-detail-image,
.course-detail-video {
    display: block;

    width: 100%;
}

.course-detail-video {
    background:
        #000;
}

.course-detail-image-placeholder {
    min-height: 360px;

    display: grid;

    place-items: center;

    color:
        var(--accent);

    background:
        linear-gradient(
            135deg,
            rgba(0,92,99,.7),
            rgba(7,29,45,.9)
        );

    font-size: 3rem;
    font-weight: 900;

    letter-spacing: .1em;
}


/* =========================================================
   COURSE FACTS
========================================================= */

.course-facts {
    position: relative;

    z-index: 10;

    margin-top: -30px;
}

.course-facts-grid {
    display: grid;

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

    overflow: hidden;

    border:
        1px solid
        rgba(220,229,232,.7);

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

    background:
        var(--surface);

    box-shadow:
        var(--shadow);
}

.course-fact {
    min-width: 0;

    padding:
        26px 28px;

    border-right:
        1px solid
        var(--border);
}

.course-fact:last-child {
    border-right: 0;
}

.course-fact small {
    display: block;

    margin-bottom: 7px;

    color:
        var(--text-muted);

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

    letter-spacing: .08em;

    text-transform:
        uppercase;
}

.course-fact strong {
    display: block;

    color:
        var(--text);

    font-size: 14px;

    line-height: 1.45;
}


/* =========================================================
   COURSE BODY
========================================================= */

.course-body {
    padding:
        100px 0 110px;
}

.course-body-grid {
    display: grid;

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

    gap: 75px;

    align-items: start;
}

.course-section {
    padding-bottom: 45px;

    margin-bottom: 45px;

    border-bottom:
        1px solid
        var(--border);
}

.course-section:last-child {
    margin-bottom: 0;

    border-bottom: 0;
}

.course-section-kicker {
    display: block;

    margin-bottom: 10px;

    color:
        var(--primary);

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

    letter-spacing: .14em;

    text-transform:
        uppercase;
}

.course-section h2 {
    margin:
        0 0 22px;

    color:
        var(--text);

    font-size:
        clamp(
            30px,
            3.4vw,
            43px
        );

    line-height: 1.08;

    letter-spacing:
        -.04em;
}

.course-section p {
    margin: 0;

    color:
        var(--text-secondary);

    font-size: 16px;

    line-height: 1.85;
}


/* =========================================================
   COURSE SIDEBAR
========================================================= */

.course-sidebar {
    position: sticky;

    top: 115px;

    padding: 30px;

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

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

    background:
        var(--surface);

    box-shadow:
        var(--shadow-sm);
}

.course-sidebar-label {
    margin:
        0 0 8px;

    color:
        var(--primary);

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

    letter-spacing: .12em;

    text-transform:
        uppercase;
}

.course-sidebar h2 {
    margin:
        0 0 25px;

    color:
        var(--text);

    font-size: 25px;

    line-height: 1.1;
}

.course-sidebar-data {
    display: grid;

    margin-bottom: 27px;
}

.course-sidebar-item {
    padding:
        14px 0;

    border-bottom:
        1px solid
        var(--border);
}

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

.course-sidebar-item small {
    margin-bottom: 5px;

    color:
        var(--text-muted);

    font-size: 10px;

    letter-spacing: .08em;

    text-transform:
        uppercase;
}

.course-sidebar-item strong {
    color:
        var(--text);

    font-size: 14px;

    line-height: 1.45;
}

.course-sidebar-button {
    width: 100%;

    min-height: 52px;

    display: flex;

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

    padding:
        0 20px;

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

    color:
        var(--dark);

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #FFD746
        );

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

    box-shadow:
        0 10px 25px
        rgba(242,194,48,.20);

    transition:
        var(--transition);
}

.course-sidebar-button:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 14px 30px
        rgba(242,194,48,.30);
}

.course-sidebar-note {
    margin:
        13px 0 0;

    color:
        var(--text-muted);

    font-size: 11px;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   REGISTRO
========================================================= */

.registration {
    position: relative;

    padding:
        100px 0;

    color:
        var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary-light)
        );

    overflow: hidden;
}

.registration::before {
    content: '';

    position: absolute;

    width: 500px;
    height: 500px;

    top: -300px;
    right: -150px;

    border-radius: 50%;

    background:
        rgba(30,133,174,.30);

    filter:
        blur(40px);
}

.registration::after {
    content: '';

    position: absolute;

    width: 400px;
    height: 400px;

    left: -250px;
    bottom: -260px;

    border-radius: 50%;

    background:
        rgba(242,194,48,.08);

    filter:
        blur(30px);
}

.registration-grid {
    position: relative;

    z-index: 2;

    display: grid;

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

    gap: 60px;

    align-items: start;
}


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

.form-card {
    padding: 45px;

    border-radius:
        var(--radius);

    color:
        var(--dark);

    background:
        var(--surface);

    box-shadow:
        var(--shadow-lg);
}

.form-card h2 {
    margin:
        0 0 8px;

    color:
        var(--dark);

    font-size: 2.2rem;

    line-height: 1.15;
}

.form-card > p {
    margin:
        0 0 30px;

    color:
        var(--text-muted);

    line-height: 1.65;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color:
        var(--dark);

    font-size: .82rem;

    font-weight: 700;
}

.form-control {
    width: 100%;

    min-height: 52px;

    padding:
        14px 17px;

    border:
        1px solid
        #D8DDDE;

    border-radius:
        11px;

    outline: none;

    color:
        var(--dark);

    background:
        #FAFBFB;

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

.form-control:hover {
    border-color:
        #BBC6C9;
}

.form-control:focus {
    border-color:
        var(--primary);

    background:
        var(--white);

    box-shadow:
        0 0 0 4px
        rgba(0,92,99,.10);
}

.form-control::placeholder {
    color:
        #929B9E;
}

textarea.form-control {
    min-height: 125px;

    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

select.form-control:disabled {
    opacity: .65;

    cursor: not-allowed;

    color:
        #7D878A;

    background:
        #F2F4F4;
}

#seccion-status {
    display: block;

    min-height: 18px;

    margin-top: 7px;

    color:
        var(--text-muted);

    font-size: .78rem;

    line-height: 1.4;
}


/* CHECKBOX */

.checkbox {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin:
        18px 0 24px;

    color:
        var(--text-muted);

    font-size: .78rem;

    line-height: 1.55;
}

.checkbox input {
    flex:
        0 0 auto;

    width: 18px;
    height: 18px;

    margin-top: 1px;

    accent-color:
        var(--primary);
}


/* =========================================================
   BOTÓN FORMULARIO
========================================================= */

.btn-form {
    appearance: none;
    -webkit-appearance: none;

    display: flex;

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

    width: 100%;

    min-height: 58px;

    padding:
        0 28px;

    border: 0;

    border-radius:
        12px;

    outline: none;

    color:
        var(--dark);

    background:
        linear-gradient(
            135deg,
            var(--accent) 0%,
            #FFD746 100%
        );

    font-size: .95rem;
    font-weight: 900;

    line-height: 1;

    letter-spacing:
        .02em;

    cursor: pointer;

    box-shadow:
        0 14px 32px
        rgba(242,194,48,.27);

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

.btn-form:hover {
    transform:
        translateY(-3px);

    background:
        linear-gradient(
            135deg,
            var(--accent-hover),
            #FFE477
        );

    box-shadow:
        0 18px 38px
        rgba(242,194,48,.38);
}

.btn-form:active {
    transform:
        translateY(0);
}

.btn-form:disabled {
    opacity: .55;

    cursor:
        not-allowed;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   MENSAJES FORMULARIO
========================================================= */

.form-message {
    padding: 15px;

    margin-bottom: 20px;

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

    font-size: .9rem;

    line-height: 1.5;
}

.form-message.success {
    color:
        var(--success);

    background:
        var(--success-bg);
}

.form-message.error {
    color:
        var(--error);

    background:
        var(--error-bg);
}

.hp-field {
    position:
        absolute !important;

    left:
        -9999px !important;

    opacity:
        0 !important;

    pointer-events:
        none !important;
}


/* =========================================================
   INFORMACIÓN REGISTRO
========================================================= */

.registration-info {
    padding:
        25px 0;

    color:
        var(--white);
}

.registration-info-kicker {
    display:
        inline-block;

    margin-bottom:
        15px;

    color:
        var(--accent);

    font-size:
        .75rem;

    font-weight:
        800;

    letter-spacing:
        3px;

    text-transform:
        uppercase;
}

.registration-info h2 {
    margin:
        0 0 20px;

    color:
        var(--white);

    font-size:
        clamp(
            2rem,
            4vw,
            3.2rem
        );

    line-height:
        1.08;

    letter-spacing:
        -1.5px;
}

.registration-info > p {
    max-width:
        520px;

    margin:
        0 0 30px;

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

    font-size:
        1rem;

    line-height:
        1.8;
}

.registration-info-row {
    padding:
        18px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.13);
}

.registration-info-row:first-of-type {
    border-top:
        1px solid
        rgba(255,255,255,.13);
}

.registration-info-row small {
    display: block;

    margin-bottom: 6px;

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

    font-size: .68rem;
    font-weight: 700;

    letter-spacing: 1.4px;

    text-transform:
        uppercase;
}

.registration-info-row strong {
    display: block;

    color:
        var(--white);

    font-size: .98rem;

    line-height: 1.45;
}


/* COMPATIBILIDAD CSS ANTERIOR */

.info-panel {
    padding-top: 30px;
}

.info-panel h3 {
    margin-bottom: 25px;

    color:
        var(--accent);

    font-size: 1.8rem;
}

.info-row {
    display: flex;

    gap: 18px;

    padding:
        22px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.13);
}

.info-icon {
    min-width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.1);
}


/* =========================================================
   TUTORIALES
========================================================= */

.tutorials {
    position: relative;

    padding:
        105px 0;

    background:
        linear-gradient(
            180deg,
            #F6F8F8 0%,
            #FFFFFF 100%
        );

    overflow: hidden;
}

.tutorials::before {
    content: '';

    position: absolute;

    width: 420px;
    height: 420px;

    left: -260px;
    bottom: -240px;

    border-radius: 50%;

    background:
        rgba(0,92,99,.07);
}

.tutorials .container {
    position: relative;

    z-index: 2;
}

.tutorials .section-title {
    margin-bottom: 45px;
}

.tutorial-grid {
    width: 100%;

    max-width: 1000px;

    margin-inline: auto;
}


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

.tutorial-card {
    display: grid;

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

    width: 100%;

    overflow: hidden;

    border:
        1px solid
        rgba(0,92,99,.10);

    border-radius:
        var(--radius);

    background:
        var(--white);

    box-shadow:
        0 22px 60px
        rgba(0,0,0,.10);
}


/* VIDEO */

.tutorial-video {
    min-width: 0;

    display: flex;

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

    padding: 20px;

    background:
        linear-gradient(
            145deg,
            #071819,
            #003F44
        );
}

.tutorial-video video {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio:
        16 / 9;

    object-fit: contain;

    border-radius: 14px;

    background:
        #000;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.24);
}


/* CONTENIDO */

.tutorial-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding:
        44px 40px;
}

.tutorial-number {
    display: inline-flex;

    width: fit-content;

    margin-bottom: 16px;

    padding:
        7px 12px;

    border-radius:
        8px;

    color:
        #755900;

    background:
        rgba(242,194,48,.20);

    font-size: .7rem;
    font-weight: 800;

    letter-spacing: 2px;

    text-transform:
        uppercase;
}

.tutorial-content h3 {
    margin:
        0 0 15px;

    color:
        var(--primary-dark);

    font-size: 1.7rem;
    font-weight: 800;

    line-height: 1.25;

    letter-spacing:
        -.5px;
}

.tutorial-content p {
    margin:
        0 0 28px;

    color:
        var(--text-muted);

    font-size: .92rem;

    line-height: 1.8;
}

.tutorial-action {
    display: inline-flex;

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

    gap: 9px;

    width: fit-content;

    min-height: 50px;

    padding:
        0 22px;

    border-radius:
        10px;

    color:
        var(--dark);

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #FFD746
        );

    font-size: .8rem;
    font-weight: 800;

    box-shadow:
        0 10px 25px
        rgba(242,194,48,.20);

    transition:
        var(--transition);
}

.tutorial-action:hover {
    transform:
        translateY(-3px);

    background:
        linear-gradient(
            135deg,
            var(--accent-hover),
            #FFE477
        );

    box-shadow:
        0 14px 30px
        rgba(242,194,48,.30);
}


/* =========================================================
   REVEAL
========================================================= */

/*
 * Estado base visible.
 *
 * De esta forma, si JavaScript falla,
 * el contenido NUNCA desaparece.
 */

.reveal {
    opacity: 1;

    transform:
        translateY(0);
}


/*
 * Si el navegador tiene JS, puedes añadir
 * posteriormente una clase .js al <html>
 * para activar animaciones.
 */

.js .reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .75s ease,
        transform .75s ease;
}

.js .reveal.active {
    opacity: 1;

    transform:
        translateY(0);
}

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

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

.delay-3 {
    transition-delay:
        .3s;
}


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

.contact-strip {
    padding:
        38px 0;

    color:
        var(--dark);

    background:
        var(--accent);
}

.contact-strip-inner {
    display: flex;

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

    gap: 30px;
}

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

    font-size: 1.45rem;
}

.contact-strip p {
    margin: 0;

    color:
        rgba(26,26,26,.72);

    line-height: 1.5;
}

.whatsapp-button {
    flex: 0 0 auto;

    display: inline-flex;

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

    gap: 10px;

    min-height: 52px;

    padding:
        0 24px;

    border-radius: 10px;

    color:
        var(--white);

    background:
        var(--dark);

    font-weight: 800;

    transition:
        var(--transition);
}

.whatsapp-button:hover {
    transform:
        translateY(-3px);

    background:
        var(--primary);
}


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

.footer {
    padding:
        65px 0 30px;

    color:
        var(--white);

    background:
        var(--dark);
}

.footer-grid {
    display: grid;

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

    gap: 50px;
}

.footer h4 {
    margin-bottom: 18px;

    color:
        var(--accent);
}

.footer p {
    margin:
        0 0 4px;
}

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

    font-size: .9rem;

    line-height: 1.9;
}

.footer a {
    transition:
        color .2s ease;
}

.footer a:hover {
    color:
        var(--accent);
}

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

    padding-top: 25px;

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

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

    font-size: .78rem;
}


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

.float-whatsapp {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 900;

    width: 60px;
    height: 60px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color:
        var(--white);

    background:
        #25D366;

    font-size: 1.5rem;

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

    transition:
        transform .25s ease;

    animation:
        whatsappPulse
        2.3s infinite;
}

.float-whatsapp:hover {
    transform:
        translateY(-4px)
        scale(1.04);
}

@keyframes whatsappPulse {

    0% {
        box-shadow:
            0 0 0 0
            rgba(37,211,102,.4);
    }

    70% {
        box-shadow:
            0 0 0 18px
            rgba(37,211,102,0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(37,211,102,0);
    }
}


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

@media (max-width: 980px) {

    .container {
        width:
            min(
                100% - 36px,
                1180px
            );
    }


    /* HEADER */

    .nav {
        min-height: 76px;
    }

    .logo img {
        width: 130px;
    }

    /*
     * Actualmente no existe menú hamburguesa.
     * Ocultamos únicamente links normales,
     * pero dejamos visible el CTA.
     */

    .nav-links {
        gap: 12px;
    }

    .nav-links > a:not(.btn-header) {
        display: none;
    }

    .btn-header {
        display: inline-flex !important;
    }


    /* LANDING */

    .hero {
        min-height: auto;

        padding:
            125px 0 80px;
    }

    .hero-content {
        padding-top: 40px;
    }

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

    .benefit-grid {
        grid-template-columns:
            1fr;
    }

    .mission-grid {
        grid-template-columns:
            1fr;
    }

    .route-grid {
        grid-template-columns:
            1fr;
    }


    /* COURSE HERO */

    .course-detail-hero {
        min-height: auto;

        padding:
            130px 0 80px;
    }

    .course-detail-grid {
        grid-template-columns:
            1fr;

        gap: 45px;
    }

    .course-detail-image-card {
        max-width: 650px;
    }


    /* FACTS */

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

    .course-fact:nth-child(2) {
        border-right: 0;
    }

    .course-fact:nth-child(-n+2) {
        border-bottom:
            1px solid
            var(--border);
    }


    /* BODY */

    .course-body-grid {
        grid-template-columns:
            1fr;

        gap: 50px;
    }

    .course-sidebar {
        position: static;
    }


    /* REGISTRO */

    .registration-grid {
        grid-template-columns:
            1fr;

        gap: 45px;
    }

    .registration-info {
        padding-top: 0;
    }


    /* TUTORIAL */

    .tutorial-card {
        grid-template-columns:
            1fr;
    }

    .tutorial-video {
        padding: 16px;
    }

    .tutorial-content {
        padding:
            34px 32px 38px;
    }


    /* FOOTER */

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


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

@media (max-width: 650px) {

    html {
        scroll-padding-top:
            82px;
    }

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


    /* HEADER */

    .header {
        background:
            rgba(7,29,45,.97);
    }

    .nav {
        min-height: 72px;

        gap: 10px;
    }

    .logo {
        padding: 0;
    }

    .logo img {
        width: 112px;
    }

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

        padding:
            0 14px;

        font-size: .72rem;
    }


    /* SECCIONES */

    .section {
        padding:
            75px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }


    /* HERO LANDING */

    .hero {
        padding:
            110px 0 70px;
    }

    .hero h1 {
        letter-spacing:
            -2px;
    }

    .hero h1 span {
        letter-spacing:
            6px;
    }

    .hero-actions {
        flex-direction:
            column;

        align-items:
            stretch;
    }

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

    .hero-stats {
        grid-template-columns:
            1fr;
    }


    /* COURSE HERO */

    .course-detail-hero {
        padding:
            110px 0 65px;
    }

    .course-detail-grid {
        gap: 35px;
    }

    .course-detail-title {
        font-size:
            clamp(
                38px,
                12vw,
                54px
            );

        letter-spacing:
            -.04em;
    }

    .course-detail-description {
        font-size: 15px;

        line-height: 1.7;
    }

    .course-detail-image-card {
        border-radius:
            18px;
    }

    .course-detail-image,
    .course-detail-video {
        aspect-ratio:
            16 / 10;
    }

    .course-detail-image-placeholder {
        min-height: 230px;

        font-size: 2rem;
    }


    /* FACTS */

    .course-facts {
        margin-top: -15px;
    }

    .course-facts-grid {
        grid-template-columns:
            1fr;
    }

    .course-fact {
        padding:
            20px 22px;

        border-right: 0;

        border-bottom:
            1px solid
            var(--border);
    }

    .course-fact:last-child {
        border-bottom: 0;
    }


    /* BODY */

    .course-body {
        padding:
            70px 0 75px;
    }

    .course-body-grid {
        gap: 40px;
    }

    .course-section {
        padding-bottom: 35px;

        margin-bottom: 35px;
    }

    .course-section h2 {
        font-size:
            30px;
    }

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

    .course-sidebar {
        padding: 24px;
    }


    /* REGISTRO */

    .registration {
        padding:
            70px 0;
    }

    .registration-grid {
        gap: 40px;
    }

    .form-card {
        padding:
            30px 22px;

        border-radius:
            var(--radius-medium);
    }

    .form-card h2 {
        font-size:
            1.8rem;
    }

    .form-control {
        font-size: 16px;
    }

    .btn-form {
        min-height: 58px;

        padding:
            0 18px;

        font-size: .82rem;
    }

    .registration-info h2 {
        font-size:
            2rem;
    }


    /* TUTORIAL */

    .tutorials {
        padding:
            75px 0;
    }

    .tutorials .section-title {
        margin-bottom:
            30px;
    }

    .tutorial-card {
        border-radius:
            18px;
    }

    .tutorial-video {
        padding:
            10px;
    }

    .tutorial-video video {
        border-radius:
            10px;
    }

    .tutorial-content {
        padding:
            27px 22px 30px;
    }

    .tutorial-content h3 {
        font-size:
            1.35rem;
    }

    .tutorial-content p {
        font-size:
            .88rem;
    }

    .tutorial-action {
        width: 100%;

        min-height: 52px;
    }


    /* CONTACTO */

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

        align-items:
            flex-start;
    }

    .whatsapp-button {
        width: 100%;
    }


    /* FOOTER */

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

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

        gap: 35px;
    }


    /* WHATSAPP */

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

        width: 54px;
        height: 54px;
    }


    /* RUTA */

    .route-item,
    .route-opening {
        display: grid;

        grid-template-columns:
            58px 1fr;

        grid-template-areas:
            "number content"
            "photo content"
            "bio bio";

        column-gap: 16px;
        row-gap: 10px;

        width: 100%;

        min-width: 0;

        padding:
            22px 18px;

        align-items: start;

        overflow: hidden;
    }

    .route-number {
        grid-area:
            number;

        width: 54px;

        min-width: 54px;

        height: 54px;

        margin: 0;
    }

    .route-opening-number {
        width: auto;

        min-width: 54px;

        padding:
            0 10px;

        font-size: 11px;
    }

    .route-content {
        grid-area:
            content;
    }

    .route-title {
        margin-bottom: 8px;

        font-size: 17px;

        line-height: 1.28;
    }

    .route-speaker {
        font-size: 14px;

        line-height: 1.4;
    }

    .route-photo-wrapper {
        grid-area:
            photo;

        width: 54px;
        height: 54px;

        margin: 0;
    }

    .route-photo {
        width: 54px;
        height: 54px;

        min-width: 54px;
    }

    .route-biography {
        grid-area:
            bio;

        position: static;

        width: 100%;

        max-height: 0;

        padding: 0;
        margin: 0;

        opacity: 0;

        visibility: hidden;

        overflow: hidden;

        transform: none;

        border: 0;

        box-shadow: none;

        transition:
            max-height .35s ease,
            opacity .25s ease,
            padding .35s ease,
            margin .35s ease;
    }

    .route-item.bio-open
    .route-biography {
        max-height: 1200px;

        margin-top: 10px;

        padding-top: 18px;

        opacity: 1;

        visibility: visible;

        border-top:
            1px solid
            rgba(0,92,99,.12);
    }

    .route-biography::after {
        display: none;
    }

    .route-speakers-photos {
        grid-area:
            photo;

        display: flex;

        flex-wrap: wrap;

        gap: 5px;

        margin: 0;
    }

    .route-speakers-photos
    .route-photo {
        width: 42px;
        height: 42px;

        min-width: 42px;
    }
}


/* =========================================================
   REDUCIR MOVIMIENTO
========================================================= */

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

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;
    }
}



.logo img {
    display: block;

    width: 150px;
    height: auto;
}

.header-actions {
    display: flex;

    flex: 0 0 auto;

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

    min-width: 0;

    gap: 22px;
}

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

    display: inline-flex;

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

    gap: 8px;

    padding:
        0 18px;

    border: 0;
    border-radius: 8px;

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

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

    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

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

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

    transform:
        translateY(-1px);

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

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

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

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

/* =========================================================
   ACCESO PARA INSCRIPCIÓN
========================================================= */

.registration-access {
    max-width: 1050px;
    margin: 0 auto;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.registration-access-header {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.registration-access-header h2 {
    margin: 10px 0 16px;

    color: #071d2d;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.registration-access-header p {
    max-width: 680px;
    margin: 0 auto;

    color: #5d6872;

    font-size: 1.05rem;
    line-height: 1.75;
}


/* =========================================================
   OPCIONES
========================================================= */

.registration-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.registration-option {
    display: flex;
    flex-direction: column;

    padding: 36px;

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

    background: #ffffff;

    box-shadow:
        0 14px 40px rgba(7, 29, 45, 0.06);
}

.registration-option-new {
    border-color: #b9e4d2;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f2fbf7 100%
        );
}


/* =========================================================
   ICONO / NÚMERO
========================================================= */

.registration-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    margin-bottom: 24px;

    border-radius: 15px;

    background: #eef4f7;
    color: #071d2d;

    font-size: 0.85rem;
    font-weight: 800;
}

.registration-option-new
.registration-option-icon {
    background: #dff5eb;
    color: #13845a;
}


/* =========================================================
   TEXTO
========================================================= */

.registration-option-label {
    display: block;

    margin-bottom: 8px;

    color: #13845a;

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.registration-option h3 {
    margin: 0 0 14px;

    color: #071d2d;

    font-size: 1.4rem;
}

.registration-option p {
    flex: 1;

    margin: 0 0 28px;

    color: #66727c;

    line-height: 1.7;
}


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

.registration-button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 14px 24px;

    border-radius: 12px;

    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

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


/* EXISTENTE */

.registration-button-primary {
    background: #071d2d;
    color: #ffffff;
}

.registration-button-primary:hover {
    background: #0c2c42;

    box-shadow:
        0 8px 20px rgba(7, 29, 45, 0.18);
}


/* NUEVO USUARIO */

.registration-button-secondary {
    background: #13845a;
    color: #ffffff;
}

.registration-button-secondary:hover {
    background: #0f704c;

    box-shadow:
        0 8px 20px rgba(19, 132, 90, 0.2);
}


/* =========================================================
   AYUDA
========================================================= */

.registration-access-help {
    max-width: 720px;

    margin: 28px auto 0;
    padding: 20px 24px;

    border-radius: 14px;

    background: #f4f7f9;

    text-align: center;
}

.registration-access-help strong {
    display: block;

    margin-bottom: 5px;

    color: #071d2d;
}

.registration-access-help p {
    margin: 0;

    color: #69747e;

    font-size: 0.9rem;
    line-height: 1.55;
}


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

@media (max-width: 760px) {

    .registration-options {
        grid-template-columns: 1fr;
    }

    .registration-option {
        padding: 28px 24px;
    }

    .registration-access-header {
        margin-bottom: 30px;
    }

}


@media (max-width: 480px) {

    .registration-option {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .registration-button {
        width: 100%;
    }

}




/* =========================================================
   SEMBLANZAS DE EXPONENTES
========================================================= */

.route-item-bio {
    position: relative;
    cursor: pointer;
    overflow: visible;
}

.route-bio-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;

    color: #005C63;

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

.route-bio-hint::after {
    content: "→";
    transition: transform .2s ease;
}

.route-item-bio:hover .route-bio-hint::after {
    transform: translateX(4px);
}


/* PANEL */

.route-biography {
    position: absolute;

    z-index: 50;

    left: 50%;
    bottom: calc(100% + 14px);

    width: min(440px, calc(100vw - 40px));

    padding: 22px;

    background: #ffffff;

    border:
        1px solid
        rgba(0, 92, 99, .15);

    border-radius: 18px;

    box-shadow:
        0 24px 60px
        rgba(0, 45, 50, .18);

    color: #243438;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform:
        translate(-50%, 10px);

    transition:
        opacity .22s ease,
        transform .22s ease,
        visibility .22s ease;
}


/* FLECHA */

.route-biography::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -9px;

    width: 18px;
    height: 18px;

    background: #ffffff;

    border-right:
        1px solid
        rgba(0, 92, 99, .15);

    border-bottom:
        1px solid
        rgba(0, 92, 99, .15);

    transform:
        translateX(-50%)
        rotate(45deg);
}


/* MOSTRAR EN HOVER / TECLADO */

@media (hover: hover) and (pointer: fine) {

    .route-item-bio:hover .route-biography,
    .route-item-bio:focus-within .route-biography {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translate(-50%, 0);
    }

}


/* ENCABEZADO */

.route-biography-header {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 14px;
}

.route-biography-photo {
    width: 58px;
    height: 58px;

    object-fit: cover;

    border-radius: 50%;

    background: #f2f5f5;
}

.route-biography-header small {
    display: block;

    margin-bottom: 3px;

    color: #879497;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .1em;

    text-transform: uppercase;
}

.route-biography-header strong {
    display: block;

    color: #005C63;

    font-size: 16px;

    line-height: 1.25;
}

.route-biography p {
    margin: 0;

    color: #4e5d60;

    font-size: 13px;

    line-height: 1.65;
}


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

@media (max-width: 768px) {

    .route-item-bio {
        overflow: hidden;
    }

    .route-biography {
        position: static;

        width: 100%;

        max-height: 0;

        padding: 0 18px;

        margin: 0;

        border: 0;

        border-radius: 0;

        box-shadow: none;

        opacity: 0;

        visibility: hidden;

        overflow: hidden;

        transform: none;

        transition:
            max-height .35s ease,
            opacity .25s ease,
            padding .35s ease,
            margin .35s ease;
    }


    .route-biography::after {
        display: none;
    }


    .route-item-bio.bio-open .route-biography {
        max-height: 900px;

        padding: 18px;

        margin-top: 16px;

        border-top:
            1px solid
            rgba(0, 92, 99, .12);

        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }


    .route-item-bio.bio-open .route-bio-hint::after {
        transform: rotate(90deg);
    }

}

.opening-speaker {
    position: relative;
    cursor: pointer;
}

.opening-speaker-bio {
    position: absolute;

    right: 0;
    bottom: calc(100% + 14px);

    z-index: 60;

    width: min(390px, calc(100vw - 40px));

    padding: 20px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 22px 55px
        rgba(0, 45, 50, .20);

    opacity: 0;

    visibility: hidden;

    transform: translateY(8px);

    transition: .22s ease;
}

.opening-speaker-bio strong {
    display: block;

    margin-bottom: 9px;

    color: #005C63;

    font-size: 16px;
}

.opening-speaker-bio p {
    margin: 0;

    color: #4e5d60;

    font-size: 13px;

    line-height: 1.6;
}

@media (hover: hover) and (pointer: fine) {

    .opening-speaker:hover
    .opening-speaker-bio {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }

}


/* =========================================================
   FIX RUTA FORMATIVA - MOBILE
========================================================= */

@media (max-width: 768px) {

    .route-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .route-item,
    .route-opening {
        display: grid;

        grid-template-columns: 58px 1fr;
        grid-template-areas:
            "number content"
            "photo content"
            "bio bio";

        column-gap: 16px;
        row-gap: 10px;

        width: 100%;
        min-width: 0;

        padding: 22px 18px;

        align-items: start;

        overflow: hidden;
    }


    /* NÚMERO DE SESIÓN */

    .route-number {
        grid-area: number;

        width: 54px;
        min-width: 54px;
        height: 54px;

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

        margin: 0;

        font-size: 15px;
        line-height: 1;

        border-radius: 15px;
    }


    /* APERTURA */

    .route-opening-number {
        width: auto;
        min-width: 54px;

        padding: 0 10px;

        font-size: 11px;
    }


    /* CONTENIDO */

    .route-content {
        grid-area: content;

        width: 100%;
        min-width: 0;

        padding: 0;
        margin: 0;
    }


    .route-title {
        display: block;

        width: 100%;

        margin: 0 0 8px;

        font-size: 17px;
        line-height: 1.28;

        word-break: normal;
        overflow-wrap: break-word;
        hyphens: none;
    }


    .route-speaker {
        display: block;

        width: 100%;

        font-size: 14px;
        line-height: 1.4;

        word-break: normal;
        overflow-wrap: break-word;
    }


    .route-bio-hint {
        display: inline-flex;

        margin-top: 10px;

        font-size: 11px;
        line-height: 1.2;
    }


    /* FOTO */

    .route-photo-wrapper {
        grid-area: photo;

        position: static;

        width: 54px;
        height: 54px;

        margin: 0;

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


    .route-photo {
        width: 54px;
        height: 54px;

        min-width: 54px;

        object-fit: cover;

        border-radius: 50%;

        display: block;
    }


    /* SEMBLANZA */

    .route-biography {
        grid-area: bio;

        position: static;

        width: 100%;
        min-width: 0;

        max-height: 0;

        padding: 0;
        margin: 0;

        opacity: 0;
        visibility: hidden;

        overflow: hidden;

        transform: none;

        border: 0;
        box-shadow: none;

        transition:
            max-height .35s ease,
            opacity .25s ease,
            padding .35s ease,
            margin .35s ease;
    }


    .route-item.bio-open .route-biography {
        max-height: 1200px;

        margin-top: 10px;
        padding-top: 18px;

        opacity: 1;
        visibility: visible;

        border-top:
            1px solid rgba(0, 92, 99, .12);
    }


    .route-biography::after {
        display: none;
    }


    .route-biography-header {
        display: flex;
        align-items: center;

        gap: 12px;

        margin-bottom: 12px;
    }


    .route-biography-photo {
        width: 50px;
        height: 50px;

        min-width: 50px;

        object-fit: cover;
        border-radius: 50%;
    }


    .route-biography p {
        font-size: 13px;
        line-height: 1.6;
    }


    /* APERTURA CON DOS FOTOS */

    .route-speakers-photos {
        grid-area: photo;

        position: static;

        display: flex;
        flex-wrap: wrap;

        gap: 5px;

        width: auto;

        margin: 0;
    }

    .route-speakers-photos .route-photo {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

}
/* =========================================================
   SESIONES AGRUPADAS POR EXPONENTES
========================================================= */


/*
 * GRID GENERAL
 *
 * Desktop:
 * 2 columnas.
 */
.route-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;

    align-items: start;
}


/*
 * Una sesión con varios exponentes
 * ocupa las dos columnas.
 *
 * También se aplica cuando PHP detecta
 * que el curso solamente tiene una sesión.
 */
.route-item-full {
    grid-column: 1 / -1;
}


/* =========================================================
   EXPONENTES
========================================================= */

.route-speaker-list {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.route-speaker {
    display: block;
}


/* =========================================================
   FOTOS DE EXPONENTES
========================================================= */

.route-speakers-photos {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 10px;

    margin-left: auto;
}


/*
 * Cuando hay varias fotos mantenemos
 * un grupo visual compacto.
 */
.route-item-multiple .route-speakers-photos {
    padding-left: 15px;
}


/* =========================================================
   TARJETA CON VARIOS EXPONENTES
========================================================= */

.route-item-multiple {
    min-height: 130px;
}


/* =========================================================
   PANEL DE SEMBLANZAS
========================================================= */

/*
 * Para dos exponentes permitimos
 * un panel más ancho.
 */
.route-biography-multiple {
    width: min(
        900px,
        calc(100vw - 60px)
    );
}


/*
 * Cada persona es una unidad independiente
 * dentro de la semblanza.
 */
.route-biography-person {
    min-width: 0;
}


/*
 * Cuando existen varios exponentes,
 * sus semblanzas aparecen en columnas.
 */
.route-biography-multiple {
    display: grid;

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

    gap: 0;
}


/*
 * Separador entre exponentes.
 */
.route-biography-multiple
.route-biography-person {
    padding: 4px 24px;
}

.route-biography-multiple
.route-biography-person:first-child {
    padding-left: 0;
}

.route-biography-multiple
.route-biography-person:last-child {
    padding-right: 0;
}

.route-biography-multiple
.route-biography-person
    + .route-biography-person {

    border-left:
        1px solid
        rgba(0, 92, 99, .12);
}


/*
 * Semblanza todavía no capturada.
 */
.route-biography-empty {
    color: var(--text-muted);
    font-style: italic;
}


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

@media (max-width: 900px) {

    .route-grid {
        grid-template-columns: 1fr;
    }

    .route-item-full {
        grid-column: auto;
    }

}


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

@media (max-width: 768px) {

    /*
     * Todas las sesiones ocupan
     * el ancho disponible.
     */
    .route-grid {
        grid-template-columns: 1fr;
    }


    /*
     * Las semblanzas múltiples pasan
     * de dos columnas a una.
     */
    .route-biography-multiple {
        display: block;

        width: 100%;
    }


    .route-biography-multiple
    .route-biography-person {
        padding: 0;
    }


    .route-biography-multiple
    .route-biography-person
        + .route-biography-person {

        margin-top: 20px;
        padding-top: 20px;

        border-left: 0;

        border-top:
            1px solid
            rgba(0, 92, 99, .12);
    }


    /*
     * Fotos múltiples.
     */
    .route-speakers-photos {
        margin: 0;

        display: flex;
        flex-wrap: wrap;

        gap: 5px;
    }

}