:root {
    --primary-color: #0d4275; /* Navy/Deep Blue */
    --secondary-color: #00aeef; /* Cyan/Light Blue */
    --accent-color: var(--secondary-color); /* Light Blue from the palette */
    --brand-dark: #051c38; /* Extra Deep Navy from the logo */
    --brand-cyan: #00bce4; /* Vibrant Cyan */
    --brand-gradient: linear-gradient(135deg, var(--brand-cyan) 0%, var(--primary-color) 60%, var(--brand-dark) 100%);
    --brand-gradient-light: linear-gradient(135deg, rgba(0, 188, 228, 0.08) 0%, rgba(13, 66, 117, 0.04) 60%, rgba(5, 28, 56, 0.02) 100%);
    --text-color: #2b353e;
    --text-light: #606f7b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 6px -1px rgba(13, 66, 117, 0.08), 0 2px 4px -1px rgba(13, 66, 117, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(13, 66, 117, 0.12), 0 8px 10px -6px rgba(13, 66, 117, 0.06);
    --shadow-glow: 0 10px 30px -5px rgba(0, 174, 239, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.bg-light {
    background-color: var(--bg-light);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.5rem;
}

h1 span {
    color: var(--secondary-color);
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 2px;
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-top: 1rem;
    margin-bottom: 3.5rem;
    font-weight: 400;
}

/* Buttons */
.btn-primary, .btn-primary-outline, .btn-white, .btn-white-outline {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 14px 0 rgba(0, 174, 239, 0.3);
}

.btn-primary:hover {
    background-color: #0098d1;
    border-color: #0098d1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 174, 239, 0.4);
    color: white;
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-primary-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 4px 14px 0 rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-white-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-white-outline:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Header */
/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(13, 66, 117, 0.05);
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
    border-bottom: 1px solid rgba(13, 66, 117, 0.05);
}

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

.logo img {
    height: 42px;
    width: auto;
    transition: filter 0.4s ease, transform 0.3s ease;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-menu a {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu .btn-primary-outline {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Header Dark Integration (Active when scrolling to bottom / footer section) */
.header.header-dark {
    background-color: var(--brand-dark); /* Dark Navy matching footer */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header.header-dark .logo img {
    filter: brightness(0) invert(1);
}

.header.header-dark .nav-menu a {
    color: #ffffff;
}

.header.header-dark .nav-menu a:hover {
    color: var(--secondary-color);
}

.header.header-dark .btn-primary-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.header.header-dark .btn-primary-outline:hover {
    background-color: #ffffff;
    color: var(--brand-dark);
}

.header.header-dark .mobile-menu-btn span {
    background-color: #ffffff;
}

/* Hero Video Section */
.hero-video-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    max-height: 1000px;
    margin-top: 80px; /* Offset for fixed header */
    background-color: var(--brand-dark);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3.5rem;
    overflow: hidden;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.video-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top, rgba(5, 28, 56, 0.65) 0%, rgba(5, 28, 56, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.75rem 1.6rem;
    background: rgba(5, 28, 56, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-scroll-indicator:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    color: #ffffff;
}

.scroll-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.scroll-mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.scroll-wheel {
    width: 3px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    animation: mouse-scroll 1.6s ease-in-out infinite;
}

.scroll-chevron {
    color: var(--secondary-color);
    animation: chevron-bounce 1.6s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.hero-scroll-indicator:hover .scroll-chevron {
    transform: translateY(2px);
    color: #ffffff;
}

@keyframes mouse-scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

@keyframes chevron-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

/* Mensaje Rector / Manifiesto Section */
.hero-manifesto-section {
    position: relative;
    padding: 7.5rem 0 7rem;
    background: linear-gradient(135deg, #00A2E8 0%, #0077B6 28%, #0D4275 65%, #051C38 100%);
    color: #ffffff;
    overflow: hidden;
}

.hero-manifesto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 18% 25%, rgba(104, 205, 238, 0.22) 0%, transparent 55%),
                radial-gradient(circle at 82% 78%, rgba(5, 28, 56, 0.5) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.manifesto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 600' opacity='0.22'%3E%3Cpath d='M-100,100 Q150,50 350,260 T750,180 T1150,420' fill='none' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M-50,220 Q200,140 450,370 T850,230 T1200,520' fill='none' stroke='%2300bce4' stroke-width='1.2'/%3E%3Cpath d='M100,500 Q400,300 700,400 T1100,200' fill='none' stroke='white' stroke-width='1' stroke-dasharray='6 6' opacity='0.7'/%3E%3Ccircle cx='350' cy='260' r='5' fill='%2300bce4'/%3E%3Ccircle cx='750' cy='180' r='6' fill='white'/%3E%3Ccircle cx='450' cy='370' r='5' fill='%2300bce4'/%3E%3Ccircle cx='850' cy='230' r='4.5' fill='white'/%3E%3Ccircle cx='700' cy='400' r='4' fill='%2300bce4'/%3E%3Cline x1='350' y1='260' x2='450' y2='370' stroke='white' stroke-width='0.75' stroke-dasharray='4 4' opacity='0.7'/%3E%3Cline x1='750' y1='180' x2='850' y2='230' stroke='%2300bce4' stroke-width='0.75' stroke-dasharray='4 4' opacity='0.7'/%3E%3Cline x1='850' y1='230' x2='700' y2='400' stroke='white' stroke-width='0.5' stroke-dasharray='3 3' opacity='0.5'/%3E%3C/svg%3E") no-repeat center center;
    background-size: cover;
    pointer-events: none;
    z-index: 1;
}

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

.manifesto-content {
    max-width: 900px;
    margin: 0;
    text-align: left;
}

.manifesto-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ffffff;
    padding: 0.45rem 1.3rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #68cdee;
    box-shadow: 0 0 10px #68cdee, 0 0 20px rgba(104, 205, 238, 0.8);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.manifesto-heading {
    color: #ffffff;
    font-size: 3.5rem;
    line-height: 1.24;
    margin-bottom: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 14px rgba(5, 28, 56, 0.3);
}

.manifesto-heading .highlight-accent {
    color: #48CAE4;
    display: block;
    margin-top: 0.35rem;
    text-shadow: 0 0 35px rgba(0, 188, 228, 0.45);
}

.manifesto-subtext {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #e0f4fc;
    max-width: 850px;
    margin-bottom: 2.8rem;
    font-weight: 300;
}

.manifesto-subtext strong {
    color: #ffffff;
    font-weight: 600;
}

.manifesto-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Sobre la Fundación Section */
.sobre-la-fundacion {
    padding: 7rem 0 5rem;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-description h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-description p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.conviction-card {
    background: var(--brand-gradient-light);
    border-left: 5px solid var(--accent-color);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
}

.conviction-quote {
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.5;
    margin-bottom: 0;
}

.conviction-author {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    font-weight: 700;
}

/* Nuestra Esencia */
.essence-section {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.essence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.essence-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(13, 66, 117, 0.05);
    transition: var(--transition);
}

.essence-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.essence-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 174, 239, 0.08);
    color: var(--secondary-color);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.essence-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.essence-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Valores Section */
.valores-container {
    margin-top: 4rem;
}

.valores-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.valor-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 3px solid transparent;
    transition: var(--transition);
}

.valor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary-color);
}

.valor-card .icon {
    color: var(--secondary-color);
    margin-bottom: 1.2rem;
    display: inline-block;
}

.valor-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.valor-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Programas de Impacto */
.impacto-section {
    padding: 7rem 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.pillar-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(13, 66, 117, 0.04);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pillar-color-bar {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.pillar-content {
    padding: 3rem 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pillar-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 174, 239, 0.08);
    color: var(--secondary-color);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pillar-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.2rem 2.5rem;
    background-color: var(--bg-light);
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pillar-footer::before {
    content: '●';
    color: var(--accent-color);
    font-size: 10px;
}

/* Legado Section */
.legacy-section {
    padding: 7rem 0;
    background-color: var(--bg-light);
}

.legacy-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: flex-start;
}

.legacy-text h2 {
    margin-bottom: 2rem;
}

.legacy-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.legacy-text p:last-of-type {
    margin-bottom: 0;
}

.legacy-accent-quote {
    background: white;
    border-left: 4px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    margin: 2.5rem 0;
    box-shadow: var(--shadow);
}

.legacy-accent-quote p {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0;
}

.legacy-highlight-phrase {
    background: white;
    border-left: 4px solid var(--accent-color);
    padding: 2rem;
    border-radius: 8px;
    margin: 2.5rem 0;
    box-shadow: var(--shadow);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.7;
}

.legacy-highlight-phrase strong {
    font-weight: 700;
    color: var(--primary-color);
}

/* Cifras / Indicadores */
.metrics-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-content: start;
}

.metric-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(13, 66, 117, 0.05);
    text-align: center;
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
}

/* CDD Global Timeline */
.cdd-timeline-section {
    margin-top: 7rem;
    border-top: 1px solid var(--border-color);
    padding-top: 5rem;
}

.timeline-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline-intro h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.timeline-intro p {
    font-size: 1.15rem;
    color: var(--text-light);
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 3.5rem;
}

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

.timeline-node {
    position: absolute;
    left: 20px;
    top: 6px;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-node {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.timeline-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Highlighted Timeline Item (2026 - Fundación) */
.timeline-item.highlighted .timeline-node {
    width: 33px;
    height: 33px;
    left: 16px;
    top: 2px;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    background-color: white;
}

.timeline-item.highlighted:hover .timeline-node {
    background-color: var(--accent-color);
}

.timeline-item.highlighted .timeline-card {
    background: var(--brand-gradient);
    color: white;
    border-left: 6px solid var(--accent-color);
    box-shadow: var(--shadow-glow);
    padding: 3rem;
}

.timeline-item.highlighted .timeline-year {
    color: white;
    font-size: 2.2rem;
}

.timeline-item.highlighted .timeline-title {
    color: white;
    font-size: 1.4rem;
}

.timeline-item.highlighted .timeline-desc {
    color: #e0f4fc;
    font-size: 1.05rem;
}

/* Footer & Contacto */
.footer {
    background-color: var(--brand-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 45px;
    margin-bottom: 1.5rem;
}

.footer-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-tagline {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.35;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-btn:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-email {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.9rem;
    display: block;
    margin-top: 1.2rem;
}

.contact-email:hover {
    color: var(--secondary-color);
}

.footer-links h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-sponsor {
    text-align: left;
}

.footer-sponsor h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.footer-sponsor h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.sponsor-text {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.sponsor-logo {
    height: 38px;
    opacity: 0.9;
    transition: var(--transition);
}

.sponsor-logo:hover {
    opacity: 1;
    transform: scale(1.03);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    .hero h1 { font-size: 3rem; }
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .valores-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .legacy-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .metrics-panel {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-video-section {
        height: 65vh;
        min-height: 440px;
        padding-bottom: 2rem;
    }
    .hero-scroll-indicator {
        padding: 0.6rem 1.2rem;
        gap: 0.6rem;
    }
    .scroll-label {
        font-size: 0.75rem;
    }
    .hero-manifesto-section {
        padding: 5rem 0 4.5rem;
    }
    .manifesto-content {
        max-width: 100%;
        text-align: left;
    }
    .manifesto-heading {
        font-size: 2.2rem;
        line-height: 1.28;
    }
    .manifesto-subtext {
        font-size: 1.15rem;
        line-height: 1.7;
        margin-bottom: 2.2rem;
    }
    .manifesto-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .manifesto-actions .btn-white, 
    .manifesto-actions .btn-white-outline {
        text-align: center;
        width: 100%;
    }
    h2 { font-size: 2rem; }
    .mobile-menu-btn {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(13, 66, 117, 0.1);
    }
    .nav-menu.active {
        left: 0;
    }
    .header.header-dark .nav-menu {
        background-color: var(--brand-dark);
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
    }
    .sobre-la-fundacion, .impacto-section, .legacy-section {
        padding: 5rem 0;
    }
    .essence-grid {
        grid-template-columns: 1fr;
    }
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .timeline-container::before {
        left: 16px;
    }
    .timeline-item {
        padding-left: 45px;
    }
    .timeline-node {
        left: 6px;
    }
    .timeline-item.highlighted .timeline-node {
        left: 2px;
    }
    .timeline-card {
        padding: 1.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .footer-sponsor {
        text-align: center;
    }
    .footer-sponsor h4::after, .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .valores-grid {
        grid-template-columns: 1fr;
    }
    .metrics-panel {
        grid-template-columns: 1fr;
    }
}
