/* --- CORMORANT GARAMOND (Display & Titles) --- */

/* 400 - Regular */
@font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-v12-regular.woff2') format('woff2');
}

/* 500 - Medium */
@font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-v12-500.woff2') format('woff2');
}

/* 600 - SemiBold */
@font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-v12-600.woff2') format('woff2');
}

/* 700 - Bold */
@font-face {
    font-family: 'Hanken Grotesk';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/hanken-grotesk-v12-700.woff2') format('woff2');
}

:root {
    --navy: #1B3A5C;
    --navy-deep: #0F2440;
    --navy-light: #2A5F8F;
    --navy-glow: rgba(27, 58, 92, 0.18);
    --obsidian: #0A1628;
    --charcoal: #12203A;
    --slate: #1E2A3D;
    --gunmetal: #2C3E50;
    --silver: #6B7B8D;
    --pearl: #E2E8F0;
    --ivory: #F8FAFB;
    --cream: #FDFCF9;
    --white: #FFFFFF;
    --dark: #222831;
    --dark-light: #2B3240;
    --dark-deep: #1A1F27;
    --dark-glow: rgba(34, 40, 49, 0.6);
    --gold: #DCB17C;
    --gold-light: #E8CFA0;
    --gold-dark: #C49A5C;
    --gold-glow: rgba(220, 177, 124, 0.15);
    --font-display: 'Hanken Grotesk', sans-serif;
    --font-body: 'Hanken Grotesk', sans-serif;
    --shadow-card: 0 4px 24px rgba(27, 58, 92, 0.06);
    --shadow-elevated: 0 20px 50px rgba(10, 22, 40, 0.10);
    --ease-refined: cubic-bezier(0.23, 1, 0.32, 1);
    --duration-fast: 0.2s;
    --duration-base: 0.45s;
    --radius: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
    scroll-padding-top: 140px;
}

body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--charcoal);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gold-line {
    width: 60px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border: none;
    margin: 1.25rem auto 0;
}

.gold-line-left {
    margin-left: 0;
    margin-right: auto;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ============================================================
            ANIMATIONS
        ============================================================ */
@keyframes checkDraw {
    from {
        stroke-dashoffset: 60;
        opacity: 0;
    }

    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes ringPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 177, 124, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(220, 177, 124, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 177, 124, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--duration-base) var(--ease-refined);
    background: rgba(34, 40, 49, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header.scrolled {
    padding: 0.625rem 0;
    background: rgba(34, 40, 49, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 70px;
    width: auto;
    transition: var(--duration-base);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-menu a {
    font-size: 14.45px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.578px;
    padding: 0 5px;
    position: relative;
    transition: color var(--duration-fast);
}

.nav-menu a:hover {
    color: #DCB17C;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #DCB17C;
    transition: width var(--duration-base) var(--ease-refined);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 8px 48px;
    background: linear-gradient(167deg, var(--gold), var(--gold-dark));
    color: var(--white) !important;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14.45px;
    letter-spacing: 0.578px;
    text-transform: uppercase;
    transition: all var(--duration-base) var(--ease-refined);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--gold-glow);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--duration-fast);
    border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2.25rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--duration-base) var(--ease-refined);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    color: var(--white);
    box-shadow: 0 4px 16px var(--navy-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(27, 58, 92, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 4px 16px var(--gold-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(220, 177, 124, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--pearl);
}

.btn-outline:hover {
    background: var(--ivory);
    border-color: var(--gold);
    color: var(--gold-dark);
}

.btn-lg {
    padding: 1.125rem 2.75rem;
    font-size: 0.92rem;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(170deg, var(--dark-deep) 0%, var(--dark) 40%, var(--dark-light) 100%);
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.hero-bg-shapes .shape-1 {
    width: 500px;
    height: 500px;
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(220, 177, 124, 0.08) 0%, transparent 70%);
}

.hero-bg-shapes .shape-2 {
    width: 400px;
    height: 400px;
    bottom: -10%;
    left: -8%;
    background: radial-gradient(circle, rgba(220, 177, 124, 0.05) 0%, transparent 70%);
}

.hero-bg-shapes .shape-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 45%;
    background: radial-gradient(circle, rgba(220, 177, 124, 0.05) 0%, transparent 70%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23DCB17C' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
    position: relative;
    z-index: 10;
    padding-top: 140px;
    padding-bottom: 80px;
}

.hero-top {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 5rem;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    background: rgba(220, 177, 124, 0.1);
    border: 1px solid rgba(220, 177, 124, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 2rem;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: #DCB17C;
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.02;
}

.hero-title strong {
    font-weight: 600;
    color: #DCB17C;
}

.hero-gold-line {
    width: 55px;
    height: 2.5px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin-bottom: 1.75rem;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.85;
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.hero-meta-item svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 500;
    color: var(--gold-dark);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.375rem;
    font-weight: 500;
}

/* HERO FORM */
.hero-form-wrapper {
    position: relative;
}

.hero-form-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(27, 58, 92, 0.12), 0 0 0 1px rgba(27, 58, 92, 0.05);
}

.hero-form-header {
    background: linear-gradient(135deg, #DCB17C, #C49A5C);
    padding: 1.75rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-form-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E8CFA0, transparent);
}

.hero-form-header h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0;
    margin-bottom: 0.25rem;
}

.hero-form-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

.hero-form-body {
    padding: 1.75rem 2rem 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1.1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--ivory);
    border: 1.5px solid var(--pearl);
    border-radius: var(--radius);
    transition: all var(--duration-fast);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231B3A5C' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--navy);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--navy-glow);
}

.form-group input::placeholder {
    color: var(--silver);
    font-size: 0.9rem;
    font-weight: 300;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    margin-top: 0.25rem;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--navy);
    flex-shrink: 0;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.82rem;
    color: var(--silver);
    line-height: 1.5;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--navy);
    text-decoration: underline;
    text-decoration-color: var(--gold);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-refined);
}

