.contacts-hero {
    min-height: 500px;
    padding: 0;
    max-width: 1920px;
    margin: 0 auto;

    background:
        url('../img/contacts/Frame 1.webp') center / cover no-repeat;
}

.contacts-hero .container {
    max-width: 1410px;
}

.contacts-hero__row {
    min-height: 500px;
}

.contacts-hero__content {
    max-width: 537px;
}

.contacts-hero__title {
    margin: 0 0 40px;

    font-family: 'RoadRadio', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;

    color: #ffffff;
}

.contacts-hero__text {
    max-width: 500px;
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.45;

    color: rgba(255, 255, 255, 0.8);
}


/* features */

.contacts-hero__features {
    --bs-gutter-x: 40px;
    --bs-gutter-y: 40px;

    max-width: 800px;
    margin-left: auto;
}

.contacts-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    height: 100%;
}

.contacts-feature__icon {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;
    background: #F7941D;
}

.contacts-feature__icon img {
    width: 21px;
    height: 22px;

    object-fit: contain;
}

.contacts-feature__title {
    margin: 0 0 8px;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;

    color: #ffffff;
}

.contacts-feature__text {
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.35;

    color: rgba(255, 255, 255, 0.75);
}

/* Department contacts */

.department-contacts {
    padding: 80px 0;
    background: #F6F6F6;
}


.department-contacts__row {
    --bs-gutter-x: 10px;
    --bs-gutter-y: 15px;
}

.department-contacts .container {
    position: relative;
    z-index: 2;

    max-width: 1410px;
}

.department-contacts .container::before {
    content: "";

    position: absolute;
    left: -446px;
    top: -94px;
    z-index: -1;

    width: 670px;
    height: 670px;

    background: url('../img/PP/element2.svg') center / contain no-repeat;

    pointer-events: none;
}



.department-contacts__top {
    margin-bottom: 40px;
}

.department-contacts__title {
    margin: 0;

    font-family: 'RoadRadio', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #1D3F77;
}

.department-contacts__text {
    max-width: 560px;
    margin: 0 0 0 auto;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.45;

    color: #8A8A8A;
}

.department-card {
    height: 100%;
    padding: 40px 50px;

    border-radius: 10px;
    background: #ffffff;
}

.department-card__head {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 30px;
}

.department-card__icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    background: #1D3F77;
}

.department-card__icon img {
    width: 24px;
    height: 24px;
}

.department-card__title {
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;

    color: #1D3F77;
}

.department-card__description {
    margin: 0 0 25px;

    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.45;

    color: #8A8A8A;
}

.department-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin-bottom: 30px;
}

.department-card__contacts a,
.department-card__contacts span {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.35;

    color: #1D3F77;
}

.department-card__contacts img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.department-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 58px;
    padding: 0 34px;

    border-radius: 999px;

    background: #F7941D;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #ffffff;
}


/* Addresses */

.addresses {
    padding: 80px 0;
    background: #ffffff;
}

.addresses .container {
    position: relative;
    z-index: 2;

    max-width: 1410px;
}

.addresses .container::after {
    content: "";

    position: absolute;
    left: 1200px;
    top: 208px;
    z-index: -1;

    width: 775px;
    height: 775px;

    background: url('../img/PP/element1.svg') center / contain no-repeat;

    pointer-events: none;
}


.addresses__top {
    margin-bottom: 40px;
}

.addresses__title {
    margin: 0;

    font-family: 'RoadRadio', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #1D3F77;
}

.addresses__text {
    max-width: 690px;
    margin: 0 0 0 auto;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.45;

    color: #8A8A8A;
}

.addresses__cards {
    margin-bottom: 40px;
}

.address-card {
    min-height: 400px;
    height: 100%;
    padding: 40px 50px;

    border-radius: 10px;
    background: #F6F6F6;
}

.address-card__top {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 30px;
}

.address-card__icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    background: #1D3F77;

    flex-shrink: 0;
}

.address-card__icon img {
    width: 24px;
    height: 24px;
}

.address-card__title {
    margin: 0;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;

    color: #1D3F77;
}

.address-card__badge {
    margin-left: auto;
    padding: 6px 12px;

    border-radius: 999px;
    background: #E8EDF3;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1;

    color: #7A7A7A;
}

.address-card__description {
    margin: 0 0 20px;

    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.45;

    color: #8A8A8A;
}

.address-card__location {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    margin-bottom: 20px;

    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    line-height: 1.35;

    color: #1D3F77;
}

.address-card__location img {
    width: 16px;
    height: 16px;

    flex-shrink: 0;
}

.address-card__subtitle {
    margin-bottom: 10px;

    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;

    color: #1D3F77;
}

.address-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 30px;
}

.address-card__tags span {
    padding: 6px 10px;

    border: 1px solid rgba(29, 63, 119, 0.15);
    border-radius: 4px;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    line-height: 1;

    color: #7A7A7A;
}

