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

.gm-contact-page {
    min-height: 100vh;
}


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

.gm-contact-hero {
    padding:
        150px
        0
        140px;

    border-bottom: 1px solid var(--line);
}

.gm-contact-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;

    margin-bottom: 100px;
}

.gm-contact-location {
    margin: 0;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.gm-contact-hero h1 {
    margin: 0;

    max-width: 1300px;

    font-size: clamp(95px, 13vw, 215px);
    line-height: .78;
    letter-spacing: -.07em;
    font-weight: 400;
}

.gm-contact-hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 60px;

    margin-top: 100px;
}

.gm-contact-hero-bottom p {
    margin: 0;

    max-width: 620px;

    color: var(--muted);

    font-size: clamp(16px, 1.35vw, 20px);
    line-height: 1.65;
}

.gm-contact-index {
    color: var(--muted);

    font-size: 9px;
    letter-spacing: .18em;
}


/* =========================================================
   CONTACT BODY
========================================================= */

.gm-contact-main {
    padding:
        clamp(110px, 13vw, 220px)
        0;
}

.gm-contact-grid {
    display: grid;

    grid-template-columns:
        .55fr
        1.45fr;

    gap:
        clamp(70px, 10vw, 170px);

    align-items: start;
}


/* =========================================================
   CONTACT INFO
========================================================= */

.gm-contact-info {
    position: sticky;

    top: 45px;
}

.gm-contact-info-block {
    margin-top: 40px;
}

.gm-contact-info-block > span {
    display: block;

    margin-bottom: 10px;

    color: var(--muted);

    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.gm-contact-info-block p,
.gm-contact-info-block a {
    margin: 0;

    color: #fff;

    font-size: 15px;
    line-height: 1.5;

    text-decoration: none;
}

.gm-contact-info-block a:hover {
    color: var(--muted);
}

.gm-contact-socials {
    display: flex;
    flex-direction: column;

    gap: 14px;

    margin-top: 55px;
}

.gm-contact-socials a {
    width: fit-content;

    color: var(--muted);

    text-decoration: none;

    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;

    transition: color .25s ease;
}

.gm-contact-socials a:hover {
    color: #fff;
}


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

.gm-contact-form {
    width: 100%;
}

.gm-form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: clamp(25px, 3vw, 50px);
}

.gm-field {
    position: relative;

    margin-bottom:
        clamp(42px, 5vw, 70px);
}

.gm-field label {
    display: block;

    margin-bottom: 15px;

    color: var(--muted);

    font-size: 9px;
    line-height: 1;

    letter-spacing: .17em;
    text-transform: uppercase;
}

.gm-field input,
.gm-field select,
.gm-field textarea {
    width: 100%;

    appearance: none;

    border: 0;
    border-bottom:
        1px
        solid
        rgba(255,255,255,.22);

    border-radius: 0;

    padding:
        0
        0
        17px;

    outline: none;

    background: transparent;

    color: #fff;

    font-family: inherit;

    font-size: clamp(17px, 1.4vw, 22px);
    line-height: 1.4;

    transition:
        border-color .3s ease;
}

.gm-field input:focus,
.gm-field select:focus,
.gm-field textarea:focus {
    border-color: #fff;
}

.gm-field input::placeholder,
.gm-field textarea::placeholder {
    color: rgba(255,255,255,.28);
}

.gm-field select {
    cursor: pointer;
}

.gm-field select option {
    background: #111;

    color: #fff;
}

.gm-field textarea {
    min-height: 150px;

    resize: vertical;
}

.gm-field input[type="date"] {
    color-scheme: dark;
}


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

.gm-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;

    margin-top: 20px;
}

.gm-form-footer p {
    margin: 0;

    max-width: 300px;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.6;
}

.gm-form-submit {
    display: inline-flex;
    align-items: center;

    gap: 18px;

    appearance: none;

    border: 0;
    padding: 0;

    background: transparent;

    color: #fff;

    cursor: pointer;

    font-family: inherit;

    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.gm-form-submit span:last-child {
    font-size: 20px;

    transition:
        transform .3s ease;
}

.gm-form-submit:hover span:last-child {
    transform:
        translateX(6px);
}


/* =========================================================
   STATUS
========================================================= */

.gm-form-status {
    min-height: 22px;

    margin:
        25px
        0
        0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   BOTTOM CTA
========================================================= */

.gm-contact-bottom {
    padding:
        clamp(130px, 15vw, 250px)
        0;

    border-top:
        1px
        solid
        var(--line);
}

.gm-contact-bottom h2 {
    margin:
        26px
        0
        0;

    max-width: 1300px;

    font-size:
        clamp(65px, 10vw, 165px);

    line-height: .82;

    letter-spacing: -.065em;

    font-weight: 400;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .gm-contact-hero {
        padding:
            125px
            0
            95px;
    }

    .gm-contact-hero-top {
        margin-bottom: 70px;
    }

    .gm-contact-hero-bottom {
        margin-top: 75px;
    }

    .gm-contact-grid {
        grid-template-columns: 1fr;

        gap: 90px;
    }

    .gm-contact-info {
        position: static;

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 30px;
    }

    .gm-contact-info > .gm-label,
    .gm-contact-socials {
        grid-column: 1 / -1;
    }

    .gm-contact-info-block {
        margin-top: 0;
    }

}


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

@media (max-width: 620px) {

    .gm-contact-hero {
        padding:
            105px
            0
            75px;
    }

    .gm-contact-hero-top {
        flex-direction: column;
        align-items: flex-start;

        gap: 14px;

        margin-bottom: 55px;
    }

    .gm-contact-hero h1 {
        font-size:
            clamp(70px, 21vw, 115px);
    }

    .gm-contact-hero-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 28px;

        margin-top: 60px;
    }

    .gm-contact-main {
        padding:
            90px
            0
            120px;
    }

    .gm-contact-info {
        display: block;
    }

    .gm-contact-info-block {
        margin-top: 35px;
    }

    .gm-contact-socials {
        margin-top: 45px;
    }

    .gm-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .gm-field {
        margin-bottom: 45px;
    }

    .gm-form-footer {
        flex-direction: column;
        align-items: flex-start;

        gap: 30px;
    }

    .gm-contact-bottom h2 {
        font-size:
            clamp(52px, 15vw, 88px);
    }

}