.agenda-section {
    background-color: #F2F2F2;
    /* Fondo gris muy claro según las capturas */
    padding-top: 96px;
    padding-bottom: 160px;
    width: 100%;
}

.agenda-container {
    max-width: 1512px;
    margin: 0 auto;
    padding-left: 100px;
    padding-right: 100px;
}

/* --- CABECERA --- */
.agenda-header {
    text-align: center;
    margin-bottom: 48px;
}

.agenda-tag {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: #9EA5B3;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.agenda-main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.5px;
    color: #0D0D0D;
}

.agenda-main-title .green-text {
    color: var(--color-secondary);
    /* #4CA845 */
}

/* --- TABS SELECTORES (DÍA 1 / DÍA 2) --- */
.agenda-tabs-container {
    width: min(1100px, 100%);
    margin: 0 auto;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 48px;
}

.agenda-tabs {
    display: flex;
    justify-content: center;
    gap: 64px;
    max-width: 1000px;
    margin: 0 auto;
}

.tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666666;
    padding: 8px 24px;
    width: min(192px, 100%);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
    border-bottom: 1px solid transparent;
}

.tab-btn:hover {
    color: var(--color-primary);
}

.tab-btn.active {
    color: #2A4777;
    border-bottom: 1px solid #2A4777;
}

/* --- CONTENIDO --- */
.tab-content {
    display: none;
    max-width: 1100px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

.timeline {
    display: flex;
    flex-direction: column;
}

/* --- FILAS DE HORARIOS (CRONOGRAMA LINEAL) --- */
.timeline-row {
    display: grid;
    grid-template-columns: 100px 1fr 280px;
    align-items: flex-start;
    padding: 32px 0;
    border-bottom: 1px solid #CCCCCC;
}

.timeline-row:last-child {
    border-bottom: none;
}


/* Columna 1: Hora */
.time-col {
    font-family: var(--font-Montserrat);
    font-weight: 400;
    font-size: 1.375rem;
    color: #666666;
    padding-top: 2px;
}

/* Columna 2: Título y Categoría */
.info-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-right: 40px;
}

.event-title {
    font-family: var(--font-Montserrat);
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 32px;
    color: #0D0D0D;
}

/* Píldoras / Badges con bordes redondeados y fondos claros */
.badge {
    font-family: var(--font-Roboto);
    font-weight: 700;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 12px;
    text-transform: capitalize;
    display: inline-block;
}

.badge-org {
    background-color: #454C591A;
    color: #475467;
}

.badge-inst {
    background-color: #3B599633;
    color: #1E2D4C;
}

.badge-conf {
    background-color: #712D5033;
    color: #4C1E36;
}

.badge-panel {
    background-color: #BE926033;
    color: #A87A45;
}

/* Columna 3: Disertantes */
.speaker-col {
    font-family: var(--font-Roboto);
    font-weight: 400;
    font-size: 0.875rem;
    color: #0D0D0D;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.speaker-col p {
    margin: 0;
    line-height: 1.4;
}

.speaker-sub {
    font-size: 0.8rem;
    color: #666666;
}

/* Disclaimer inferior */
.agenda-disclaimer {
    font-family: var(--font-Roboto);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666666;
    margin-top: 48px;
    text-align: left;
    width: min(1100px, 100%);
    margin: 0 auto;
    padding-top: 60px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .agenda-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    .agenda-section {
        padding-top: 64px;
        padding-bottom: 80px;
    }

    .agenda-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .agenda-main-title {
        font-size: 32px;
        line-height: 40px;
    }

    .agenda-tabs {
        gap: 32px;
    }

    .timeline-row {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 4px 40px;
        padding: 20px 0;
        align-items: start;
    }

    .time-col {
        grid-column: 1;
        font-size: 16px;
        white-space: nowrap;
        padding-top: 0;
    }

    .info-col {
        grid-column: 2;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .badge {
        order: -1;
        margin-bottom: 4px;
    }

    .event-title {
        font-size: 16px;
        line-height: 22px;
    }

    .speaker-col {
        grid-column: 2;
        text-align: left;
        font-size: 14px;
        margin-top: 8px;
        padding-left: 0;
    }
}