/* =========================================
   VARIABLES DE MARCA & RESETEO
   ========================================= */
:root {
    --azul-oscuro: #0B1F3A;
    --azul-claro: #132A4A;
    --dorado: #C8A24A;
    --dorado-hover: #b08d3f;
    --blanco: #ffffff;
    --fondo-gris: #f4f6f9;
    --texto-oscuro: #2C3E50;
    --texto-claro: #7F8C8D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--fondo-gris);
    color: var(--texto-oscuro);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--texto-claro);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* =========================================
   BOTONES
   ========================================= */
.btn-dorado {
    display: inline-block;
    background-color: var(--dorado);
    color: var(--blanco);
    text-decoration: none;
    padding: 16px 32px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-dorado:hover {
    background-color: var(--dorado-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200, 162, 74, 0.4);
}

/* =========================================
   HEADER & NAVEGACIÓN
   ========================================= */
header {
    background-color: var(--azul-oscuro);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--blanco);
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo span {
    color: var(--dorado);
}

.logo-img {
    height: 28px; /* Ajustado para que sea similar al tamaño de la letra (22px + padding/estética) */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--dorado);
}

/* Menú Hamburguesa Móvil */
.menu-toggle {
    display: none;
    color: var(--blanco);
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    background-color: var(--azul-oscuro);
    color: var(--blanco);
    padding: 180px 0 120px 0;
    text-align: center;
}

.hero-tag {
    color: var(--dorado);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 48px;
    max-width: 900px;
    margin: 0 auto 25px auto;
}

.hero p {
    color: #d1d5db;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* =========================================
   PERFIL DEL PARTICIPANTE (NUEVO)
   ========================================= */
.target-audience {
    background-color: var(--blanco);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.target-card {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.target-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.target-card h3 {
    color: var(--azul-oscuro);
    margin-bottom: 15px;
    font-size: 20px;
}

.target-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px auto;
    color: var(--dorado);
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-icon svg {
    width: 100%;
    height: 100%;
}

/* =========================================
   TEMARIO (MÓDULOS)
   ========================================= */
.modules-section {
    background-color: var(--fondo-gris);
}

.section-title {
    color: var(--azul-oscuro);
    font-size: 36px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.module-card {
    background-color: var(--blanco);
    padding: 40px 30px;
    border-top: 4px solid var(--azul-claro);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, border-color 0.3s;
}

.module-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--dorado);
}

.module-number {
    color: var(--dorado);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 2px;
}

.module-card h3 {
    color: var(--azul-oscuro);
    font-size: 22px;
    margin-bottom: 15px;
}

.module-speaker {
    display: inline-block;
    background-color: #eef2f6;
    color: var(--azul-oscuro);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.module-card ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

/* =========================================
   METODOLOGÍA Y FORMATO (NUEVO)
   ========================================= */
.methodology {
    background-color: var(--azul-oscuro);
    color: var(--blanco);
}

.methodology .section-title {
    color: var(--blanco);
}

.methodology p {
    color: #d1d5db;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.method-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.method-item-icon {
    background-color: rgba(200, 162, 74, 0.1);
    color: var(--dorado);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(200, 162, 74, 0.3);
    padding: 15px;
}

.method-item-icon svg {
    width: 100%;
    height: 100%;
}

.method-item h3 {
    color: var(--dorado);
    margin-bottom: 5px;
}

/* =========================================
   EXPERTOS
   ========================================= */
.experts-section {
    background-color: var(--blanco);
}

.experts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.expert-card {
    text-align: center;
}

.expert-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--fondo-gris);
    box-shadow: 0 0 0 3px var(--dorado);
    margin-bottom: 25px;
}

.expert-card h3 {
    color: var(--azul-oscuro);
    font-size: 24px;
}

.expert-card h4 {
    color: var(--dorado);
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 15px;
}

/* =========================================
   FAQ - PREGUNTAS FRECUENTES (NUEVO)
   ========================================= */
.faq-section {
    background-color: var(--fondo-gris);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background-color: var(--blanco);
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #e1e5eb;
    overflow: hidden;
}

summary {
    padding: 20px;
    font-weight: 600;
    color: var(--azul-oscuro);
    cursor: pointer;
    position: relative;
    list-style: none;
    /* Oculta la flecha por defecto */
}

summary::-webkit-details-marker {
    display: none;
}

/* Safari */

summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--dorado);
    transition: transform 0.3s;
}

details[open] summary::after {
    content: '-';
}

details p {
    padding: 0 20px 20px 20px;
    margin: 0;
}

