/* ═══════════════════════════════════════════
   CSS VARIABLES & RESET
   ═══════════════════════════════════════════ */
:root {
    --brand-deep: #0B2E4F;
    --brand-mid: #1A5276;
    --brand-accent: #00A896;
    --brand-accent-light: #00D4AA;
    --brand-warm: #F0A500;
    --bg-cream: #FAFAF7;
    --bg-white: #FFFFFF;
    --bg-soft: #F3F4F0;
    --text-dark: #1A1A2E;
    --text-body: #3D3D54;
    --text-muted: #7A7A8E;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-shadow: 0 8px 32px rgba(11, 46, 79, 0.08);
    --glass-dark-bg: rgba(11, 46, 79, 0.65);
    --glass-dark-border: rgba(255, 255, 255, 0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --font-display: 'DM Serif Display', serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--bg-cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-pad {
    padding: 7rem 0;
}

.text-center {
    text-align: center;
}

.section-label {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 620px;
    font-weight: 300;
    line-height: 1.8;
}

/* ═══════════════════════════════════════════
   GLASSMORPHISM UTILITY
   ═══════════════════════════════════════════ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-dark {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-dark-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(250, 250, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.7rem 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-dark);
}

.nav-logo-text span {
    color: var(--brand-accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--brand-deep) !important;
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 46, 79, 0.3);
    color: white !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.has_main_banner {
    margin-top: 100px;
}
.hero {
    /*min-height: 100vh;*/
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-cream);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 168, 150, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(240, 165, 0, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 168, 150, 0.08);
    border: 1px solid rgba(0, 168, 150, 0.15);
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title em {
    font-style: italic;
    color: var(--brand-accent);
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.9;
    max-width: 500px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-mid));
    color: white;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(11, 46, 79, 0.25);
}
.bg-none{
    background: none;
}
.btn-secondarys {
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.btn-secondarys:hover {
    color: var(--brand-accent);
}

.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-card-main {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(11, 46, 79, 0.07);
    position: relative;
    overflow: hidden;
}

.hero-card-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--brand-deep), var(--brand-accent), var(--brand-warm));
}

.hero-card-year {
    font-family: var(--font-display);
    font-size: 5rem;
    color: var(--bg-soft);
    line-height: 1;
    margin-bottom: -0.5rem;
}

.hero-card-edition {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 1.5rem;
}

.hero-card-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.hero-info-item {
    padding: 1.2rem;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
}

.hero-info-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.hero-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-float-card {
    position: absolute;
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
    top: -30px;
    right: -20px;
    z-index: 2;
}

.hero-float-card.card-2 {
    bottom: 40px;
    left: -40px;
    z-index: 2;
}

.float-stat {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--brand-deep);
}

.float-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════
   STATS STRIP
   ═══════════════════════════════════════════ */
.stats-strip {
    padding: 4rem 0;
    background: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--brand-deep);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-number span {
    color: var(--brand-accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ═══════════════════════════════════════════
   ABOUT / EJES TEMATICOS — GLASS SECTION
   ═══════════════════════════════════════════ */
.about-section {
    position: relative;
    padding: 7rem 0;
    background: linear-gradient(135deg, #0B2E4F 0%, #1A5276 40%, #00A896 100%);
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(240, 165, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.about-header .section-label {
    color: var(--brand-accent-light);
}

.about-header .section-title {
    color: white;
}

.about-header .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto;
}

.ejes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.eje-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.4s ease, background 0.4s ease;
    cursor: default;
}

.eje-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.18);
}

.eje-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.eje-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.6rem;
}

.eje-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   COURSES SECTION
   ═══════════════════════════════════════════ */
.courses-section {
    padding: 7rem 0;
    background: var(--bg-cream);
}

.courses-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

.courses-header .section-subtitle {
    margin-top: 0.5rem;
}

.courses-list-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(11, 46, 79, 0.04);
}

.courses-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.courses-col {
    display: flex;
    flex-direction: column;
}

.courses-col:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.course-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.25s ease, padding-left 0.3s ease;
    cursor: pointer;
    position: relative;
}

.course-row:last-child {
    border-bottom: none;
}

.course-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--brand-accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.course-row:hover {
    background: rgba(0, 168, 150, 0.03);
    padding-left: 2.2rem;
}

.course-row:hover::before {
    opacity: 1;
}

.course-row-number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    min-width: 22px;
    opacity: 0.45;
}

.course-row-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 50px;
    min-width: 62px;
    text-align: center;
    flex-shrink: 0;
}

.course-row-tag.epi {
    background: rgba(0, 168, 150, 0.1);
    color: var(--brand-accent);
}

