/* assets/css/footer.css */

.tm-footer {
    background: var(--base-color);
    font-family: var(--font-sans);
    padding: 22px 0 30px;
}

.tm-footer__inner {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr 1.6fr auto;
    gap: 18px;

    border-top: 1px solid rgba(11, 31, 42, 0.10);
    padding-top: 18px;
    align-items: start;
}

.tm-footer__left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-footer__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.tm-footer__logo {
    width: 8rem;
    height: auto;
    display: block;
}

.tm-footer__social {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.tm-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    padding-top: 4px;
}

.tm-footer__link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.6;

    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 14px;
    transition: transform 0.18s ease, background 0.18s ease;
}

.tm-footer__link:hover {
    transform: translateY(-1px);
    background: rgba(11, 31, 42, 0.05);
}

.tm-footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    padding-top: 4px;
}

.tm-footer__top {
    color: var(--text-color);
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 12px;
    border-radius: 16px;
    transition: transform 0.18s ease, background 0.18s ease;
}

.tm-footer__top:hover {
    transform: translateY(-1px);
    background: rgba(11, 31, 42, 0.06);
}

.tm-footer__copy {
    color: rgba(11, 31, 42, 0.60);
    font-weight: 800;
}

@media (max-width: 980px) {
    .tm-footer__inner {
        grid-template-columns: 1fr;
    }

    .tm-footer__right {
        align-items: flex-start;
    }

    .tm-footer__nav {
        grid-template-columns: 1fr;
    }
}