.footer {
    padding: clamp(60px, 7vh, 80px) 6vw 32px;
    border-top: 1px solid #3f484a;
    background: #171717;
    color: #fff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding-bottom: clamp(50px, 6vh, 80px);
}

.footer-logo {
    color: #fff;
    text-decoration: none;
    line-height: 0.85;
}

.footer-logo span {
    display: block;
    margin-top: 9px;
    color: var(--accent-on-dark);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-navigation {
    display: flex;
    gap: 36px;
}

.footer-navigation a {
    position: relative;
    color: #aaa;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.footer-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.footer-navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-top: 24px;
    border-top: 1px solid #383838;
    color: #777;
    font-size: 12px;
}

.footer-bottom > div {
    display: flex;
    gap: 20px;
}

.footer-bottom a {
    color: #777;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
}

@media (max-width: 700px) {
    .footer {
        padding: 52px 24px 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
        padding-bottom: 28px;
    }

    .footer-navigation {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .footer-navigation a {
        font-size: 14px;
        letter-spacing: 0.08em;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: px;
        padding-top: 18px;
    }

    .footer-bottom > div {
        flex-wrap: wrap;
        gap: 10px 20px;
    }
}

/* ========================================
   Logo (SVG)
   ======================================== */

.footer-logo {
    --logo-accent: var(--accent-on-dark);
}

.footer-logo svg {
    display: block;
    height: 30px;
    width: auto;
}

@media (max-width: 700px) {
    .footer-logo svg {
        height: 26px;
    }
}
