.page-header {
    background: linear-gradient(180deg, #e7f5ff 0%, #e3dafc 100%), #dbe9ff;
    padding: 40px 0 50px;
    color: #fff;
    background: rgba(0, 0, 0, 0) url('/wp-content/themes/vybirkrainy/assets/img/header-bg.jpg') no-repeat scroll center center / cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.header+.page-header {
    padding-top: 170px;
}

.page-header__title {
    font-size: 70px;
}

.page-header__breadcrumbs {
    font-size: 12px;
    text-transform: uppercase;
}

.page-header__breadcrumbs a {
    opacity: 0.5;
    color: #ffffff;
}

.bg-ph-contacts {
    position: absolute;
    width: 100%;
    top: 70px;
    bottom: 0;
    overflow: hidden;
}

.bg-ph-contacts img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    position: absolute;
}

.contacts {
    padding-top: 200px;
}

.contacts__title {
    font-size: 34px;
    font-weight: 600;
}

.contacts-list__row {
    margin-top: 10px;
}

.contacts-item {
    margin-top: 40px;
}

.contacts-item__title {
    color: rgba(21, 21, 21, 0.4);
    font-weight: 500;
    line-height: 120%;
    letter-spacing: -0.32px;
}

.contacts-item__text {
    color: #151515;
    margin-top: 10px;
    font-size: 24px;
    letter-spacing: -0.48px;
    line-height: 120%;
}

.contacts-item__text a {
    color: #151515;
    font-size: 24px;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

.contacts-item__phones-list {
    margin-top: 10px;
}

.contacts-item__phones-item {
    margin-top: 8px;
    font-size: 18px;
    text-decoration: underline;
    font-family: 'Montserrat', sans-serif;
}

.contacts__map {
    margin-top: 40px;
    max-width: 100%;
}

.contacts__map iframe {
    height: 270px;
    width: 100%;
    border-radius: 30px;
    border: 1px solid rgba(21, 21, 21, 0.1);
    background: lightgray 50% / cover no-repeat;
    overflow: hidden;
}

.contacts__row {
    z-index: 5;
    position: relative;
}

.contacts__form .wpcf7 {
    margin-top: 20px;
}

.contacts+.footer-map {
    display: none;
}

.contacts__socials {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.contacts__socials img {
    width: 100%;
    height: auto;
    max-width: 50px;
}

.contacts__form {
    color: #2a2b2b;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0px -1.383px 17.068px 0px rgba(0, 0, 0, 0.02), 0px 2.763px 31.259px 0px rgba(0, 0, 0, 0.03), 0px 15.097px 51.033px 0px rgba(0, 0, 0, 0.03), 0px 51px 80px 0px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.contacts__form-bg {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    left: 0;
    position: absolute;
    z-index: -1;
}

.contacts__form-inner {
    text-align: center;
    padding: 40px 50px;
}

.contacts__form-title {
    font-size: 34px;
    font-weight: 600;
}

.contacts__form-subtitle {
    margin-top: 10px;
    font-size: 16px;
}

.contacts__form-input:not(:first-child) {
    margin-top: 19px;
}

.contacts__form-textarea {
    border-radius: 20px !important;
}

.contacts__form-textarea:not(:first-child) {
    margin-top: 19px;
}

.contacts__form-btn {
    margin-top: 19px;
    width: 100%;
    padding: 26px;
}

.custom-body-class .contacts {
    padding-top: 200px !important;
    background: var(--dark);
    color: #fff;
}

.custom-body-class .contacts-item__text a,
.custom-body-class .contacts-item__text,
.custom-body-class .wpcf7-acceptance a,
.custom-body-class .wpcf7-acceptance {
    color: #ffffff;
}

.custom-body-class .contacts__form {
    color: #fff;
    background: var(--grey);
}

.custom-body-class .contacts__form .wpcf7-form-control:not(.wpcf7-acceptance,
.wpcf7-submit) {
    background: rgb(255 255 255 / 5%);
}

.custom-body-class .contacts__form .wpcf7-submit {
    background: var(--color-accent);
}

@media (max-width: 1200px) {
    .contacts__form-inner {
        padding: 30px;
    }
}

@media (max-width: 991px) {
    .contacts__form {
        margin-top: 50px;
    }
    .header+.page-header {
        padding-top: 130px;
    }
}

@media (max-width: 767px) {
    .page-header__title {
        font-size: 50px;
    }
    .page-header__title {
        font-size: 35px;
    }
    .contacts__title {
        font-size: 20px;
    }
    .contacts__map iframe {
        border-radius: 16px;
        height: 330px;
    }
    .contacts__form-title {
        font-size: 30px;
    }
    .contacts__form-subtitle {
        font-size: 14px;
    }
    .contacts-item {
        margin-top: 20px;
    }
    .contacts-item .btn {
        width: 100%;
    }
    .contacts-item__title {
        font-size: 14px;
    }
    .contacts-item__text,
    .contacts-item__text a {
        font-size: 16px;
    }
    .contacts__form-box {
        margin-top: 10px;
    }
    .contacts__form-inner {
        padding: 20px;
    }
    .contacts__form-btn {
        margin-top: 15px;
    }
    .contacts__form {
        margin-top: 30px;
    }
    .contacts__form-btn {
        font-size: 12px;
        padding: 16px 30px;
    }
    .contacts__socials {
        justify-content: center;
    }
    .header+.page-header {
        padding-top: 110px;
    }
}