body {
    font-family: 'Nunito', sans-serif;
    background: #f4f6f8;
    color: #2f2f4f;
}

.topbar {
    background: #0b1c2d;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
}

.main-navbar {
    background: #3a8ecb;
}

.main-navbar .nav-link {
    color: #fff !important;
    font-weight: 600;
}

.search-input {
    border-radius: 25px;
    padding: 8px 15px;
}

.hero h1 {
    font-weight: 800;
    color: #2f4c7a;
}

.price-before {
    text-decoration: line-through;
    color: #888;
}

.price-now {
    font-size: 32px;
    font-weight: 800;
    color: #3a8ecb;
}

.section-mini {
    color: #777;
    font-size: 14px;
    letter-spacing: 1px;
}

.catalogo {
    background: #f1f2f4;
}

.curso-card {
    border: none;
    transition: .3s;
}

.curso-card:hover {
    transform: translateY(-5px);
}

.old-price {
    text-decoration: line-through;
    color: #aaa;
}

.new-price {
    color: #e63946;
    font-weight: 700;
}

/* ==============================
   SOPORTE GLASS FULL
============================== */

.soporte {
    position: relative;
    background: url('../img/soporte.png') center center/cover no-repeat;
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    overflow: hidden;
}

/* Capa glass que cubre TODO */
.soporte-glass {
    position: absolute;
    inset: 0;

    background: rgba(8, 20, 35, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 80px 20px;
}

/* Texto */
.soporte h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.soporte p {
    color: #fff;
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 700px;
}

@media(max-width:768px) {

    .soporte {
        min-height: 400px;
        text-align: center;
    }

    .soporte h2 {
        font-size: 32px;
    }

    .soporte p {
        font-size: 18px;
        padding: 0 20px;
    }

}

.footer {
    background: #071325;
    color: #fff;
}

.footer h6 {
    margin-bottom: 15px;
}

.hero {
    width: 100%;
    overflow: hidden;
}

.hero-img {
    object-fit: cover;
    width: 100%;
    height: auto;
    /* 🔥 clave */
    display: block;
}

/* ===============================
   DESTACADOS ESTILO PRO
=================================*/

.destacados {
    background: #f4f6f8;
    padding: 100px 0;
}

.destacados-content {
    padding-left: 40px;
}

.section-label {
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #8a8f98;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: #2f2f4f;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 40px;
}

/* LISTA */

.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.course-list li {
    margin-bottom: 20px;
    text-align: left;
}

.course-list a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    transition: all .3s ease;
    justify-content: flex-start;
}

.course-list .number {
    font-weight: 700;
    color: #9aa0a6;
    margin-right: 15px;
    font-size: 16px;
}

.course-list .text {
    color: #2f2f4f;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
}

.course-list a:hover .text {
    color: #3a8ecb;
    transform: translateX(4px);
}

.course-list a:hover .number {
    color: #3a8ecb;
}

@media(max-width:992px) {

    .destacados-content {
        padding-left: 0;
        margin-top: 40px;
        text-align: center;
    }

    .course-list a {
        justify-content: flex-start;
        margin-left: 20px;
    }

}

.destacados {
    background: linear-gradient(to bottom,
            #ffffff 0%,
            #f4f8fc 100%);
}

.catalogo {
    background: #f4f7fb;
    padding: 120px 0;
}

.curso-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all .3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.curso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-img-top {
    aspect-ratio: 4 / 4;
    object-fit: cover;
}

.card-title {
    font-weight: 700;
    margin-bottom: 15px;
}

.price {
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: #e63946;
    margin-right: 10px;
}

.new-price {
    color: #3a8ecb;
    font-weight: 800;
    font-size: 18px;
}

@media(max-width:991px) {
    .topbar {
        display: none;
    }
}

/* Link que envuelve card */
.curso-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Card ocupa todo el alto */
.curso-card {
    height: 100%;
    transition: all .3s ease;
    cursor: pointer;
}

/* Hover sobre toda la card */
.curso-link:hover .curso-card {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.007);
}

/* Evitar azul en títulos */
.curso-link:hover .card-title {
    color: #3a8ecb;
}

/* ===============================
   MODAL CONTACTO
=================================*/

.contact-modal {
    border-radius: 20px;
    border: none;
}

.contact-title {
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 30px;
    color: #2f2f4f;
    text-align: center;
}

.form-control {
    border-radius: 12px;
    padding: 12px;
}

.btn-info {
    background: #3a8ecb;
    border: none;
    --bs-btn-color: var(--bs-white);
}

.btn-info:hover {
    background: #2f7ab2;
}

/* MODO FULLSCREEN EN MÓVIL */
@media(max-width:768px) {

    .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100vh;
    }

    .modal-content {
        border-radius: 0;
        height: 100vh;
    }

    .modal-body {
        overflow-y: auto;
    }

}