.form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--gold-glow);
}

.form-submit:active {
    transform: translateY(0);
}

.form-success {
    display: none;
    text-align: center;
    padding: 2.5rem 2rem;
}

.form-success.active {
    display: block;
    animation: fadeInUp 0.5s var(--ease-refined);
}

.form-success-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 1rem;
    color: var(--silver);
    line-height: 1.6;
}

.form-error {
    font-size: 0.78rem;
    color: #C0392B;
    margin-top: 0.25rem;
    display: none;
}

.form-group.error input,
.form-group.error select {
    border-color: #C0392B;
}

.form-group.error .form-error {
    display: block;
}

/* SECTION NAV */
.section-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: box-shadow var(--duration-base);
    display: none;
}

.section-nav.visible {
    display: block;
    animation: slideDown 0.3s var(--ease-refined);
}

.section-nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.section-nav-inner::-webkit-scrollbar {
    display: none;
}

.section-nav-link {
    flex-shrink: 0;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.03em;
    position: relative;
    transition: color var(--duration-fast);
    white-space: nowrap;
}

.section-nav-link:hover {
    color: var(--white);
}

.section-nav-link.active {
    color: var(--white);
    font-weight: 600;
}

.section-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: var(--gold);
    border-radius: 2px 2px 0 0;
}

/* SECTION BASE */
.section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.875rem;
}

.section-title {
    font-size: clamp(2.125rem, 3.8vw, 3.25rem);
    color: var(--navy-deep);
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--silver);
    line-height: 1.75;
    margin-top: 1.25rem;
    font-weight: 300;
}

/* ACERCA DEL PROGRAMA */
.acerca-section {
    background: var(--white);
}

.acerca-content {
    max-width: 860px;
    margin: 0 auto;
}

.acerca-intro {
    font-size: 1.08rem;
    color: var(--gunmetal);
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.acerca-dropdown {
    border: 1.5px solid var(--pearl);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--duration-fast);
}

.acerca-dropdown:hover {
    border-color: var(--gold);
}

.acerca-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.75rem;
    background: var(--ivory);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-deep);
    transition: background var(--duration-fast);
}

.acerca-dropdown-toggle:hover {
    background: rgba(220, 177, 124, 0.06);
}

.acerca-dropdown-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--duration-base) var(--ease-refined);
    flex-shrink: 0;
}

.acerca-dropdown-icon svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.acerca-dropdown.open .acerca-dropdown-icon {
    transform: rotate(180deg);
}

.acerca-dropdown-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-refined);
}

.acerca-dropdown.open .acerca-dropdown-body {
    max-height: 600px;
}

.acerca-dropdown-inner {
    padding: 1.5rem 1.75rem 1.75rem;
}

.acerca-dropdown-inner p {
    font-size: 1.02rem;
    color: var(--gunmetal);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.acerca-dropdown-inner p:last-child {
    margin-bottom: 0;
}

.acerca-highlight {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(27, 58, 92, 0.03), rgba(220, 177, 124, 0.06));
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 1rem;
}

