:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --bg-base: #cbd9ef;
    --text-main: #1e293b;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.5);
    --font-family: 'Jost', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    filter: blur(20px);
    transition: filter 0.1s linear;
}

.scroll-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(203, 217, 239, 0.6);
    /* Semi-transparent blue */
    pointer-events: none;
    opacity: 0.8;
    /* Reduced opacity */
    transition: opacity 0.1s linear;
}

.page-wrapper {
    position: relative;
    z-index: 1;
    /* Content above overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 2rem 1rem;
    gap: 4rem;
}

.section {
    width: 100%;
    max-width: 1040px;
    /* Increased 30% from 800px */
    display: flex;
    justify-content: center;
}

.section-hero {
    min-height: 100vh;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Centers the main block vertically */
    padding: 2rem 0;
    position: relative;
    /* Remove default section padding for hero */
}

.hero-images-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 432px;
    /* Reduced 10% from 480px */
    transform: translateY(-12vh);
    /* Shifted up significantly */
}

.year-block {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    gap: 0;
}

.year-block img {
    width: 50%;
    height: auto;
    display: block;
    object-fit: contain;
}

.hero-elegidos {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 1rem;
    /* Reduced separation */
}

.hero-logo-bottom {
    position: absolute;
    bottom: 12vh;
    /* Moved up from bottom */
    width: 90%;
    max-width: 207px;
    /* Reduced 10% from 230px */
    height: auto;
}

.content-block {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 3rem 2rem;
    width: 100%;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Section 2 & 3: Info & Goals */

/* Section 2 & 3: Info & Goals */
h2 {
    font-size: 2.7rem;
    /* 50% larger than 1.8rem */
    font-weight: 300;
    /* Light variant */
    margin-bottom: 2.5rem;
    color: #000;
    /* Black color */
    line-height: 1.1;
}

.goals-list {
    list-style: none;
    counter-reset: goal-counter;
    text-align: left;
    max-width: 780px;
    /* Increased 30% from 600px */
    margin: 2rem auto 0;
}

.goals-list li {
    counter-increment: goal-counter;
    position: relative;
    padding-left: 3.5rem;
    /* Adjusted for smaller circles */
    margin-bottom: 2rem;
    min-height: 2.4rem;
    /* Adjusted for smaller circles */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.goals-list li::before {
    content: counter(goal-counter);
    position: absolute;
    left: 0;
    top: 50%;
    /* Center vertically */
    transform: translateY(-50%);
    width: 2.4rem;
    /* 20% smaller than 3rem */
    height: 2.4rem;
    /* 20% smaller than 3rem */
    background-color: #224190;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    /* 20% smaller than 1.3rem */
    box-shadow: 0 4px 12px rgba(34, 65, 144, 0.3);
}

.goals-list li strong {
    display: block;
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.goals-list li p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Info Section Paragraphs */
.section-info p {
    text-align: left;
    margin-bottom: 1.8rem;
    /* Increased spacing */
    font-size: 1.3rem;
}

/* Footer */
.footer {
    width: 100%;
    max-width: 800px;
    padding: 2rem 0 4rem;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Responsiveness */
@media (max-width: 600px) {
    .year-block {
        flex-direction: column;
    }

    .hero-images-container {
        max-width: 208px;
        /* Reduced 20% from 260px */
        transform: translateY(-8vh);
    }

    .hero-logo-bottom {
        max-width: 128px;
        /* Reduced 20% from 160px */
        bottom: 10vh;
    }

    .year-block img {
        width: 100%;
    }

    .content-block {
        padding: 2rem 1.5rem;
    }

    .footer-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}