/* ==========================================================================
   INAIVOM - Footer
   File: app/static/css/footer.css
   Premium Matrimony Platform
   Theme: Maroon #800020 | Gold #D4AF37 | White
   ========================================================================== */


/* ==========================================================================
   1. FOOTER VARIABLES
   ========================================================================== */

:root {
    --footer-maroon: #800020;
    --footer-maroon-dark: #5b0017;
    --footer-maroon-deep: #3f0010;
    --footer-maroon-soft: #970a31;

    --footer-gold: #d4af37;
    --footer-gold-dark: #ad8b22;
    --footer-gold-light: #ead77f;

    --footer-white: #ffffff;
    --footer-bg-light: #fffafb;

    --footer-text: #f8f3f5;
    --footer-muted: #d7c8cd;
    --footer-muted-dark: #a99199;

    --footer-border: rgba(255, 255, 255, 0.12);
    --footer-gold-border: rgba(212, 175, 55, 0.30);

    --footer-radius: 12px;

    --footer-shadow:
        0 -8px 30px rgba(46, 0, 12, 0.08);

    --footer-transition:
        200ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   2. MAIN FOOTER
   ========================================================================== */

.site-footer,
.footer,
.inaivom-footer {
    position: relative;

    width: 100%;

    margin-top: auto;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--footer-maroon-deep) 0%,
            var(--footer-maroon-dark) 38%,
            var(--footer-maroon) 100%
        );

    color: var(--footer-text);

    box-shadow: var(--footer-shadow);
}


/* ==========================================================================
   3. PREMIUM TOP BORDER
   ========================================================================== */

.site-footer::before,
.footer::before,
.inaivom-footer::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            var(--footer-gold-dark) 15%,
            var(--footer-gold) 35%,
            var(--footer-gold-light) 50%,
            var(--footer-gold) 65%,
            var(--footer-gold-dark) 85%,
            transparent 100%
        );
}


/* ==========================================================================
   4. DECORATIVE BACKGROUND
   ========================================================================== */

.site-footer::after,
.footer::after,
.inaivom-footer::after {
    content: "";

    position: absolute;
    top: -180px;
    right: -150px;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, 0.07) 0%,
            rgba(212, 175, 55, 0.02) 45%,
            transparent 70%
        );

    pointer-events: none;
}


/* ==========================================================================
   5. FOOTER CONTAINER
   ========================================================================== */

.footer-container,
.site-footer .container,
.inaivom-footer .container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1320px;

    margin: 0 auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}


/* ==========================================================================
   6. FOOTER MAIN AREA
   ========================================================================== */

.footer-main {
    padding-top: 4rem;
    padding-bottom: 3rem;
}


/* ==========================================================================
   7. FOOTER GRID
   ========================================================================== */

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(240px, 1.45fr)
        repeat(3, minmax(150px, 1fr));

    gap: 2.5rem;
}


/* ==========================================================================
   8. FOOTER BRAND
   ========================================================================== */

.footer-brand {
    max-width: 330px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;

    margin-bottom: 1rem;

    color: var(--footer-white);

    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;

    text-decoration: none;

    letter-spacing: 0.01em;
}

.footer-logo:hover {
    color: var(--footer-gold);

    text-decoration: none;
}


/* ==========================================================================
   9. FOOTER LOGO IMAGE
   ========================================================================== */

.footer-logo img {
    display: block;

    width: auto;
    max-width: 180px;
    height: 46px;

    object-fit: contain;
}


/* ==========================================================================
   10. FOOTER BRAND MARK
   ========================================================================== */

.footer-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(212, 175, 55, 0.18),
            rgba(212, 175, 55, 0.05)
        );

    color: var(--footer-gold);

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.12);

    font-size: 1.15rem;
}


/* ==========================================================================
   11. BRAND DESCRIPTION
   ========================================================================== */

.footer-description,
.footer-about {
    max-width: 320px;

    margin: 0;

    color: var(--footer-muted);

    font-size: 0.86rem;
    line-height: 1.75;
}


/* ==========================================================================
   12. TRUST TEXT
   ========================================================================== */

.footer-trust {
    display: flex;
    align-items: center;
    gap: 0.45rem;

    margin-top: 1rem;

    color: var(--footer-gold-light);

    font-size: 0.74rem;
    font-weight: 600;
}

