.contacts-page {
    background: #f3f3f3;
}

.contacts-layout {
    background: #f3f3f3;
    padding: 28px 0 0;
}

.contacts-container {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 0 8px;
}

.contacts-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 56px;
    font-size: 12px;
    line-height: 1.2;
    color: #9a9a9a;
}

.contacts-breadcrumbs a {
    color: #9a9a9a;
    text-decoration: none;
}

.contacts-title {
    margin: 0 0 86px;
    text-align: center;
    font-size: 58px;
    line-height: 1;
    font-weight: 400;
    color: #111111;
}

.contacts-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.contacts-card {
    min-height: 212px;
    padding: 36px 42px 28px;
    border-radius: 6px;
    background: #ffffff;
    color: #2c2c2c;
}

.contacts-card__title,
.contacts-card__label {
    margin-bottom: 42px;
    font-size: 23px;
    line-height: 1.12;
    font-weight: 700;
}

.contacts-card__address {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    font-size: 16px;
    line-height: 1.28;
    color: #565656;
}

.contacts-card__icon {
    flex: 0 0 12px;
    width: 12px;
    height: 23px;
    margin-top: 4px;
    background: url("data:image/svg+xml,%3Csvg width='12' height='23' viewBox='0 0 12 23' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 1C3.24 1 1 3.24 1 6c0 4.4 5 15.3 5 15.3S11 10.4 11 6c0-2.76-2.24-5-5-5Z' stroke='%2339A94F' stroke-width='1.5'/%3E%3Ccircle cx='6' cy='6' r='1.8' fill='%2339A94F'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contacts-card__phone,
.contacts-card__mail {
    display: block;
    width: fit-content;
    text-decoration: none;
    color: #2c2c2c;
    font-size: 28px;
    line-height: 1.12;
    font-weight: 700;
}

.contacts-card__mail {
    margin-top: 2px;
}

.contacts-card__time {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.25;
    color: #777777;
}

.contacts-card__text {
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.22;
    font-weight: 700;
    color: #5d5d5d;
}

.contacts-card__phone--small {
    font-size: 25px;
}

.contacts-card__person {
    margin-top: 2px;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 700;
    color: #4a4a4a;
}

.contacts-press {
    position: relative;
    display: grid;
    grid-template-columns: 360px 420px 1fr;
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 8px;
    padding: 50px 60px;
    border-radius: 4px;
    background: #39a94f;
    color: #ffffff;
}

.contacts-press__content {
    position: relative;
    z-index: 3;
}

.contacts-press__title {
    margin: 0 0 70px;
    font-size: 56px;
    line-height: .98;
    font-weight: 400;
    color: #ffffff;
}

.contacts-press__person strong,
.contacts-press__person span,
.contacts-press__person a {
    display: block;
}

.contacts-press__person strong {
    margin-bottom: 4px;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 400;
}

.contacts-press__person span {
    margin-bottom: 4px;
    font-size: 15px;
    line-height: 1.25;
    color: rgba(255, 255, 255, .82);
}

.contacts-press__person a {
    font-size: 25px;
    line-height: 1.2;
    color: #ffffff;
    text-decoration: none;
}

.contacts-press__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 165px;
    min-height: 39px;
    margin-top: 64px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #f47b20;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.contacts-press__photo {
    position: relative;
    z-index: 2;
    align-self: end;
    width: 408px;
    height: 410px;
    margin: 35px 0 -68px -8px;
    transform: rotate(-8deg);
    background: #e9e9e9;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .4);
}

.contacts-press__photo::before,
.contacts-press__photo::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e8f4e8;
}

.contacts-press__photo::before {
    top: -8px;
    left: 80px;
}

.contacts-press__photo::after {
    top: 60px;
    right: -8px;
}

