/* ========================================
   PROGRAMA.CSS - DISEÑO LIMPIO CON GRADIENTE
======================================== */

/* RESUMEN SECTION */
.resumen-section {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.resumen-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.resumen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.1);
    border-color: var(--primary);
}

.resumen-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.resumen-card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.resumen-card span {
    font-size: 0.9rem;
    color: var(--gray);
}

/* PROGRAMA DETALLADO SECTION */
.programa-detallado-section {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    padding: 4rem 0;
}

/* GRID DE TARJETAS LIMPIAS */
.programa-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* TARJETA LIMPIA CON BORDE GRADIENTE */
.programa-card-clean {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Borde gradiente usando pseudoelemento */
.programa-card-clean::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(135deg, #1e3a8a 0%, #f59e0b 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.programa-card-clean:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(30, 58, 138, 0.15);
}

/* Badge "Día 1, 2, 3" */
.dia-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Título del día (Viernes, Sábado, Domingo) */
.dia-titulo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* Descripción (Apertura, Enseñanza, Clausura) */
.dia-descripcion {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Lista con checks verdes */
.programa-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.programa-lista li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.5;
}

.programa-lista li i {
    color: #10b981;
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* INFORMACIÓN IMPORTANTE */
.info-importante-section {
    background: white;
    padding: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.1);
    border-color: var(--primary);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.info-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.info-card strong {
    color: var(--dark);
    font-weight: 700;
}

/* CTA PROGRAMA */
.cta-programa {
    background: linear-gradient(135deg, var(--primary), #1e40af);
    color: white;
    padding: 3.5rem 0;
    text-align: center;
}

.cta-content-programa h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.cta-content-programa p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-cta-programa {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, var(--accent), #fb923c);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-cta-programa:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fb923c, #f97316);
}

/* BREADCRUMB */
.header-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.header-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-breadcrumb a:hover {
    color: white;
}

.header-breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .resumen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programa-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .resumen-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .resumen-card {
        padding: 1.2rem;
    }
    
    .programa-card-clean {
        padding: 1.5rem;
    }
    
    .dia-titulo {
        font-size: 1.2rem;
    }
    
    .dia-descripcion {
        font-size: 0.9rem;
    }
    
    .programa-lista li {
        font-size: 0.9rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .cta-content-programa h2 {
        font-size: 1.6rem;
    }
    
    .cta-content-programa p {
        font-size: 1rem;
    }
    
    .btn-cta-programa {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}
