/* ---------- 18. Footer ---------- */
.site-footer {
    position: relative;
    background:
        radial-gradient(1100px 520px at 88% -10%, rgba(238, 177, 65, .10), transparent 60%),
        radial-gradient(900px 420px at 5% 110%, rgba(238, 177, 65, .06), transparent 60%),
        linear-gradient(180deg, #06101F 0%, #040A14 100%);
    color: #A6B2C7;
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(238, 177, 65, .35), transparent);
    pointer-events: none;
}

/* Footer hero: brand + newsletter */
.footer-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: stretch;
    padding-bottom: 56px;
}

.footer-hero__brand .brand {
    color: #fff;
    margin-bottom: 18px;
}

.footer-hero__brand .brand__logo {
    height: 42px;
    width: auto;
}

.footer-hero__about {
    color: #98A4BB;
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 28px;
}

.footer-contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: var(--radius);
    transition: all .25s var(--ease);
}

.footer-contact:hover {
    background: rgba(238, 177, 65, .07);
    border-color: rgba(238, 177, 65, .25);
    transform: translateY(-2px);
}

.footer-contact__icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(238, 177, 65, .18), rgba(238, 177, 65, .06));
    border: 1px solid rgba(238, 177, 65, .25);
    color: var(--c-gold);
    font-size: 18px;
    flex-shrink: 0;
}

.footer-contact__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.footer-contact__text small {
    font-size: 10px;
    letter-spacing: .12em;
    color: #6B7995;
    font-weight: 600;
}

.footer-contact__text strong {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #A6B2C7;
    transition: all .25s var(--ease);
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--c-gold);
    color: var(--c-ink);
    border-color: var(--c-gold);
    transform: translateY(-2px);
}

/* Newsletter card */
.footer-newsletter {
    position: relative;
    padding: 32px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(420px 180px at 100% 0%, rgba(238, 177, 65, .14), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

.footer-newsletter h4 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.01em;
    margin-bottom: 8px;
}

.footer-newsletter p {
    color: #98A4BB;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.footer-newsletter__form {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.footer-newsletter__input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: none;
    padding: 0 16px;
    color: #fff;
    font: inherit;
    font-size: 14px;
    min-width: 0;
}

.footer-newsletter__input::placeholder {
    color: #6B7995;
}

.footer-newsletter__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--c-gold);
    color: var(--c-ink);
    border: 0;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s var(--ease);
    white-space: nowrap;
}

.footer-newsletter__btn:hover {
    background: var(--c-gold-2);
    transform: translateY(-1px);
}

.footer-newsletter__note {
    font-size: 12px;
    color: #6B7995;
    margin-bottom: 18px;
}

.footer-newsletter__note a {
    color: #98A4BB;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .15);
    text-underline-offset: 3px;
}

.footer-newsletter__note a:hover {
    color: var(--c-gold);
}

.footer-newsletter__chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #C9D2E3;
    font-size: 13px;
    font-weight: 500;
    transition: all .2s var(--ease);
}

.footer-chip:hover {
    background: rgba(238, 177, 65, .1);
    border-color: rgba(238, 177, 65, .3);
    color: #fff;
}

.footer-chip .ti {
    font-size: 15px;
    color: var(--c-gold);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
    border: 0;
    margin: 0;
}

/* Links grid */
.footer-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
    padding: 56px 0;
}

.footer-col h5 {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    color: #98A4BB;
    transition: color .2s var(--ease), transform .2s var(--ease);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--c-gold);
    transform: translateX(2px);
}

/* Trust badges */
.footer-trust {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    padding: 36px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--radius);
    transition: all .25s var(--ease);
}

.trust-item:hover {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(238, 177, 65, .2);
}

.trust-item__icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(238, 177, 65, .15), rgba(238, 177, 65, .04));
    border: 1px solid rgba(238, 177, 65, .2);
    color: var(--c-gold);
    font-size: 19px;
    flex-shrink: 0;
}

.trust-item__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.trust-item__text strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.trust-item__text small {
    color: #6B7995;
    font-size: 11px;
    line-height: 1.3;
}

/* Bottom bar */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0 28px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    font-size: 13px;
    color: #6B7995;
    flex-wrap: wrap;
    gap: 14px;
}

.footer__bottom a {
    color: #98A4BB;
    transition: color .2s var(--ease);
}

.footer__bottom a:hover {
    color: var(--c-gold);
}

.footer__bottom .dot {
    color: #364056;
    margin: 0 4px;
}

.footer__bottom-right {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #C9D2E3;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s var(--ease);
    font-family: inherit;
}

.footer-pill:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.footer-pill .ti {
    font-size: 14px;
}

.footer-pill--status {
    cursor: default;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
    animation: footerPulse 2s ease-in-out infinite;
}

@keyframes footerPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .55;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .footer-hero {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .site-footer {
        padding-top: 56px;
    }

    .footer-contacts {
        grid-template-columns: 1fr;
    }

    .footer-newsletter {
        padding: 24px;
    }

    .footer-newsletter__form {
        flex-direction: column;
        border-radius: var(--radius);
        padding: 8px;
    }

    .footer-newsletter__input {
        padding: 10px 12px;
    }

    .footer-newsletter__btn {
        justify-content: center;
        border-radius: var(--radius-sm);
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        padding: 40px 0;
    }

    .footer-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__bottom {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .footer__bottom-left {
        line-height: 1.8;
    }
}

@media (max-width: 460px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-trust {
        grid-template-columns: 1fr;
    }
}

/* ---------- 19. Utilities ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.divider {
    height: 1px;
    background: var(--c-line);
    border: 0;
    margin: 0;
}

.scroll-lock {
    overflow: hidden;
}

