.contacts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3.5rem 0 8rem;
    font-size: 1.5rem;
}

.contacts-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.72);
    width: 70%;
}

.contacts-phone {
    width: min(25rem, 100%);
    gap: 0;
}

.contacts-item-phone {
    display: flex;
    gap: 3rem;
}

.contacts-item-phone:first-child {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.72);
}

.contacts-item-phone:last-child {
    padding-top: 1rem;
}

.contacts-item-phone-title {
    font-weight: 600;
    width: 7rem;
}

.contacts-item-phone-content:hover {
    text-decoration: underline;
    color: blue;
}

.contacts-item-title {
    font-size: 2rem;
}

.contacts-item-link {
    text-decoration: underline;
    color: rgba(0, 80, 107, 1);
}

.contacts-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding-top: 2rem;
    font-size: 2rem;
}

@media screen and (max-width: 1200px) {
    .contacts {
        font-size: 1.2rem;
    }

    .contacts-item-phone {
        gap: 0.5rem;
    }

    .contacts-item-title {
        font-size: 1.5rem;
    }

    .contacts-map-subtitle {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 875px) {
    .contacts-item {
        width: 100%;
    }
}