/* ==========================================================
   TDS — TARG Design System
   Component: Footer
   Version: 1.0
   ========================================================== */

.tds-footer {
    background: #0F172A;
    color: rgba(255,255,255,.72);
    padding: 96px 0 42px;
}

.tds-footer__inner {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.5fr .8fr .9fr 1fr;
    gap: 64px;
}

.tds-footer a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
}

.tds-footer a:hover {
    color: #fff;
}

.tds-footer__logo img {
    display: block;
    width: 128px;
    height: auto;
    margin-bottom: 28px;
}

.tds-footer__brand p,
.tds-footer__contact p {
    margin: 0;
    max-width: 320px;
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.65;
}

.tds-footer h3 {
    margin: 0 0 22px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
}

.tds-footer__nav,
.tds-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tds-footer__nav a,
.tds-footer__contact a {
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.35;
}

.tds-footer__bottom {
    width: min(1180px, calc(100% - 64px));
    margin: 72px auto 0;
    padding-top: 28px;

    border-top: 1px solid rgba(255,255,255,.12);

    display: flex;
    justify-content: space-between;
    gap: 32px;

    font-family: var(--font-heading);
    font-size: 13px;
    color: rgba(255,255,255,.52);
}

.tds-footer__bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .tds-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .tds-footer {
        padding: 72px 0 34px;
    }

    .tds-footer__inner,
    .tds-footer__bottom {
        width: calc(100% - 40px);
    }

    .tds-footer__inner {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .tds-footer__bottom {
        margin-top: 52px;
        display: block;
    }

    .tds-footer__bottom p + p {
        margin-top: 12px;
    }
}
