:root {
    --blue-deep: #1c273b;
    --blue-mid: #14598d;
    --blue-brand: #0989c7;
    --blue-light: #4bb5eb;
    --yellow: #f3e500;
    --yellow-hover: #d9cc00;
    --black: #1c273b;
    --white: #ffffff;
    --gray-100: #f4f6fb;
    --gray-200: #e8ecf4;
    --gray-400: #9aa5bc;
    --gray-600: #5a6480;
    --gray-800: #2a3148;
    --text: #1c273b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body, input, select, textarea, button {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.dot-blue {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--blue-brand);
    border-radius: 50%;
    margin-right: 12px;
    margin-bottom: 3px;
    vertical-align: middle;
}

/* ── TOPBAR ── */
.topbar {
    background: var(--blue-deep);
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}

.topbar-logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.5px;
}

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

.topbar-cta {
    background: var(--yellow);
    color: var(--blue-deep);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s;
}

.topbar-cta:hover {
    background: var(--yellow-hover);
}

/* ── HERO ── */
.hero {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 55%, #0f3a80 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 24px 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 95, 209, .35) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 200, 0, .08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1100px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 200, 0, .15);
    border: 1px solid rgba(245, 200, 0, .3);
    color: var(--yellow);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(32px, 4.5vw, 52px);
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero h1 span {
    color: var(--yellow);
}

.hero-un-anio {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    margin-top: 15px;
}

.hero-un-anio-icon {
    font-size: 24px;
    line-height: 1;
    animation: icon-pulse 2.2s ease-in-out infinite;
    display: inline-block;
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px rgba(243, 229, 0, 0))
    }

    50% {
        transform: scale(1.18);
        filter: drop-shadow(0 0 8px rgba(243, 229, 0, .7))
    }
}

.hero-un-anio-text {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.hero-un-anio-text span {
    color: var(--yellow);
    position: relative;
    padding-bottom: 3px;
}

.hero-un-anio-text span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    background-size: 200% 100%;
    animation: underline-sweep 2s ease-in-out infinite;
    border-radius: 2px;
}

@keyframes underline-sweep {
    0% {
        background-position: 100% 0;
        opacity: .4
    }

    50% {
        background-position: 0% 0;
        opacity: 1
    }

    100% {
        background-position: -100% 0;
        opacity: .4
    }
}

.hero-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 28px;
    max-width: 560px;
    font-weight: 300;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.hero-pill {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 20px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--yellow);
    color: var(--blue-deep);
    font-weight: 700;
    font-size: 16px;
    padding: 15px 32px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(245, 200, 0, .35);
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--yellow);
    line-height: 1;
}

.hero-stat span {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

/* Hero card */
.hero-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    position: relative;
    z-index: 2;
}

.hero-card h3 {
    font-size: 20px;
    color: var(--blue-deep);
    margin-bottom: 6px;
}

.hero-card>p {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 22px;
}

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

.form-field {
    margin-bottom: 14px;
}

.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
    background: var(--gray-100);
    transition: border-color .2s;
    outline: none;
    appearance: none;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--blue-brand);
    background: var(--white);
}

.form-submit {
    width: 100%;
    background: var(--blue-brand);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    padding: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-top: 6px;
    transition: all .2s;
}

.form-submit:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
}

.form-legal {
    font-size: 11px;
    color: var(--gray-400);
    text-align: center;
    margin-top: 10px;
}

/* ── SECTIONS ── */
.section {
    padding: 80px 24px;
}

.section-light {
    background: var(--gray-100);
}

.section-dark {
    background: var(--blue-deep);
}

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

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-brand);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(26px, 3vw, 40px);
    color: var(--blue-deep);
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 16px;
    color: var(--gray-600);
    max-width: 700px;
    line-height: 1.7;
}

.section-desc.white {
    color: rgba(255, 255, 255, .7);
}

.title-accent {
    color: var(--blue-brand);
}

.title-accent-yellow {
    color: var(--yellow);
}

/* ── VIDEO SECTION ── */
.video-full {
    background: var(--blue-deep);
    padding: 0;
    line-height: 0;
}

.video-full iframe {
    width: 100%;
    height: clamp(280px, 56vw, 680px);
    border: none;
    display: block;
}

/* ── QUÉ ES EL CURSO (2 col) ── */
.curso-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.curso-img {
    position: relative;
}

.curso-img img {
    width: 100%;
    display: block;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--blue-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 12px;
    margin-top: 1px;
}

/* ── PARA QUÉ SIRVE / A QUIÉN VA (fusionado) con estilo Salidas ── */
.salida-item {
    background: var(--white);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    border: 1.5px solid var(--gray-200);
    transition: all .2s;
}

.salida-item:hover {
    border-color: var(--blue-brand);
    box-shadow: 0 8px 32px rgba(16, 70, 178, .12);
    transform: translateY(-2px);
}

.salida-icon {
    font-size: 34px;
    margin-bottom: 14px;
    display: block;
}

.salida-item h4 {
    font-size: 15px;
    color: var(--blue-deep);
    font-weight: 700;
    margin-bottom: 6px;
}

.salida-item p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
}

/* ── TEMARIO ── */
.temario-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    border: 1.5px solid var(--gray-200);
    border-top: 4px solid var(--blue-brand);
}

.temario-card h3 {
    font-size: 17px;
    color: var(--blue-deep);
    margin-bottom: 16px;
}