.acerca-highlight p {
    color: var(--navy-deep);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0 !important;
    line-height: 1.6;
}

.acerca-highlight strong {
    color: var(--gold-dark);
}

/* POR QUE ESTUDIAR */
.porque-section {
    background: var(--ivory);
}

.porque-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

.porque-card {
    padding: 1.15rem 1.5rem;
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--pearl);
    transition: all var(--duration-base) var(--ease-refined);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.porque-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(220, 177, 124, 0.12);
}

.porque-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.porque-card-icon svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

.porque-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.porque-card h4 {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy-deep);
    line-height: 1.3;
}

.porque-card p {
    font-size: 0.82rem;
    color: var(--silver);
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
}

/* SERAS CAPAZ DE */
.capaz-section {
    background: var(--dark);
}

.capaz-section .section-label {
    color: var(--gold-light);
}

.capaz-section .section-title {
    color: var(--white);
}

.capaz-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 960px;
    margin: 0 auto;
}

.capaz-card {
    padding: 2.25rem 2rem;
    background: var(--dark-light);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--duration-base) var(--ease-refined);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.capaz-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 32px rgba(220, 177, 124, 0.12);
}

.capaz-card-num {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.capaz-card p {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-weight: 300;
}

/* INFO SECTION */
.info-section {
    background: var(--ivory);
}

.info-grid {
    display: flex;
    gap: 1.5rem;
}

.info-card {
    flex: 1;
    padding: 2.25rem 1.75rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--pearl);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all var(--duration-base) var(--ease-refined);
    box-shadow: var(--shadow-card);
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.info-card-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.info-card-text h3 {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--silver);
    margin-bottom: 0.25rem;
}

.info-card-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--navy-deep);
    line-height: 1.35;
}

/* MISION ACADEMICA */
.mision-section {
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.mision-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 3.5rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--pearl);
    box-shadow: var(--shadow-card);
}

.mision-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(220, 177, 124, 0.1);
    border: 1px solid rgba(220, 177, 124, 0.25);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1.5rem;
}

.mision-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--navy-deep);
    margin-bottom: 0.5rem;
}

.mision-content .gold-line {
    margin-bottom: 1.5rem;
}

.mision-content>p {
    font-size: 1.08rem;
    color: var(--gunmetal);
    line-height: 1.9;
    margin-bottom: 1rem;
    font-weight: 300;
}

.mision-content .mision-note {
    font-size: 0.92rem;
    color: var(--gold-dark);
    font-style: italic;
}

.mision-optional {
    display: block;
    font-size: 0.92rem;
    color: var(--silver);
    font-style: italic;
    margin-bottom: 0.75rem;
}

.mision-modalidad {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(220, 177, 124, 0.08);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold-dark);
    margin-bottom: 1.25rem !important;
}

.mision-tema {
    font-size: 1.15rem !important;
    font-weight: 500 !important;
    color: var(--navy-deep) !important;
    margin-bottom: 0.75rem !important;
}

.mision-universidad {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.05rem !important;
    color: var(--gunmetal) !important;
    margin-bottom: 1.5rem !important;
}

.mision-universidad svg {
    color: var(--gold);
    flex-shrink: 0;
}

.mision-cert-box {
    background: rgba(220, 177, 124, 0.06);
    border: 1px solid rgba(220, 177, 124, 0.2);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-top: 0.5rem;
}

.mision-cert-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}

.mision-cert-box p {
    font-size: 0.95rem;
    color: var(--gunmetal);
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

/* MALLA CURRICULAR */
.malla-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.malla-section .section-label {
    color: var(--gold-light);
}

.malla-section .section-title {
    color: var(--white);
}

.malla-section .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.malla-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.malla-column-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gold);
}

.malla-column-courses {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.malla-course {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.25rem;
    background: var(--dark-light);
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: all var(--duration-fast);
    line-height: 1.45;
    font-weight: 400;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.malla-course:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(220, 177, 124, 0.12);
    transform: translateY(-2px);
}

.malla-course-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.malla-download {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

.malla-disclaimer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.malla-section .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.15);
}

.malla-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    color: var(--gold-light);
}

/* CERTIFICACIONES */
.cert-section {
    background: var(--white);
}

