/* =====================================================
   CONTACT PAGE
===================================================== */


/* =====================================================
   PAGE HERO
===================================================== */

.page-hero {

    padding:
        51px 0;

    color:
        white;

    background:
        var(--primary);

}


.page-hero h1 {

    margin-top:
        7px;

    font-size:
        clamp(40px, 6vw, 60px);

}


.page-hero p {

    margin-top:
        8px;

    color:
        rgba(255,255,255,.7);

}



/* =====================================================
   CONTACT GRID
===================================================== */

.contact-grid {

    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    gap:
        55px;

}



/* =====================================================
   CONTACT HEADING
===================================================== */

.contact-grid h2 {

    margin:
        8px 0 25px;

    font-size:
        37px;

}



/* =====================================================
   CONTACT ITEMS
===================================================== */

.contact-item {

    margin-bottom:
        22px;

}


.contact-item strong {

    color:
        var(--primary);

    font-size:
        14px;

}


.contact-item p {

    margin-top:
        3px;

    color:
        var(--muted);

    font-size:
        13px;

    line-height:
        1.7;

}


.contact-item a {

    color:
        inherit;

    text-decoration:
        none;

}


.contact-item a:hover {

    text-decoration:
        underline;

}



/* =====================================================
   CONTACT FORM
===================================================== */

.contact-form {

    padding:
        28px;

    background:
        var(--light);

    border-radius:
        13px;

}


.contact-form h2 {

    margin:
        0 0 20px;

    font-size:
        27px;

}



/* =====================================================
   FORM
===================================================== */

.contact-form form {

    display:
        flex;

    flex-direction:
        column;

    gap:
        13px;

}



/* =====================================================
   FORM LABELS
===================================================== */

.contact-form label {

    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;

    font-size:
        12px;

    font-weight:
        700;

}



/* =====================================================
   INPUTS
===================================================== */

.contact-form input {

    width:
        100%;

    box-sizing:
        border-box;

    padding:
        10px 12px;

    border:
        1px solid var(--border);

    border-radius:
        7px;

    background:
        white;

    font:
        inherit;

    font-size:
        14px;

    outline:
        none;

}



/* =====================================================
   TEXTAREA
===================================================== */

.contact-form textarea {

    width:
        100%;

    box-sizing:
        border-box;

    padding:
        12px 14px;

    border:
        1px solid var(--border);

    border-radius:
        7px;

    background:
        white;

    font-family:
        inherit;

    font-size:
        14px;

    line-height:
        1.5;

    text-align:
        left;

    vertical-align:
        top;

    resize:
        vertical;

    outline:
        none;

}



/* =====================================================
   INPUT FOCUS
===================================================== */

.contact-form input:focus,
.contact-form textarea:focus {

    border-color:
        var(--primary);

}



/* =====================================================
   BOT PROTECTION
===================================================== */

/*
   Honeypot field.

   Normal users cannot see this field.
   Basic automated bots may still try to fill it.
*/

.bot-field {

    position:
        absolute;

    left:
        -9999px;

    top:
        auto;

    width:
        1px;

    height:
        1px;

    overflow:
        hidden;

}



/* =====================================================
   SEND BUTTON
===================================================== */

.contact-form button {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    cursor:
        pointer;

}



/* =====================================================
   BUTTON DISABLED STATE
===================================================== */

.contact-form button:disabled {

    opacity:
        .65;

    cursor:
        not-allowed;

}



/* =====================================================
   MOBILE
===================================================== */

@media(max-width:700px) {

    .contact-grid {

        grid-template-columns:
            1fr;

    }


    .contact-grid h2 {

        font-size:
            32px;

    }


    .contact-form {

        padding:
            22px;

    }

}