.footer {
    display: flex;
    background: var(--black--black10);
}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
    align-self: stretch;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding: 56px 0;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
}

.footer__section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex-grow: 1;
    flex-shrink: 0;
}

.footer__logo-img {
    display: flex;
    width: 100px;
    height: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 10px;
}

.footer__company-name {
    color: var(--white--white100);
    font-size: 18px;
    font-weight: 700;
    line-height: 120%; /* 21.6px */
}

.footer__company-description {
    color: var(--grey--grey80);
    font-size: 12px;
    font-weight: 400;
    line-height: 120%;
}

.footer__company-info {
    display: flex;
    flex-direction: column;
}

.footer__info-text {
    color: var(--grey--grey80);
    font-size: 12px;
    font-weight: 400;
    line-height: 120%;
}

.footer__section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.footer__section-label {
    color: var(--white--white100);
    font-size: 18px;
    font-weight: 700;
    line-height: 120%;
}

.footer__contacts-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 1 0 0;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.footer__contacts-label {
    color: var(--white--white100);
    opacity: .5;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
}

.footer__contacts-details {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;
}

.footer__contacts-item {
    color: var(--white--white100);
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    transition: color 0.2s ease;
}

a.footer__contacts-item:hover,
a.footer__contacts-item:active,
a.footer__contacts-item:focus {
    color: var(--azure--azure80);
}

a.footer__contacts-item.store-contact-reveal__value.store-contact-reveal__value--revealed:hover,
a.footer__contacts-item.store-contact-reveal__value.store-contact-reveal__value--revealed:active,
a.footer__contacts-item.store-contact-reveal__value.store-contact-reveal__value--revealed:focus {
    color: var(--azure--azure80);
}

.footer__contacts-button {
    color: var(--azure--azure80);
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    cursor: pointer;
}

.footer__contacts-link {
    display: flex;
    align-items: center;

    color: var(--white--white100);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    transition: color 0.2s ease;
}

.footer__contacts-link:hover,
.footer__contacts-link:active,
.footer__contacts-link:focus {
    color: var(--azure--azure80);
}

.footer__contacts-link svg path {
    transition: fill 0.2s ease;
}

.footer__contacts-link:hover svg path,
.footer__contacts-link:active svg path,
.footer__contacts-link:focus svg path {
    fill: var(--azure--azure80);
}

.footer__links-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.footer__link {
    color: var(--grey--grey80);
    font-size: 16px;
    font-weight: 400;
    line-height: 120%;
    transition: color 0.2s ease;
}

.footer__link:hover,
.footer__link:active,
.footer__link:focus {
    color: var(--azure--azure80);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__bottom-text {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--white--white100);
    opacity: .5;
    font-size: 12px;
    font-weight: 400;
    line-height: 120%;
}

.footer__bottom-link {
    color: var(--white--white100);
    transition: color 0.2s ease;
}

.footer__bottom-link:hover,
.footer__bottom-link:active,
.footer__bottom-link:focus {
    color: var(--azure--azure80);
}

@media (max-width: 1199px) {
    .footer__wrapper {
        gap: 32px;
        padding: 40px 0;
    }

    .footer__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .footer__section:first-child {
        grid-column: 1 / -1;
    }

    .footer__contacts-container {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .footer__wrapper {
        gap: 24px;
        padding: 32px 0;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__section {
        gap: 16px;
    }

    .footer__logo-img {
        width: 72px;
        height: 72px;
    }

    .footer__section-label,
    .footer__company-name {
        font-size: 16px;
    }

    .footer__contacts-item,
    .footer__contacts-button,
    .footer__link {
        font-size: 15px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 16px;
    }

    .footer__bottom-text {
        gap: 8px 12px;
    }
}