.cert-timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.cert-card {
    padding: 2.5rem;
    background: var(--ivory);
    border-radius: var(--radius);
    border: 1px solid var(--pearl);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-refined);
    box-shadow: var(--shadow-card);
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 32px rgba(220, 177, 124, 0.15);
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.cert-marker {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cert-marker span {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.2;
}

.cert-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.cert-card p {
    font-size: 1.02rem;
    color: var(--gunmetal);
    line-height: 1.7;
    font-weight: 300;
}

/* CAMPO LABORAL */
.campo-section {
    background: var(--dark);
}

.campo-section .section-label {
    color: var(--gold-light);
}

.campo-section .section-title {
    color: var(--white);
}

.campo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.campo-card {
    padding: 2rem 1.75rem;
    background: var(--dark-light);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    transition: all var(--duration-base) var(--ease-refined);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.campo-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 12px 32px rgba(220, 177, 124, 0.12);
}

.campo-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.campo-card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--white);
}

.campo-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

/* DIRIGIDO A */
.dirigido-section {
    background: var(--white);
}

.dirigido-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 3.5rem;
    background: var(--ivory);
    border-radius: var(--radius);
    border: 1px solid var(--pearl);
    color: var(--navy-deep);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.dirigido-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dark), var(--gold), var(--dark));
}

.dirigido-card p {
    font-size: 1.08rem;
    color: var(--gunmetal);
    line-height: 1.9;
    font-weight: 300;
}

/* REQUISITOS POPUP */
.requisitos-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.requisitos-popup-overlay.active {
    display: flex;
    animation: fadeInUp 0.35s var(--ease-refined);
}

.requisitos-popup-card {
    width: 100%;
    max-width: 650px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    animation: scaleIn 0.4s var(--ease-refined);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

.requisitos-popup-header {
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    padding: 1.75rem 2rem;
    text-align: center;
    position: relative;
}

.requisitos-popup-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.requisitos-popup-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.requisitos-popup-header p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.requisitos-popup-body {
    padding: 1.5rem 2rem 2rem;
}

.requisitos-popup-close {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background var(--duration-fast);
    border: none;
}

.requisitos-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.requisitos-popup-close svg {
    width: 14px;
    height: 14px;
    color: var(--white);
}

.requisitos-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.requisito-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .5rem .75rem;
    background: var(--ivory);
    border: 1.5px solid var(--pearl);
    border-radius: 10px;
    transition: all var(--duration-fast);
}

@media (min-width: 992px) {
    .requisito-item {
        padding: 1rem 1.25rem;
    }
}

.requisito-item:hover {
    border-color: var(--gold);
}

.requisito-check {
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .requisito-check {
        width: 28px;
        height: 28px;
    }
}

.requisito-check svg {
    width: 12px;
    height: 12px;
    color: var(--gold);
}

.requisito-item p {
    font-size: 0.92rem;
    color: var(--gunmetal);
    line-height: 1.5;
    font-weight: 400;
    padding-top: 0.15rem;
}

.btn-requisitos-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: transparent;
    border: 1.5px solid var(--pearl);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-deep);
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-refined);
}

.btn-requisitos-trigger:hover {
    border-color: var(--gold);
    color: var(--gold-dark);
    box-shadow: 0 4px 16px var(--gold-glow);
}

.btn-requisitos-trigger svg {
    width: 16px;
    height: 16px;
}

/* DOCENTES */
.docentes-section {
    background: var(--white);
}

.docentes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.docente-card {
    text-align: center;
    padding: 2.75rem 2rem;
    background: var(--ivory);
    border-radius: var(--radius);
    border: 1px solid var(--pearl);
    transition: all var(--duration-base) var(--ease-refined);
    box-shadow: var(--shadow-card);
}

.docente-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
}

.docente-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ivory), var(--pearl));
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--pearl);
}

.docente-avatar svg {
    width: 40px;
    height: 40px;
    color: var(--silver);
}

.docente-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--navy-deep);
    margin-bottom: 0.25rem;
}

.docente-role {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-dark);
}



/* Docentes slider*/

/* ==========================================================================
   SECCIÓN DOCENTES - CÓDIGO CSS COMPLETO
   ========================================================================== */

/* 1. Contenedor Principal del Slider */
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    /* Permite que las flechas sobresalgan en los laterales en desktop */
}

/* 2. El Carrusel (Contenedor de movimiento) */
.docentes-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
    /* Oculta scroll en Firefox */
    -webkit-overflow-scrolling: touch;
    /* Scroll suave en iOS */
}

/* Ocultar barra de desplazamiento en Chrome, Safari y Edge */
.docentes-slider::-webkit-scrollbar {
    display: none;
}