.footer-trust i,
.footer-trust svg {
    flex: 0 0 auto;

    color: var(--footer-gold);
}


/* ==========================================================================
   13. FOOTER COLUMN
   ========================================================================== */

.footer-column {
    min-width: 0;
}


/* ==========================================================================
   14. FOOTER HEADING
   ========================================================================== */

.footer-heading,
.footer-title {
    position: relative;

    margin: 0 0 1.15rem;
    padding-bottom: 0.65rem;

    color: var(--footer-white);

    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;

    letter-spacing: 0.015em;
}

.footer-heading::after,
.footer-title::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 34px;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--footer-gold),
            var(--footer-gold-light)
        );
}


/* ==========================================================================
   15. FOOTER LINKS
   ========================================================================== */

.footer-links,
.footer-menu {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links li,
.footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-links li + li,
.footer-menu li + li {
    margin-top: 0.65rem;
}

.footer-links a,
.footer-menu a {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 0.4rem;

    color: var(--footer-muted);

    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.45;

    text-decoration: none;

    transition:
        color var(--footer-transition),
        transform var(--footer-transition);
}

.footer-links a:hover,
.footer-menu a:hover {
    color: var(--footer-gold-light);

    transform: translateX(3px);

    text-decoration: none;
}

.footer-links a:focus-visible,
.footer-menu a:focus-visible {
    outline: 2px solid var(--footer-gold);
    outline-offset: 4px;

    border-radius: 2px;
}


/* ==========================================================================
   16. LINK ARROW
   ========================================================================== */

.footer-links.footer-links-arrow a::before {
    content: "›";

    color: var(--footer-gold);

    font-size: 1rem;
    line-height: 1;

    transition:
        transform var(--footer-transition);
}

.footer-links.footer-links-arrow a:hover::before {
    transform: translateX(2px);
}


/* ==========================================================================
   17. CONTACT LIST
   ========================================================================== */

.footer-contact {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;

    color: var(--footer-muted);

    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-contact-item + .footer-contact-item {
    margin-top: 0.85rem;
}


/* ==========================================================================
   18. CONTACT ICON
   ========================================================================== */

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    margin-top: 1px;

    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 8px;

    background: rgba(212, 175, 55, 0.08);

    color: var(--footer-gold);
}


/* ==========================================================================
   19. CONTACT LINKS
   ========================================================================== */

.footer-contact a {
    color: var(--footer-muted);

    text-decoration: none;

    transition:
        color var(--footer-transition);
}

.footer-contact a:hover {
    color: var(--footer-gold-light);
}


/* ==========================================================================
   20. SOCIAL SECTION
   ========================================================================== */

.footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.6rem;

    margin-top: 1.25rem;
}


/* ==========================================================================
   21. SOCIAL BUTTON
   ========================================================================== */

.footer-social-link,
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    color: var(--footer-white);

    text-decoration: none;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition:
        background var(--footer-transition),
        border-color var(--footer-transition),
        color var(--footer-transition),
        transform var(--footer-transition),
        box-shadow var(--footer-transition);
}

.footer-social-link:hover,
.footer-social a:hover {
    border-color: var(--footer-gold);

    background: var(--footer-gold);

    color: var(--footer-maroon-deep);

    transform: translateY(-3px);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.18);
}

.footer-social-link:focus-visible,
.footer-social a:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.35);
    outline-offset: 2px;
}


/* ==========================================================================
   22. NEWSLETTER AREA
   ========================================================================== */

.footer-newsletter {
    margin-top: 1.4rem;
}

.footer-newsletter-text {
    margin: 0 0 0.75rem;

    color: var(--footer-muted);

    font-size: 0.78rem;
    line-height: 1.55;
}


/* ==========================================================================
   23. NEWSLETTER FORM
   ========================================================================== */

.footer-newsletter-form {
    display: flex;
    align-items: stretch;

    width: 100%;
    max-width: 360px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: var(--footer-radius);

    background: rgba(255, 255, 255, 0.08);

    transition:
        border-color var(--footer-transition),
        box-shadow var(--footer-transition);
}