.temario-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.temario-list li {
    font-size: 14px;
    color: var(--gray-800);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.temario-list li::before {
    content: '›';
    color: var(--blue-brand);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
    flex-shrink: 0;
}

/* ── METODOLOGÍA ── */
.meto-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    transition: background .25s;
}

.meto-card:hover {
    background: rgba(255, 255, 255, .1);
}

.meto-icon {
    width: 64px;
    height: 64px;
    background: rgba(245, 200, 0, .15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.meto-card h3 {
    font-size: 17px;
    color: var(--white);
    margin-bottom: 10px;
}

.meto-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.6;
}

/* ── GARANTÍA ── */
.garantia-box {
    background: linear-gradient(135deg, var(--blue-brand), #0d3ba0);
    border-radius: 20px;
    padding: 48px;
    margin-top: 48px;
    box-shadow: 0 16px 48px rgba(16, 70, 178, .3);
}

.garantia-icon {
    font-size: 64px;
    line-height: 1;
}

.garantia-box h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 12px;
}

.garantia-box p {
    font-size: 15px;
    color: rgba(255, 255, 255, .8);
    line-height: 1.7;
}

.garantia-box strong {
    color: var(--yellow);
}

/* ── TÍTULO OFICIAL ── */
.titulo-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.titulo-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--blue-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
}

.titulo-step-content h4 {
    font-size: 15px;
    color: var(--blue-deep);
    margin-bottom: 4px;
}

.titulo-step-content p {
    font-size: 14px;
    color: var(--gray-600);
}

.titulo-salidas {
    background: var(--gray-100);
    border-radius: 16px;
    padding: 32px;
    border-left: 4px solid var(--yellow);
}

.titulo-salidas h4 {
    font-size: 16px;
    color: var(--blue-deep);
    margin-bottom: 16px;
}

.titulo-salidas ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.titulo-salidas ul li {
    font-size: 14px;
    color: var(--gray-800);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.titulo-salidas ul li::before {
    content: '✓';
    color: var(--blue-brand);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── OPINIONES ── */
.opinion-card {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07);
    border: 1.5px solid var(--gray-200);
}

.opinion-stars {
    color: var(--yellow);
    font-size: 18px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.opinion-text {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.opinion-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.opinion-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-brand), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.opinion-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--blue-deep);
}

.opinion-since {
    font-size: 12px;
    color: var(--gray-400);
}

/* ── FAQ ── */
.faq-list {
    max-width: 760px;
    margin: 48px auto 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    border: 1.5px solid var(--gray-200);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--blue-deep);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background .2s;
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-toggle {
    width: 28px;
    height: 28px;
    background: var(--blue-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform .2s;
}

.faq-answer {
    padding: 0 24px;
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: all .3s ease;
}

.faq-item.open .faq-answer {
    padding: 0 24px 20px;
    max-height: 300px;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

/* ── CTA FINAL ── */
.cta-final {
    background: linear-gradient(135deg, var(--blue-brand), #0d3ba0);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 200, 0, .12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-final h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    color: var(--white);
    margin-bottom: 14px;
}

.cta-final p {
    font-size: 17px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    background: var(--blue-deep);
    color: rgba(255, 255, 255, .5);
    text-align: center;
    padding: 28px 24px;
    font-size: 13px;
}

footer span {
    color: var(--yellow);
}

footer a {
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

    .hero-inner,
    .curso-grid,
    .titulo-grid {
        grid-template-columns: 1fr;
    }

    .temario-grid,
    .salidas-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .salida-item {
        padding: 24px 20px;
    }

    .hero-stats {
        gap: 20px;
        justify-content: center;
        text-align: center;
    }

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

    .hero {
        padding: 120px 20px 80px;
        text-align: center;
    }

    .hero-inner .col-lg-7 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-un-anio {
        justify-content: center;
    }

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

    .hero-form-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 16px;
    }
}

.form-submit-yellow {
    background: var(--yellow) !important;
    color: var(--blue-deep) !important;
}

.form-submit-yellow:hover {
    background: var(--yellow-hover) !important;
}

/* ── CARRUSEL METODOLOGÍA ── */
.meto-carousel-wrap {
    margin-top: 52px;
    position: relative;
}

.meto-carousel {
    position: relative;
    min-height: 280px;
}

.meto-slide {
    display: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, .03) 100%);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: 52px 64px;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    animation: slideIn .35s ease;
}

.meto-slide.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

.meto-slide-num {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.meto-slide-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(245, 200, 0, .3));
}

.meto-slide-title {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 14px;
}

.meto-slide-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

.meto-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
}

.meto-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meto-btn:hover {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--blue-deep);
}

.meto-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.meto-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    transition: all .2s;
}

.meto-dot.active {
    background: var(--yellow);
    transform: scale(1.3);
}

.meto-progress-bar {
    max-width: 680px;
    margin: 20px auto 0;
    height: 3px;
    background: rgba(255, 255, 255, .1);
    border-radius: 2px;
    overflow: hidden;
}

.meto-progress-fill {
    height: 100%;
    background: var(--yellow);
    border-radius: 2px;
    transition: width .4s ease;
}

@media (max-width: 480px) {
    .meto-slide {
        padding: 36px 28px;
    }

    .meto-slide-title {
        font-size: 22px;
    }

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

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

    .garantia-box {
        padding: 30px 20px;
        flex-direction: column;
        text-align: center;
    }

    .garantia-box .garantia-icon {
        padding: 0 !important;
        margin-bottom: 8px;
    }

    .garantia-box .col {
        padding: 0 !important;
    }
}