﻿/* ===================================================================
   SECCIÓN: PROGRAMA (Línea de Tiempo Premium)
   =================================================================== */
.programa-section {
    background: #f8fafc; /* Un gris neutro suave para el fondo 'alt' */
    padding: 80px 0;
}

/* Contenedor principal de la línea */
.timeline-premium {
    position: relative;
    max-width: 800px; /* Centramos el contenido */
    margin: 0 auto;
    padding: 20px 0;
}

/* La línea física de fondo */
.timeline-line {
    position: absolute;
    top: 0;
    left: 30px; /* Alineada con el centro de los puntos */
    width: 2px;
    height: 100%;
    background: color-mix(in srgb, var(--brandDark) 10%, #fff); /* Línea gris suave */
    z-index: 1;
}

/* Cada ítem del programa */
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 30px; /* Espacio entre punto y tarjeta */
    margin-bottom: 40px; /* Espacio entre actividades */
    z-index: 2;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

/* El Punto con Ícono */
.timeline-point {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border: 2px solid #fff; /* Aro blanco */
    transition: all 0.3s ease;
}

    .timeline-point svg {
        width: 26px;
        height: 26px;
        stroke-width: 2.5;
    }

/* La Tarjeta de Contenido */
.timeline-content {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.8); /* Sutil glassmorphism */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #fff;
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(16,24,40,0.04);
    transition: all 0.3s ease;
}

/* Efecto hover en el ítem completo */
.timeline-item:hover .timeline-point {
    transform: scale(1.1);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--point-color) 30%, transparent);
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(16,24,40,0.08);
}

/* Estilos de Texto dentro de la tarjeta */
.timeline-content h3 {
    font-size: 19px;
    font-weight: 850;
    color: var(--brandDark);
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
}

.timeline-content p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

/* Píldora de categoría */
.chip-sm {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--point-color);
    background: color-mix(in srgb, var(--point-color) 10%, #fff);
    padding: 5px 12px;
    border-radius: 999px;
}

/* Definición de colores acento por actividad */
.color-gold {
    --point-color: #C79532;
    color: #C79532;
}

.color-turq {
    --point-color: #3A989A;
    color: #3A989A;
}

.color-red {
    --point-color: #E03C31;
    color: #E03C31;
}


/* =========================================
   RESPONSIVE (Mobile-First de nacimiento)
   ========================================= */
@media (max-width: 600px) {
    .timeline-item {
        gap: 20px;
    }

    .timeline-point {
        width: 50px;
        height: 50px;
    }

        .timeline-point svg {
            width: 22px;
            height: 22px;
        }

    .timeline-line {
        left: 25px;
    }

    .timeline-content {
        padding: 20px;
        border-radius: 18px;
    }

        .timeline-content h3 {
            font-size: 17px;
        }

        .timeline-content p {
            font-size: 14px;
        }
}