/* =========================================
   CTA FINAL
   ========================================= */
.cta-section {
    background-color: var(--azul-claro);
    color: var(--blanco);
    text-align: center;
    border-top: 5px solid var(--dorado);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--blanco);
}

.cta-section p {
    color: #d1d5db;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: #05101E;
    color: #888;
    padding: 60px 0 30px 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--blanco);
    margin-bottom: 15px;
    display: block;
}

.footer-logo span {
    color: var(--dorado);
}

footer h4 {
    color: var(--blanco);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   ENTREGABLES TANGIBLES
   ========================================= */
.deliverables-section {
    background-color: var(--blanco);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.deliverable-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 30px;
    background: var(--fondo-gris);
    border-radius: 10px;
    border-left: 4px solid var(--dorado);
    transition: transform 0.3s, box-shadow 0.3s;
}

.deliverable-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.deliverable-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(200, 162, 74, 0.15), rgba(200, 162, 74, 0.05));
    border-radius: 12px;
    color: var(--dorado);
    padding: 15px;
}

.deliverable-icon svg {
    width: 100%;
    height: 100%;
}

.deliverable-card h3 {
    color: var(--azul-oscuro);
    font-size: 18px;
    margin-bottom: 8px;
}

.deliverable-card p {
    margin-bottom: 0;
    font-size: 14px;
}

/* =========================================
   COSTO DE LA INACCIÓN
   ========================================= */
.inaction-section {
    background: linear-gradient(135deg, #0a1628 0%, #0B1F3A 50%, #132A4A 100%);
    color: var(--blanco);
    position: relative;
    overflow: hidden;
}

.inaction-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 162, 74, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.inaction-section .section-title {
    color: var(--blanco);
}

.inaction-section .section-subtitle {
    color: #94a3b8;
}

.inaction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.inaction-card {
    padding: 35px 30px;
    border: 1px solid rgba(200, 162, 74, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
}

.inaction-card:hover {
    transform: translateY(-5px);
    border-color: rgba(200, 162, 74, 0.5);
}

.inaction-card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    display: block;
    color: #f87171;
}

.inaction-card-icon svg {
    width: 100%;
    height: 100%;
}

.inaction-card h3 {
    color: #f87171;
    font-size: 20px;
    margin-bottom: 12px;
}

.inaction-card p {
    color: #cbd5e1;
    margin-bottom: 0;
    font-size: 15px;
}

/* =========================================
   IN-COMPANY
   ========================================= */
.incompany-section {
    background-color: var(--fondo-gris);
}

.incompany-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.incompany-content h3 {
    color: var(--azul-oscuro);
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.incompany-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.incompany-visual {
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-claro));
    border-radius: 16px;
    padding: 50px 40px;
    color: var(--blanco);
    position: relative;
    overflow: hidden;
}

.incompany-visual::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    border: 3px solid rgba(200, 162, 74, 0.2);
    border-radius: 50%;
}

.incompany-visual-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.incompany-visual-item:last-child {
    margin-bottom: 0;
}

.incompany-visual-item-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--dorado);
}

.incompany-visual-item-icon svg {
    width: 100%;
    height: 100%;
}

.incompany-visual-item p {
    color: #d1d5db;
    margin: 0;
    font-size: 15px;
}

.incompany-visual-item strong {
    color: var(--dorado);
    display: block;
    margin-bottom: 2px;
}

/* =========================================
   PROCESO DE ADMISIÓN
   ========================================= */
.admission-section {
    background-color: var(--blanco);
}

.admission-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.admission-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(to right, var(--dorado), rgba(200, 162, 74, 0.2));
    z-index: 0;
}

.admission-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul-claro));
    color: var(--dorado);
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    border: 3px solid var(--dorado);
    box-shadow: 0 8px 25px rgba(11, 31, 58, 0.3);
}

.admission-step h3 {
    color: var(--azul-oscuro);
    font-size: 20px;
    margin-bottom: 12px;
}

.admission-step p {
    font-size: 14px;
    max-width: 280px;
    margin: 0 auto;
}

/* =========================================
   INDUSTRIAS CLAVE
   ========================================= */
.industries-section {
    background-color: var(--fondo-gris);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.industry-card {
    background: var(--blanco);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 3px solid transparent;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--dorado);
}

.industry-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    display: block;
    color: var(--dorado);
}

.industry-icon svg {
    width: 100%;
    height: 100%;
}

.industry-card h3 {
    color: var(--azul-oscuro);
    font-size: 20px;
    margin-bottom: 12px;
}

