* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    background: #7A1E3A;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}

.menu {
    list-style: none;
    display: flex;
    gap: 25px;
}

    .menu a {
        color: white;
        text-decoration: none;
    }

.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Móviles */
@media (max-width:768px) {

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #7A1E3A;
        flex-direction: column;
        text-align: center;
    }

        .menu.active {
            display: flex;
        }

        .menu li {
            padding: 15px;
            border-top: 1px solid rgba(255,255,255,.2);
        }
}
.separador {
    height: 15px;
    background: #700262;
    border: none;
    margin: 0;
}

#super {
    text-align: center;
    margin: 40px 0;
}

    #super .nivel {
        color: #700262;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 1px;
    }

    #super h2 {
        margin-top: 10px;
        font-size: 38px;
        color: #333;
    }

.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px;
}

.card {
    width: 350px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
    transition: .35s;
}

    .card img {
        width: 100%;
        display: block;
    }

.card-info {
    padding: 25px;
}

    .card-info h3 {
        margin-bottom: 10px;
        color: #700262;
    }

    .card-info p {
        line-height: 1.6;
        margin-bottom: 20px;
    }

.btn-card {
    display: inline-block;
    padding: 10px 25px;
    background: #700262;
    color: #fff;
    border-radius: 30px;
    transition: .3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

    .card:hover .btn-card {
        background: #4d0043;
    }

.badge-convocatorias {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 12px 26px;
    border: 2px solid #700262;
    border-radius: 50px;
    background: #fff;
    color: #700262;
    font-size: 22px;
    font-weight: bold;
}

    .badge-convocatorias::before {
        content: "";
        width: 12px;
        height: 12px;
        background: #e60023;
        border-radius: 50%;
        box-shadow: 0 0 8px rgba(230,0,35,.5);
    }

.separador-naranja {
    height: 15px;
    background: #B05C04;
    border: none;
    margin: 0;
}

#medio {
    text-align: center;
    margin: 40px 0;
}

    #medio .nivel {
        color: #B05C04;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 1px;
    }
.separador-gris {
    height: 15px;
    background: #555555;
    border: none;
    margin: 0;
}

#dist {
    text-align: center;
    margin: 40px 0;
}

    #dist .nivel {
        color: #555555;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 1px;
    }
.badge-convocatorias {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #700262;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(112,2,98,.25);
    cursor: pointer;
    transition: all .3s ease;
}

    .badge-convocatorias:hover {
        background: #4d0043;
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(112,2,98,.40);
    }