.footer {
    border-top: 1px solid var(--border);
    background: var(--background);
}

.footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
    gap: 64px;

    padding-top: 72px;
    padding-bottom: 72px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__logo {
    color: var(--primary);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.footer__logo strong {
    font-weight: 900;
}

.footer__logo-performance {
    display: inline-block;
    transform: skewX(-10deg);
    transform-origin: center;
    color:var(--accent);
}

.footer__description {
    width: 100%;
    max-width: 520px;

    margin: 24px 0 0;

    color: var(--muted-foreground);

    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.footer__button {
    margin-top: 28px;
}

.footer__nav,
.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__eyebrow {
    margin: 0 0 4px;
}

.footer__link {
    width: fit-content;

    color: var(--muted-foreground);

    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;

    text-decoration: none;
    transition: color .3s ease;
}

.footer__link:hover {
    color: var(--foreground);
}

.footer__bottom {
    border-top: 1px solid var(--border);
}

.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding-top: 24px;
    padding-bottom: 24px;
}

.footer__copyright {
    margin: 0;

    color: var(--muted-foreground);

    font-family: "Inter", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.footer__mail {
    color: var(--muted-foreground);

    font-family: "Inter", system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;

    text-decoration: none;
    transition: color .3s ease;
}

.footer__mail:hover {
    color: var(--foreground);
}

@media (max-width: 991px) {
    .footer__main {
        grid-template-columns: minmax(0, 1fr) minmax(160px, .55fr) minmax(160px, .55fr);
        gap: 40px;

        padding-top: 64px;
        padding-bottom: 64px;
    }

    .footer__description {
        max-width: 440px;
    }
}

@media (max-width: 767px) {
    .footer__main {
        grid-template-columns: 1fr;
        gap: 40px;

        padding-top: 48px;
        padding-bottom: 48px;
    }

    .footer__logo {
        font-size: 26px;
    }

    .footer__description {
        max-width: 100%;
        margin-top: 20px;
    }

    .footer__button {
        margin-top: 24px;
    }

    .footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;

        padding-top: 24px;
        padding-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .footer__main {
        gap: 36px;

        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer__logo {
        font-size: 24px;
    }

    .footer__description,
    .footer__link {
        font-size: 13px;
    }

    .footer__copyright,
    .footer__mail {
        font-size: 12px;
    }
}