.industry-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* =========================================
   MEDIA QUERIES (DISEÑO RESPONSIVO 100%)
   ========================================= */

/* TABLETS (hasta 992px) */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }

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

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

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

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

    .incompany-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

/* MÓVILES (hasta 768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    /* Menú Móvil */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--azul-oscuro);
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
        display: none;
        /* Oculto por defecto */
    }

    .nav-links.active {
        display: flex;
    }

    /* Clase para mostrar con JS */
    .nav-links a {
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    /* Ajustes Hero */
    .hero {
        padding: 140px 0 80px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    /* Ajustes Grids a 1 columna */
    .target-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .expert-photo {
        width: 180px;
        height: 180px;
    }

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

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

    .incompany-wrapper {
        grid-template-columns: 1fr;
    }

    .admission-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

/* =========================================
   LOADER CORPORATIVO
   ========================================= */
.loader-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--azul-oscuro);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.loader-screen.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.loader-logo-svg {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

.loader-logo-svg circle {
    fill: none;
    stroke: var(--dorado);
    stroke-width: 2.5;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: drawCircle 1.5s ease-out forwards;
}

.loader-logo-svg .hand {
    stroke: var(--dorado);
    stroke-width: 2.5;
    stroke-linecap: round;
    transform-origin: 40px 40px;
}

.loader-logo-svg .hour {
    animation: rotateHand 4s linear infinite;
}

.loader-logo-svg .minute {
    animation: rotateHand 1s linear infinite;
}

.loader-logo-svg .bar {
    fill: var(--dorado);
    transform: scaleY(0);
    transform-origin: 40px 55px;
    /* Origen en la base de las barras */
}

.loader-logo-svg .bar-1 {
    animation: growBar 0.5s ease-out 0.8s forwards;
}

.loader-logo-svg .bar-2 {
    animation: growBar 0.5s ease-out 1.0s forwards;
}

.loader-logo-svg .bar-3 {
    animation: growBar 0.5s ease-out 1.2s forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes rotateHand {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes growBar {
    to {
        transform: scaleY(1);
    }
}

.loader-text {
    color: var(--blanco);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 6px;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--dorado);
    width: 0;
    animation: typewriter 1.2s steps(14) 1.6s forwards, blinkCursor 0.6s step-end infinite 1.6s;
}

.loader-text span {
    color: var(--dorado);
}

@keyframes typewriter {
    to {
        width: 320px;
    }
}

@keyframes blinkCursor {
    50% {
        border-color: transparent;
    }
}

/* =========================================
   BARRA DE PROGRESO DE SCROLL
   ========================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dorado), #e6c96e);
    width: 0%;
    z-index: 10001;
    transition: width 0.1s linear;
}

/* =========================================
   HERO CINEMATOGRÁFICO (KEN BURNS)
   ========================================= */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Opcional: Filtro sutil para integrar con el estilo corporativo */
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.92) 0%, rgba(19, 42, 74, 0.88) 50%, rgba(11, 31, 58, 0.95) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    z-index: 1;
}

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

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.12) translate(-2%, -1%);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Hero text staggered entrance */
.hero-tag {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease-out 3.2s forwards;
}

.hero h1 {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease-out 3.5s forwards;
}

.hero p {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease-out 3.8s forwards;
}

.hero .btn-dorado {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s ease-out 4.1s forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   SCROLL REVEAL
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-child {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal-child.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scale bounce for admission step numbers */
.step-number {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.admission-step.visible .step-number {
    animation: scaleBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleBounce {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    60% {
        transform: scale(1.15);
        opacity: 1;
    }

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

/* =========================================
   MICRO-INTERACCIONES PREMIUM
   ========================================= */

/* Shine effect on buttons */
.btn-dorado {
    position: relative;
    overflow: hidden;
}

.btn-dorado::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    animation: btnShine 4s ease-in-out infinite;
}

@keyframes btnShine {

    0%,
    75%,
    100% {
        left: -60%;
    }

    50% {
        left: 120%;
    }
}

/* Nav underline animation */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--dorado);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

/* Card golden border sweep on hover */
.module-card,
.target-card,
.industry-card,
.deliverable-card {
    position: relative;
    overflow: hidden;
}

.module-card::after,
.target-card::after,
.industry-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--dorado), transparent);
    transition: left 0.5s ease;
}

.module-card:hover::after,
.target-card:hover::after,
.industry-card:hover::after {
    left: 100%;
}

/* Custom cursor */
.custom-cursor {
    width: 12px;
    height: 12px;
    border: 2px solid var(--dorado);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
    opacity: 0;
}

