/*=========================================
VARIABLES
=========================================*/

:root{
    --primary:#5a2ca0;
    --primary-dark:#472182;
    --text:#232333;
    --background:#f5f7fb;
    --white:#ffffff;
    --border:#e5e5e5;
}

/*=========================================
RESET
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--background);
    color:var(--text);
    line-height:1.6;
}

a{
    text-decoration:none;
}

/*=========================================
HEADER
=========================================*/

.header{
    background:var(--primary);
    color:#fff;
    padding:70px 20px;
    text-align:center;
}

.header h1{
    font-size:42px;
    margin-bottom:15px;
    font-weight:700;
}

.header p{
    max-width:700px;
    margin:auto;
    font-size:17px;
    opacity:.95;
}

/*=========================================
CONTENEDOR
=========================================*/

.container{
    max-width:750px;
    margin:60px auto;
    padding:0 20px;
}

/*=========================================
TARJETA
=========================================*/

.card{
    background:var(--white);
    border-radius:18px;
    padding:40px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.card h2{
    text-align:center;
    color:var(--primary);
    margin-bottom:35px;
    font-size:30px;
}

/*=========================================
FORMULARIO
=========================================*/

.form-group{
    margin-bottom:22px;
}

label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:var(--text);
}

input,
select,
textarea{
    width:100%;
    padding:14px 16px;
    border:1px solid var(--border);
    border-radius:10px;
    font-size:15px;
    transition:.25s;
    font-family:inherit;
}

input:focus,
select:focus,
textarea:focus{
    outline:none;
    border-color:var(--primary);
    box-shadow:0 0 0 3px rgba(90,44,160,.15);
}

textarea{
    resize:vertical;
    min-height:160px;
}

/*=========================================
BOTÓN
=========================================*/

button{
    width:100%;
    border:none;
    background:var(--primary);
    color:#fff;
    padding:16px;
    border-radius:10px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
}

/*=========================================
NOTA
=========================================*/

.footer-note{
    text-align:center;
    margin-top:25px;
    color:#666;
    font-size:14px;
}

/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:768px){

    .header{
        padding:55px 20px;
    }

    .header h1{
        font-size:34px;
    }

    .header p{
        font-size:16px;
    }

    .container{
        margin:40px auto;
    }

    .card{
        padding:28px;
    }

    .card h2{
        font-size:26px;
    }

}