.footer-newsletter-form:focus-within {
    border-color: rgba(212, 175, 55, 0.65);

    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.10);
}


/* ==========================================================================
   24. NEWSLETTER INPUT
   ========================================================================== */

.footer-newsletter-input,
.footer-newsletter-form input[type="email"] {
    flex: 1;

    min-width: 0;
    min-height: 44px;

    padding: 0.65rem 0.85rem;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--footer-white);

    font-family: inherit;
    font-size: 0.8rem;
}

.footer-newsletter-input::placeholder,
.footer-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.55);
}


/* ==========================================================================
   25. NEWSLETTER BUTTON
   ========================================================================== */

.footer-newsletter-button,
.footer-newsletter-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 46px;

    padding: 0.65rem 0.85rem;

    border: 0;

    background:
        linear-gradient(
            135deg,
            var(--footer-gold-light),
            var(--footer-gold)
        );

    color: var(--footer-maroon-deep);

    font-family: inherit;
    font-weight: 700;

    cursor: pointer;

    transition:
        background var(--footer-transition),
        transform var(--footer-transition);
}

.footer-newsletter-button:hover,
.footer-newsletter-form button:hover {
    background:
        linear-gradient(
            135deg,
            var(--footer-gold),
            var(--footer-gold-dark)
        );
}


/* ==========================================================================
   26. APP DOWNLOAD
   ========================================================================== */

.footer-apps {
    margin-top: 1.3rem;
}

.footer-apps-title {
    margin: 0 0 0.7rem;

    color: var(--footer-white);

    font-size: 0.78rem;
    font-weight: 600;
}

.footer-app-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.6rem;
}

.footer-app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    min-height: 42px;

    padding: 0.45rem 0.75rem;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.06);

    color: var(--footer-white);

    text-decoration: none;

    transition:
        border-color var(--footer-transition),
        background var(--footer-transition),
        transform var(--footer-transition);
}

.footer-app-link:hover {
    border-color: rgba(212, 175, 55, 0.55);

    background: rgba(212, 175, 55, 0.09);

    color: var(--footer-white);

    transform: translateY(-2px);
}


/* ==========================================================================
   27. TRUST / SAFETY BAR
   ========================================================================== */

.footer-trust-bar {
    position: relative;
    z-index: 2;

    border-top: 1px solid var(--footer-border);
    border-bottom: 1px solid var(--footer-border);

    background: rgba(0, 0, 0, 0.08);
}

.footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 0;

    padding: 1.15rem 0;
}


/* ==========================================================================
   28. TRUST ITEM
   ========================================================================== */

.footer-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;

    min-height: 42px;

    padding: 0 1rem;

    border-right: 1px solid var(--footer-border);

    color: var(--footer-muted);

    font-size: 0.75rem;
    font-weight: 500;

    text-align: center;
}

.footer-trust-item:last-child {
    border-right: 0;
}

.footer-trust-item i,
.footer-trust-item svg {
    flex: 0 0 auto;

    color: var(--footer-gold);

    font-size: 1rem;
}


/* ==========================================================================
   29. VERIFICATION / SECURITY BADGES
   ========================================================================== */

.footer-security {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.65rem;

    margin-top: 1.25rem;
}

.footer-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;

    min-height: 30px;

    padding: 0.3rem 0.6rem;

    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 7px;

    background: rgba(255, 255, 255, 0.05);

    color: var(--footer-muted);

    font-size: 0.68rem;
    font-weight: 600;
}

.footer-security-badge i,
.footer-security-badge svg {
    color: var(--footer-gold);
}


/* ==========================================================================
   30. FOOTER DIVIDER
   ========================================================================== */

.footer-divider {
    width: 100%;
    height: 1px;

    margin: 0;

    border: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 175, 55, 0.24),
            transparent
        );
}


/* ==========================================================================
   31. FOOTER BOTTOM
   ========================================================================== */

.footer-bottom {
    position: relative;
    z-index: 2;

    padding: 1.25rem 0;

    border-top: 1px solid var(--footer-border);

    background: rgba(0, 0, 0, 0.12);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}


/* ==========================================================================
   32. COPYRIGHT
   ========================================================================== */

.footer-copyright {
    margin: 0;

    color: var(--footer-muted-dark);

    font-size: 0.72rem;
    line-height: 1.5;
}

