/* =========================================
   TABLA DE CURSOS
   ========================================= */

.cursos-section {
    padding: 70px 20px;
}

.cursos-container {
    max-width: 1100px;
    margin: 0 auto;
}

.cursos-titulo {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
}

.cursos-subtitulo {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.tabla-cursos-wrapper {
    background: #ffffff;
    border-radius: 15px;
    overflow-x: auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.tabla-cursos {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    min-width: 700px;
}

.tabla-cursos thead {
    background: #212529;
    color: white;
}

.tabla-cursos th {
    padding: 18px 20px;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
}

.tabla-cursos td {
    padding: 17px 20px;
    border-bottom: 1px solid #eeeeee;
    color: #444;
    vertical-align: middle;
}

.tabla-cursos tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.tabla-cursos tbody tr {
    transition: all 0.2s ease;
}

.tabla-cursos tbody tr:hover {
    background-color: #e9f2ff;
    transform: scale(1.005);
}

.tabla-cursos tbody tr:last-child td {
    border-bottom: none;
}

/* Nivel */
.tabla-cursos td:first-child {
    font-weight: 600;
    color: #212529;
}

/* Precio */
.tabla-cursos td:last-child {
    font-weight: 700;
    color: #0d6efd;
    font-size: 1.05rem;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {

    .cursos-section {
        padding: 45px 15px;
    }

    .cursos-titulo {
        font-size: 2rem;
    }

    .cursos-subtitulo {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .tabla-cursos-wrapper {
        border-radius: 10px;
    }

    .tabla-cursos {
        min-width: 650px;
    }

    .tabla-cursos th,
    .tabla-cursos td {
        padding: 14px 12px;
        font-size: 0.9rem;
    }
}


/* =========================================
   INSCRIPCIÓN - CURSOS
   ========================================= */

.inscripcion-cursos {
    text-align: center;
    margin: 45px auto 10px;
    padding: 35px 25px;
    max-width: 750px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.inscripcion-cursos h2 {
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #212529;
}

.inscripcion-cursos p {
    color: #6c757d;
    margin-bottom: 25px;
}


/* Botón WhatsApp */

.btn-whatsapp-cursos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #198754;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-whatsapp-cursos:hover {
    background-color: #157347;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp-cursos i {
    font-size: 1.2rem;
}


/* Aclaración */

.nota-cursos {
    margin-top: 25px !important;
    margin-bottom: 0 !important;
    font-size: 0.85rem;
    color: #888888 !important;
}


/* Responsive */

@media (max-width: 576px) {

    .inscripcion-cursos {
        margin-top: 30px;
        padding: 30px 20px;
    }

    .inscripcion-cursos h2 {
        font-size: 1.5rem;
    }

    .btn-whatsapp-cursos {
        width: 100%;
        justify-content: center;
    }

}