﻿.contacts-content {
    padding-top: 60px;
}

.contacts-section {
    padding: 64px var(--padding-xm);
}

@media (min-width: 768px) {
    .contacts-section {
        padding: 64px var(--padding-sm);
    }
}

@media (min-width: 1230px) {
    .contacts-content {
        padding-left: var(--padding-sm);
        padding-right: var(--padding-sm);
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto 1fr 1fr;
        column-gap: 75px;
        padding-bottom: 80px;
    }

    .contacts-section {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 1400px) {
    .contacts-content {
        padding-left: var(--padding-md);
        padding-right: var(--padding-md);
        column-gap: 100px;
    }
}

@media (min-width: 1920px) {
    .contacts-content {
        padding-left: var(--padding-xl);
        padding-right: var(--padding-xl);
        column-gap: 150px;
        grid-template-columns: 1fr 1fr auto;
        grid-template-rows: repeat(3, auto);
    }
}

/*CONTACT US*/
.contact-us-section {
    padding-top: 80px;
}

.cae-dots-wrapper {
    margin-bottom: 16px;
}

.contact-us-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 24px;
}

.contact-us-section p {
    font-size: 18px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .contact-us-section h2 {
        font-size: 38px;
    }
}

@media (min-width: 1920px) {
    .contact-us-section {
        grid-column: span 2;
        padding-bottom: 58px;
    }
}

/*APPLY FORM*/
.apply-form-section {
    justify-items: center;
}

.apply-form {
    padding: 60px var(--padding-xm);
}

    .apply-form h2 {
        text-align: center;
    }

@media (min-width: 768px) {
    .apply-form {
        padding: 60px var(--padding-sm);
    }
}

@media (min-width: 1230px) {
    .apply-form-section {
        display: flex;
        justify-content: end;
        padding-top: 80px;
        align-self: flex-start;
        grid-row: span 3;
    }

    .apply-form {
        padding: 32px var(--padding-sm);
        border-radius: 12px;
        width: 520px;
    }
}

@media (min-width: 1920px) {
    .apply-form-section {
        grid-column: 3;
        grid-row: span 3;
    }
}

/*OFFICES*/
.our-offices-section {
    padding-bottom: 80px;
}

    .our-offices-section h3 {
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 0;
    }

    .our-offices-section h4 {
        margin-top: 32px;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 16px;
    }

.office-address {
    font-size: 18px;
    margin-bottom: 11px;
}

.office-phone-social {
    margin-bottom: 11px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.office-wrapper a.office-phone,
.office-wrapper a.office-email {
    color: var(--url-text-color);
    text-decoration: none;
    font-size: 18px;
}

.office-wrapper a.social {
    display: inline-block;
    position: relative;
    width: 18px;
    height: 18px;
}

    .office-wrapper a.social::before {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-size: contain;
        background-repeat: no-repeat;
    }

.social.viber-sm::before {
    background-image: url('/images/viber-sm.svg');
}

.social.telegram-sm::before {
    background-image: url('/images/telegram-sm.svg');
}

.office-map-container {
    margin-top: 24px;
}

    .office-map-container .map-widget-layout-view__maps-links {
        display: none;
    }

@media (min-width: 992px) and (max-width: 1229px) {
    .offices-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (min-width: 1230px) {
    .our-offices-section {
        padding-top: 0;
        padding-bottom: 0;
        grid-row: span 2;
    }
}

@media (min-width: 1920px) {
    .our-offices-section {
        grid-row: span 2;
        grid-column: span 2;
    }

    .offices-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .our-offices-section h4 {
        margin-top: 24px;
    }
}
