/* ===================================================
   FOOTER GLOBAL
   =================================================== */

.site-footer {
    margin-top: 72px;
    background:
        linear-gradient(180deg, rgba(18, 77, 53, 0.98) 0%, rgba(13, 55, 38, 1) 100%);
}

.footer-inner {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 38px 24px 24px;
}

.footer-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 26px;
    text-align: center;
}

.footer-logo-text {
    color: #ffffff;
    font-size: clamp(2.6rem, 7vw, 4.75rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-decoration: none;
    display: inline-block;
    transition: opacity 180ms ease;
}

.footer-logo-text:hover,
.footer-logo-text:focus-visible {
    opacity: 0.7;
    outline: none;
}

.footer-tagline {
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.6;
}

.footer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 6px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-social-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    display: block;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.36);
    transform: translateY(-1px);
    outline: none;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 12px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 0;
    transition: color 200ms ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
    color: #ffffff;
    outline: none;
}

.footer-row-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 14px;
    margin-top: 18px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.46);
}

.footer-row-legal a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 180ms ease, border-color 180ms ease;
}

.footer-row-legal a:hover,
.footer-row-legal a:focus-visible {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
    outline: none;
}

.footer-legal-sep {
    color: rgba(255, 255, 255, 0.22);
    user-select: none;
}

@media (max-width: 760px) {
    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 580px) {
    .site-footer {
        margin-top: 48px;
    }

    .footer-inner {
        padding: 28px 18px 20px;
    }

    .footer-brand-block {
        gap: 8px;
        padding-bottom: 22px;
    }

    .footer-nav {
        gap: 8px 14px;
        padding: 16px 0 18px;
    }

    .footer-row-legal {
        gap: 4px 12px;
    }
}
