.banner {
    width: 100%;
    height: 100%;
}

.banner__bg {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #5f4b8b;
}

.banner__bg--img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
    z-index: 0;
    opacity: 0.5;
}

.banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner__content {
    position: relative;
    z-index: 2;
    padding: 158px 0 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.banner__content--tag {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 122%;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.banner__title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 56px;
    line-height: 110%;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
}

.banner__desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.8);
}

.contacts {
    padding: 80px 0;
    background: #fff;
}

.title {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 34px;
    line-height: 150%;
    color: #000;
    margin-bottom: 36px;
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 32px;
}

.contact__content {
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px 0 rgba(95, 75, 139, 0.1);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: 100%;
}

.contact__content h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    color: #5f4b8b;
}

.contact__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.contact__item {
    width: 100%;
    border-bottom: 1px solid rgba(95, 75, 139, 0.1);
    padding: 14px 0;
    display: flex;
    align-items: flex-start;
}

.contact__item p {
    max-width: 160px;
    width: 100%;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 150%;
    color: #5f4b8b;
}

.contact__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact__link--tel {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #565656;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact__link--tel:hover {
    color: #5f4b8b;
    text-decoration-color: #5f4b8b;
}

.contact__link--mail {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #5f4b8b;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.contact__link--mail:hover {
    text-decoration-color: #5f4b8b;
}

.contact__address {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.contact__address--item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.contact__address--item h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 15px;
    line-height: 150%;
    color: #5f4b8b;
}

.contact__address--link {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 170%;
    color: #565656;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.contact__address--link:hover {
    color: #5f4b8b;
    text-decoration-color: #5f4b8b;
}

.contact__address--desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact__address--desc p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 15px;
    line-height: 170%;
    color: #565656;
}

.contact__map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: #f4f3f8;
    box-shadow: 0 4px 24px 0 rgba(95, 75, 139, 0.1);
}

.contact__map iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 400px;
    border: 0;
}

.contact__social {
    padding-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.contact__social h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    line-height: 150%;
    color: #000;
}

.contact__social--list {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact__social--item {
    border-radius: 12px;
    padding: 16px 24px;
    background: #f4f3f8;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact__social--item:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 10px 22px 0 rgba(95, 75, 139, 0.16);
}

.contact__social--img {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    background: #5f4b8b;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.contact__social--item:hover .contact__social--img {
    transform: scale(1.1) rotate(-4deg);
}

.contact__social--text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact__social--text p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 150%;
    color: #5f4b8b;
}

.contact__social--text span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
    color: #565656;
}

@media (max-width: 991px) {
    .banner__content {
        padding: 130px 0 48px;
    }

    .banner__title {
        font-size: 42px;
    }

    .banner__desc {
        font-size: 16px;
    }

    .contacts {
        padding: 56px 0;
    }

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

    .contact__grid {
        gap: 24px;
    }

    .contact__content {
        padding: 24px;
    }

    .contact__map,
    .contact__map iframe {
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    .banner__content {
        padding: 110px 0 40px;
        gap: 12px;
    }

    .banner__title {
        font-size: 32px;
    }

    .banner__content--tag {
        font-size: 14px;
    }

    .banner__desc {
        font-size: 15px;
    }

    .contacts {
        padding: 48px 0;
    }

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

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact__map,
    .contact__map iframe {
        min-height: 300px;
    }

    .contact__social {
        padding-top: 36px;
    }

    .contact__social--list {
        gap: 10px;
    }

    .contact__social--item {
        padding: 12px 18px;
    }

    .contact__item {
        justify-content: space-between;
    }

    .contact__links {
        align-items: flex-end;
    }
}

@media (max-width: 575px) {
    .banner__content {
        padding: 100px 0 32px;
    }

    .banner__title {
        font-size: 26px;
    }

    .banner__desc br {
        display: none;
    }

    .contact__content {
        padding: 20px;
    }

    .contact__item {
        flex-direction: column;
        gap: 4px;
    }

    .contact__item p {
        max-width: 100%;
    }

    .contact__links {
        align-items: flex-start;
    }

    .contact__map,
    .contact__map iframe {
        min-height: 260px;
    }

    .contact__social--list {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .contact__social--item {
        width: 100%;
    }
}