/* ==========================================================================
   SWISS ARCHITECTURAL CORPORATE FOOTER (FRANKE EDITION)
   ========================================================================== */
#colophon.site-footer,
.lkl-corporate-footer {
    background-color: #1e2434 !important;
    color: #e2e8f0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    clear: both !important;
}

.lkl-corporate-footer *,
.lkl-corporate-footer *:before,
.lkl-corporate-footer *:after {
    box-sizing: border-box !important;
}

/* Hide Astra default below-footer-wrap if present */
.site-below-footer-wrap,
.site-primary-footer-wrap,
.site-above-footer-wrap {
    display: none !important;
}

.lkl-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 65px 32px 40px 32px;
}

/* Centered footer brand */
.lkl-footer-top-hub {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lkl-footer-newsletter-section .lkl-newsletter-wrap {
    border-top: 0;
}

/* Clean Top-Left Style Brand Lockup inside Footer */
.lkl-footer-brand-clean-lockup {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
}

.lkl-corporate-footer .xy-brand-identity-wrapper {
    display: inline-flex !important;
    justify-content: center !important;
}

.lkl-corporate-footer .xy-brand-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 10px 24px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
}

.lkl-corporate-footer .xy-brand-logo-link:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(2, 136, 209, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(2, 136, 209, 0.25) !important;
}

.lkl-corporate-footer .xy-brand-name-text,
.lkl-corporate-footer .xy-brand-cn-text,
.lkl-corporate-footer .xy-brand-en-text {
    color: #ffffff !important;
}

.lkl-corporate-footer .xy-brand-amp {
    color: #0288d1 !important;
}

.lkl-corporate-footer .xy-brand-pinyin {
    color: #94a3b8 !important;
}

.lkl-corporate-footer .xy-brand-suffix-label {
    color: #94a3b8 !important;
}

.lkl-corporate-footer .xy-brand-mfg-pill {
    background: rgba(2, 136, 209, 0.2) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.25) !important;
}

/* Xinyuan & Laikele Industrial Footer Brand Lockup */
.lkl-footer-brand-lockup {
    display: inline-flex !important;
    align-items: center !important;
    gap: 16px !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.lkl-footer-brand-lockup:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(2, 136, 209, 0.5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(2, 136, 209, 0.25) !important;
}

.xy-footer-brand-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: 0 4px 12px rgba(2, 136, 209, 0.35) !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
}

.lkl-footer-brand-lockup:hover .xy-footer-brand-icon {
    transform: scale(1.08) rotate(5deg) !important;
}

.xy-footer-brand-text {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
    gap: 3px !important;
}

.lkl-footer-brand-lockup,
.lkl-footer-brand-lockup *,
body.rtl .lkl-footer-brand-lockup,
body.rtl .lkl-footer-brand-lockup * {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: isolate !important;
}

.xy-footer-brand-title {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    letter-spacing: -0.2px !important;
    line-height: 1.1 !important;
}

.xy-footer-brand-title .xy-brand-amp {
    color: #0288d1 !important;
    margin: 0 3px !important;
}

.xy-footer-brand-sub {
    color: #94a3b8 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
}

/* Iconic Swiss-style Red Emblem Badge */
.lkl-franke-brand-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #df2020;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 9px 24px;
    border-radius: 2px;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 5px;
    line-height: 1.1;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(223, 32, 32, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lkl-franke-brand-box:hover {
    background-color: #e52929;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(223, 32, 32, 0.45);
    color: #ffffff !important;
}

.lkl-follow-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-top: 24px;
    margin-bottom: 16px;
}

/* Social Media Channels Row */
.lkl-social-icons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.lkl-social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    text-decoration: none !important;
}

.lkl-social-icon-btn svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.lkl-social-icon-btn:hover {
    background: #df2020;
    color: #ffffff !important;
    border-color: #df2020;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(223, 32, 32, 0.4);
}

.lkl-social-icon-btn:hover svg {
    transform: scale(1.1);
}

/* 4-Column Architectural Grid */
.lkl-footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    padding: 55px 0 45px 0;
}

.lkl-footer-col {
    display: flex;
    flex-direction: column;
}

.lkl-footer-col-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 22px 0;
    padding-bottom: 12px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lkl-footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 32px;
    height: 2px;
    background: #df2020;
}

body.rtl .lkl-footer-col-title::after {
    left: auto;
    right: 0;
}

