/**
 * Trust2 — Footer shell: desktop = open layout; mobile = one card (top + trust inside)
 */

body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-shell,
body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__brand .footer-title::before {
    display: none;
}

body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__contact .subscribe-form {
    width: 100%;
}

body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__contact .payment-logos img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-trust {
    margin-top: 3rem;
}

@media (max-width: 991.98px) {
    body.frontend-futuristic footer.futuristic-footer.ff-premium .footer-trust-card .card-body.text-md-end {
        text-align: start !important;
    }
}

/* Mobile: single outer card; trust cards nested inside */
@media (max-width: 767.98px) {
    body.frontend-futuristic footer.futuristic-footer.ff-premium.pt-80 {
        padding-top: 3.25rem !important;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .footer-vector {
        display: none;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-shell {
        position: relative;
        z-index: 3;
        margin-bottom: 2rem !important;
        padding: 1.15rem 1rem 1.1rem;
        border-radius: var(--fe-radius-lg, 16px);
        border: 1px solid color-mix(in srgb, var(--color-primary) 22%, rgba(255, 255, 255, 0.1));
        background: linear-gradient(
            145deg,
            color-mix(in srgb, var(--color-primary) 8%, rgba(12, 18, 32, 0.92)) 0%,
            rgba(8, 12, 22, 0.95) 100%
        );
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top {
        margin-bottom: 0 !important;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__row {
        --bs-gutter-y: 0;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__brand {
        text-align: center;
        padding-right: 0 !important;
        padding-bottom: 1.15rem;
        margin-bottom: 1.15rem;
        border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 18%, rgba(255, 255, 255, 0.08));
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__brand .footer-logo {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__brand .ff-premium__brand-title {
        font-size: 1.05rem;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__contact .newsletter-box {
        margin: 0;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__contact .footer-address-wrapper .address-item {
        justify-content: center;
        text-align: center;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__contact .payment-logos {
        text-align: center;
        margin-bottom: 0 !important;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__contact .payment-logos img {
        margin-left: auto;
        margin-right: auto;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-trust {
        margin-top: 1.15rem;
        padding-top: 1.15rem;
        border-top: 1px solid color-mix(in srgb, var(--color-primary) 18%, rgba(255, 255, 255, 0.08));
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-trust__row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0.85rem;
        margin: 0;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-trust .footer-trust-card {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-trust .footer-trust-card .card-body {
        padding: 1rem 0.9rem;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .input-wrapper input {
        min-height: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 0.9rem;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .fe-footer-top__contact .address {
        font-size: 0.88rem;
        word-break: break-word;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium > .footer-bottom {
        margin-top: 2.5rem !important;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .footer-bottom .col-lg-6 {
        text-align: center !important;
    }

    body.frontend-futuristic footer.futuristic-footer.ff-premium .footer-social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
    }
}