/* 3. Diseño de las Tarjetas de Docentes */
.docente-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    scroll-snap-align: center;
    flex: 0 0 85%;
    /* En móvil cada tarjeta ocupa el 85% del ancho */
}

/* 4. Elementos Internos de la Tarjeta */
.docente-avatar {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    /* Fondo suave color oro */
    color: var(--gold);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.docente-avatar svg {
    width: 40px;
    height: 40px;
}

.docente-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.docente-role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.docente-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* 5. Controles (Flechas de navegación) */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    width: 100%;
    position: relative;
    z-index: 99;
}

.slider-arrow {
    background: var(--gold);
    color: var(--navy);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: opacity 0.3s ease, transform 0.2s ease, filter 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    /* Importante para móvil: forzar posición relativa */
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* Efecto al presionar la flecha */
.slider-arrow:active {
    transform: scale(0.9) !important;
}

/* 6. Adaptación para Pantallas Grandes (Desktop) */
@media (min-width: 992px) {
    .docentes-slider .docente-card {
        flex: 0 0 calc(33.333% - 14px);
        /* Muestra 3 tarjetas a la vez */
    }

    .slider-controls {
        margin-top: 0;
        position: static;
    }

    /* Posicionamiento de flechas a los costados del carrusel */
    .slider-arrow {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .slider-arrow.prev {
        left: -60px !important;
    }

    .slider-arrow.next {
        right: -60px !important;
    }

    /* Animación hover en las tarjetas */
    .docente-card:hover {
        transform: translateY(-10px);
    }
}

/* 7. Ajustes Específicos para Móvil */
@media (max-width: 991px) {
    .slider-wrapper {
        padding: 0 5px;
    }

    .docente-card {
        padding: 2rem 1.5rem;
    }
}







/* CTA SECTION */
.cta-section {
    background: var(--dark-deep);
    padding: 5rem 0;
}

.cta-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3.5rem;
    background: var(--dark-light);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-card h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 1.75rem;
}

.cta-card .btn {
    margin-bottom: 1.75rem;
}

.cta-contact {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

.cta-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

/* FOOTER */
.footer {
    background: var(--dark-deep);
    padding: 3rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.3;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.65;
}

.footer-copy {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--duration-fast);
}

.footer-links a:hover {
    color: var(--gold);
}

/* POPUP INVERSION MODAL */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.popup-overlay.active {
    display: flex;
    animation: fadeInUp 0.35s var(--ease-refined);
}

.popup-card {
    width: 100%;
    max-width: 420px;
    background: var(--ivory);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    animation: scaleIn 0.4s var(--ease-refined);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
    padding: 2rem 1.75rem 1.75rem;
}

.popup-close {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    width: 32px;
    height: 32px;
    background: var(--pearl);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background var(--duration-fast);
    border: none;
}

.popup-close:hover {
    background: #d1d5db;
}

.popup-close svg {
    width: 14px;
    height: 14px;
    color: var(--gunmetal);
}

.popup-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-deep);
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.popup-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.popup-price-box {
    border: 1.5px solid var(--pearl);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    text-align: center;
    background: var(--white);
    transition: all var(--duration-fast);
}

.popup-price-box.highlight {
    border-color: var(--gold);
    background: rgba(220, 177, 124, 0.04);
}

.popup-price-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--silver);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
}

.popup-price-box.highlight .popup-price-label {
    color: var(--gold-dark);
}

.popup-price-amount {
    font-family: var(--font-body);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--navy-deep);
    line-height: 1.1;
}

.popup-price-box:not(.highlight) .popup-price-amount {
    color: var(--silver);
    text-decoration: line-through;
    text-decoration-color: rgba(107, 123, 141, 0.4);
    font-weight: 700;
}

.popup-savings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(220, 177, 124, 0.1);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.popup-savings-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.popup-savings-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-dark);
}

.popup-savings-text span {
    font-weight: 800;
}

.popup-note {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--silver);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.popup-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold-dark), #a8834a);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 100px;
    transition: all var(--duration-base) var(--ease-refined);
    box-shadow: 0 4px 16px rgba(196, 154, 92, 0.3);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.popup-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(196, 154, 92, 0.4);
    color: var(--white);
}

.popup-cta-btn svg {
    width: 16px;
    height: 16px;
}

