/* ===== CONFIGURACIÓN GENERAL ===== */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background-color: #F3F4F6;
    color: #374151;
    min-height: 100vh;
}

/* ===== HEADER ===== */

header{
    background-color: #1E3A8A;
    color: white;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1{
    font-size: 28px;
}

nav ul{
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a{
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: .3s;
}

nav ul li a:hover{
    color: #93C5FD;
}

/* ===== BANNER ===== */

.banner{
    background: linear-gradient(
        rgba(37,99,235,.9),
        rgba(30,58,138,.9)
    );
    color: white;
    text-align: center;
    padding: 70px 20px;
}

.banner h2{
    font-size: 40px;
    margin-bottom: 15px;
}

.banner p{
    font-size: 18px;
}

/* ===== LOGIN ===== */

.login-container{
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* ===== FORMULARIO ===== */

.login-box{
    background-color: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.login-box h2{
    text-align: center;
    color: #1E3A8A;
    margin-bottom: 25px;
}

.campo{
    margin-bottom: 20px;
}

.campo label{
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.campo input{
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 15px;
}

.campo input:focus{
    outline: none;
    border-color: #2563EB;
}

.opciones{
    margin-bottom: 20px;
}

.login-box button{
    width: 100%;
    background-color: #2563EB;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: .3s;
}

.login-box button:hover{
    background-color: #1E3A8A;
}

/* ===== ENLACES ===== */

.enlaces{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.enlaces a{
    text-decoration: none;
    color: #2563EB;
    font-weight: 500;
}

.enlaces a:hover{
    text-decoration: underline;
}

/* ===== BENEFICIOS ===== */

.beneficios{
    background-color: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.beneficios h2{
    color: #1E3A8A;
    margin-bottom: 25px;
    text-align: center;
}

.beneficio{
    margin-bottom: 25px;
}

.beneficio h3{
    color: #2563EB;
    margin-bottom: 8px;
}

/* ===== FOOTER ===== */

footer{
    background-color: #1E3A8A;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 50px;
}

/* ===== RESPONSIVE ===== */

@media(max-width:768px){

    header{
        flex-direction: column;
        gap: 15px;
    }

    nav ul{
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .banner h2{
        font-size: 30px;
    }

    .login-container{
        grid-template-columns: 1fr;
    }
}