/* =========================================================
   PÁGINA DE CONTACTO
   ========================================================= */

.contacto {

    width: 80%;
    margin-left: 10%;
    margin-top: 120px;
    padding-bottom: 50px;

}


/* =========================================================
   CONTENEDOR DEL FORMULARIO
   ========================================================= */

.contacto-contenido {

    max-width: 750px;
    margin: 0 auto;

}


/* =========================================================
   TÍTULO
   ========================================================= */

.contacto-contenido h1 {

    text-align: center;
    color: rgb(0, 127, 153);
    font-size: 32px;
    margin-bottom: 10px;

}


/* =========================================================
   INTRODUCCIÓN
   ========================================================= */

.contacto-introduccion {

    text-align: center;
    color: #555;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 30px;

}


/* =========================================================
   FORMULARIO
   ========================================================= */

.formulario-contacto {

    background: #f7f7f7;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);

}


/* =========================================================
   CAMPOS
   ========================================================= */

.campo {

    display: flex;
    flex-direction: column;
    margin-bottom: 20px;

}


.campo label {

    color: rgb(0, 127, 153);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 7px;

}


.campo input,
.campo select,
.campo textarea {

    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;

}


.campo input:focus,
.campo select:focus,
.campo textarea:focus {

    border-color: rgb(0, 127, 153);

}


.campo textarea {

    resize: vertical;

}


/* =========================================================
   BOTÓN ENVIAR
   ========================================================= */

.boton-contacto {

    display: block;
    width: 100%;
    padding: 13px;

    background: rgb(0, 127, 153);
    color: white;

    border: none;
    border-radius: 5px;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

}


.boton-contacto:hover {

    background: rgb(0, 100, 120);

}

@media (max-width: 768px) {

    .contacto {
        width: 90%;
        margin-left: 5%;
        margin-top: 220px;
        padding-bottom: 30px;
    }

    .contacto-contenido {
        width: 100%;
        max-width: none;
    }

    .contacto-contenido h1 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .contacto-introduccion {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .formulario-contacto {
        padding: 20px;
    }

    .campo {
        margin-bottom: 18px;
    }

    .campo input,
    .campo select,
    .campo textarea {
        font-size: 16px;
        padding: 11px;
    }

    .boton-contacto {
        padding: 12px;
        font-size: 16px;
    }

}