/* Contact page styles */
.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 24px 20px;
}

.contact-hero::before,
.contact-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.contact-hero::before {
    inset: 0;
    background-image:
        url("../assets/logos/1 Charcoal/3x/Charcoal _ Ball@3x.png"),
        url("../assets/logos/1 Charcoal/3x/Charcoal _ Coconut@3x.png"),
        url("../assets/logos/1 Charcoal/3x/Charcoal _ Guitar@3x.png");
    background-repeat: no-repeat;
    background-size: 180px, 200px, 180px;
    background-position:
        10% 32%,
        82% 36%,
        18% 66%;
    opacity: 0.28;
    mix-blend-mode: multiply;
}

.contact-hero::after {
    inset: 0;
    background-image:
        url("../assets/logos/Split Header-Footer/GLOBELANE_split-header_red_WEB-1000px.png"),
        url("../assets/logos/Split Header-Footer/GLOBELANE_split-footer_red_WEB-1000px.png");
    background-repeat: no-repeat;
    background-size: 720px 300px, 720px 300px;
    background-position: 40px 0, right -10px bottom 0;
    opacity: 0.6;
}

.contact-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.contact-grid .placeholder {
    min-height: 280px;
}

.newsletter-block {
    margin-top: 80px;
}

.contact-form {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgb(57 28 28 / 16%);
    border-radius: var(--radius-control);
    background: rgb(255 255 255 / 70%);
    box-shadow: 0 8px 18px rgb(241 107 129 / 8%);
}


.contact-form .btn {
    justify-self: flex-start;
    margin-top: 0;
}

.contact-inline-link {
    color: var(--globe-charcoal);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.contact-inline-link:hover {
    color: var(--globe-red);
    text-decoration-color: var(--globe-red);
}

@media (width <= 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-block {
        margin-top: 32px;
    }

    .contact-hero::before {
        background-size: 180px, 200px, 180px;
        background-position:
            8% 18%,
            78% 22%,
            14% 70%;
    }

    .contact-hero::after {
        content: none;
    }
}

@media (width <= 640px) {
    .contact-hero {
        padding: 32px 16px 16px;
    }

    .contact-hero::before {
        background-size: 140px, 160px, 140px;
        background-position:
            8% 16%,
            84% 18%,
            12% 66%;
    }

}