.address-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-width: 219px;
    min-height: 60px;
    padding: 0 28px;

    border-radius: 999px;

    background: #F7941D;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;

    color: #ffffff;
}

.address-card__button img {
    width: 30px;
    height: 30px;

    flex-shrink: 0;
}

.addresses__map {
    overflow: hidden;
    height: 560px;

    border-radius: 10px;
    background: #F6F6F6;
}

.addresses__map img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================
   Contacts adaptive
========================= */

@media (max-width: 767px) {
    .contacts-hero {
        min-height: auto;
        padding: 28px 0;

        background-position: center;
    }

    .contacts-hero .container,
    .department-contacts .container,
    .addresses .container {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .department-contacts .container::before,
    .addresses .container::after {
        display: none;
    }

    .contacts-hero__row {
        min-height: auto;
        gap: 24px;
    }

    .contacts-hero__content {
        max-width: 100%;
    }

    .contacts-hero__title {
        margin-bottom: 18px;

        font-size: 24px;
        line-height: 1.1;
    }

    .contacts-hero__text {
        max-width: 100%;

        font-size: 12px;
        line-height: 1.45;
    }

    .contacts-hero__features {
        --bs-gutter-x: 0;
        --bs-gutter-y: 14px;

        max-width: 100%;
        margin-left: 0;
    }

    .contacts-hero__features > [class*="col"] {
        width: 100%;
        flex: 0 0 100%;
    }

    .contacts-feature {
        gap: 12px;
    }

    .contacts-feature__icon {
        width: 42px;
        height: 42px;

        border-radius: 8px;
    }

    .contacts-feature__icon img {
        width: 18px;
        height: 18px;
    }

    .contacts-feature__title {
        margin-bottom: 4px;

        font-size: 12px;
    }

    .contacts-feature__text {
        font-size: 11px;
        line-height: 1.3;
    }

    .department-contacts {
        padding: 36px 0;
    }

    .department-contacts__top {
        margin-bottom: 22px;
    }

    .department-contacts__title,
    .addresses__title {
        margin-bottom: 18px;

        font-size: 24px;
        line-height: 1;
    }

    .department-contacts__text,
    .addresses__text {
        max-width: 100%;
        margin: 0;

        font-size: 12px;
        line-height: 1.45;
    }

    .department-contacts__row,
    .addresses__cards {
        --bs-gutter-x: 0;
        --bs-gutter-y: 10px;
    }

    .department-contacts__row > [class*="col"],
    .addresses__cards > [class*="col"] {
        width: 100%;
        flex: 0 0 100%;
    }

    .department-card {
        padding: 24px 18px;

        border-radius: 10px;
    }

    .department-card__head {
        gap: 12px;
        margin-bottom: 22px;
    }

    .department-card__icon,
    .address-card__icon {
        width: 42px;
        height: 42px;

        border-radius: 8px;
    }

    .department-card__icon img,
    .address-card__icon img {
        width: 18px;
        height: 18px;
    }

    .department-card__title,
    .address-card__title {
        font-size: 12px;
        line-height: 1.2;
    }

    .department-card__description,
    .address-card__description {
        margin-bottom: 18px;

        font-size: 12px;
        line-height: 1.4;
    }

    .department-card__contacts {
        gap: 12px;
        margin-bottom: 20px;
    }

    .department-card__contacts a,
    .department-card__contacts span {
        gap: 8px;

        font-size: 11px;
        line-height: 1.35;
    }

    .department-card__contacts img {
        width: 14px;
        height: 14px;
    }

    .department-card__button {
        width: 100%;
        min-height: 48px;
        padding: 0 18px;

        font-size: 10px;
    }

    .addresses {
        padding: 36px 0;
    }

    .addresses__top {
        margin-bottom: 22px;
    }

    .addresses__cards {
        margin-bottom: 20px;
    }

    .address-card {
        min-height: auto;
        padding: 24px 18px;

        border-radius: 10px;
    }

    .address-card__top {
        gap: 12px;
        margin-bottom: 18px;
    }

    .address-card__badge {
        padding: 5px 10px;

        font-size: 10px;
    }

    .address-card__location {
        margin-bottom: 16px;

        font-size: 11px;
        line-height: 1.35;
    }

    .address-card__location img {
        width: 14px;
        height: 14px;
    }

    .address-card__subtitle {
        margin-bottom: 8px;

        font-size: 12px;
    }

    .address-card__tags {
        gap: 6px;
        margin-bottom: 18px;
    }

    .address-card__tags span {
        padding: 5px 8px;

        font-size: 10px;
    }

    .address-card__button {
        min-width: 0;
        min-height: 48px;
        padding: 0 12px 0 18px;

        gap: 10px;

        font-size: 10px;
    }

    .address-card__button img {
        width: 28px;
        height: 28px;
    }

    .addresses__map {
        height: 360px;
        border-radius: 10px;
    }
}