.course-row-tag.bio {
    background: rgba(11, 46, 79, 0.08);
    color: var(--brand-deep);
}

.course-row-tag.sp {
    background: rgba(240, 165, 0, 0.1);
    color: #C68800;
}

.course-row-tag.tech {
    background: rgba(120, 80, 200, 0.1);
    color: #7850C8;
}

.course-row-tag.nutri {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.course-row-tag.salud {
    background: rgba(233, 30, 99, 0.08);
    color: #C2185B;
}

.course-row-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.35;
    flex: 1;
}

.course-row-arrow {
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    flex-shrink: 0;
}

.course-row:hover .course-row-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.courses-count-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.8rem;
    background: var(--bg-soft);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.courses-count-bar strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   ACTIVITIES — GLASS SECTION
   ═══════════════════════════════════════════ */
.activities-section {
    position: relative;
    padding: 7rem 0;
    background: linear-gradient(160deg, #F3F4F0 0%, #E8ECE3 100%);
    overflow: hidden;
}

.activities-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 168, 150, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.activity-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.activity-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.75);
}

.activity-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-accent));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.activity-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.activity-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   TIMELINE / 30 YEARS
   ═══════════════════════════════════════════ */
.timeline-section {
    padding: 7rem 0;
    background: var(--bg-white);
}

.timeline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 3rem;
}

.timeline-visual {
    position: relative;
}

.timeline-big-number {
    font-family: var(--font-display);
    font-size: 12rem;
    line-height: 0.85;
    color: var(--bg-soft);
    position: relative;
}

.timeline-big-number span {
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-big-label {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-dark);
    margin-top: -1rem;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-radius: 50%;
    background: var(--brand-accent);
    margin-top: 0.5rem;
    position: relative;
}

.timeline-dot::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--brand-accent), transparent);
}

.timeline-item:last-child .timeline-dot::after {
    display: none;
}

.timeline-item-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.timeline-item-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonials-section {
    position: relative;
    padding: 7rem 0;
    background: linear-gradient(135deg, #0B2E4F 0%, #164B6E 50%, #0B2E4F 100%);
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0, 168, 150, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(240, 165, 0, 0.08), transparent 40%);
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.testimonials-header .section-label {
    color: var(--brand-accent-light);
}

.testimonials-header .section-title {
    color: white;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 2rem 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
}

.testimonials-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 380px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--brand-accent-light);
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-warm));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.testimonial-name {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-role {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
}

/* ═══════════════════════════════════════════
   ALLIES / PARTNERS
   ═══════════════════════════════════════════ */
.allies-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.allies-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.ally-logo {
    height: 50px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}

.ally-logo:hover {
    opacity: 0.8;
    filter: grayscale(0%);
}

/* ═══════════════════════════════════════════
   CTA SECTION — GLASS
   ═══════════════════════════════════════════ */
.cta-section {
    padding: 5rem 0;
    background: var(--bg-cream);
}

.cta-card {
    position: relative;
    background: linear-gradient(135deg, #0B2E4F, #1A5276, #00A896);
    border-radius: var(--radius-lg);
    padding: 5rem 4rem;
    overflow: hidden;
    text-align: center;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
    pointer-events: none;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(240, 165, 0, 0.12), transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-text {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    max-width: 550px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}


.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--brand-deep);
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    background: var(--text-dark);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand-text {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-title {
    font-weight: 600;
    color: white;
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    padding: 0.3rem 0;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--brand-accent-light);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.footer-contact-icon {
    color: var(--brand-accent);
    margin-top: 2px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: background 0.3s, color 0.3s;
    font-size: 0.85rem;
}

.footer-social-link:hover {
    background: var(--brand-accent);
    color: white;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.topimg26 {
    max-height: 62px;
    width: auto;
    z-index: 1;
    position: relative;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        max-width: 500px;
    }

    .ejes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .courses-columns {
        grid-template-columns: 1fr;
    }

    .courses-col:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .timeline-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    

    .mobile-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 8rem 0 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat-item::after {
        display: none;
    }

    .ejes-grid {
        grid-template-columns: 1fr;
    }

    .courses-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .course-row {
        padding: 0.9rem 1.2rem;
    }

    .course-row:hover {
        padding-left: 1.5rem;
    }

    .course-row-number {
        display: none;
    }

    .courses-count-bar {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-width: 300px;
    }

    .cta-card {
        padding: 3rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section-pad {
        padding: 4rem 0;
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: flex; /* Cambiamos a flex */
        flex-direction: column;
        width: 100%;
        align-items: flex-start; /* Alineado a la izquierda */
    }
    
    /* Forzamos que el contenedor colapsable de BS5 sea vertical */
    .navbar-collapse {
        background-color: #ffffff; 
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
}