* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: transparent !important;
    font-family: Poppins;
    overflow: hidden; 
}

/* 2. Contenedor de la Sección */
.trayectoria-page {
    width: 100%;
    height: 100vh;
    display: block;
    top: 0;
    flex-direction: column;
    background-image: url('img/trayectoria.jpg') !important; 
    background-size: cover;
    background-position: center;
    overflow-x: auto; /* PERMITE el scroll horizontal */
    overflow-y: hidden; /* BLOQUEA el scroll vertical */
    padding: 30px;
    position: relative;
}

.trayectoria-page::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 20px;
    background-color: #ffffff;
}

/* 3. Título Principal */
.titulo-principal {
    background-color: #051f53;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 2rem;
    display: table;
    margin-bottom: 30px;
    position: sticky;
    left: 20px;
}

/* 4. El Riel (Horizontal absoluto) */
.contenedor-onda {
    position: relative;
    width: 2200px; /* Suficiente para los 10 años */
    height: 600px;
    margin-top: 120px; /* Aumenta este valor (estaba en 20px) para bajar todo el bloque */
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.curva-fondo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
    opacity: 0.8;
    color: #ffffff;
}

.txt-arriba {
    padding: auto;
    text-align: center;
    font-size: 0.75rem;
    color: #051f53;
}

.txt-abajo {
    padding: auto;
    text-align: center;
    font-size: 0.75rem;
    color: #051f53;
}

.punto {
    position: absolute; /* Esta es la clave para la onda */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    z-index: 10;
}

.dot {
    width: 18px;
    height: 18px;
    background: white;
    border: 4px solid #1a4a8d;
    border-radius: 50%;
    margin: 10px 0;
}

.btn-año {
    background-color: #1a4a8d;
    color: white;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
}

.contenido p, .info p {
    font-size: 0.75rem;
    color: #051f53; 
    line-height: 1.4;
    max-width: 200px;
}

/* 6. Barra de Scroll Personalizada */
.trayectoria-page::-webkit-scrollbar {
    height: 10px;
}
.trayectoria-page::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
}

/* COORDENADAS MANUALES PARA CADA AÑO */
.p2016 { left: 30px;  top: 70px; } 
.p2017 { left: 280px; top: 285px; } /* Baja */
.p2018 { left: 575px; top: 100px; } /* Sube */
.p2019 { left: 740px; top: 240px; } /* Baja */
.p2020 { left: 980px; top: 245px; } /* Sube */
.p2021 { left: 1210px; top: 218px; } /* Punto más bajo */
.p2022 { left: 1430px; top: 200px; } 
.p2023 { left: 1660px; top: 280px; } 
.p2024 { left: 1800px; top: 145px; }
.p2025 { left: 2050px; top: 280px; }