.custom-cursor.active {
    opacity: 1;
}

.custom-cursor.hover {
    transform: scale(2.5);
    background-color: rgba(200, 162, 74, 0.15);
}

/* Partículas del Hero */
#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

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

/* Loader responsive */
@media (max-width: 768px) {
    .loader-text {
        font-size: 20px;
        letter-spacing: 4px;
    }

    @keyframes typewriter {
        to {
            width: 230px;
        }
    }

    .custom-cursor {
        display: none;
    }
}

/* =========================================
   PROMO MODAL (SEMINARIO)
   ========================================= */
.promo-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-modal.active {
    opacity: 1;
    visibility: visible;
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 58, 0.85);
    backdrop-filter: blur(8px);
}

.promo-container {
    position: relative;
    background: var(--blanco);
    width: 90%;
    max-width: 550px;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    border-top: 6px solid var(--dorado);
    overflow: hidden;
}

.promo-modal.active .promo-container {
    transform: scale(1) translateY(0);
}

.promo-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: var(--texto-claro);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

.promo-close:hover {
    color: var(--dorado);
}

.promo-tag {
    color: var(--dorado);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.promo-title {
    color: var(--azul-oscuro);
    font-size: 26px;
    margin-bottom: 10px;
}

.promo-speaker {
    font-size: 14px;
    color: var(--texto-claro);
    margin-bottom: 30px;
}

.promo-speaker span {
    color: var(--azul-oscuro);
    font-weight: 600;
}

/* COUNTDOWN */
.promo-countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.count-item {
    display: flex;
    flex-direction: column;
    min-width: 65px;
}

.count-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--azul-oscuro);
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #eee;
}

.count-label {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--texto-claro);
    margin-top: 5px;
    letter-spacing: 1px;
}

.promo-list {
    text-align: left;
    list-style: none;
    margin-bottom: 35px;
    padding: 0 10px;
}

.promo-list li {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    color: var(--texto-oscuro);
}

.promo-list li::before {
    content: '✓';
    color: var(--dorado);
    font-weight: bold;
}

@media (max-width: 500px) {
    .promo-container {
        padding: 25px 15px;
        width: 92%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .promo-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .promo-speaker {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .promo-countdown {
        gap: 8px;
        margin-bottom: 25px;
    }

    .count-item {
        min-width: 45px;
    }

    .count-num {
        font-size: 18px;
        min-width: 40px;
        padding: 6px 4px;
    }

    .promo-list {
        margin-bottom: 25px;
    }

    .promo-list li {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .promo-btn {
        padding: 12px 20px !important;
        font-size: 13px !important;
    }
}

/* =========================================
   TOP BAR PROMO
   ========================================= */
.top-promo-bar {
    background: rgba(11, 31, 58, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--blanco);
    padding: 22px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    position: fixed;
    top: 82px;
    width: 100%;
    z-index: 999;
    cursor: pointer;
    border-bottom: 1px solid rgba(200, 162, 74, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.03em;
}

.top-promo-bar:hover {
    background: rgba(19, 42, 74, 0.95);
    border-bottom-color: var(--dorado);
}

.top-promo-bar .timer-span {
    color: var(--dorado);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(200, 162, 74, 0.3);
    display: inline-block;
    min-width: 180px;
}

.top-promo-bar .btn-mini {
    background: transparent;
    color: var(--dorado);
    padding: 4px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    border: 1px solid rgba(200, 162, 74, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.top-promo-bar:hover .btn-mini {
    background: var(--dorado);
    color: var(--azul-oscuro);
    border-color: var(--dorado);
}

/* Indicador de "Vivo" sutil */
.promo-live-dot {
    width: 6px;
    height: 6px;
    background-color: var(--dorado);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 8px var(--dorado);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

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

/* Ajuste Hero para la barra */
.hero {
    padding-top: 220px !important;
}

@media (max-width: 768px) {
    .top-promo-bar {
        font-size: 10px;
        top: 82px;
        padding: 12px 15px;
        gap: 8px;
    }

    .top-promo-bar .timer-span {
        font-size: 12px;
        min-width: auto;
    }

    .hero {
        padding-top: 180px !important;
    }
}

@media (max-width: 480px) {
    .top-promo-bar {
        padding: 10px;
        flex-direction: column;
        gap: 4px;
    }

    .top-promo-bar strong {
        display: none;
        /* Ocultar "Seminario Exclusivo" en móviles muy pequeños */
    }

    .hero {
        padding-top: 200px !important;
    }
}
