.contacts {
    margin-top: 12rem;
}

.contacts__grid {
    display: flex;
    flex-direction: row;
    margin-top: 2rem;
}

.contacts__info {
    flex: 1;
    background: var(--white);
    padding: 2.5rem;
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contacts__phone {
    margin-bottom: 2.8125rem;
}

.contacts__phone-link {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    line-height: 1.65;
    transition: color 0.2s;
}

.contacts__phone-link:hover {
    color: var(--orange);
}

.contacts__email {
    margin-bottom: 1.875rem;
}

.contacts__email-link {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s;
}

.contacts__email-link:hover {
    color: var(--orange);
}

.contacts__address {
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--black);
    line-height: 1.5;
    font-style: normal;
}

.contacts__address-line {
    display: block;
}

.contacts__social {
    margin-top: 2.8125rem;
    display: flex;
    gap: 0.625rem;
    list-style: none;
    padding: 0;
}

.contacts__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    transition: opacity 0.2s;
}

.contacts__social-link:hover {
    opacity: 0.7;
}

.contacts__social-link svg {
    width: 100%;
    height: 100%;
}

.contacts__map {
    flex: 1;
    background: #e5e3df;
    min-height: 37rem;
    position: relative;
    overflow: hidden;
}

.contacts__map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1024px) {
    .contacts__grid {
        flex-direction: column;
    }

    .contacts__info {
        padding: 2rem;
    }

    .contacts__phone-link {
        font-size: 2.5rem;
    }

    .contacts__email-link {
        font-size: 1.75rem;
    }

    .contacts__address {
        font-size: 1.375rem;
    }
}

@media (max-width: 639px) {
    .contacts__info {
        padding: 1.5rem;
    }

    .contacts__phone-link {
        font-size: 1.75rem;
    }

    .contacts__email-link {
        font-size: 1.25rem;
    }

    .contacts__address {
        font-size: 1rem;
    }

    .contacts__map {
        min-height: 20rem;
    }
}