.hero-area {
    font-size: 0.9rem;
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero-start-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.hero-start-icon {
    width: 44px;
    height: 44px;
    background: rgba(220, 177, 124, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-start-icon svg {
    width: 20px;
    height: 20px;
    color: #DCB17C;
}

.hero-start-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 600;
}

.hero-start-text span {
    font-size: 0.85rem;
    color: #DCB17C;
    font-weight: 500;
}

.hero-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all var(--duration-base) var(--ease-refined);
}

.hero-info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 177, 124, 0.3);
}

.hero-info-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(220, 177, 124, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.hero-info-card-icon svg {
    width: 22px;
    height: 22px;
    color: #DCB17C;
}

.hero-info-card-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.4rem;
}

.hero-info-card-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.35;
}

/* -- FLOATING CTA -- */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #DCB17C, #C49A5C);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(220, 177, 124, 0.35);
    transition: all var(--duration-base) var(--ease-refined);
    transform: translateY(100px);
    opacity: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.floating-cta.visible {
    transform: translateY(0);
    opacity: 1;
}

.floating-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(220, 177, 124, 0.45);
    color: #ffffff;
}

.floating-cta svg {
    width: 18px;
    height: 18px;
}

/* ============================================================
            THANK YOU HERO
        ============================================================ */
.thankyou-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at top right, #1e2a3d 0%, #1a1f27 100%);
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.shape-1 {
    width: 40vw;
    height: 40vw;
    top: -10%;
    right: -5%;
    background: rgba(220, 177, 124, 0.08);
}

.shape-2 {
    width: 30vw;
    height: 30vw;
    bottom: -5%;
    left: -5%;
    background: rgba(27, 58, 92, 0.15);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30L30 0M30 30L60 30M30 30L30 60M30 30L0 30' stroke='%23DCB17C' stroke-width='1'/%3E%3C/svg%3E");
}

.thankyou-hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.thankyou-card {
    max-width: 650px;
    width: 100%;
    text-align: center;
    z-index: 10;
    margin: 0 auto;
}

.thankyou-icon-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2.5rem;
}

.thankyou-icon-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ringPulse 2s infinite;
}

.thankyou-icon-circle svg {
    width: 45px;
    height: 45px;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: checkDraw 0.8s var(--ease-refined) 0.5s forwards;
}

.thankyou-icon-ring {
    position: absolute;
    inset: -15px;
    border: 1px solid rgba(220, 177, 124, 0.2);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.thankyou-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.thankyou-title strong {
    color: var(--gold);
    font-weight: 600;
}

.thankyou-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 2rem;
    border: none;
    border-radius: 2px;
}

.thankyou-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin: 0 auto 3rem;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s var(--ease-refined);
    box-shadow: 0 10px 30px rgba(220, 177, 124, 0.2);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(220, 177, 124, 0.4);
}

.thankyou-note {
    margin-top: 2.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}



/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-start-info {
        justify-content: center;
    }

    .hero-form-wrapper {
        max-width: 480px;
        margin: 0 auto;
    }

    .porque-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
    }

    .capaz-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
    }

    .info-grid {
        flex-wrap: wrap;
    }

    .info-card {
        flex: 1 1 calc(50% - 0.75rem);
        min-width: 0;
    }

    .malla-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
    }

    .cert-timeline {
        grid-template-columns: 1fr;
        max-width: 540px;
    }

    .campo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .docentes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }

    html {
        font-size: 16px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .section {
        padding: 5rem 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
        transition: right var(--duration-base) var(--ease-refined);
        z-index: 1000;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1rem;
        padding: 0.875rem 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding: 0.875rem 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero .container {
        padding-top: 110px;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3.25rem);
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .info-card {
        flex: 1 1 100%;
    }

    .campo-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .docentes-grid {
        grid-template-columns: 1fr;
    }

    .dirigido-card {
        padding: 2.25rem 1.75rem;
    }

    .cta-card {
        padding: 2.75rem 1.75rem;
    }

    .cta-contact {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        gap: 1.25rem;
    }

    .section-nav-link {
        padding: 0.875rem 1rem;
        font-size: 0.8rem;
    }

    .mision-content {
        padding: 2.5rem 1.75rem;
    }

    .nav-toggle span {
        background: var(--white);
    }

    .hero-info-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        padding: 0.875rem 2rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
    }

    .hero-form-body {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .hero-form-header {
        padding: 1.25rem 1.25rem;
    }

    .hero-info-cards {
        grid-template-columns: 1fr;
    }

    .floating-cta {
        left: 1rem;
        right: 1rem;
        justify-content: center;
    }

    .mision-content h2 {
        font-size: 1.5rem;
    }

    .cert-card {
        padding: 2rem 1.5rem;
    }
}