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

.footer {
    position: relative;
    margin: 0 clamp(0.75rem, 2vw, 1.5rem) clamp(0.75rem, 2vh, 1.5rem);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#footer-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer__glass {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(8, 7, 5, 0.82);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.18) 25%,
        rgba(255,255,255,0.28) 50%,
        rgba(255,255,255,0.18) 75%,
        transparent 100%
    );
}

.footer__inner {
    position: relative;
    z-index: 2;
    max-width: 1340px;
    margin: 0 auto;
    padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer__logo {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    opacity: 0.95;
    transition: opacity 0.2s;
}

.footer__logo:hover { opacity: 1; }

.footer__socials {
    display: flex;
    gap: 0.75rem;
}

.footer__social {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none !important;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.footer__social:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: translateY(-2px);
}

.footer__social svg {
    width: 16px;
    height: 16px;
}

.footer__divider {
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.08) 15%,
        rgba(255,255,255,0.08) 85%,
        transparent 100%
    );
    margin: 1.75rem 0;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem clamp(1rem, 4vw, 2.5rem);
}

.footer__nav a {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none !important;
    transition: color 0.2s;
    white-space: nowrap;
}

.footer__nav a:hover { color: #fff; }

.footer__company { display: flex; flex-direction: column; gap: 1.15rem; }

.footer__who {
    margin: 0;
    max-width: 720px;
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,.55);
}

.footer__requisites {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1rem 1.5rem;
}

.footer__requisites dt {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,.38);
    margin-bottom: 0.3rem;
}

.footer__requisites dd {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(255,255,255,.78);
    line-height: 1.45;
}

.footer__requisites a { color: #FFCC00; }

.footer__docs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.25rem;
}

.footer__docs a {
    font-size: 0.82rem;
    color: rgba(255,255,255,.5);
}

.footer__docs a:hover { color: #FFCC00; }

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    left: clamp(0.75rem, 2vw, 1.5rem);
    right: clamp(0.75rem, 2vw, 1.5rem);
    bottom: clamp(0.75rem, 2vw, 1.5rem);
    z-index: 6000;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.15rem;
    background: rgba(18, 16, 13, 0.94);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 1rem;
    box-shadow: 0 16px 48px rgba(0,0,0,.45);
}

.cookie-banner__text {
    margin: 0;
    flex: 1 1 280px;
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255,255,255,.7);
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.cookie-banner__link {
    font-size: 0.82rem;
    color: #FFCC00;
    margin-right: 0.25rem;
}

.cookie-banner__btn {
    border: 0;
    border-radius: 0.65rem;
    padding: 0.55rem 1rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    pointer-events: auto;
    background: #FFCC00;
    color: #0a0a0a;
}

.cookie-banner__btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
}

.footer__copy {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
}

.footer__legal {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.7;
    margin: 0;
    max-width: 820px;
}