.footer-copyright strong {
    color: var(--footer-gold-light);

    font-weight: 600;
}


/* ==========================================================================
   33. BOTTOM LINKS
   ========================================================================== */

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 0.35rem 1rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-bottom-links a {
    color: var(--footer-muted-dark);

    font-size: 0.7rem;

    text-decoration: none;

    transition:
        color var(--footer-transition);
}

.footer-bottom-links a:hover {
    color: var(--footer-gold-light);
}


/* ==========================================================================
   34. BOTTOM LINK SEPARATOR
   ========================================================================== */

.footer-bottom-links li {
    position: relative;
}

.footer-bottom-links li:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 50%;
    right: -0.55rem;

    width: 3px;
    height: 3px;

    transform: translateY(-50%);

    border-radius: 50%;

    background: rgba(212, 175, 55, 0.45);
}


/* ==========================================================================
   35. LANGUAGE SELECTOR
   ========================================================================== */

.footer-language {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.footer-language select {
    min-height: 34px;

    padding: 0.35rem 1.8rem 0.35rem 0.6rem;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;

    background-color: rgba(255, 255, 255, 0.06);

    color: var(--footer-white);

    font-family: inherit;
    font-size: 0.72rem;

    outline: none;
}

.footer-language select:focus {
    border-color: var(--footer-gold);
}

.footer-language select option {
    background: var(--footer-maroon-dark);

    color: #ffffff;
}


/* ==========================================================================
   36. BACK TO TOP
   ========================================================================== */

.back-to-top,
.footer-back-to-top {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 1030;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            var(--footer-maroon),
            var(--footer-maroon-dark)
        );

    color: var(--footer-gold);

    box-shadow:
        0 8px 24px rgba(60, 0, 16, 0.24);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity var(--footer-transition),
        visibility var(--footer-transition),
        transform var(--footer-transition),
        background var(--footer-transition),
        color var(--footer-transition);
}

.back-to-top.show,
.back-to-top.visible,
.footer-back-to-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.back-to-top:hover,
.footer-back-to-top:hover {
    background: var(--footer-gold);

    color: var(--footer-maroon-deep);

    transform: translateY(-3px);
}

.back-to-top:focus-visible,
.footer-back-to-top:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.35);
    outline-offset: 3px;
}


/* ==========================================================================
   37. FOOTER CTA
   ========================================================================== */

.footer-cta {
    position: relative;
    z-index: 3;

    margin-bottom: -1px;
    padding: 2rem 0;

    background:
        linear-gradient(
            135deg,
            #fffaf0 0%,
            #ffffff 45%,
            #fff7f9 100%
        );

    border-top: 1px solid #eee6e9;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    padding: 1.5rem 1.75rem;

    border: 1px solid rgba(128, 0, 32, 0.11);
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 10px 30px rgba(54, 25, 36, 0.07);
}

.footer-cta-content {
    flex: 1;
    min-width: 0;
}

.footer-cta-title {
    margin: 0;

    color: var(--footer-maroon);

    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
}

.footer-cta-text {
    margin: 0.35rem 0 0;

    color: #756b70;

    font-size: 0.82rem;
    line-height: 1.55;
}

.footer-cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.6rem;
}


/* ==========================================================================
   38. MATRIMONY SAFETY NOTE
   ========================================================================== */

.footer-safety-note {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;

    margin-top: 1.25rem;
    padding: 0.8rem;

    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 9px;

    background: rgba(0, 0, 0, 0.08);

    color: var(--footer-muted);

    font-size: 0.7rem;
    line-height: 1.55;
}

.footer-safety-note-icon {
    flex: 0 0 auto;

    margin-top: 0.1rem;

    color: var(--footer-gold);
}


/* ==========================================================================
   39. FOOTER PAYMENT METHODS
   ========================================================================== */

.footer-payments {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.5rem;

    margin-top: 1rem;
}

.footer-payment-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 45px;
    height: 28px;

    padding: 0.2rem 0.45rem;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 5px;

    background: rgba(255, 255, 255, 0.94);

    color: #443d40;

    font-size: 0.62rem;
    font-weight: 700;
}

