/* =========================================================
   XPERTTA — HABLEMOS / CONTACTO
========================================================= */

.contact-page{
    padding:80px 0 100px;
}

.contact-page .container{
    max-width:1100px;
    margin:0 auto;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.contact-header{
    margin-bottom:50px;
}

.contact-header h1{
    margin:0;
    color:#1d2b5b;
    font-size:58px;
    line-height:1.05;
    font-weight:700;
}

.contact-header .title-line{
    width:62px;
    height:4px;
    margin:24px 0 24px;
    background:linear-gradient(
        90deg,
        #2196f3,
        #7645ff
    );
    border-radius:10px;
}

.contact-header p{
    max-width:650px;
    margin:0;
    color:#596987;
    font-size:22px;
    line-height:1.45;
}


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

.contact-form{
    width:100%;
}


/* FILAS DE DOS COLUMNAS */

.contact-row{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px;
    margin-bottom:28px;
}


/* CAMPO */

.contact-field{
    width:100%;
}

.contact-field-full{
    margin-bottom:28px;
}

.contact-field label{
    display:block;
    margin-bottom:9px;
    color:#1d2b5b;
    font-size:16px;
    line-height:1.3;
    font-weight:600;
}


/* INPUTS */

.contact-field input,
.contact-field select,
.contact-field textarea{
    display:block;
    width:100%;
    box-sizing:border-box;

    border:1px solid #d6dbea;
    border-radius:10px;

    background:#ffffff;

    color:#1d2b5b;

    font-family:inherit;
    font-size:16px;
    line-height:1.4;

    outline:none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


/* ALTURA INPUTS */

.contact-field input,
.contact-field select{
    height:52px;
    padding:0 16px;
}


/* TEXTAREA */

.contact-field textarea{
    min-height:170px;
    padding:15px 16px;
    resize:vertical;
}


/* FOCUS */

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus{
    border-color:#3d72ff;

    box-shadow:
        0 0 0 3px rgba(61,114,255,.10);
}


/* =========================================================
   SELECT
========================================================= */

.contact-field select{
    appearance:auto;
    cursor:pointer;
}


/* =========================================================
   POLÍTICA DE DATOS
========================================================= */

.contact-consent{
    margin:8px 0 30px;
}

.contact-consent label{
    display:flex;
    align-items:flex-start;
    gap:10px;

    color:#596987;
    font-size:14px;
    line-height:1.5;
}

.contact-consent input[type="checkbox"]{
    width:18px;
    height:18px;
    flex:0 0 18px;
    margin:2px 0 0;
    accent-color:#376cff;
}

.contact-consent a{
    color:#376cff;
    text-decoration:none;
    font-weight:600;
}

.contact-consent a:hover{
    text-decoration:underline;
}


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

.contact-submit{
    margin-top:10px;
}

.contact-submit input[type="submit"]{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:180px;
    min-height:54px;

    padding:0 32px;

    border:0;
    border-radius:14px;

    background:linear-gradient(
        90deg,
        #2875ff,
        #7445ff
    );

    color:#ffffff;

    font-family:inherit;
    font-size:17px;
    font-weight:700;

    cursor:pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.contact-submit input[type="submit"]:hover{
    transform:translateY(-2px);

    box-shadow:
        0 8px 20px rgba(63,92,255,.22);
}


/* =========================================================
   MENSAJES DE CONTACT FORM 7
========================================================= */

.contact-form .wpcf7-not-valid-tip{
    margin-top:6px;
    color:#d63638;
    font-size:13px;
}

.contact-form .wpcf7-response-output{
    margin:25px 0 0;
    padding:14px 18px;

    border-radius:10px;

    color:#1d2b5b;
    font-size:14px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:767px){

    .contact-page{
        padding:50px 0 70px;
    }

    .contact-page .container{
        width:100%;
        padding-left:24px;
        padding-right:24px;
        box-sizing:border-box;
    }

    .contact-header{
        margin-bottom:35px;
    }

    .contact-header h1{
        font-size:42px;
    }

    .contact-header .title-line{
        margin-top:18px;
        margin-bottom:20px;
    }

    .contact-header p{
        font-size:18px;
        line-height:1.45;
    }


    .contact-row{
        grid-template-columns:1fr;
        gap:22px;
        margin-bottom:22px;
    }

    .contact-field-full{
        margin-bottom:22px;
    }


    .contact-field input,
    .contact-field select{
        height:50px;
    }

    .contact-field textarea{
        min-height:150px;
    }


    .contact-submit input[type="submit"]{
        width:100%;
    }

}


/* =========================================================
   MÓVILES PEQUEÑOS
========================================================= */

@media (max-width:480px){

    .contact-page{
        padding-top:40px;
    }

    .contact-page .container{
        padding-left:18px;
        padding-right:18px;
    }

    .contact-header h1{
        font-size:36px;
    }

    .contact-header p{
        font-size:17px;
    }

}