/* ESTILOS PARA PÁGINAS SECUNDARIAS */

/* Hero de página */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5fb3e0 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Container principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Hero y Container */
@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
}

/* SOBRE NOSOTROS */
.about-content {
    padding: 60px 0;
    background-color: var(--cream-bg);
}

.about-text {
    margin-bottom: 50px;
}

.about-text h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 2.2rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

/* Carrusel sobre nosotros */
.about-carousel {
    margin: 50px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
    font-size: 1.2rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: white;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Objetivos */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.objective-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.objective-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.objective-card ul {
    list-style: none;
    padding: 0;
}

.objective-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.objective-card li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Responsive Sobre Nosotros */
@media (max-width: 768px) {
    .about-content {
        padding: 40px 0;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .carousel-caption {
        padding: 20px 15px 15px;
        font-size: 1rem;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .objective-card {
        padding: 20px;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 250px;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
}

/* DOCENTES */
.teachers-section {
    padding: 60px 0;
    background-color: var(--cream-bg);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.teacher-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.teacher-image {
    height: 250px;
    overflow: hidden;
}

.teacher-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease;
}

.teacher-card:hover .teacher-image img {
    transform: scale(1.05);
}

.teacher-info {
    padding: 20px;
}

.teacher-info h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.teacher-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.teacher-subjects {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* MODAL DOCENTES */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
}

.modal-body {
    padding: 30px;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #333;
    background-color: #f5f5f5;
}

.teacher-modal-header {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.teacher-modal-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.teacher-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.teacher-modal-basic-info h2 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.6rem;
}

.teacher-modal-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Estilos de contacto y tooltip */
.teacher-modal-contact {
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.teacher-modal-contact:hover {
    background-color: #e3f2fd;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.teacher-modal-contact:active {
    transform: scale(0.98);
}

.copy-tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c3e50;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.copy-tooltip.show {
    opacity: 1;
    top: -35px;
}

.teacher-modal-details h3 {
    color: #2c3e50;
    margin: 20px 0 10px;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.teacher-modal-subjects {
    list-style: none;
    padding: 0;
}

.teacher-modal-subjects li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.teacher-modal-subjects li:before {
    content: "▸";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* ANIMACIONES */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .teachers-section {
        padding: 40px 0;
    }

    /* Modal centrado en móvil */
    .teacher-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .teacher-modal-image {
        margin: 0 auto;
        width: 140px;
        height: 140px;
    }

    .teacher-modal-basic-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .teacher-modal-contact {
        margin: 10px auto 0;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 550px) {
    /* Forzar 2 columnas en móviles */
    .teachers-grid {
        display: grid;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
    }

    .teacher-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin: 0;
    }

    .teacher-image {
        height: 150px;
    }

    .teacher-info {
        padding: 12px 8px;
    }

    .teacher-info h3 {
        font-size: 0.95rem;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .teacher-position {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }

    .teacher-subjects {
        font-size: 0.7rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .modal-body {
        padding: 20px;
    }
}

/* MALLA CURRICULAR */
.curriculum-section {
    padding: 60px 0;
    background-color: var(--cream-bg);
}

.curriculum-info {
    margin-bottom: 40px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    max-width: 400px;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card p {
    margin-bottom: 10px;
    color: #555;
}

.curriculum-legend {
    margin-bottom: 30px;
}

.curriculum-legend h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.legend-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.basic {
    background-color: #e3f2fd;
    border: 2px solid #2196f3;
}

.legend-color.professional {
    background-color: #e8f5e9;
    border: 2px solid #4caf50;
}

.legend-color.integration {
    background-color: #fff3e0;
    border: 2px solid #ff9800;
}

.curriculum-table-container {
    overflow-x: auto;
    margin-bottom: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.curriculum-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.curriculum-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #ddd;
}

.curriculum-table td {
    padding: 12px 10px;
    border: 1px solid #ddd;
    text-align: center;
}

.curriculum-table tbody tr:hover {
    background-color: #f8f9fa;
}

.curriculum-table .basic {
    background-color: #e3f2fd;
}

.curriculum-table .professional {
    background-color: #e8f5e9;
}

.curriculum-table .integration {
    background-color: #fff3e0;
}

.curriculum-table .subtotal {
    background-color: #f5f5f5;
    font-weight: bold;
}

.curriculum-table .subtotal td {
    border-top: 2px solid #ccc;
}

.curriculum-table .total {
    background-color: #2c3e50;
    color: white;
    font-weight: bold;
}

.curriculum-table .notice {
    background-color: #fff3cd;
    color: #856404;
}

.curriculum-table .notice td {
    text-align: center;
    padding: 15px;
}

/* Cabeceras de nivel con funcionalidad de toggle - ESTILOS MEJORADOS */
.level-header {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
}

.level-header:hover {
    background-color: #e9ecef;
}

.level-toggle {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    color: #2c3e50;
    padding: 8px 12px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.level-header:hover .level-toggle {
    background-color: var(--primary-color);
    color: white;
}

.level-toggle i {
    margin-left: 8px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.level-header[data-level="1"] .level-toggle {
    border-color: #2196f3;
    color: #2196f3;
}

.level-header[data-level="1"]:hover .level-toggle {
    background-color: #2196f3;
    color: white;
}

.level-header[data-level="2"] .level-toggle {
    border-color: #1976d2;
    color: #1976d2;
}

.level-header[data-level="2"]:hover .level-toggle {
    background-color: #1976d2;
    color: white;
}

.level-header[data-level="3"] .level-toggle {
    border-color: #1565c0;
    color: #1565c0;
}

.level-header[data-level="3"]:hover .level-toggle {
    background-color: #1565c0;
    color: white;
}

.level-header[data-level="4"] .level-toggle {
    border-color: #0d47a1;
    color: #0d47a1;
}

.level-header[data-level="4"]:hover .level-toggle {
    background-color: #0d47a1;
    color: white;
}

.level-header[data-level="5"] .level-toggle {
    border-color: #4caf50;
    color: #4caf50;
}

.level-header[data-level="5"]:hover .level-toggle {
    background-color: #4caf50;
    color: white;
}

.level-header[data-level="6"] .level-toggle {
    border-color: #388e3c;
    color: #388e3c;
}

.level-header[data-level="6"]:hover .level-toggle {
    background-color: #388e3c;
    color: white;
}

.level-header[data-level="7"] .level-toggle {
    border-color: #2e7d32;
    color: #2e7d32;
}

.level-header[data-level="7"]:hover .level-toggle {
    background-color: #2e7d32;
    color: white;
}

.level-header[data-level="8"] .level-toggle {
    border-color: #1b5e20;
    color: #1b5e20;
}

.level-header[data-level="8"]:hover .level-toggle {
    background-color: #1b5e20;
    color: white;
}

/* Grupos de botones */
.button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn, .enroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.download-btn {
    background-color: var(--primary-color);
    color: white;
}

.download-btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
}

.enroll-btn {
    background-color: #28a745;
    color: white;
}

.enroll-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.download-btn:focus,
.enroll-btn:focus,
.level-header:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive Malla Curricular */
@media (max-width: 768px) {
    .curriculum-section {
        padding: 30px 0;
    }

    .curriculum-table-container {
        margin: 0 -15px 30px;
        border-radius: 0;
        box-shadow: none;
        border: 1px solid #e0e0e0;
    }

    .curriculum-table {
        min-width: 700px;
        font-size: 0.85rem;
    }

    .curriculum-table th {
        padding: 12px 8px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .curriculum-table td {
        padding: 10px 6px;
        font-size: 0.8rem;
    }

    .curriculum-table .level-header td {
        padding: 15px 8px;
        font-size: 0.9rem;
    }

    .level-toggle {
        font-size: 1rem;
        padding: 6px 10px;
    }

    .level-toggle i {
        font-size: 0.8rem;
        margin-left: 5px;
    }

    .curriculum-table tbody tr:nth-child(even) {
        background-color: #fafafa;
    }

    .curriculum-table tbody tr:hover {
        background-color: #f0f7ff;
    }

    .subtotal td {
        font-size: 0.8rem;
        padding: 12px 6px;
        background-color: #f8f9fa !important;
    }

    .total td {
        font-size: 0.85rem;
        padding: 15px 6px;
    }

    .button-group {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }

    .download-btn, .enroll-btn {
        min-width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
        text-align: center;
    }

    .curriculum-legend {
        padding: 0 15px;
    }

    .legend-items {
        justify-content: center;
        gap: 15px;
    }

    .info-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .curriculum-table {
        min-width: 650px;
        font-size: 0.8rem;
    }

    .curriculum-table th {
        padding: 10px 5px;
        font-size: 0.75rem;
    }

    .curriculum-table td {
        padding: 8px 4px;
        font-size: 0.75rem;
    }

    .curriculum-table .level-header td {
        padding: 12px 5px;
        font-size: 0.85rem;
    }

    .level-toggle {
        padding: 4px 8px;
        font-size: 0.9rem;
    }

    /* Ocultar columnas menos importantes en móviles muy pequeños */
    .curriculum-table th:nth-child(3),
    .curriculum-table td:nth-child(3),
    .curriculum-table th:nth-child(4),
    .curriculum-table td:nth-child(4),
    .curriculum-table th:nth-child(5),
    .curriculum-table td:nth-child(5) {
        display: none;
    }

    /* Ajustar el header para reflejar columnas visibles */
    .curriculum-table th:nth-child(1) { width: 15%; }
    .curriculum-table th:nth-child(2) { width: 60%; }
    .curriculum-table th:nth-child(6) { width: 25%; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .curriculum-table {
        min-width: 750px;
        font-size: 0.9rem;
    }

    .curriculum-table th,
    .curriculum-table td {
        padding: 10px 8px;
    }

    .button-group {
        gap: 15px;
    }

    .download-btn, .enroll-btn {
        min-width: 180px;
        padding: 12px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .curriculum-table-container {
        scroll-behavior: auto;
    }
    
    .level-header:hover .level-toggle {
        transform: none;
    }
}

/* PRÓXIMAMENTE */
.coming-soon-section {
    padding: 80px 0;
    background-color: var(--cream-bg);
    text-align: center;
}

.coming-soon-content {
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.coming-soon-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.coming-soon-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.coming-soon-content .contact-info {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Responsive Próximamente */
@media (max-width: 768px) {
    .coming-soon-section {
        padding: 60px 0;
    }
    
    .coming-soon-icon {
        font-size: 3rem;
    }
    
    .coming-soon-content h2 {
        font-size: 1.8rem;
    }
}
/* SECCIÓN HORARIOS */
.schedules-section {
    padding: 60px 0;
    background-color: var(--cream-bg);
    min-height: 600px;
}

/* Selector de Niveles (Tabs) */
.level-selector-container {
    text-align: center;
    margin-bottom: 40px;
}

.level-selector-container h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.level-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 10px;
}

.level-tab {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.level-tab:hover {
    background-color: #f0f7ff;
    transform: translateY(-2px);
    color: var(--primary-color);
}

.level-tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(118, 164, 182, 0.4);
}

/* Contenido del Horario */
.schedule-content {
    display: none; /* Oculto por defecto */
    animation: fadeIn 0.5s ease;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.schedule-header h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin: 0;
}

.schedule-badge {
    background-color: #2c3e50;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Tablas */
.table-responsive {
    overflow-x: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    -webkit-overflow-scrolling: touch;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Fuerza el scroll horizontal en móviles */
}

.schedule-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    position: sticky;
    top: 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.schedule-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: background 0.2s;
}

.schedule-table tr:hover td {
    background-color: #f9fbfd;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

/* Columna de Hora */
.time-col {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    width: 120px;
    border-right: 1px solid #eee;
}

/* Estilos de Texto dentro de celdas */
.schedule-table strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
}

.room-tag {
    display: inline-block;
    background-color: #e3f2fd;
    color: #1565c0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .schedule-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .schedule-header h2 {
        font-size: 1.4rem;
    }
    
    .level-tabs {
        gap: 8px;
    }
    
    .level-tab {
        padding: 8px 15px;
        font-size: 0.9rem;
        flex: 1 0 40%;
    }
    
    .time-col {
        white-space: nowrap;
        width: auto;
    }
}
/* HERO MINIMALISTA (Modificador para Horarios) */

.page-hero.minimal {
    background: #ffffff; 
    color: #333; 
    padding: 30px 0;
    text-align: left; 
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.page-hero.minimal .hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Estilo del H1 Minimalista */
.page-hero.minimal h1 {
    font-size: 2rem; 
    margin-bottom: 0;
    color: var(--primary-color);
    position: relative;
    padding-left: 15px;
}

.page-hero.minimal h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* Estilo del Párrafo Minimalista */
.page-hero.minimal p {
    font-size: 1rem;
    color: #666;
    opacity: 1;
    margin: 0;
    text-align: right;
    max-width: 500px;
    line-height: 1.4;
    font-weight: 500;
}

/* RESPONSIVE PARA EL HERO MINIMAL */
@media (max-width: 768px) {
    .page-hero.minimal .hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .page-hero.minimal h1 {
        font-size: 1.8rem;
    }

    .page-hero.minimal p {
        text-align: left;
        padding-left: 15px;
        font-size: 0.95rem;
    }
}
.footer-text-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}