html, body {
    height: 100%;
    overflow: hidden;
}

.contact_page {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

h1 {
    white-space: nowrap;
    z-index: 2;
    position: fixed;
    top: 150px;
}


.contact_page .right {
    height: 100%;
    width: calc(100% + 24px);
    object-fit: cover;
    overflow: hidden;
    background-size: cover;
    background-position: bottom;
}

.contact_page .right::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(7, 7, 7, 0.48), rgba(7, 7, 7, 0.48)),
    linear-gradient(180deg, rgba(7, 7, 7, 0.24) 0%, rgba(7, 7, 7, 0) 27.07%);
    pointer-events: none;
    z-index: 1;
}

.contact_page .left {
    padding-right: 24px;
    overflow-y: auto;
    scrollbar-width: none;
    position: relative;
    margin-top: 320px;
}


.contact_page .contact_page_content .lead {
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    margin-bottom: 24px;
}

.contact_page .social_blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.contact_page .social_blocks .block {
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 32px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
}

.contact_page .social_blocks .block p {
    margin: 0;
    font-size: clamp(14px, 1vw, 18px);
}

.contact_page .bottom_contacts {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
    margin-bottom: 48px;
}

.contact_page .bottom_contacts .contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact_page .bottom_contacts .contact p.title {
    color: rgba(255, 255, 255, 0.48);
    font-size: 18px;
    line-height: 1;
    margin: 0;
}

.contact_page .bottom_contacts .contact a {
    font-family: 'Druk', Arial, sans-serif;
    font-size: 24px;
    color: #ffffff;
    line-height: 1;
    margin: 0;
    text-decoration: none;
}
footer {
    display: none;
}

@media (max-width: 960px) {
    html, body {
        overflow: auto;
    }
    h1 {
        position: relative;
        font-size: 40px;
        top: 0;
        order: 2;
        margin-top: -20vw;
    }

    .contact_page {
        height: auto;
        grid-template-columns: 1fr;
    }

    .contact_page .left {
        order: 2;
        margin-top: -5vw;
        z-index: 2;
        padding-right: 0;
    }

    .contact_page .right {
        width: 100%;
        order: 1;
        aspect-ratio: 3 / 4;
    }

    .contact_page .right::before {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 47.95%, #070707 100%);
    }

    .contact_page .social_blocks {
        grid-template-columns: 1fr;
    }

    .contact_page .social_blocks .block {
        padding: 28px;
    }
    .contact_page .bottom_contacts .contact a {
        font-size: 20px;
    }
}