.footer {
    background: var(--color-primary);
    color: #ffffff;
}

.footer__main {
    padding: 44px 0 34px;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 34px;
}

.footer__col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col--brand {
    gap: 20px;
}

.footer__logo img {
    height: 40px;
    width: auto;
    display: block;
}

.footer__phones {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__title {
    font-weight: 700;
    line-height: 1.26;
    margin: 0 0 6px;
}

.footer__link {
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.26;
    transition: all 0.2s;
}

.footer__link:hover {
    text-decoration: underline;
}

.footer__link--phone {
    font-weight: 500;
}

.footer__social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
}

.footer__social-link {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.footer__bottom {
    padding: 18px 0 22px;
}

.footer__bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.footer__copy,
.footer__note {
    font-size: 12px;
    line-height: 1.3;
    opacity: 0.9;
}

.footer__phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer__link--phone {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.15;
}

@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__col--brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }

    .footer__phones {
        align-items: center;
    }

    .footer__social {
        justify-content: center;
    }
}