.lkl-footer-links-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.lkl-footer-toggle {
    display: none;
}

.lkl-footer-link-item {
    margin: 0 !important;
    padding: 0 !important;
}

.lkl-footer-nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    line-height: 1.45;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
}

.lkl-footer-nav-link:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

body.rtl .lkl-footer-nav-link:hover {
    transform: translateX(-4px);
}

/* Iconic Franke Swiss Red Back-To-Top Button (Straddles top border: Half white, half dark footer) */
.lkl-franke-top-btn {
    position: absolute !important;
    top: -24px !important;
    right: max(24px, calc((100% - 1280px) / 2 - 64px)) !important;
    width: 48px !important;
    height: 48px !important;
    background-color: #df2020 !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 16px rgba(223, 32, 32, 0.45) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 99 !important;
    cursor: pointer !important;
}

.lkl-franke-top-btn:hover {
    background-color: #e52929 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(223, 32, 32, 0.6) !important;
    color: #ffffff !important;
}

.lkl-franke-top-btn svg {
    display: block !important;
    transition: transform 0.2s ease !important;
}

.lkl-franke-top-btn:hover svg {
    transform: translateY(-2px) !important;
}

body.rtl .lkl-franke-top-btn,
[dir="rtl"] .lkl-franke-top-btn {
    right: auto !important;
    left: max(24px, calc((100% - 1280px) / 2 - 64px)) !important;
}

@media (max-width: 640px) {
    .lkl-franke-top-btn {
        top: -20px !important;
        width: 40px !important;
        height: 40px !important;
        right: 20px !important;
    }
    body.rtl .lkl-franke-top-btn,
    [dir="rtl"] .lkl-franke-top-btn {
        left: 20px !important;
        right: auto !important;
    }
}

/* Pre-Footer Compliance & Trust Bar - Seamless architectural light finish */
.apex-trust-bar {
    background: #ffffff !important;
    padding: 24px 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.apex-trust-flex {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}

.apex-trust-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    background: #f8fafc !important;
    padding: 7px 16px !important;
    border-radius: 30px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    transition: all 0.25s ease !important;
}

.apex-trust-pill:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
}

/* Bottom Sub-Footer Bar - Centered & Clean with ICP Compliance */
.lkl-footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

.lkl-footer-compliance {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.lkl-compliance-link {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.lkl-compliance-link:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.lkl-compliance-sep {
    color: #475569;
}

.lkl-footer-copyright-text {
    margin: 0;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.3px;
}

/* RTL Support for Arabic */
body.rtl .lkl-corporate-footer {
    direction: rtl !important;
    text-align: right !important;
}

body.rtl .lkl-footer-top-hub {
    text-align: center !important;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .lkl-footer-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .lkl-footer-container {
        padding: 45px 20px 30px 20px;
    }
    .lkl-footer-nav-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 35px 0 25px 0;
    }
    .lkl-footer-nav-grid[data-accordion] {
        gap: 0;
    }
    [data-accordion] .lkl-footer-col-title {
        margin: 0;
        padding: 0;
    }
    [data-accordion] .lkl-footer-col-title::after,
    [data-accordion] .lkl-footer-heading-text {
        display: none;
    }
    [data-accordion] .lkl-footer-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 48px;
        padding: 10px 2px;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        letter-spacing: inherit;
        text-align: start;
        text-transform: inherit;
        cursor: pointer;
    }
    [data-accordion] .lkl-footer-toggle:hover,
    [data-accordion] .lkl-footer-toggle:focus {
        background: transparent;
        color: inherit;
    }
    [data-accordion] .lkl-footer-toggle:focus-visible {
        outline: 2px solid #fff;
        outline-offset: -2px;
    }
    [data-accordion] .lkl-footer-toggle-icon {
        flex: 0 0 14px;
        height: 14px;
        background:
            linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
            linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
    }
    [data-accordion] .lkl-footer-toggle[aria-expanded="true"] .lkl-footer-toggle-icon {
        background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat;
    }
    [data-accordion] .lkl-footer-links-list[hidden] {
        display: none;
    }
    [data-accordion] .lkl-footer-links-list {
        gap: 0;
        padding: 4px 0 12px !important;
    }
    [data-accordion] .lkl-footer-nav-link {
        display: flex;
        align-items: center;
        min-height: 44px;
    }
    .lkl-footer-bottom-bar {
        text-align: center;
    }
}