.contacts-press__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

  .contacts-press__decor {
    background-image: url("/local/templates/doroga_new/assets/img/journal/decor.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}.contacts-feedback {
    display: grid;
    grid-template-columns: 1fr 520px;
    min-height: 485px;
    padding: 58px 60px;
    border-radius: 4px;
    background: #0f6232;
    color: #ffffff;
}

.contacts-feedback__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contacts-feedback__title {
    margin: 0;
    font-size: 52px;
    line-height: .96;
    font-weight: 400;
    color: #ffffff;
}

.contacts-feedback__note {
    font-size: 16px;
    line-height: 1.18;
    color: #ffffff;
}

.contacts-feedback__right {
    padding-top: 0;
}

.contacts-feedback__right input[type="text"],
.contacts-feedback__right input[type="email"],
.contacts-feedback__right input[type="tel"],
.contacts-feedback__right textarea {
    width: 100%;
    height: 52px;
    margin: 0 0 10px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    line-height: 1.2;
    outline: none;
}

.contacts-feedback__right textarea {
    height: 142px;
    padding-top: 16px;
    resize: none;
}

.contacts-feedback__right input:focus,
.contacts-feedback__right textarea:focus {
    box-shadow: 0 0 0 2px rgba(244, 123, 32, .7);
}

.contacts-feedback__right label {
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    line-height: 1.18;
}

.contacts-feedback__right a {
    color: #ffffff;
}

.contacts-feedback__right input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0 8px 0 0;
}

.contacts-feedback__right input[type="submit"],
.contacts-feedback__right button[type="submit"],
.contacts-feedback__right .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 40px;
    margin-top: 18px;
    padding: 10px 28px;
    border: 0;
    border-radius: 999px;
    background: #f47b20;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
}

.contacts-feedback__right input[type="submit"]:hover,
.contacts-feedback__right button[type="submit"]:hover,
.contacts-feedback__right .btn:hover {
    background: #e56f18;
}

@media (max-width: 1200px) {
    .contacts-title {
        font-size: 48px;
        margin-bottom: 60px;
    }

    .contacts-card {
        padding: 28px 26px;
    }

    .contacts-card__phone,
    .contacts-card__mail {
        font-size: 23px;
    }

    .contacts-press {
        grid-template-columns: 300px 360px 1fr;
        padding: 44px 40px;
    }

    .contacts-press__title {
        font-size: 46px;
    }

    .contacts-press__photo {
        width: 350px;
        height: 360px;
    }

    .contacts-press__decor {
        right: 30px;
        width: 300px;
    }

    .contacts-feedback {
        grid-template-columns: 1fr 460px;
        padding: 48px 40px;
    }
}

@media (max-width: 900px) {
    .contacts-cards {
        grid-template-columns: 1fr;
    }

    .contacts-press {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacts-press__photo {
        margin: 0;
    }

    .contacts-press__decor {
        opacity: .35;
    }

    .contacts-feedback {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contacts-feedback__left {
        gap: 34px;
    }
}

@media (max-width: 575px) {
    .contacts-container {
        padding: 0 16px;
    }

    .contacts-title {
        font-size: 38px;
        margin-bottom: 38px;
    }

    .contacts-card {
        min-height: auto;
        padding: 24px 20px;
    }

    .contacts-card__title,
    .contacts-card__label {
        margin-bottom: 28px;
        font-size: 20px;
    }

    .contacts-card__phone,
    .contacts-card__mail,
    .contacts-card__person {
        font-size: 21px;
    }

    .contacts-press {
        padding: 32px 24px;
    }

    .contacts-press__title,
    .contacts-feedback__title {
        font-size: 36px;
    }

    .contacts-press__person a {
        font-size: 20px;
    }

    .contacts-press__photo {
        width: 270px;
        height: 300px;
    }

    .contacts-feedback {
        padding: 34px 24px;
    }
}
.contacts-press__content {
    position: relative;
    z-index: 3;
}

.contacts-press__photo {
    position: relative;
    z-index: 3;
}

.contacts-press__decor {
    z-index: 1;
}
.contacts-press {
    position: relative;
    overflow: hidden;
}

.contacts-press__decor {
    right: 72px;
    top: 54px;
    width: 372px;
    height: 402px;
}
.contacts-title {
    display: block;
    margin: 0 0 48px;
    line-height: 0;
}

.contacts-title__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contacts-title__image {
    display: block;
    width: 100%;
    max-width: 570px;
    height: auto;
}
.contacts-title {
    display: block;
    margin: 0 0 48px;
    line-height: 0;
    text-align: center;
}

.contacts-title__text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contacts-title__image {
    display: block;
    width: 100%;
    max-width: 570px;
    height: auto;
    margin: 0 auto;
}