.footer-payment-item img {
    display: block;

    max-width: 100%;
    max-height: 18px;

    object-fit: contain;
}


/* ==========================================================================
   40. LEGAL NOTICE
   ========================================================================== */

.footer-legal-notice {
    max-width: 900px;

    margin: 1rem auto 0;

    color: rgba(255, 255, 255, 0.48);

    font-size: 0.65rem;
    line-height: 1.55;

    text-align: center;
}


/* ==========================================================================
   41. LIGHT FOOTER VARIANT
   ========================================================================== */

.footer-light {
    border-top: 1px solid #ece5e8;

    background: var(--footer-bg-light);

    color: #332d30;

    box-shadow: none;
}

.footer-light::before {
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--footer-gold),
            transparent
        );
}

.footer-light::after {
    opacity: 0.4;
}

.footer-light .footer-heading,
.footer-light .footer-title,
.footer-light .footer-logo {
    color: var(--footer-maroon);
}

.footer-light .footer-description,
.footer-light .footer-about,
.footer-light .footer-links a,
.footer-light .footer-menu a,
.footer-light .footer-contact-item,
.footer-light .footer-contact a {
    color: #70666b;
}

.footer-light .footer-links a:hover,
.footer-light .footer-menu a:hover,
.footer-light .footer-contact a:hover {
    color: var(--footer-maroon);
}

.footer-light .footer-bottom {
    border-color: #e7dfe2;

    background: #f8f3f5;
}

.footer-light .footer-copyright,
.footer-light .footer-bottom-links a {
    color: #80757a;
}


/* ==========================================================================
   42. SIMPLE FOOTER
   ========================================================================== */

.footer-simple .footer-main {
    padding: 2rem 0;
}

.footer-simple .footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-simple .footer-brand {
    max-width: none;
}

.footer-simple .footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 0.75rem 1.25rem;
}

.footer-simple .footer-links li + li {
    margin-top: 0;
}


/* ==========================================================================
   43. STICKY PAGE STRUCTURE SUPPORT
   ========================================================================== */

html,
body {
    min-height: 100%;
}

body.footer-sticky-layout {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

body.footer-sticky-layout > main {
    flex: 1 0 auto;
}

body.footer-sticky-layout > .site-footer,
body.footer-sticky-layout > .footer,
body.footer-sticky-layout > .inaivom-footer {
    flex-shrink: 0;
}


/* ==========================================================================
   44. RESPONSIVE - LARGE TABLET
   ========================================================================== */

@media (max-width: 1199.98px) {

    .footer-grid {
        grid-template-columns:
            minmax(230px, 1.3fr)
            repeat(3, minmax(135px, 1fr));

        gap: 1.75rem;
    }

    .footer-main {
        padding-top: 3.5rem;
        padding-bottom: 2.5rem;
    }
}


/* ==========================================================================
   45. RESPONSIVE - TABLET
   ========================================================================== */

@media (max-width: 991.98px) {

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 2.25rem 2rem;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-description,
    .footer-about {
        max-width: 440px;
    }

    .footer-trust-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-trust-item:nth-child(2) {
        border-right: 0;
    }

    .footer-trust-item:nth-child(-n + 2) {
        padding-bottom: 0.8rem;
    }

    .footer-trust-item:nth-child(n + 3) {
        padding-top: 0.8rem;
    }

    .footer-cta-inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 1.25rem;
    }

    .footer-simple .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==========================================================================
   46. RESPONSIVE - MOBILE
   ========================================================================== */

@media (max-width: 767.98px) {

    .footer-container,
    .site-footer .container,
    .inaivom-footer .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .footer-main {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 2rem;
    }

    .footer-heading,
    .footer-title {
        margin-bottom: 0.9rem;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 0.85rem;
    }

    .footer-bottom-links {
        justify-content: flex-start;
    }

    .footer-cta {
        padding: 1.5rem 0;
    }

    .footer-cta-inner {
        padding: 1.25rem;

        border-radius: 14px;
    }

    .footer-cta-actions {
        width: 100%;
    }

    .footer-cta-actions .btn {
        flex: 1 1 auto;
    }

    .back-to-top,
    .footer-back-to-top {
        right: 1rem;
        bottom: 1rem;

        width: 42px;
        height: 42px;
    }
}


/* ==========================================================================
   47. RESPONSIVE - SMALL MOBILE
   ========================================================================== */

@media (max-width: 575.98px) {

    .footer-main {
        padding-top: 2.5rem;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-logo img {
        max-width: 155px;
        height: 40px;
    }

    .footer-description,
    .footer-about {
        font-size: 0.8rem;
    }

    .footer-links a,
    .footer-menu a {
        font-size: 0.79rem;
    }

    .footer-trust-grid {
        grid-template-columns: 1fr;

        padding: 0.6rem 0;
    }

    .footer-trust-item {
        justify-content: flex-start;

        min-height: 45px;

        padding: 0.65rem 0.4rem;

        border-right: 0;
        border-bottom: 1px solid var(--footer-border);

        text-align: left;
    }

    .footer-trust-item:nth-child(-n + 2),
    .footer-trust-item:nth-child(n + 3) {
        padding-top: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .footer-trust-item:last-child {
        border-bottom: 0;
    }

    .footer-newsletter-form {
        max-width: none;
    }

    .footer-app-links {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-app-link {
        justify-content: center;

        width: 100%;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-bottom-links {
        gap: 0.45rem 0.9rem;
    }

    .footer-bottom-links li:not(:last-child)::after {
        right: -0.48rem;
    }

    .footer-cta-actions {
        flex-direction: column;
    }

    .footer-cta-actions .btn {
        width: 100%;
    }
}


/* ==========================================================================
   48. VERY SMALL MOBILE
   ========================================================================== */

@media (max-width: 390px) {

    .footer-social {
        gap: 0.45rem;
    }

    .footer-social-link,
    .footer-social a {
        width: 36px;
        height: 36px;

        flex-basis: 36px;
    }

    .footer-security {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-security-badge {
        justify-content: center;

        width: 100%;
    }

    .footer-bottom-links li::after {
        display: none;
    }

    .footer-bottom-links {
        align-items: flex-start;
        flex-direction: column;

        gap: 0.45rem;
    }
}


/* ==========================================================================
   49. TOUCH DEVICES
   ========================================================================== */

@media (hover: none) and (pointer: coarse) {

    .footer-links a:hover,
    .footer-menu a:hover,
    .footer-social-link:hover,
    .footer-social a:hover,
    .footer-app-link:hover,
    .back-to-top:hover,
    .footer-back-to-top:hover {
        transform: none;
    }

    .footer-social-link,
    .footer-social a {
        min-width: 42px;
        min-height: 42px;
    }
}


/* ==========================================================================
   50. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

    .footer-links a,
    .footer-menu a,
    .footer-social-link,
    .footer-social a,
    .footer-app-link,
    .footer-newsletter-button,
    .footer-newsletter-form button,
    .back-to-top,
    .footer-back-to-top {
        transition: none !important;
    }

    .footer-links a:hover,
    .footer-menu a:hover,
    .footer-social-link:hover,
    .footer-social a:hover,
    .footer-app-link:hover,
    .back-to-top:hover,
    .footer-back-to-top:hover {
        transform: none !important;
    }
}


/* ==========================================================================
   51. PRINT
   ========================================================================== */

@media print {

    .site-footer,
    .footer,
    .inaivom-footer {
        border-top: 1px solid #cccccc;

        background: #ffffff !important;
        color: #000000 !important;

        box-shadow: none !important;
    }

    .site-footer::before,
    .site-footer::after,
    .footer::before,
    .footer::after,
    .inaivom-footer::before,
    .inaivom-footer::after {
        display: none !important;
    }

    .footer-main {
        padding: 1rem 0;
    }

    .footer-heading,
    .footer-title,
    .footer-logo,
    .footer-description,
    .footer-about,
    .footer-links a,
    .footer-menu a,
    .footer-contact-item,
    .footer-contact a,
    .footer-copyright {
        color: #000000 !important;
    }

    .footer-social,
    .footer-newsletter,
    .footer-apps,
    .footer-cta,
    .footer-trust-bar,
    .footer-payments,
    .back-to-top,
    .footer-back-to-top {
        display: none !important;
    }

    .footer-bottom {
        border-top: 1px solid #cccccc;

        background: #ffffff !important;
    }
}