/* ============================================================
   INVESTIA PUBLIC DESIGN SYSTEM
   Luxury, Production-Grade Arabic RTL Design System
   ============================================================ */

/* ──────────────────────────────────────────────────────────────
   1. DESIGN TOKENS
   ────────────────────────────────────────────────────────────── */
:root {
    /* Brand — Harmonized with Authentic Logo Pixels */
    --inv-primary: #C5B288;
    --inv-primary-hover: #B49F73;
    --inv-primary-subtle: rgba(197, 178, 136, 0.1);
    --inv-primary-light: #F3D99C;
    --inv-primary-dark: #9C8C72;
    --inv-secondary: #606164;
    --inv-secondary-subtle: rgba(96, 97, 100, 0.08);

    /* Surfaces — Warm Luxury Pearl & Canvas */
    --inv-bg: #FAF9F7;
    --inv-surface: #FFFFFF;
    --inv-charcoal: #141416;
    --inv-text: #141416;
    --inv-text-secondary: #606164;
    --inv-text-muted: #8E9094;
    --inv-border: #E8E7E4;
    --inv-border-light: #F4F3F0;

    /* Dark surfaces — Warm Royal Obsidian */
    --inv-dark: #141416;
    --inv-dark-secondary: #1E1F22;

    /* Typography — Cairo Executive Font */
    --inv-font: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --inv-font-ping: var(--inv-font);

    /* Spacing */
    --inv-section-py: 4rem;
    --inv-section-py-sm: 2.5rem;

    /* Radius */
    --inv-radius: 0.75rem;
    --inv-radius-lg: 1rem;
    --inv-radius-xl: 1.25rem;
    --inv-radius-full: 9999px;

    /* Shadows */
    --inv-shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --inv-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --inv-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --inv-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);

    /* Transitions */
    --inv-transition: 200ms ease;
    --inv-transition-slow: 350ms ease;
}

/* ──────────────────────────────────────────────────────────────
   LIVEWIRE LOADING STATE INTEGRITY (Global Prevention of Double Text Flash)
   ────────────────────────────────────────────────────────────── */
[wire\:loading]:not([wire\:loading\.remove]) {
    display: none !important;
}
[wire\:loading\.delay]:not([wire\:loading\.remove]) {
    display: none !important;
}

/* ──────────────────────────────────────────────────────────────
   2. BASE & TYPOGRAPHY
   ────────────────────────────────────────────────────────────── */
html,
body {
    font-family: var(--inv-font);
    background-color: var(--inv-bg);
    color: var(--inv-text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: clip;
}

.text-small { font-size: 0.85rem; }
.max-w-700 { max-width: 700px; }

/* ──────────────────────────────────────────────────────────────
   3. HEADER & TOP STACK
   ────────────────────────────────────────────────────────────── */
.investia-top-stack-container {
    position: sticky;
    top: 0;
    z-index: 1000005 !important;
    width: 100%;
    overflow: visible !important;
    transition: box-shadow var(--inv-transition);
}

body.modal-open .investia-top-stack-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000005 !important;
    width: 100% !important;
}

.investia-top-stack-container.scrolled {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.investia-header {
    background: var(--inv-surface);
    border-bottom: 1px solid var(--inv-border);
    position: relative;
    transition: box-shadow var(--inv-transition);
}

.investia-brand img {
    height: 40px;
    width: auto;
    transition: opacity var(--inv-transition);
}

.investia-brand:hover img {
    opacity: 0.85;
}

/* Navigation links */
.investia-nav {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

.investia-nav .nav-item {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.investia-nav .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--inv-text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--inv-radius);
    transition: color var(--inv-transition), background var(--inv-transition);
    white-space: nowrap;
    text-decoration: none !important;
}

.investia-nav .nav-link:hover {
    color: var(--inv-charcoal);
    background-color: var(--inv-bg);
}

.investia-nav .nav-link.active {
    color: var(--inv-charcoal);
    font-weight: 600;
}

.offcanvas:not(.show) {
    display: none !important;
}

/* Header buttons */
.btn-investia-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--inv-text-secondary);
    border: 1px solid var(--inv-border);
    border-radius: var(--inv-radius);
    background: transparent;
    text-decoration: none;
    transition: all var(--inv-transition);
    white-space: nowrap;
}

.btn-investia-outline:hover {
    color: var(--inv-charcoal);
    border-color: var(--inv-secondary);
    background-color: var(--inv-bg);
}

.btn-investia-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--inv-surface);
    background: var(--inv-primary);
    border: 1px solid var(--inv-primary);
    border-radius: var(--inv-radius);
    text-decoration: none;
    transition: all var(--inv-transition);
    white-space: nowrap;
}

.btn-investia-primary:hover {
    background: var(--inv-primary-hover);
    border-color: var(--inv-primary-hover);
    color: var(--inv-surface);
}

/* ──────────────────────────────────────────────────────────────
   4. HERO SLIDER
   ────────────────────────────────────────────────────────────── */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    background: var(--inv-surface);
}

.investia-homepage {
    width: 100%;
    overflow-x: clip;
    position: relative;
}

/* ──────────────────────────────────────────────────────────────
   4. INVESTIA LUXURY HERO SLIDER & FLOATING SEARCH BAR
   ────────────────────────────────────────────────────────────── */
.investia-hero-section {
    padding-top: 1.75rem;
    padding-bottom: 2.25rem;
    position: relative;
    overflow: visible;
    width: 100%;
}

.investia-hero-wrapper {
    width: 100%;
    position: relative;
    margin: 0;
}

.hero-slides-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 490px;
    background: #0f172a;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
}

@media (max-width: 991px) {
    .hero-slides-card {
        height: 380px;
        border-radius: 22px;
    }
}

@media (max-width: 768px) {
    .investia-hero-section {
        padding-top: 0.5rem;
        padding-bottom: 1.25rem;
    }

    .hero-slides-card {
        height: auto !important;
        aspect-ratio: 16 / 9;
        max-height: 220px;
        min-height: 175px;
        border-radius: 16px;
    }
}

@media (max-width: 576px) {
    .hero-slides-card {
        height: auto !important;
        aspect-ratio: 16 / 9;
        max-height: 215px;
        min-height: 170px;
        border-radius: 16px;
    }
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
    z-index: 1;
    display: flex;
    align-items: center;
}

.hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background image with Ken Burns cinematic subtle zoom */
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.hero-slide-item.active .hero-slide-bg {
    transform: scale(1);
    animation: invHeroImageScale 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Dark gradient overlay (heavy on right in RTL for maximum typography clarity) */
.hero-slide-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        270deg,
        rgba(15, 23, 42, 0.94) 0%,
        rgba(15, 23, 42, 0.82) 42%,
        rgba(15, 23, 42, 0.35) 75%,
        rgba(15, 23, 42, 0.15) 100%
    );
    z-index: 2;
}

/* Slide Content (Aligned Right in RTL) */
.hero-slide-content {
    position: relative;
    z-index: 5;
    padding: 2.5rem 4.5rem;
    max-width: 650px;
    margin-right: 0;
    margin-left: auto;
    color: #ffffff;
    text-align: right;
}

@media (max-width: 991px) {
    .hero-slide-content {
        padding: 2rem 2.5rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-slide-gradient {
        background: linear-gradient(
            to top,
            rgba(15, 23, 42, 0.88) 0%,
            rgba(15, 23, 42, 0.52) 42%,
            rgba(15, 23, 42, 0.12) 75%,
            transparent 100%
        ),
        linear-gradient(
            270deg,
            rgba(15, 23, 42, 0.72) 0%,
            rgba(15, 23, 42, 0.30) 55%,
            transparent 100%
        ) !important;
    }

    .hero-slide-content {
        padding: 0.75rem 1rem !important;
        max-width: 100% !important;
        position: absolute !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        gap: 0.25rem !important;
    }

    .hero-pill-tag {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .hero-slide-content {
        padding: 0.7rem 0.9rem !important;
    }
}

/* Pill Tag with glowing dot */
.hero-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    padding: 0.35rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #f3f4f6;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-red-dot,
.hero-gold-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CEB18F;
    box-shadow: 0 0 10px #CEB18F, 0 0 4px #DFCAB2;
    display: inline-block;
}

/* Main Headline */
.hero-slide-headline {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 0.85rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
    text-wrap: balance;
}

/* Description */
.hero-slide-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.75rem;
    max-width: 520px;
}

/* CTA Wrapper */
.hero-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

/* Primary INVESTIA Luxury Gold Button */
.hero-cta-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #DFCAAF 0%, #CEB18F 50%, #B89670 100%) !important;
    color: #111827 !important;
    border-radius: 14px;
    padding: 0.78rem 1.85rem;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 28px -3px rgba(206, 177, 143, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.hero-cta-btn:hover {
    transform: translateY(-2.5px) scale(1.02);
    box-shadow: 0 15px 32px -2px rgba(206, 177, 143, 0.65);
    color: #111827 !important;
    background: linear-gradient(135deg, #E6D6C2 0%, #D4BA99 50%, #C2A17B 100%) !important;
}

.hero-cta-btn-subtle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    padding: 0.78rem 1.45rem;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.hero-cta-btn-subtle:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .hero-slide-headline {
        font-size: 2rem;
    }
    .hero-slide-desc {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-slide-headline {
        font-size: clamp(0.86rem, 3.5vw, 1.02rem) !important;
        line-height: 1.35 !important;
        margin-bottom: 0.25rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
    }

    .hero-slide-desc {
        display: none !important;
    }

    .hero-cta-wrapper {
        gap: 0.4rem !important;
        margin-top: 0.25rem !important;
    }

    .hero-cta-btn {
        padding: 0.38rem 1.05rem !important;
        font-size: 0.78rem !important;
        font-weight: 700 !important;
        border-radius: 9999px !important;
        gap: 0.35rem !important;
        background: linear-gradient(135deg, #F5E6D3 0%, #DFCAAF 50%, #C4A480 100%) !important;
        color: #111827 !important;
        border: 1px solid rgba(255, 255, 255, 0.55) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
        text-decoration: none !important;
        letter-spacing: -0.2px !important;
    }

    .hero-cta-btn:active {
        transform: scale(0.97) !important;
    }

    .hero-cta-btn i {
        font-size: 0.82rem !important;
        line-height: 1 !important;
    }

    .hero-cta-btn-subtle {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .hero-slide-headline {
        font-size: clamp(0.84rem, 3.4vw, 0.98rem) !important;
    }
}

/* Circular Arrow Navigation Buttons (Glassmorphic) */
.hero-circle-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: invHeroControlsFadeIn 0.5s ease 0.56s both;
}

.hero-circle-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.08);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-prev-btn {
    right: 1.5rem;
}

.hero-next-btn {
    left: 1.5rem;
}

@media (max-width: 768px) {
    .hero-circle-nav {
        display: none !important;
    }
}

/* Dash Pagination (Bottom-Left in RTL) */
.hero-dash-pagination {
    position: absolute;
    bottom: 2.25rem;
    left: 3.5rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    z-index: 10;
    animation: invHeroControlsFadeIn 0.5s ease 0.56s both;
}

@media (max-width: 768px) {
    .hero-dash-pagination {
        bottom: 0.85rem !important;
        left: 1rem !important;
        gap: 0.35rem !important;
    }
    .hero-dash-item {
        height: 3.5px !important;
        width: 12px !important;
        border-radius: 9999px !important;
    }
    .hero-dash-item.active {
        width: 22px !important;
        background: #DFCAAF !important;
    }
}

.hero-dash-item {
    border: none;
    padding: 0;
    height: 4px;
    width: 14px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease;
}

.hero-dash-item:hover {
    background: rgba(255, 255, 255, 0.65);
}

.hero-dash-item.active {
    width: 34px;
    background: #ffffff;
}

/* ──────────────────────────────────────────────────────────────
   FLOATING OVERLAPPING SEARCH BAR (Mukafaat Style)
   ────────────────────────────────────────────────────────────── */
.hero-floating-search-wrap {
    position: relative;
    margin-top: -34px;
    z-index: 25;
    padding: 0 1rem;
}

.hero-floating-search-bar {
    max-width: 880px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 0.5rem 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(229, 231, 235, 0.85);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.12), 0 0 1px 1px rgba(0, 0, 0, 0.03);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-floating-search-bar:focus-within {
    border-color: #CEB18F;
    box-shadow: 0 22px 50px -10px rgba(206, 177, 143, 0.22), 0 0 0 3px rgba(206, 177, 143, 0.12);
}

/* 1. City Dropdown Pill (Right side in RTL) */
.search-city-dropdown-pill {
    position: relative;
    background: #FAF6F0;
    color: #9F7D54;
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid rgba(206, 177, 143, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 60;
}

.search-city-dropdown-pill:hover,
.search-city-dropdown-pill:focus-within {
    background: #F3EBDD;
    border-color: #CEB18F;
    box-shadow: 0 4px 12px rgba(206, 177, 143, 0.18);
}

.search-city-trigger-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.95rem;
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 14px;
    outline: none;
    white-space: nowrap;
}

.search-city-icon {
    font-size: 0.95rem;
    color: #9F7D54;
    flex-shrink: 0;
}

.search-city-label {
    min-width: 60px;
    text-align: right;
    color: #8A6B42;
}

.search-city-arrow {
    font-size: 0.72rem;
    color: #9F7D54;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.search-city-arrow.is-open {
    transform: rotate(180deg);
}

/* Luxury Floating City Dropdown Menu */
.search-city-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 230px;
    max-width: 90vw;
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 16px;
    box-shadow: 0 18px 40px -10px rgba(17, 24, 39, 0.16), 0 0 1px rgba(206, 177, 143, 0.4);
    padding: 0.5rem;
    z-index: 1050;
    direction: rtl;
    text-align: right;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.search-city-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.65rem 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #8A6B42;
    border-bottom: 1px solid rgba(206, 177, 143, 0.18);
    margin-bottom: 0.35rem;
}

.search-city-count-badge {
    background: #FAF6F0;
    color: #9F7D54;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(206, 177, 143, 0.25);
}

.search-city-menu-list {
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 2px;
}

/* Custom Scrollbar for Luxury Menu */
.search-city-menu-list::-webkit-scrollbar {
    width: 5px;
}

.search-city-menu-list::-webkit-scrollbar-track {
    background: #FAF6F0;
    border-radius: 10px;
}

.search-city-menu-list::-webkit-scrollbar-thumb {
    background: #CEB18F;
    border-radius: 10px;
}

.search-city-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    color: #2D3748;
    cursor: pointer;
    text-align: right;
    transition: all 0.16s ease;
}

.search-city-menu-item:hover {
    background: #FAF6F0;
    color: #9F7D54;
    transform: translateX(-2px);
}

.search-city-menu-item.is-active {
    background: #F3EBDD;
    color: #8A6B42;
    font-weight: 700;
}

.search-city-item-name {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.search-city-item-icon {
    font-size: 0.9rem;
    color: #9F7D54;
    opacity: 0.85;
}

.search-city-check-icon {
    font-size: 1.05rem;
    color: #8A6B42;
    font-weight: bold;
}

/* Transition Classes */
.search-city-menu-enter {
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-city-menu-enter-start {
    opacity: 0;
    transform: translateY(6px) scale(0.97);
}
.search-city-menu-enter-end {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.search-city-menu-leave {
    transition: opacity 0.12s ease-in, transform 0.12s ease-in;
}
.search-city-menu-leave-start {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.search-city-menu-leave-end {
    opacity: 0;
    transform: translateY(6px) scale(0.97);
}

/* 2. Search Text Input */
.search-input-field-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0 0.45rem;
}

.search-input-icon {
    color: #9ca3af;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.search-main-input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.92rem;
    font-family: inherit;
    color: #111827;
}

.search-main-input::placeholder {
    color: #9ca3af;
    font-size: 0.88rem;
}

/* 3. Gold Search Submit Button (Left side in RTL) */
.search-submit-gold-btn,
.search-submit-purple-btn {
    border: none;
    background: linear-gradient(135deg, #CEB18F 0%, #B89670 100%);
    color: #111827;
    border-radius: 14px;
    padding: 0.65rem 1.75rem;
    font-size: 0.92rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.search-submit-gold-btn:hover,
.search-submit-purple-btn:hover {
    background: linear-gradient(135deg, #B89670 0%, #A47F59 100%);
    color: #ffffff;
    transform: translateY(-1.5px);
    box-shadow: 0 8px 20px rgba(206, 177, 143, 0.55);
}

@media (max-width: 768px) {
    .hero-floating-search-wrap {
        margin-top: 10px !important;
        padding: 0 !important;
    }
    .hero-floating-search-bar {
        flex-direction: row !important;
        align-items: center !important;
        border-radius: 9999px !important;
        padding: 4px 6px !important;
        gap: 6px !important;
        height: 48px !important;
        border: 1px solid rgba(206, 177, 143, 0.35) !important;
        box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        background: #FFFFFF !important;
    }
    .search-city-dropdown-pill {
        width: auto !important;
        flex-shrink: 0 !important;
        border-radius: 9999px !important;
        background: #FAF6F0 !important;
        border: 1px solid rgba(206, 177, 143, 0.28) !important;
    }
    .search-city-trigger-btn {
        width: auto !important;
        padding: 0.35rem 0.65rem !important;
        gap: 0.3rem !important;
        font-size: 0.76rem !important;
        height: 38px;
        color: #8A6B42 !important;
    }
    .search-city-icon {
        font-size: 0.85rem !important;
        color: #9F7D54 !important;
    }
    .search-city-label {
        max-width: 65px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.74rem !important;
        color: #8A6B42 !important;
    }
    .search-city-arrow {
        font-size: 0.68rem !important;
        color: #9F7D54 !important;
    }
    .search-input-field-wrap {
        flex: 1 !important;
        min-width: 0 !important;
        gap: 0.35rem !important;
        padding: 0 0.35rem !important;
    }
    .search-input-icon {
        font-size: 0.95rem !important;
        color: #9CA3AF !important;
    }
    .search-main-input {
        font-size: 0.82rem !important;
        color: #111827 !important;
    }
    .search-main-input::placeholder {
        font-size: 0.78rem !important;
        color: #9CA3AF !important;
    }
    .search-submit-gold-btn,
    .search-submit-purple-btn {
        width: auto !important;
        padding: 0.42rem 1.05rem !important;
        height: 38px !important;
        border-radius: 9999px !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        background: linear-gradient(135deg, #F3E6D5 0%, #DFCAAF 50%, #C4A480 100%) !important;
        color: #111827 !important;
        border: 1px solid rgba(255, 255, 255, 0.45) !important;
        box-shadow: 0 2px 10px rgba(206, 177, 143, 0.45) !important;
        flex-shrink: 0 !important;
        letter-spacing: -0.2px !important;
    }
    .search-submit-gold-btn:active,
    .search-submit-purple-btn:active {
        transform: scale(0.97) !important;
    }
}

/* Animations */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA buttons in hero */
.btn-inv-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--inv-surface);
    background: var(--inv-primary);
    border: 1px solid var(--inv-primary);
    border-radius: var(--inv-radius);
    text-decoration: none;
    transition: all var(--inv-transition);
}

.btn-inv-primary:hover {
    background: var(--inv-primary-hover);
    border-color: var(--inv-primary-hover);
    color: var(--inv-surface);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(206, 177, 143, 0.25);
}

.btn-inv-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--inv-charcoal);
    background: var(--inv-surface);
    border: 1px solid var(--inv-border);
    border-radius: var(--inv-radius);
    text-decoration: none;
    transition: all var(--inv-transition);
}

.btn-inv-secondary:hover {
    border-color: var(--inv-secondary);
    background: var(--inv-bg);
    color: var(--inv-charcoal);
}

/* ──────────────────────────────────────────────────────────────
   5. GLOBAL LAYOUT SYSTEM & PRIMITIVES
   Unified 1300px Container, Strict RTL Alignment & Spacing Rhythm
   ────────────────────────────────────────────────────────────── */
:root {
    --site-container-max: 1300px;
    --site-gutter-desktop: 24px;
    --site-gutter-tablet: 20px;
    --site-gutter-mobile: 16px;

    --site-section-py-desktop: 84px;
    --site-section-py-tablet: 56px;
    --site-section-py-mobile: 44px;
}

/* Master Reusable Global Container */
.site-container,
.investia-homepage .container,
.investia-header .container,
.investia-footer .container {
    width: 100% !important;
    max-width: var(--site-container-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--site-gutter-desktop) !important;
    padding-right: var(--site-gutter-desktop) !important;
    box-sizing: border-box !important;
}

@media (max-width: 1024px) {
    .site-container,
    .investia-homepage .container,
    .investia-header .container,
    .investia-footer .container {
        padding-left: var(--site-gutter-tablet) !important;
        padding-right: var(--site-gutter-tablet) !important;
    }
}

@media (max-width: 768px) {
    .site-container,
    .investia-homepage .container,
    .investia-header .container,
    .investia-footer .container {
        padding-left: var(--site-gutter-mobile) !important;
        padding-right: var(--site-gutter-mobile) !important;
    }
}

/* Strict Vertical Rhythm for Sections */
.site-section,
.inv-section {
    padding-top: var(--site-section-py-desktop) !important;
    padding-bottom: var(--site-section-py-desktop) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    width: 100%;
}

.site-section-alt,
.inv-section-alt {
    padding-top: var(--site-section-py-desktop) !important;
    padding-bottom: var(--site-section-py-desktop) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: var(--inv-surface) !important;
    position: relative;
    width: 100%;
}

@media (max-width: 1024px) {
    .site-section,
    .site-section-alt,
    .inv-section,
    .inv-section-alt {
        padding-top: var(--site-section-py-tablet) !important;
        padding-bottom: var(--site-section-py-tablet) !important;
    }
}

@media (max-width: 768px) {
    .site-section,
    .site-section-alt,
    .inv-section,
    .inv-section-alt {
        padding-top: var(--site-section-py-mobile) !important;
        padding-bottom: var(--site-section-py-mobile) !important;
    }
}

/* Standard Section Header & Title Spacing (8-12px title to desc, 24-36px to grid) */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 28px;
    flex-wrap: wrap;
    width: 100%;
}

.section-header-content {
    display: flex;
    flex-direction: column;
    gap: 8px; /* 8-12px range */
    text-align: right;
}

.section-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--inv-charcoal);
    margin: 0;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.section-title.text-center,
.text-center > .section-title,
.text-center .section-title,
.justify-content-center .section-title {
    justify-content: center !important;
    text-align: center !important;
    margin-inline: auto !important;
}

.section-header.justify-content-center .section-header-content,
.section-header.text-center .section-header-content {
    align-items: center !important;
    text-align: center !important;
}

.section-subtitle,
.section-desc {
    font-size: 0.95rem;
    color: var(--inv-text-secondary);
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .section-header,
    .investia-homepage .section-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        margin-bottom: 16px !important;
        gap: 0.75rem !important;
    }

    .section-header.justify-content-center,
    .section-header.text-center,
    .investia-homepage .section-header.justify-content-center,
    .investia-homepage .section-header.text-center {
        justify-content: center !important;
        text-align: center !important;
    }

    .section-header-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
        min-width: 0 !important;
        flex: 1 !important;
    }

    .section-header.justify-content-center .section-header-content,
    .section-header.text-center .section-header-content {
        justify-content: center !important;
        flex-direction: column !important;
    }

    .section-title {
        font-size: 1.18rem !important;
        font-weight: 800 !important;
        margin: 0 !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.4rem !important;
    }

    .section-title i,
    .section-title svg {
        font-size: 1.15rem !important;
        flex-shrink: 0 !important;
    }

    .section-subtitle,
    .section-desc,
    .about-section-subtitle,
    .section-subtitle-luxury,
    .investia-homepage .section-subtitle {
        display: none !important;
    }

    .inv-view-all {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.25rem !important;
        font-size: 0.84rem !important;
        font-weight: 700 !important;
        color: #9F7D54 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        margin-top: 0 !important;
        padding: 0.2rem 0 !important;
        line-height: 1 !important;
    }

    .inv-view-all i,
    .inv-view-all svg {
        font-size: 0.82rem !important;
    }
}

/* Backward-compatible titles */
.inv-section-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--inv-charcoal);
    text-align: right;
    margin-bottom: 0;
}

.inv-section-title-bar {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--inv-primary);
    margin: 0.75rem 0 0;
    border-radius: var(--inv-radius-full);
}

.inv-section-header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--inv-charcoal);
}

.inv-view-all {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--inv-primary-hover);
    text-decoration: none;
    transition: opacity var(--inv-transition);
    white-space: nowrap;
}

.inv-view-all:hover {
    color: var(--inv-charcoal);
    opacity: 0.85;
}

/* Responsive Grid Primitives with 24px gap */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

@media (max-width: 1199.98px) {
    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991.98px) {
    .offers-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        scrollbar-width: none;
        gap: 16px;
        padding-inline: 4px;
        padding-bottom: 1.25rem;
        scroll-behavior: smooth;
    }
    .offers-grid::-webkit-scrollbar {
        display: none;
    }
    .offers-grid .offer-card {
        flex: 0 0 285px;
        min-width: 285px;
        max-width: 320px;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }
}

@media (max-width: 575.98px) {
    .offers-grid .offer-card {
        flex: 0 0 270px;
        min-width: 270px;
    }
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

@media (max-width: 991px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.recent-partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

@media (max-width: 991px) {
    .recent-partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .recent-partners-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

@media (max-width: 991px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    width: 100%;
}

@media (max-width: 1200px) {
    .partner-logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .partner-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

.inv-view-all:hover {
    opacity: 0.7;
    color: var(--inv-charcoal);
}

/* ──────────────────────────────────────────────────────────────
   6. CATEGORY CAROUSEL (كل اللي تغطيه عضويتك!)
   ────────────────────────────────────────────────────────────── */
.category-carousel {
    position: relative;
}

.category-carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-carousel-track::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 calc(33.333% - 0.75rem);
    min-width: 240px;
    scroll-snap-align: start;
    position: relative;
    border-radius: var(--inv-radius-xl);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    box-shadow: var(--inv-shadow);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--inv-shadow-lg);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
    z-index: 2;
}

.category-card-content {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    left: 1.25rem;
    color: white;
    z-index: 3;
}

.category-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Category placeholder (icon-based) */
.category-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.category-card-placeholder i {
    font-size: 3.5rem;
    color: var(--inv-primary);
    opacity: 0.9;
    transition: transform 400ms ease;
}

.category-card:hover .category-card-placeholder i {
    transform: scale(1.15);
}

/* Carousel nav */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.carousel-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--inv-radius-full);
    border: none;
    background: var(--inv-bg);
    color: var(--inv-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--inv-transition);
}

.carousel-nav-btn:hover {
    background: var(--inv-border);
    color: var(--inv-charcoal);
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--inv-radius-full);
    border: none;
    background: var(--inv-border);
    cursor: pointer;
    padding: 0;
    transition: all 300ms ease;
}

.carousel-dot:hover {
    background: var(--inv-text-muted);
}

.carousel-dot.active {
    width: 24px;
    background: var(--inv-primary);
}

/* ──────────────────────────────────────────────────────────────
   7. OFFER CARDS (العروض) — STANDARDIZED LUXURY MARKETPLACE
   ────────────────────────────────────────────────────────────── */
.offer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.32);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.04);
    position: relative;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px -6px rgba(17, 24, 39, 0.12), 0 0 0 1px rgba(206, 177, 143, 0.45);
    border-color: #CEB18F;
    color: inherit;
}

/* Poster Card Anatomy — Balanced & Luxury */
.offer-card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: 210px;
    max-height: 220px;
    background: #091220;
    overflow: hidden;
}

.offer-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-card:hover .offer-poster-img {
    transform: scale(1.04);
}

.offer-poster-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 40%, #151D2A 0%, #091220 100%);
    padding: 1.25rem;
    text-align: center;
}

.offer-fallback-monogram {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(206, 177, 143, 0.12);
    border: 1px solid rgba(206, 177, 143, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.offer-fallback-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #DFCAAF;
    letter-spacing: -0.01em;
}

.offer-poster-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(9, 18, 32, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(206, 177, 143, 0.55);
    color: #DFCAAF;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    z-index: 3;
}

.offer-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.24rem 0.65rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #E9D8BC 0%, #CEB18F 100%);
    color: #1A1612;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.offer-expiry-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.24rem 0.65rem;
    border-radius: 8px;
    background: rgba(9, 18, 32, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #F1F5F9;
    font-size: 0.74rem;
    font-weight: 600;
    z-index: 3;
}

.offer-card-info {
    padding: 1.25rem 1.25rem 1.15rem;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.offer-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.4rem;
    line-height: 1.45;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.05rem;
}

.offer-card:hover .offer-card-title a,
.offer-card:hover .offer-card-title {
    color: #8C6E3D !important;
}

.offer-card-partner-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #4B5563;
    margin-bottom: 0.45rem;
}

.offer-city-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #8C6E3D;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.4);
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    white-space: nowrap;
}

.offer-card-desc {
    font-size: 0.84rem;
    color: #6D6E71;
    line-height: 1.5;
    margin-bottom: 0.85rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5rem;
}

.offer-card-pricing-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    margin-top: auto;
    border-top: 1px solid #F3F4F6;
}

.offer-price-highlight {
    font-size: 1.05rem;
    font-weight: 800;
    color: #15803D;
    letter-spacing: -0.01em;
}

.offer-price-highlight small {
    font-size: 0.78rem;
    font-weight: 700;
    color: #4B5563;
}

.offer-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.95rem;
    border-radius: 10px;
    background: #091220;
    border: 1px solid rgba(206, 177, 143, 0.35);
    color: #FFFFFF !important;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(9, 18, 32, 0.15);
}

.offer-card:hover .offer-cta-pill {
    background: #8C6E3D;
    border-color: #8C6E3D;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(140, 110, 61, 0.25);
}


/* ──────────────────────────────────────────────────────────────
   8. BADGES (PREMIUM LUXURY BADGES)
   ────────────────────────────────────────────────────────────── */
.inv-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.75rem;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 9999px;
    white-space: nowrap;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
}

/* Discount Badge: Metallic warm gold style */
.inv-badge-discount {
    background: #FAF6F0;
    color: #9F7D54;
    border: 1px solid rgba(206, 177, 143, 0.4);
    box-shadow: 0 1px 3px rgba(206, 177, 143, 0.12);
}

/* "جديد" Badge: Crisp modern editorial badge */
.inv-badge-new {
    background: #FAF6F0;
    color: #9F7D54;
    border: 1px solid rgba(206, 177, 143, 0.35);
    font-size: 0.72rem;
    padding: 0.22rem 0.65rem;
}

/* "عرض حصري" / "شريك مميز" Badge */
.inv-badge-featured,
.inv-badge-exclusive {
    background: #111827;
    color: #CEB18F;
    border: 1px solid rgba(206, 177, 143, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Category Badge */
.inv-badge-category {
    background: #F7F8FA;
    color: #4B5563;
    border: 1px solid #E5E7EB;
    font-weight: 600;
}

/* Count Badge */
.inv-badge-count {
    background: #F7F8FA;
    color: #4B5563;
    border: 1px solid #E5E7EB;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
}

/* ──────────────────────────────────────────────────────────────
   9. SECTOR TILES (القطاعات)
   ────────────────────────────────────────────────────────────── */
.sector-tile {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.4rem;
    background: var(--inv-surface);
    border: 1px solid var(--inv-border);
    border-radius: var(--inv-radius-xl);
    text-decoration: none;
    color: inherit;
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s ease-out;
    height: 100%;
    position: relative;
}

.sector-tile:hover {
    border-color: rgba(206, 177, 143, 0.5);
    box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(206, 177, 143, 0.25);
    transform: translateY(-3px);
    color: inherit;
}

.sector-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(206, 177, 143, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9F7D54;
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.22s ease-out, background-color 0.22s ease-out;
}

.sector-tile:hover .sector-icon {
    transform: translateY(-2px) scale(1.04);
    background: rgba(206, 177, 143, 0.2);
}

.sector-tile h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--inv-charcoal);
    margin-bottom: 0.45rem;
}

.sector-tile p {
    font-size: 0.85rem;
    color: var(--inv-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.sector-arrow-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #FAF6F0;
    color: #9F7D54;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}

.sector-tile:hover .sector-arrow-action {
    background: #CEB18F;
    color: #111827;
    transform: translateX(-3px);
}

/* ──────────────────────────────────────────────────────────────
   10. PARTNER LOGO WALL (أبرز شركاء الشبكة - Logo-First)
   ────────────────────────────────────────────────────────────── */
.partner-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.15rem;
}

.partner-logo-tile {
    position: relative;
    background: var(--inv-surface);
    border: 1px solid var(--inv-border);
    border-radius: var(--inv-radius-lg);
    padding: 1.25rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 140px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--inv-shadow-sm);
}

.partner-logo-tile:hover {
    border-color: rgba(206, 177, 143, 0.45);
    box-shadow: 0 10px 24px -5px rgba(206, 177, 143, 0.18), 0 0 0 1px rgba(206, 177, 143, 0.25);
    transform: translateY(-3px);
    color: inherit;
}

.partner-tile-badge {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    font-size: 0.85rem;
    color: #CEB18F;
}

.partner-tile-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9F7D54;
    font-size: 1.35rem;
    margin: 0.35rem 0 0.65rem;
    transition: transform 0.25s ease;
}

.partner-logo-tile:hover .partner-tile-icon-box {
    transform: scale(1.06);
}

.partner-tile-caption {
    width: 100%;
    text-align: center;
}

.partner-tile-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--inv-charcoal);
    margin-bottom: 0.15rem;
    line-height: 1.35;
}

.partner-tile-sub {
    display: block;
    font-size: 0.72rem;
    color: var(--inv-text-secondary);
}

.partner-tile-city {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--inv-text-muted);
    margin-top: 0.15rem;
}

/* ──────────────────────────────────────────────────────────────
   10. FEATURED PARTNER LOGOS — PURE ANIMATED LOGO CLOUD (أبرز شركاء الشبكة)
   ────────────────────────────────────────────────────────────── */
.inv-featured-logos-section {
    position: relative;
    overflow: hidden;
    overflow-x: clip;
    padding: 3.5rem 0 2.5rem;
    width: 100%;
    max-width: 100vw;
}

.inv-featured-marquee-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    overflow-x: clip;
    contain: paint;
    padding: 1.5rem 0 1rem;
    direction: ltr;
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.inv-featured-marquee-track {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    width: max-content;
    direction: ltr;
    will-change: transform;
    animation: invFeaturedLogosMarquee 50s linear infinite;
    touch-action: pan-y;
}

.inv-featured-marquee-wrap:hover .inv-featured-marquee-track,
.inv-featured-marquee-wrap:focus-within .inv-featured-marquee-track,
.inv-featured-marquee-wrap.is-interacting .inv-featured-marquee-track {
    animation-play-state: paused;
}

@keyframes invFeaturedLogosMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.inv-featured-logo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-featured-logo-box {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid rgba(197, 178, 136, 0.28);
    box-shadow: 0 6px 20px rgba(20, 20, 22, 0.05);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-featured-logo-pill:hover .inv-featured-logo-box {
    transform: scale(1.12) translateY(-4px);
    border-color: #C5B288;
    box-shadow: 0 12px 30px rgba(197, 178, 136, 0.35);
}

.inv-featured-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.inv-featured-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #8C734B;
    background: linear-gradient(135deg, #FAF6F0, #EFE8DC);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .inv-featured-logo-box {
        width: 76px;
        height: 76px;
        min-width: 76px;
        min-height: 76px;
    }
    .inv-featured-marquee-track {
        gap: 1.5rem;
        animation-duration: 22s;
    }
}

/* ──────────────────────────────────────────────────────────────
   10.5. MARQUEE LOGO SCROLLER (SHADCN MARQUEE WITH HOVER REVEAL)
   ────────────────────────────────────────────────────────────── */
@keyframes invMarqueeLoop {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.inv-marquee-scroller-section {
    position: relative;
    padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.inv-marquee-box {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.inv-marquee-box:hover {
    border-color: transparent;
    box-shadow: none;
}

/* Header Section */
.inv-marquee-header {
    padding: 0 0 clamp(1rem, 2vw, 1.5rem);
}

.inv-marquee-header-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-bottom: clamp(1.25rem, 2.5vw, 1.85rem);
    border-bottom: 1px solid rgba(206, 177, 143, 0.22);
}

@media (min-width: 992px) {
    .inv-marquee-header-grid {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 2.5rem;
    }
}

.inv-marquee-header-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inv-marquee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    padding: 0.28rem 0.75rem;
    background: #FAF7F2;
    border: 1px solid rgba(206, 177, 143, 0.4);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #8C6E3D;
    letter-spacing: -0.01em;
}

.inv-marquee-badge i {
    color: #CEB18F;
    font-size: 0.85rem;
}

.inv-marquee-title {
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    font-weight: 800;
    color: #1A1612;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
}

.inv-marquee-header-desc-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: flex-end;
}

@media (min-width: 992px) {
    .inv-marquee-header-desc-wrap {
        align-items: flex-start;
    }
}

.inv-marquee-desc {
    font-size: clamp(0.88rem, 1.15vw, 0.98rem);
    color: #5F5952;
    line-height: 1.6;
    margin: 0;
}

.inv-marquee-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #8C6E3D;
    text-decoration: none !important;
    transition: all 0.22s ease;
    width: fit-content;
}

.inv-marquee-link i {
    transition: transform 0.22s ease;
}

.inv-marquee-link:hover {
    color: #1A1612;
}

.inv-marquee-link:hover i {
    transform: translateX(-4px);
}

/* Marquee Viewport with Edge Fade Masks */
.inv-marquee-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.25rem 0 1.75rem;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.inv-marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 1.15rem;
    padding: 0.5rem 1rem;
    animation: invMarqueeLoop 36s linear infinite;
    will-change: transform;
    transition: animation-play-state 0.3s ease;
}

/* Pause on hover and touch */
.inv-marquee-track:hover,
.inv-marquee-track:focus-within,
.inv-marquee-track:active {
    animation-play-state: paused;
}

/* Logo Card (Clean Unbounded Logo with High-Res Sizing) */
.inv-marquee-card {
    position: relative;
    height: 100px;
    width: 180px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    text-decoration: none !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.inv-marquee-card:hover {
    transform: translateY(-4px) scale(1.06);
    border-color: transparent;
    box-shadow: none;
}

/* Gradient Background Revealed on Hover (Subtle ambient glow) */
.inv-marquee-card-gradient {
    display: none;
}

/* Logo Image Container */
.inv-marquee-logo-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.85rem;
}

.inv-marquee-logo-img {
    max-height: 68px;
    max-width: 155px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.05));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.inv-marquee-card:hover .inv-marquee-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 14px rgba(206, 177, 143, 0.35));
}

/* Fallback Initials */
.inv-marquee-fallback-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    color: #8C6E3D;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Tooltip on Hover */
.inv-marquee-card-tooltip {
    position: absolute;
    bottom: 5px;
    left: 8px;
    right: 8px;
    z-index: 3;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    text-align: center;
    pointer-events: none;
}

.inv-marquee-tooltip-name {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.68rem;
    font-weight: 700;
    color: #1A1612;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(206, 177, 143, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.inv-marquee-card:hover .inv-marquee-card-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments for Mobile */
@media (max-width: 768px) {
    .inv-marquee-box {
        border-radius: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .inv-marquee-header {
        padding: 0 0 0.85rem;
    }
    .inv-marquee-header-grid {
        gap: 0.85rem;
        padding-bottom: 1rem;
    }
    .inv-marquee-title {
        font-size: 1.25rem;
    }
    .inv-marquee-desc {
        font-size: 0.82rem;
        line-height: 1.5;
    }
    .inv-marquee-link {
        font-size: 0.8rem;
    }
    .inv-marquee-viewport {
        padding: 0.85rem 0 1.25rem;
        mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    }
    .inv-marquee-track {
        gap: 0.85rem;
        animation-duration: 26s;
    }
    .inv-marquee-card {
        width: 140px;
        height: 82px;
        border-radius: 12px;
    }
    .inv-marquee-logo-wrap {
        padding: 0.65rem 0.85rem;
    }
    .inv-marquee-logo-img {
        max-height: 42px;
        max-width: 105px;
    }
}

@media (max-width: 480px) {
    .inv-marquee-card {
        width: 130px;
        height: 76px;
        border-radius: 10px;
    }
    .inv-marquee-logo-img {
        max-height: 38px;
        max-width: 95px;
    }
    .inv-marquee-track {
        gap: 0.75rem;
        animation-duration: 24s;
    }
}

.inv-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: invPulseGreen 2s infinite;
}

@keyframes invPulseGreen {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ──────────────────────────────────────────────────────────────
   11. RECENT PARTNERS (المنضمون حديثًا)
   ────────────────────────────────────────────────────────────── */
.inv-recent-partners-section {
    position: relative;
    overflow: hidden;
    overflow-x: clip;
    padding: 3.5rem 0 2.5rem;
    width: 100%;
    max-width: 100vw;
}

.inv-recent-marquee-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    overflow-x: clip;
    contain: paint;
    padding: 1.5rem 0 1rem;
    direction: ltr;
    mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.inv-recent-marquee-track {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    width: max-content;
    direction: ltr;
    will-change: transform;
    animation: invPartnersMarqueeReverse 60s linear infinite;
    touch-action: pan-y;
}

.inv-recent-marquee-wrap:hover .inv-recent-marquee-track,
.inv-recent-marquee-wrap:focus-within .inv-recent-marquee-track,
.inv-recent-marquee-wrap.is-interacting .inv-recent-marquee-track {
    animation-play-state: paused;
}

@keyframes invPartnersMarqueeReverse {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Vertical Partner Card */
.inv-partner-vcard {
    direction: rtl;
    position: relative;
    width: 230px;
    min-width: 230px;
    background: #FFFFFF;
    border: 1px solid rgba(197, 178, 136, 0.25);
    border-radius: 22px;
    padding: 1.75rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--inv-charcoal);
    box-shadow: 0 4px 20px -4px rgba(20, 20, 22, 0.05);
    transition: transform 0.22s ease-out, box-shadow 0.22s ease-out, border-color 0.22s ease-out;
    user-select: none;
}

.inv-partner-vcard:hover {
    transform: translateY(-3px);
    border-color: #C5B288;
    box-shadow: 0 12px 28px -6px rgba(197, 178, 136, 0.28), 0 4px 12px -2px rgba(20, 20, 22, 0.04);
    color: var(--inv-charcoal);
}

.inv-partner-vcard-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #C5B288 0%, #A48956 100%);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 6px rgba(164, 137, 86, 0.3);
}

.inv-partner-vcard-logo-box {
    width: 82px;
    height: 82px;
    min-width: 82px;
    min-height: 82px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid rgba(197, 178, 136, 0.3);
    box-shadow: 0 6px 18px rgba(20, 20, 22, 0.06);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    transition: transform 0.22s ease-out, border-color 0.22s ease-out, box-shadow 0.22s ease-out;
}

.inv-partner-vcard:hover .inv-partner-vcard-logo-box {
    transform: scale(1.05);
    border-color: #C5B288;
    box-shadow: 0 10px 24px rgba(197, 178, 136, 0.35);
}

.inv-partner-vcard-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.inv-partner-vcard-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #FAF6F0, #EFE8DC);
    color: #8C734B;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inv-partner-vcard-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #141416;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7rem;
    text-align: center;
}

.inv-partner-vcard-cat-pill {
    display: inline-block;
    background: rgba(197, 178, 136, 0.12);
    color: #8C734B;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 50px;
    max-width: 190px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(197, 178, 136, 0.22);
}

.inv-partner-vcard-city {
    font-size: 0.75rem;
    color: #78797D;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 576px) {
    .inv-partner-vcard {
        width: 190px;
        min-width: 190px;
        padding: 1.25rem 0.85rem 1.15rem;
        border-radius: 18px;
    }
    .inv-partner-vcard-logo-box {
        width: 68px;
        height: 68px;
        min-width: 68px;
        min-height: 68px;
        margin-bottom: 0.85rem;
    }
    .inv-partner-vcard-name {
        font-size: 0.86rem;
        height: 2.4rem;
    }
    .inv-partner-vcard-cat-pill {
        font-size: 0.68rem;
        padding: 2px 8px;
        max-width: 160px;
    }
    .inv-recent-marquee-track {
        gap: 1rem;
        animation-duration: 28s;
    }
    .inv-recent-meta-bar {
        justify-content: center;
        text-align: center;
    }
}

/* Backward compatibility for previous classes */
.recent-partner-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1.15rem;
    background: var(--inv-surface);
    border: 1px solid var(--inv-border);
    border-radius: var(--inv-radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--inv-shadow-sm);
}

.recent-partner-card:hover {
    border-color: rgba(206, 177, 143, 0.45);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    color: inherit;
}

.recent-partner-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9F7D54;
    font-size: 1.15rem;
}

.recent-partner-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--inv-charcoal);
    margin-bottom: 0.15rem;
}

.recent-partner-meta {
    font-size: 0.76rem;
    color: var(--inv-text-secondary);
}

/* ──────────────────────────────────────────────────────────────
   12. WHY US — ANIMATED SHOWCASE (قسم ما يميزنا الحركي الفاخر)
   ────────────────────────────────────────────────────────────── */
.inv-why-section {
    position: relative;
    padding: 5rem 0 5.5rem;
    background: radial-gradient(1000px 500px at 50% 0%, rgba(197, 178, 136, 0.08) 0%, transparent 100%), #FAF9F7;
    overflow: hidden;
}

.inv-why-ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 178, 136, 0.09) 0%, rgba(197, 178, 136, 0.02) 50%, transparent 70%);
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    animation: invAmbientPulse 10s ease-in-out infinite alternate;
}

.inv-why-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(197, 178, 136, 0.12);
    border: 1px solid rgba(197, 178, 136, 0.35);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #8C734B;
    margin-bottom: 1rem;
    backdrop-filter: blur(8px);
}

.inv-why-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C5B288;
    box-shadow: 0 0 10px #C5B288;
    animation: invLivePulse 2s infinite ease-in-out;
}

.inv-why-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--inv-charcoal);
    letter-spacing: -0.02em;
}

.inv-gold-gradient-text {
    background: linear-gradient(135deg, #A88B58 0%, #C5B288 50%, #9C7D46 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Card Styling & 3D Tilt */
.why-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.4rem 1.8rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(197, 178, 136, 0.24);
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px -12px rgba(20, 20, 22, 0.05), 0 2px 8px -2px rgba(197, 178, 136, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C5B288, transparent);
    opacity: 0.6;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(20, 20, 22, 0.1), 0 0 25px rgba(197, 178, 136, 0.15);
    border-color: rgba(197, 178, 136, 0.55);
}

.why-card:hover::before {
    opacity: 1;
    height: 4px;
}

/* Stage Area for Animations */
.inv-why-stage {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* ──────────────────────────────────────────────────────────────
   ANIMATION 1: DIGITAL VIP MEMBERSHIP CARD (عضوية رقمية)
   ────────────────────────────────────────────────────────────── */
.inv-why-unified-card-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inv-why-unified-card {
    animation: invCardFloat 4.5s ease-in-out infinite;
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-why-card:hover .inv-why-unified-card {
    transform: scale(1.06) translateY(-4px);
}

.about-vip-unified-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-vip-unified-card:hover {
    transform: translateY(-6px);
}

.inv-vip-card-box {
    position: relative;
    width: 175px;
    height: 110px;
    background: linear-gradient(145deg, #1C1D21 0%, #141416 60%, #2A2621 100%);
    border: 1px solid rgba(197, 178, 136, 0.45);
    border-radius: 14px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    animation: invCardFloat 4.5s ease-in-out infinite;
    transform-origin: center;
}

.inv-vip-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inv-vip-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #FAF9F7;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 178, 136, 0.3);
    border-radius: 999px;
    padding: 2px 7px;
}

.inv-vip-chip {
    width: 24px;
    height: 18px;
    border-radius: 4px;
    background: linear-gradient(135deg, #F3D99C 0%, #C5B288 60%, #9C8C72 100%);
    border: 1px solid #7D6B4E;
    position: relative;
    overflow: hidden;
}

.inv-vip-chip::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: invChipGlint 3s infinite ease-in-out;
}

.inv-vip-scan-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
}

.inv-vip-qr-icon {
    font-size: 1.9rem;
    color: #C5B288;
    filter: drop-shadow(0 0 6px rgba(197, 178, 136, 0.35));
}

.inv-vip-laser-line {
    position: absolute;
    left: 20%;
    right: 20%;
    height: 2px;
    background: #E8D3A7;
    box-shadow: 0 0 8px #C5B288, 0 0 14px rgba(197, 178, 136, 0.8);
    animation: invLaserSweep 2.4s ease-in-out infinite alternate;
}

.inv-vip-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.62rem;
    color: rgba(250, 249, 247, 0.6);
    font-family: 'Cairo', monospace;
}

.inv-vip-verified-dot {
    color: #4ADE80;
    font-weight: 700;
}

/* ──────────────────────────────────────────────────────────────
   ANIMATION 2: ACCREDITED TRUST RADAR (شركاء موثوقون)
   ────────────────────────────────────────────────────────────── */
.inv-radar-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inv-radar-ring-pulse {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(197, 178, 136, 0.35);
    animation: invRadarWave 3s ease-out infinite;
}

.inv-radar-ring-pulse.wave-1 {
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.inv-radar-ring-pulse.wave-2 {
    width: 95px;
    height: 95px;
    animation-delay: 1.2s;
}

.inv-radar-orbit-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(197, 178, 136, 0.35);
    animation: invOrbitSpin 8s linear infinite;
}

.inv-orbit-satellite {
    position: absolute;
    top: -5px;
    left: 50%;
    margin-left: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #C5B288;
    box-shadow: 0 0 10px #C5B288;
}

.inv-radar-shield {
    position: relative;
    z-index: 2;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1C1D21 0%, #141416 100%);
    border: 1px solid #C5B288;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px -5px rgba(20, 20, 22, 0.25), 0 0 16px rgba(197, 178, 136, 0.25);
    animation: invShieldBreath 3.5s ease-in-out infinite;
}

.inv-shield-icon-svg {
    width: 26px;
    height: 26px;
    color: #F3D99C;
}

.inv-radar-badge-top {
    position: absolute;
    top: 2px;
    right: -8px;
    background: #141416;
    color: #C5B288;
    border: 1px solid rgba(197, 178, 136, 0.35);
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    padding: 2px 7px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.inv-radar-badge-bottom {
    position: absolute;
    bottom: 2px;
    left: -8px;
    background: rgba(197, 178, 136, 0.15);
    color: #7D643E;
    border: 1px solid rgba(197, 178, 136, 0.3);
    border-radius: 999px;
    font-size: 0.64rem;
    font-weight: 700;
    padding: 2px 7px;
    backdrop-filter: blur(4px);
    z-index: 3;
}

/* ──────────────────────────────────────────────────────────────
   ANIMATION 3: EXCLUSIVE VALUE ENGINE (مزايا حصرية)
   ────────────────────────────────────────────────────────────── */
.inv-sparkle-container {
    position: relative;
    width: 130px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inv-sparkle-aura {
    position: absolute;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 178, 136, 0.3) 0%, transparent 70%);
    animation: invSparkleGlow 2.5s infinite alternate ease-in-out;
}

.inv-sparkle-center-star {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #F3D99C 0%, #C5B288 50%, #9C8C72 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px -6px rgba(168, 139, 88, 0.45);
    animation: invStarPulse 3s ease-in-out infinite;
}

.inv-star-icon-svg {
    width: 28px;
    height: 28px;
    color: #141416;
}

.inv-float-pill-1 {
    position: absolute;
    top: 6px;
    right: -10px;
    background: #141416;
    color: #FAF9F7;
    border: 1px solid #C5B288;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    animation: invFloatTag 3.2s ease-in-out infinite alternate;
    z-index: 3;
}

.inv-float-pill-2 {
    position: absolute;
    bottom: 6px;
    left: -10px;
    background: rgba(255, 255, 255, 0.95);
    color: #8C734B;
    border: 1px solid rgba(197, 178, 136, 0.4);
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    animation: invFloatTag 3.6s ease-in-out infinite alternate-reverse;
    z-index: 3;
}

/* ──────────────────────────────────────────────────────────────
   ANIMATION 4: INSTANT VELOCITY GAUGE (تجربة رقمية فورية)
   ────────────────────────────────────────────────────────────── */
.inv-speed-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inv-speed-svg {
    width: 105px;
    height: 105px;
    transform: rotate(-90deg);
}

.inv-speed-track {
    fill: none;
    stroke: rgba(197, 178, 136, 0.18);
    stroke-width: 6;
}

.inv-speed-bar {
    fill: none;
    stroke: url(#invGaugeGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: 60;
    animation: invSpeedSweep 3s ease-in-out infinite alternate;
}

.inv-speed-center {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.inv-speed-bolt {
    color: #C5B288;
    font-size: 1.45rem;
    filter: drop-shadow(0 0 6px rgba(197, 178, 136, 0.5));
    animation: invBoltPulse 1.8s infinite ease-in-out;
}

.inv-speed-metric {
    font-size: 0.72rem;
    font-weight: 800;
    color: #141416;
    font-family: 'Cairo', monospace;
    margin-top: -2px;
}

.inv-speed-badge {
    position: absolute;
    bottom: -4px;
    background: #141416;
    color: #FAF9F7;
    border: 1px solid rgba(197, 178, 136, 0.4);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.62rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 3;
}

/* Card Typography & Micro-Pill */
.why-card h4 {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--inv-charcoal);
    margin-bottom: 0.55rem;
    line-height: 1.4;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--inv-text-secondary);
    line-height: 1.65;
    margin-bottom: 1.1rem;
    flex-grow: 1;
}

.inv-why-footer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(197, 178, 136, 0.08);
    border: 1px solid rgba(197, 178, 136, 0.22);
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #7D643E;
    margin-top: auto;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.why-card:hover .inv-why-footer-pill {
    background: rgba(197, 178, 136, 0.18);
    border-color: rgba(197, 178, 136, 0.4);
}

/* ──────────────────────────────────────────────────────────────
   KEYFRAMES ANIMATIONS
   ────────────────────────────────────────────────────────────── */
@keyframes invAmbientPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

@keyframes invLivePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.5; }
}

@keyframes invCardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(-1.5deg); }
}

@keyframes invChipGlint {
    0% { left: -100%; }
    30%, 100% { left: 160%; }
}

@keyframes invLaserSweep {
    0% { top: 15%; opacity: 0.4; }
    50% { opacity: 1; }
    100% { top: 85%; opacity: 0.4; }
}

@keyframes invRadarWave {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(1.35); opacity: 0; }
}

@keyframes invOrbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes invShieldBreath {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 20px -5px rgba(20, 20, 22, 0.25), 0 0 16px rgba(197, 178, 136, 0.25); }
    50% { transform: scale(1.06); box-shadow: 0 12px 28px -5px rgba(20, 20, 22, 0.3), 0 0 24px rgba(197, 178, 136, 0.45); }
}

@keyframes invSparkleGlow {
    0% { transform: scale(0.85); opacity: 0.4; }
    100% { transform: scale(1.25); opacity: 0.85; }
}

@keyframes invStarPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(5deg); }
}

@keyframes invFloatTag {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-6px); }
}

@keyframes invSpeedSweep {
    0% { stroke-dashoffset: 140; }
    100% { stroke-dashoffset: 40; }
}

@keyframes invBoltPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(197, 178, 136, 0.4)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 10px rgba(197, 178, 136, 0.85)); }
}

@media (max-width: 991px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .inv-why-stage {
        height: 125px;
    }
}

/* ──────────────────────────────────────────────────────────────
   13. FOOTER
   ────────────────────────────────────────────────────────────── */
.investia-footer {
    background: var(--inv-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 0 !important;
    margin: 0 !important;
}

.footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--inv-surface);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color var(--inv-transition);
}

.footer-links a:hover {
    color: var(--inv-primary-light);
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--inv-radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all var(--inv-transition);
    font-size: 0.95rem;
}

.social-link:hover {
    color: var(--inv-primary-light);
    border-color: var(--inv-primary);
    background: rgba(206, 177, 143, 0.1);
}

/* ──────────────────────────────────────────────────────────────
   14. OFFERS SCROLL CONTAINER (mobile horizontal scroll)
   ────────────────────────────────────────────────────────────── */
.offers-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.offers-scroll::-webkit-scrollbar {
    display: none;
}

.offers-scroll .offer-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .offers-scroll {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow: visible;
    }

    .offers-scroll .offer-card {
        flex: none;
    }
}

@media (min-width: 1024px) {
    .offers-scroll {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .offers-scroll {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ──────────────────────────────────────────────────────────────
   15. RESPONSIVE
   ────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .inv-section {
        padding: var(--inv-section-py-sm) 0;
    }

    .inv-section-alt {
        padding: var(--inv-section-py-sm) 0;
    }

    .hero-slide-image {
        max-height: 400px;
        object-fit: cover;
    }

    .category-card {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 200px;
        height: 240px;
    }

    .partner-logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .hero-slide-image {
        max-height: 280px;
        object-fit: cover;
    }

    .category-card {
        flex: 0 0 calc(80% - 0.5rem);
        min-width: 200px;
        height: 220px;
    }

    .partner-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .inv-section-title {
        font-size: 1.25rem;
    }

    .hero-overlay-desktop h2 {
        font-size: 1.5rem;
    }
}

/* ──────────────────────────────────────────────────────────────
   16. ANIMATIONS & REDUCED MOTION
   ────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-slide.active {
        animation: none;
    }

    .category-card img {
        transition: none;
    }

    .offer-card:hover {
        transform: none;
    }
}

/* Hero placeholder (when no CMS image) */
.hero-slide-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--inv-bg) 0%, var(--inv-border-light) 50%, var(--inv-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-slide-placeholder {
        height: 500px;
    }
}

/* ──────────────────────────────────────────────────────────────
   17. MEMBER AUTHENTICATION & PORTAL ACCESS (INVESTIA LUXURY SPLIT-SCREEN)
   ────────────────────────────────────────────────────────────── */
.auth-split-screen-root {
    position: relative;
    display: flex;
    min-height: 100vh;
    width: 100%;
    flex-direction: column;
    background: #FFFFFF;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

@media (min-width: 992px) {
    .auth-split-screen-root {
        flex-direction: row;
        height: 100vh;
        overflow: hidden;
    }
}

/* Form Panel (50% on desktop, 100% on mobile) */
.auth-split-form-panel {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    padding: 5rem 1.5rem 3rem;
    position: relative;
    min-height: 100vh;
}

@media (min-width: 992px) {
    .auth-split-form-panel {
        width: 50%;
        height: 100vh;
        overflow-y: auto;
        padding: 4.5rem 3rem 3rem;
    }
}

.auth-split-form-panel::-webkit-scrollbar {
    width: 6px;
}
.auth-split-form-panel::-webkit-scrollbar-thumb {
    background: rgba(206, 177, 143, 0.3);
    border-radius: 4px;
}

/* Floating Topbar inside Form Panel */
.auth-split-topbar {
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.auth-split-back-btn,
.auth-split-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4B5563;
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
}

.auth-split-back-btn:hover,
.auth-split-badge-link:hover {
    color: #111827;
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.auth-split-form-container {
    width: 100%;
    max-width: 440px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
}

/* Title & Description */
.auth-split-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #091220;
    margin-bottom: 0.4rem;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.auth-split-desc {
    font-size: 0.92rem;
    color: #6B7280;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Visual Image Panel */
.auth-split-visual-panel {
    position: relative;
    display: none;
    width: 50%;
    height: 100vh;
    overflow: hidden;
    background: #091220;
}

@media (min-width: 992px) {
    .auth-split-visual-panel {
        display: block;
    }
}

.auth-split-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.auth-split-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 18, 32, 0.3) 0%, rgba(9, 18, 32, 0.5) 45%, rgba(9, 18, 32, 0.94) 100%);
    pointer-events: none;
}

.auth-split-visual-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3.5rem 3rem 2.5rem;
    z-index: 5;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.auth-split-visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    background: rgba(9, 18, 32, 0.75);
    border: 1px solid rgba(206, 177, 143, 0.4);
    backdrop-filter: blur(10px);
    color: #CEB18F;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}

.auth-split-visual-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.65rem;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.auth-split-visual-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 480px;
}

.auth-split-security-seal {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    width: 100%;
}

/* Staggered Motion Animations (Framer Motion equivalent) */
@keyframes splitFormFadeUp {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-split-motion-item {
    opacity: 0;
    transform: translateY(22px);
    animation: splitFormFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.auth-split-motion-item:nth-child(1) { animation-delay: 0.04s; }
.auth-split-motion-item:nth-child(2) { animation-delay: 0.10s; }
.auth-split-motion-item:nth-child(3) { animation-delay: 0.16s; }
.auth-split-motion-item:nth-child(4) { animation-delay: 0.22s; }
.auth-split-motion-item:nth-child(5) { animation-delay: 0.28s; }
.auth-split-motion-item:nth-child(6) { animation-delay: 0.34s; }
.auth-split-motion-item:nth-child(7) { animation-delay: 0.40s; }
.auth-split-motion-item:nth-child(8) { animation-delay: 0.46s; }

/* ──────────────────────────────────────────────────────────────
   MEMBER AUTH — FLOATING CARD MODE (not full screen)
   Applied via .auth-card-mode; partner login stays full-screen.
   ────────────────────────────────────────────────────────────── */
html:has(.auth-card-mode),
body:has(.auth-card-mode),
body.is-auth-page {
    background-color: #F7F8FA;
    background-image:
        radial-gradient(circle at 85% 12%, rgba(206, 177, 143, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(17, 24, 39, 0.04) 0%, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    min-height: 100dvh;
}

body:has(.auth-card-mode) #main-content,
body.is-auth-page #main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    padding: 1.75rem 1.25rem;
    box-sizing: border-box;
}

/* Page Shell wrapping Topbar + Auth Card */
.auth-page-shell {
    width: 100%;
    max-width: 1040px;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    box-sizing: border-box;
}

/* 1. Dedicated Floating Top Navigation Bar */
.auth-split-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 1.15rem;
    position: static;
    z-index: 10;
}

.auth-split-back-btn,
.auth-split-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: #4B5563;
    text-decoration: none;
    min-height: 42px;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: #FFFFFF;
    border: 1px solid rgba(223, 202, 175, 0.45);
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.03);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-split-back-btn:hover,
.auth-split-badge-link:hover {
    color: #091220;
    background: #FAF6F0;
    border-color: #CEB18F;
    box-shadow: 0 4px 12px rgba(206, 177, 143, 0.18);
    transform: translateY(-1px);
}

.auth-split-back-btn:active,
.auth-split-badge-link:active {
    transform: translateY(0);
}

/* 2. Main Authentication Card */
.auth-split-screen-root.auth-card-mode {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    background: #FFFFFF;
    border-radius: 28px;
    border: 1px solid rgba(223, 202, 175, 0.45);
    box-shadow: 0 24px 60px -12px rgba(17, 24, 39, 0.12),
                0 0 0 1px rgba(206, 177, 143, 0.1);
    overflow: hidden;
    box-sizing: border-box;
}

/* Form Panel */
.auth-card-mode .auth-split-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 0;
    background: #FFFFFF;
    padding: 2.75rem 2.25rem;
    box-sizing: border-box;
    position: static;
    overflow: visible;
}

.auth-card-mode .auth-split-form-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

/* INVESTIA Logo inside Card */
.auth-card-mode .auth-form-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.35rem;
    text-align: center;
}

.auth-card-mode .auth-form-logo-item img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
    transition: transform 0.25s ease;
}

.auth-card-mode .auth-form-logo-item a:hover img {
    transform: scale(1.03);
}

/* Tabs Switcher */
.auth-card-mode .auth-tabs-nav {
    position: relative;
    display: flex;
    align-items: center;
    background: #F3F4F6;
    padding: 4px;
    border-radius: 14px;
    margin-bottom: 1.35rem;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.auth-card-mode .auth-tab-pill {
    flex: 1;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: #6B7280;
    border: none;
    background: transparent;
    border-radius: 11px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2;
}

.auth-card-mode .auth-tab-pill.active {
    color: #091220;
}

.auth-card-mode .auth-tab-indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 4px;
    left: auto;
    width: calc(50% - 4px);
    background: #FFFFFF;
    border-radius: 11px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(206, 177, 143, 0.25);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
}

.auth-card-mode .auth-tab-indicator.is-login {
    transform: translateX(0);
}

.auth-card-mode .auth-tab-indicator.is-register {
    transform: translateX(-100%);
}

/* Headings Block */
.auth-card-mode .auth-header-block {
    text-align: center;
    margin-bottom: 1.25rem;
}

.auth-card-mode .auth-header-block .auth-title {
    font-size: 1.48rem;
    font-weight: 800;
    color: #091220;
    margin-bottom: 0.35rem;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

.auth-card-mode .auth-header-block .auth-subtitle {
    font-size: 0.88rem;
    color: #6B7280;
    line-height: 1.55;
    margin-bottom: 0;
}

/* Form Fields */
.auth-card-mode .auth-form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-card-mode .auth-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0;
}

.auth-card-mode .auth-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0;
    text-align: right;
}

.auth-card-mode .auth-input-container {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.25rem 0.9rem;
    background: #F9FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.auth-card-mode .auth-input-container:focus-within {
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.25);
}

.auth-card-mode .auth-input-container.has-error {
    border-color: #EF4444;
    background: #FEF2F2;
}

.auth-card-mode .auth-input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.95rem; /* Prevents auto-zoom on mobile */
    color: #111827;
    font-family: inherit;
    padding: 0 0.5rem;
    height: 40px;
    line-height: 40px;
}

.auth-card-mode .auth-input-start-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    flex-shrink: 0;
}

.auth-card-mode .auth-input-container:focus-within .auth-input-start-icon {
    color: #8C6E3D;
}

.auth-card-mode .auth-input-prefix {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-inline-end: 0.75rem;
    border-inline-end: 1px solid #E5E7EB;
    margin-inline-end: 0.5rem;
    flex-shrink: 0;
}

.auth-card-mode .auth-input-prefix .country-code {
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
    direction: ltr;
}

.auth-card-mode .auth-error-msg {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #DC2626;
    margin-top: 0.25rem;
    font-weight: 600;
}

/* Checkboxes */
.auth-card-mode .auth-remember-row,
.auth-card-mode .auth-terms-row {
    display: flex;
    align-items: center;
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
    color: #4B5563;
}

.auth-card-mode .auth-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    user-select: none;
}

.auth-card-mode .auth-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid #D1D5DB;
    accent-color: #091220;
    cursor: pointer;
}

/* Primary Submit Button */
.auth-card-mode .auth-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 50px;
    padding: 0.75rem 1.5rem;
    background: #091220;
    color: #FFFFFF;
    border: 1px solid rgba(223, 202, 175, 0.35);
    border-radius: 12px;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(9, 18, 32, 0.18);
    box-sizing: border-box;
}

.auth-card-mode .auth-btn-primary:hover:not(:disabled) {
    background: #151D2A;
    border-color: #CEB18F;
    box-shadow: 0 6px 20px rgba(206, 177, 143, 0.25);
    transform: translateY(-1px);
}

.auth-card-mode .auth-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.auth-card-mode .auth-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-card-mode .auth-btn-content {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-card-mode .auth-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

/* Secondary Switch Prompt */
.auth-card-mode .auth-switch-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    font-size: 0.86rem;
    color: #6B7280;
}

.auth-card-mode .auth-switch-btn {
    background: none;
    border: none;
    padding: 0;
    color: #8C6E3D;
    font-weight: 700;
    font-size: 0.86rem;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-card-mode .auth-switch-btn:hover {
    color: #091220;
}

/* ──────────────────────────────────────────────────────────────
   DESKTOP / LAPTOP BREAKPOINTS (min-width: 992px)
   ────────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
    body.is-auth-page {
        overflow-y: hidden;
    }

    body.is-auth-page #main-content {
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
        padding: 1rem 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .auth-page-shell {
        width: 100%;
        max-width: 1040px;
        height: 100%;
        max-height: 100%;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
    }

    .auth-split-topbar {
        flex-shrink: 0;
        margin-bottom: 0.75rem;
    }

    /* Outer Card: Stable viewport-aware height, equal column bounds, zero vertical blowout */
    .auth-split-screen-root.auth-card-mode {
        flex-direction: row;
        width: 100%;
        max-width: 1040px;
        height: min(680px, calc(100dvh - 5.5rem));
        min-height: 520px;
        max-height: 720px;
        overflow: hidden;
        align-items: stretch;
    }

    /* Left Visual Panel: Strictly 100% height of outer card, no gap underneath */
    .auth-card-mode .auth-split-visual-panel {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        height: 100% !important;
        min-height: 0 !important;
        display: block;
        position: relative;
        overflow: hidden;
        background: #091220;
        align-self: stretch;
    }

    .auth-card-mode .auth-split-cover-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 25%;
    }

    .auth-card-mode .auth-split-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(9, 18, 32, 0.82) 0%, rgba(9, 18, 32, 0.45) 38%, rgba(9, 18, 32, 0.1) 62%, rgba(9, 18, 32, 0.75) 100%);
        pointer-events: none;
    }

    .auth-card-mode .auth-split-visual-content {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2.25rem 2.25rem 1.75rem;
        z-index: 5;
        color: #FFFFFF;
        box-sizing: border-box;
    }

    .auth-card-mode .auth-split-visual-title {
        font-size: 1.35rem;
        font-weight: 800;
        line-height: 1.4;
        margin-bottom: 0.5rem;
        color: #FFFFFF;
        letter-spacing: -0.015em;
    }

    .auth-card-mode .auth-split-visual-desc {
        font-size: 0.84rem;
        color: rgba(255, 255, 255, 0.82);
        line-height: 1.6;
        margin-bottom: 0;
        max-width: 380px;
    }

    .auth-card-mode .auth-split-security-seal {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.75);
    }

    /* Right Form Panel: Constrained flex column matching exact card height */
    .auth-card-mode .auth-split-form-panel {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        height: 100% !important;
        min-height: 0 !important;
        padding: 1.85rem 2.25rem 1.25rem;
        box-sizing: border-box;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: stretch;
        align-self: stretch;
    }

    .auth-card-mode .auth-split-form-container {
        width: 100%;
        max-width: 420px;
        height: 100%;
        min-height: 0;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    .auth-card-mode .auth-form-inner {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .auth-card-mode .auth-form-logo-item {
        flex-shrink: 0;
        margin-bottom: 0.75rem;
    }

    .auth-card-mode .auth-tabs-nav {
        flex-shrink: 0;
        margin-bottom: 0.75rem;
    }

    .auth-card-mode .auth-tab-pane {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .auth-card-mode .auth-stepper-container {
        flex-shrink: 0;
        padding: 0.25rem 0.25rem 0.75rem;
        margin-bottom: 0.5rem;
    }

    .auth-card-mode .auth-header-block {
        flex-shrink: 0;
        margin-bottom: 0.65rem;
    }

    .auth-card-mode .auth-header-block .auth-title {
        font-size: 1.35rem;
    }

    /* Form fields: The internally scrollable region */
    .auth-card-mode .auth-form-fields {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-gutter: stable;
        padding-inline-end: 4px;
        padding-bottom: 0.5rem;
        gap: 0.75rem;
    }

    .auth-card-mode .auth-form-fields::-webkit-scrollbar {
        width: 5px;
    }

    .auth-card-mode .auth-form-fields::-webkit-scrollbar-track {
        background: transparent;
    }

    .auth-card-mode .auth-form-fields::-webkit-scrollbar-thumb {
        background: rgba(206, 177, 143, 0.4);
        border-radius: 9999px;
    }

    .auth-card-mode .auth-form-fields::-webkit-scrollbar-thumb:hover {
        background: rgba(206, 177, 143, 0.7);
    }
}

/* ──────────────────────────────────────────────────────────────
   TABLET & MOBILE BREAKPOINTS (max-width: 991.98px)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .auth-page-shell {
        max-width: 480px;
        margin: auto 0;
    }

    .auth-split-screen-root.auth-card-mode {
        flex-direction: column;
        width: 100%;
        border-radius: 24px;
    }

    .auth-card-mode .auth-split-visual-panel {
        display: none !important;
    }

    .auth-card-mode .auth-split-form-panel {
        width: 100%;
        padding: 2.25rem 1.85rem;
    }
}

@media (max-width: 575.98px) {
    body:has(.auth-card-mode) #main-content,
    body.is-auth-page #main-content {
        padding: 1.25rem 0.85rem;
    }

    .auth-page-shell {
        max-width: 100%;
    }

    .auth-split-topbar {
        margin-bottom: 0.85rem;
    }

    .auth-split-back-btn,
    .auth-split-badge-link {
        font-size: 0.82rem;
        padding: 0.4rem 0.85rem;
        min-height: 38px;
    }

    .auth-split-screen-root.auth-card-mode {
        border-radius: 20px;
    }

    .auth-card-mode .auth-split-form-panel {
        padding: 1.85rem 1.35rem;
    }

    .auth-card-mode .auth-header-block .auth-title {
        font-size: 1.35rem;
    }

    .auth-card-mode .auth-header-block .auth-subtitle {
        font-size: 0.84rem;
    }
}

@media (max-width: 375px) {
    body:has(.auth-card-mode) #main-content,
    body.is-auth-page #main-content {
        padding: 1rem 0.65rem;
    }

    .auth-card-mode .auth-split-form-panel {
        padding: 1.5rem 1.1rem;
    }

    .auth-card-mode .auth-tabs-nav {
        margin-bottom: 1.15rem;
    }

    .auth-card-mode .auth-tab-pill {
        height: 40px;
        font-size: 0.88rem;
    }
}

.investia-auth-page {
    min-height: 100vh;
    background-color: #FFFFFF;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Top Navbar / Header */
.auth-top-navbar {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 1.5rem;
    animation: authSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-top-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.25rem;
}

.auth-top-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6B7280;
    text-decoration: none;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: all 0.2s ease;
}

.auth-top-nav-link:hover {
    color: #111827;
    background: #FFFFFF;
    border-color: rgba(206, 177, 143, 0.5);
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.auth-brand-logo {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s ease;
}

.auth-brand-logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.auth-brand-logo:hover {
    opacity: 0.85;
}

.auth-top-nav-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 9999px;
    padding: 0.4rem 0.85rem;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.auth-top-nav-badge:hover {
    border-color: #CEB18F;
    background: #FAF6F0;
    color: #8F6F42;
}

@media (max-width: 576px) {
    .investia-auth-page {
        padding: 0.85rem 0.65rem 1.75rem;
    }
    .auth-top-navbar {
        margin-bottom: 0.85rem;
    }
    .auth-brand-logo img {
        height: 32px;
    }
    .auth-top-nav-link {
        font-size: 0.78rem;
        padding: 0.3rem 0.6rem;
    }
    .auth-top-nav-badge {
        font-size: 0.78rem;
        padding: 0.3rem 0.55rem;
    }
    .auth-top-nav-badge span {
        display: none;
    }
    .auth-form-column {
        padding: 1.5rem 1rem !important;
    }
    .auth-title {
        font-size: 1.3rem;
    }
    .auth-main-card {
        border-radius: 18px;
    }
}

/* Main 2-Column Luxury Split Card - Full Screen Split Architecture (Matching 21st.dev/shadcn) */
.auth-main-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #FFFFFF;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 992px) {
    .auth-main-card {
        flex-direction: row;
        height: 100vh;
        max-height: 100vh;
    }
}

/* Right / Form Column (Primary in RTL) */
.auth-form-column {
    flex: 1 1 50%;
    width: 100%;
    min-width: 0;
    background: #FFFFFF;
    padding: 4.5rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow-y: auto;
}

@media (min-width: 992px) {
    .auth-form-column {
        width: 50%;
        height: 100vh;
        padding: 4.5rem 3.5rem 3rem;
    }
}

@media (min-width: 768px) {
    .auth-form-column {
        padding: 2.75rem 2.5rem;
    }
}

.auth-form-inner {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

/* Segmented Tabs Switcher */
.auth-tabs-nav {
    display: flex;
    background: #F3F4F6;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 1.5rem;
    position: relative;
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.auth-tab-indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    width: calc(50% - 4px);
    background: #FFFFFF;
    border-radius: 9px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    pointer-events: none;
}

/* RTL Indicator */
[dir="rtl"] .auth-tab-indicator,
html[dir="rtl"] .auth-tab-indicator,
.investia-auth-page:not([dir="ltr"]) .auth-tab-indicator {
    right: 4px;
    left: auto;
}

[dir="rtl"] .auth-tab-indicator.is-login,
html[dir="rtl"] .auth-tab-indicator.is-login,
.investia-auth-page:not([dir="ltr"]) .auth-tab-indicator.is-login {
    transform: translateX(0);
}

[dir="rtl"] .auth-tab-indicator.is-register,
html[dir="rtl"] .auth-tab-indicator.is-register,
.investia-auth-page:not([dir="ltr"]) .auth-tab-indicator.is-register {
    transform: translateX(-100%);
}

/* LTR Fallback */
[dir="ltr"] .auth-tab-indicator {
    left: 4px;
    right: auto;
}

[dir="ltr"] .auth-tab-indicator.is-login {
    transform: translateX(0);
}

[dir="ltr"] .auth-tab-indicator.is-register {
    transform: translateX(100%);
}

.auth-tab-pill {
    flex: 1;
    position: relative;
    z-index: 2;
    border: none;
    background: transparent;
    padding: 0.6rem 1rem;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #6B7280;
    transition: color 0.2s ease, font-weight 0.2s ease;
    cursor: pointer;
    text-align: center;
    user-select: none;
}

.auth-tab-pill:not(.active):hover {
    color: #111827;
}

.auth-tab-pill.active {
    color: #111827;
    font-weight: 700;
}

/* Tab Panels */
.auth-tab-pane {
    width: 100%;
}

.auth-panel-enter {
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-panel-enter-start {
    opacity: 0;
    transform: translateY(6px);
}

.auth-panel-enter-end {
    opacity: 1;
    transform: translateY(0);
}

/* Header Block */
.auth-header-block {
    margin-bottom: 1.35rem;
    text-align: right;
}

.auth-kicker-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(206, 177, 143, 0.12);
    color: #8F6F42;
    border: 1px solid rgba(206, 177, 143, 0.3);
    border-radius: 9999px;
    padding: 0.22rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.auth-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #CEB18F;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: #6B7280;
    line-height: 1.55;
    margin-bottom: 0;
}

.auth-phone-highlight {
    color: #111827;
    font-weight: 700;
}

/* Form Steps Tracker */
.auth-steps-tracker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #F3F4F6;
}

.auth-step-node {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #9CA3AF;
}

.auth-step-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    background: #F3F4F6;
    color: #6B7280;
    transition: all 0.2s ease;
}

.auth-step-node.is-active {
    color: #111827;
    font-weight: 700;
}

.auth-step-node.is-active .auth-step-circle {
    background: #111827;
    color: #CEB18F;
}

.auth-step-node.is-complete .auth-step-circle {
    background: #10B981;
    color: #FFFFFF;
}

.auth-step-line {
    flex: 1;
    max-width: 32px;
    height: 2px;
    background: #E5E7EB;
    border-radius: 2px;
}

.auth-step-line.is-active {
    background: #CEB18F;
}

/* Form Fields */
.auth-form-fields {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.auth-field-group {
    display: flex;
    flex-direction: column;
}

.auth-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
    display: block;
}

.auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.auth-input-container {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #FAFAFA;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    padding: 0.15rem 0.85rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.auth-input-container:focus-within {
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 0 0 3.5px rgba(206, 177, 143, 0.18);
}

.auth-input-container.has-error {
    border-color: #EF4444;
    background: #FEF2F2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.auth-input-container.is-verified-readonly {
    background: #F8FAFC;
    opacity: 0.95;
    border-color: #E2E8F0;
}

.auth-input-start-icon {
    color: #9CA3AF;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.auth-input-container:focus-within .auth-input-start-icon {
    color: #CEB18F;
}

.auth-input-prefix {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-left: 0.75rem;
    border-left: 1px solid #E5E7EB;
    margin-left: 0.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4B5563;
    flex-shrink: 0;
}

.saudi-flag-svg {
    border-radius: 2px;
    flex-shrink: 0;
}

.country-code {
    font-size: 0.84rem;
    font-family: inherit;
    font-weight: 700;
    color: #111827;
}

.auth-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.68rem 0.35rem;
    font-size: 0.9rem;
    color: #111827;
    outline: none;
    width: 100%;
    min-width: 0;
    font-family: inherit;
}

.auth-input[dir="ltr"] {
    text-align: left;
}

.auth-input::placeholder {
    color: #9CA3AF;
    font-size: 0.82rem;
}

.auth-input-otp {
    text-align: center !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.6rem !important;
    color: #111827 !important;
}

.auth-otp-hint {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    color: #6B7280;
    margin-top: 0.4rem;
}

.auth-otp-code-pill {
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
    color: #111827;
}

/* ──────────────────────────────────────────────────────────────
   LUXURY SEGMENTED 4-BOX OTP
   ────────────────────────────────────────────────────────────── */
.auth-otp-segmented-wrap {
    width: 100% !important;
}

.auth-otp-boxes {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    direction: ltr !important;
    width: 100% !important;
    margin: 1rem 0 1.25rem !important;
}

.auth-otp-digit-box {
    width: 58px !important;
    height: 62px !important;
    flex: 0 0 58px !important;
    max-width: 58px !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-radius: 12px !important;
    border: 2px solid #E5E7EB !important;
    background-color: #F9FAFB !important;
    color: #111827 !important;
    font-family: inherit !important;
    outline: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    line-height: 58px !important;
    box-sizing: border-box !important;
}

.auth-otp-digit-box:focus {
    border-color: #CEB18F !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(206, 177, 143, 0.28) !important;
    transform: translateY(-2px) !important;
}

.auth-otp-digit-box.is-filled {
    border-color: #091220 !important;
    background-color: #FFFFFF !important;
    color: #091220 !important;
}

@media (max-width: 480px) {
    .auth-otp-boxes {
        gap: 8px !important;
    }
    .auth-otp-digit-box {
        width: 48px !important;
        height: 56px !important;
        flex: 0 0 48px !important;
        max-width: 48px !important;
        font-size: 1.45rem !important;
        border-radius: 10px !important;
        line-height: 52px !important;
    }
}


.auth-select {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.65rem 0.25rem;
    font-size: 0.86rem;
    color: #111827;
    outline: none;
    width: 100%;
    font-family: inherit;
    cursor: pointer;
}

.auth-input-btn {
    border: none;
    background: transparent;
    color: #9CA3AF;
    padding: 0 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.auth-input-btn:hover {
    color: #111827;
}

.auth-input-end-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Custom Searchable Dropdown */
.auth-searchable-dropdown-wrap {
    position: relative;
    width: 100%;
}

.auth-dropdown-trigger {
    width: 100%;
    cursor: pointer;
    text-align: right;
    justify-content: space-between;
    padding: 0.58rem 0.85rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: #111827;
    background: #FAFAFA;
}

.auth-dropdown-trigger.is-open {
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.2);
}

.auth-dropdown-value {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.86rem;
    font-weight: 600;
    color: #111827;
}

.auth-searchable-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 1050;
    background: #FFFFFF;
    border: 1.5px solid rgba(229, 231, 235, 0.95);
    border-radius: 14px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.16), 0 4px 10px -2px rgba(0, 0, 0, 0.06);
    padding: 6px;
}

.auth-dropdown-enter {
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-dropdown-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 9px;
    padding: 0.4rem 0.65rem;
    margin-bottom: 6px;
}

.auth-dropdown-search-icon {
    color: #94A3B8;
    margin-inline-end: 0.45rem;
    flex-shrink: 0;
}

.auth-dropdown-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.82rem;
    color: #0F172A;
    width: 100%;
    font-family: inherit;
}

.auth-dropdown-search-input::placeholder {
    color: #94A3B8;
    font-size: 0.78rem;
}

.auth-dropdown-search-clear {
    border: none;
    background: transparent;
    color: #94A3B8;
    padding: 0;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.auth-dropdown-search-clear:hover {
    color: #64748B;
}

.auth-dropdown-list {
    max-height: 190px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: #CBD5E1 transparent;
}

.auth-dropdown-list::-webkit-scrollbar {
    width: 5px;
}

.auth-dropdown-list::-webkit-scrollbar-thumb {
    background-color: #CBD5E1;
    border-radius: 9999px;
}

.auth-dropdown-item {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.46rem 0.7rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #334155;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.auth-dropdown-item:hover {
    background: #F1F5F9;
    color: #0F172A;
}

.auth-dropdown-item.is-selected {
    background: #FAF6F0;
    color: #8F6F42;
    font-weight: 700;
}

.auth-dropdown-empty {
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-size: 0.78rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotate-180 {
    transform: rotate(180deg);
}

.transition-transform {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Checkbox & Links */
.auth-remember-row,
.auth-terms-row {
    padding-top: 0.15rem;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #4B5563;
    cursor: pointer;
    user-select: none;
}

.auth-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #CEB18F;
    border-radius: 4px;
    cursor: pointer;
}

.auth-link-subtle {
    font-size: 0.78rem;
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 600;
}

.auth-link-subtle:hover {
    color: #111827;
}

.auth-link {
    color: #8F6F42;
    text-decoration: none;
    font-weight: 700;
}

.auth-link:hover {
    text-decoration: underline;
    color: #111827;
}

/* Primary Action Button (INVESTIA Luxury CTA) */
.auth-btn-primary {
    width: 100%;
    background: #111827;
    color: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.45);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.45rem;
    padding: 0.78rem 1.5rem;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.12);
    min-height: 48px;
    box-sizing: border-box;
    position: relative;
}

.auth-btn-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    color: inherit;
    transition: opacity 0.2s ease;
}

.auth-btn-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    color: #FFFFFF;
    font-weight: 700;
}

.auth-btn-primary:hover:not(:disabled) {
    background: #0B0F19;
    border-color: #CEB18F;
    color: #CEB18F;
    transform: translateY(-1.5px);
    box-shadow: 0 10px 24px -4px rgba(17, 24, 39, 0.25), 0 0 15px rgba(206, 177, 143, 0.2);
}

.auth-btn-primary:disabled {
    opacity: 0.85;
    cursor: not-allowed;
}

.auth-spinner {
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(206, 177, 143, 0.35);
    border-top-color: #CEB18F;
    border-radius: 50%;
    animation: authSpin 0.7s linear infinite;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes authSpin {
    to { transform: rotate(360deg); }
}

/* Ensure Livewire loading state does not flash before initialization */
[wire\:loading]:not([wire\:loading\.remove]) {
    display: none;
}

.auth-step-perks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(206, 177, 143, 0.25);
}

.auth-perk-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #4B5563;
}

.auth-switch-prompt {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.auth-switch-btn {
    border: none;
    background: transparent;
    color: #8F6F42;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: all 0.2s;
}

.auth-switch-btn:hover {
    text-decoration: underline;
    color: #111827;
}

.auth-resend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.25rem;
    font-size: 0.8rem;
}

.auth-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 9999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
}

.auth-error-msg {
    font-size: 0.76rem;
    color: #EF4444;
    margin-top: 0.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

/* Left / Brand Column (INVESTIA Luxury Showcase 50% Full Bleed) */
.auth-brand-column {
    flex: 1 1 50%;
    width: 50%;
    min-width: 0;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
    background: linear-gradient(180deg, rgba(9, 18, 32, 0.3) 0%, rgba(9, 18, 32, 0.5) 45%, rgba(9, 18, 32, 0.94) 100%),
                var(--auth-brand-image, url('/images/auth/investia-card-holder.jpg')) center 15% / cover no-repeat;
    padding: 3.5rem 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100vh;
}

.brand-ambient-glow-1 {
    pointer-events: none;
    position: absolute;
    top: -5rem;
    left: -3rem;
    width: 18rem;
    height: 18rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(206, 177, 143, 0.18) 0%, transparent 70%);
    filter: blur(48px);
}

.brand-ambient-glow-2 {
    pointer-events: none;
    position: absolute;
    bottom: -5rem;
    right: -2rem;
    width: 20rem;
    height: 20rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    filter: blur(52px);
}

.brand-column-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.brand-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.brand-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 9999px;
    padding: 0.28rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.brand-badge-gold {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.28rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    background: #CEB18F;
    color: #111827;
}

.brand-headline {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.35;
    color: #FFFFFF;
    margin-bottom: 0.45rem;
}

.brand-subtext {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin-bottom: 1.15rem;
    max-width: 380px;
}

/* Expressive Visual Showcase */
.brand-expressive-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    margin: 1.5rem 0;
    min-height: 300px;
    position: relative;
    padding: 0.5rem;
}

.brand-expressive-img {
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.brand-expressive-img:hover {
    transform: translateY(-4px) scale(1.02);
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 20px rgba(197, 178, 136, 0.2));
}

/* Digital VIP Membership Card Showcase */
.auth-card-showcase {
    perspective: 1000px;
    margin: 0.75rem 0 1.25rem;
}

.auth-vip-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 50%, #1A2333 100%);
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 16px;
    padding: 1.2rem 1.35rem;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-vip-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(206, 177, 143, 0.15);
}

.vip-card-shine {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(115deg, rgba(255,255,255,0.06) 0%, rgba(206, 177, 143, 0.08) 45%, transparent 60%);
    pointer-events: none;
}

.vip-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.vip-card-logo {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: #CEB18F;
    display: block;
}

.vip-card-tier {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.08em;
    display: block;
    margin-top: 1px;
}

.vip-card-chip-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vip-chip-svg {
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.vip-card-mid {
    margin-bottom: 0.85rem;
}

.vip-card-number {
    font-family: monospace;
    font-size: 0.98rem;
    letter-spacing: 0.18em;
    color: #FFFFFF;
    font-weight: 600;
}

.vip-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.vip-card-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 1px;
}

.vip-card-holder {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.vip-card-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 9999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.64rem;
    color: #34D399;
    font-weight: 700;
}

.vip-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px #10B981;
    animation: authPulse 2s infinite;
}

@keyframes authPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Value Pillars */
.brand-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.15rem;
}

.brand-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: 12px;
    padding: 0.58rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.brand-feature-item:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(206, 177, 143, 0.3);
    transform: translateX(-3px);
}

.feature-icon-box {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-icon-box.gold-icon-box {
    background: rgba(206, 177, 143, 0.22);
    color: #CEB18F;
}

.feature-text-block {
    flex: 1;
}

.feature-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #FFFFFF;
    display: block;
    margin-bottom: 1px;
}

.feature-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin: 0;
}

.brand-footer-security {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animations */
@keyframes authSlideDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes authCardScale {
    from {
        opacity: 0;
        transform: scale(0.98) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* ──────────────────────────────────────────────────────────────
   18. CATEGORY COVERAGE CARDS WITH UNIFIED GOLD SQUIRCLE
       AND VECTOR ANIMATIONS ("كل اللي تغطيه عضويتك!")
   ────────────────────────────────────────────────────────────── */
.category-coverage-section {
    position: relative;
    width: 100%;
}

.category-header-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 1.25rem;
    flex-wrap: wrap;
    width: 100%;
}

.category-nav-controls {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.cat-circle-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(206, 177, 143, 0.35);
    background: #ffffff;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-circle-nav-btn:hover {
    background: #FAF6F0;
    color: #9F7D54;
    border-color: #CEB18F;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(206, 177, 143, 0.25);
}

.category-track-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    padding-top: 8px;
    padding-bottom: 20px;
    padding-inline: 4px;
}

.category-track-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.coverage-carousel-track {
    display: flex;
    gap: 20px;
    align-items: stretch;
    min-width: max-content;
}

/* Individual Coverage Category Card - Visual Photographic Style (Matching Reference) */
.coverage-photo-card {
    position: relative;
    flex: 0 0 215px;
    width: 215px;
    height: 315px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(10, 25, 52, 0.08);
    border: 1px solid rgba(206, 177, 143, 0.25);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    cursor: pointer;
    user-select: none;
    background: #0c1e3d;
}

.coverage-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(10, 25, 52, 0.2), 0 0 0 2px rgba(206, 177, 143, 0.5);
    border-color: rgba(206, 177, 143, 0.6);
    text-decoration: none;
}

/* Background Photo */
.coverage-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.coverage-photo-card:hover .coverage-card-bg {
    transform: scale(1.08);
}

/* Bottom Blue/Navy Gradient Overlay */
.coverage-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 30, 61, 0) 0%, rgba(12, 30, 61, 0.08) 25%, rgba(18, 52, 102, 0.68) 65%, rgba(10, 26, 56, 0.96) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.coverage-photo-card:hover .coverage-card-overlay {
    opacity: 0.92;
}

/* Content & Centered Arabic Title - Strictly Unified */
.coverage-card-content {
    position: relative;
    z-index: 2;
    padding: 1.25rem 0.75rem 1.4rem;
    text-align: center;
    width: 100%;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coverage-card-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9);
    text-align: center;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    transition: color 0.25s ease, transform 0.25s ease;
}

.coverage-photo-card:hover .coverage-card-title {
    color: #fdf2dd;
    transform: translateY(-1px);
}

/* Dragging State on Category Track */
.category-track-container {
    cursor: grab;
}

.category-track-container.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.category-track-container.is-dragging .coverage-photo-card {
    pointer-events: none;
}

@media (max-width: 639px) {
    .coverage-photo-card {
        flex: 0 0 160px;
        width: 160px;
        height: 240px;
        border-radius: 16px;
    }
    .coverage-card-content {
        padding: 0.75rem 0.5rem 1rem;
        min-height: 56px;
    }
    .coverage-card-title {
        font-size: 0.92rem;
    }
}

/* Keyframe Animations */
@keyframes lottieScales {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

@keyframes lottieTranslate {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.04); }
}

@keyframes lottieFinance {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes lottieRocket {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(-3deg); }
}

@keyframes lottieUsers {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes lottieGov {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
    50% { transform: scale(1.04); filter: drop-shadow(0 0 4px rgba(255,255,255,0.6)); }
}

@keyframes lottieChip {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(4deg); }
}

@keyframes lottieMegaphone {
    0%, 100% { transform: rotate(0deg) scale(1); }
    30% { transform: rotate(-6deg) scale(1.06); }
    60% { transform: rotate(3deg) scale(1.02); }
}

@keyframes lottieMedia {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.anim-scales { animation: lottieScales 3s ease-in-out infinite; transform-origin: center top; }
.anim-translate { animation: lottieTranslate 2.8s ease-in-out infinite; }
.anim-finance { animation: lottieFinance 2.5s ease-in-out infinite; }
.anim-rocket { animation: lottieRocket 2.2s ease-in-out infinite; }
.anim-users { animation: lottieUsers 2.6s ease-in-out infinite; }
.anim-gov { animation: lottieGov 3s ease-in-out infinite; }
.anim-chip { animation: lottieChip 3s ease-in-out infinite; }
.anim-megaphone { animation: lottieMegaphone 2.4s ease-in-out infinite; transform-origin: bottom left; }
.anim-media { animation: lottieMedia 2.5s ease-in-out infinite; }

@media (max-width: 768px) {
    .category-coverage-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .coverage-cat-card {
        flex: 0 0 142px;
        width: 142px;
        min-height: 172px;
        padding: 1.35rem 0.75rem 1.15rem;
    }
    .coverage-cat-squircle {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        margin-bottom: 0.9rem;
    }
    .coverage-cat-icon {
        width: 38px;
        height: 38px;
    }
    .coverage-cat-title {
        font-size: 0.85rem;
    }
}



/* ──────────────────────────────────────────────────────────────
   19. INNER PUBLIC PAGES LUXURY SUITE (INVESTIA LUXURY)
   ABOUT, OFFERS, CATEGORIES, PARTNERS, VERIFY-MEMBERSHIP
   ────────────────────────────────────────────────────────────── */

.inv-inner-page {
    background-color: #F7F8FA;
    background-image:
        radial-gradient(circle at 85% 10%, rgba(206, 177, 143, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 15% 90%, rgba(17, 24, 39, 0.03) 0%, transparent 50%);
    min-height: 80vh;
    padding-top: 2rem;
    padding-bottom: 5rem;
}

/* Page Header & Breadcrumbs */
.inv-page-header {
    margin-bottom: 2.5rem;
}

.inv-breadcrumbs-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #9CA3AF;
    margin-bottom: 1.25rem;
}

.inv-breadcrumb-item {
    color: #6D6E71;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.inv-breadcrumb-item:hover {
    color: #CEB18F;
}

.inv-breadcrumb-sep {
    color: #D1D5DB;
    display: inline-flex;
    align-items: center;
}

.inv-breadcrumb-current {
    color: #111827;
    font-weight: 600;
}

.inv-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.35);
    color: #8C6E3D;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.inv-page-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #CEB18F;
    box-shadow: 0 0 6px rgba(206, 177, 143, 0.8);
}

.inv-page-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}

.inv-page-subtitle {
    font-size: 1.05rem;
    color: #6D6E71;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 0;
}

/* Unified Search & Filter Suite — Luxury Suite */
.inv-filter-suite {
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.3);
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 20px rgba(17, 24, 39, 0.04);
    margin-bottom: 2rem;
}

.inv-filter-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.inv-filter-input-wrap .filter-icon {
    position: absolute;
    right: 1rem;
    color: #9CA3AF;
    pointer-events: none;
    z-index: 2;
}

.inv-filter-clear-btn {
    position: absolute;
    left: 0.75rem;
    color: #9CA3AF;
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.15s ease;
    z-index: 2;
}

.inv-filter-clear-btn:hover {
    color: #DC2626;
}

.inv-filter-input {
    width: 100%;
    padding: 0.75rem 2.85rem 0.75rem 2.25rem;
    border-radius: 12px;
    border: 1.5px solid #E5E7EB;
    background: #F9FAFB;
    font-size: 0.92rem;
    color: #111827;
    font-family: inherit;
    transition: all 0.2s ease;
}

.inv-filter-input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.2);
}

.inv-filter-select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.25rem;
    border-radius: 12px;
    border: 1.5px solid #E5E7EB;
    background: #F9FAFB;
    font-size: 0.9rem;
    color: #374151;
    font-family: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
}

.inv-filter-select:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.2);
}

.inv-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;
    background: #091220;
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid rgba(206, 177, 143, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(9, 18, 32, 0.15);
}

.inv-filter-btn:hover {
    background: #151D2A;
    border-color: #CEB18F;
    color: #CEB18F !important;
    transform: translateY(-1px);
}

/* Mobile Search & Discovery */
.inv-mobile-search-form {
    display: block;
    width: 100%;
    margin-bottom: 0.65rem;
}

.inv-mobile-trigger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 1rem;
    border-radius: 12px;
    background: #FAF6F0;
    border: 1.5px solid rgba(206, 177, 143, 0.55);
    color: #111827;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: all 0.2s ease;
}

.inv-mobile-trigger-btn:hover {
    background: #F5ECE0;
    border-color: #CEB18F;
}

.inv-filter-badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 9999px;
    background: #091220;
    color: #CEB18F;
    font-size: 0.72rem;
    font-weight: 800;
}

/* Mobile Filter Drawer / Bottom Sheet */
.inv-filter-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.inv-filter-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(9, 18, 32, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.inv-filter-drawer-panel {
    position: relative;
    z-index: 1051;
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
    padding: 1.5rem 1.25rem 2rem;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    border-top: 2px solid rgba(206, 177, 143, 0.45);
}

.inv-filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 1.25rem;
}

.inv-filter-drawer-close {
    background: none;
    border: none;
    padding: 0.25rem;
    color: #6B7280;
    cursor: pointer;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inv-filter-drawer-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Quick Sort Selector in Results Bar */
.inv-sort-select {
    padding: 0.45rem 1.85rem 0.45rem 0.85rem;
    border-radius: 10px;
    border: 1px solid #D1D5DB;
    background: #FFFFFF;
    font-size: 0.86rem;
    font-weight: 600;
    color: #1F2937;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inv-sort-select:focus {
    border-color: #CEB18F;
    outline: none;
    box-shadow: 0 0 0 2px rgba(206, 177, 143, 0.2);
}

/* Active Chips */
.inv-active-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(206, 177, 143, 0.25);
}

.inv-chip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.45);
    font-size: 0.8rem;
    color: #4A3A1E;
    font-weight: 600;
}

.inv-chip-remove {
    color: #8C6E3D;
    cursor: pointer;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1;
    transition: color 0.15s ease;
}

.inv-chip-remove:hover {
    color: #DC2626;
}


/* ──────────────────────────────────────────────────────────────
   ABOUT PAGE STYLES
   ────────────────────────────────────────────────────────────── */
.about-hero-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px -10px rgba(17, 24, 39, 0.05);
    margin-bottom: 2.5rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2.25rem 1.5rem;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.3);
    border-radius: 20px;
    margin: 2.5rem 0;
    text-align: center;
}

.about-stat-item {
    position: relative;
}

.about-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(206, 177, 143, 0.35);
}

.about-stat-number {
    font-size: 2.35rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 0.35rem;
    font-family: inherit;
}

.about-stat-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #8C6E3D;
}

.about-vision-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.about-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 2rem;
    left: 2rem;
    height: 3px;
    background: linear-gradient(90deg, #CEB18F, transparent);
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-vision-card:hover {
    transform: translateY(-4px);
    border-color: rgba(206, 177, 143, 0.4);
    box-shadow: 0 16px 32px -8px rgba(17, 24, 39, 0.07);
}

.about-vision-card:hover::before {
    opacity: 1;
}

.about-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9F7D54;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.about-vision-card:hover .about-icon-box {
    transform: scale(1.08);
}

.about-pillar-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: all 0.25s ease;
}

.about-pillar-card:hover {
    border-color: rgba(206, 177, 143, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(17, 24, 39, 0.05);
}

.about-pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #F3F4F6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    margin-bottom: 1rem;
}

.about-cta-banner {
    background: #111827;
    border: 1px solid rgba(206, 177, 143, 0.3);
    border-radius: 24px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 3.5rem;
}

.about-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(206, 177, 143, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* ──────────────────────────────────────────────────────────────
   OFFERS CATALOG CARDS
   ────────────────────────────────────────────────────────────── */
.inv-catalog-offer-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.inv-catalog-offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #CEB18F, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inv-catalog-offer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(206, 177, 143, 0.45);
    box-shadow: 0 16px 36px -8px rgba(17, 24, 39, 0.08);
}

.inv-catalog-offer-card:hover::before {
    opacity: 1;
}

.offer-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #FAF6F0 0%, #F5ECE0 100%);
    border: 1px solid rgba(206, 177, 143, 0.5);
    color: #8C6E3D;
    font-weight: 800;
    font-size: 0.84rem;
}

.offer-expiry-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #9CA3AF;
}

.offer-partner-strip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.75rem;
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    border-radius: 12px;
    margin: 1rem 0;
}

.offer-partner-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6D6E71;
    font-size: 0.85rem;
}

.offer-partner-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.offer-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    background: #111827;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid rgba(206, 177, 143, 0.25);
    transition: all 0.2s ease;
}

.offer-action-btn:hover {
    background: #1F2937;
    color: #CEB18F;
    border-color: #CEB18F;
}

/* ──────────────────────────────────────────────────────────────
   CATEGORIES CATALOG CARDS
   ────────────────────────────────────────────────────────────── */
.inv-catalog-cat-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 22px;
    padding: 2rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.inv-catalog-cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #CEB18F, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inv-catalog-cat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(206, 177, 143, 0.45);
    box-shadow: 0 16px 36px -8px rgba(17, 24, 39, 0.08);
}

.inv-catalog-cat-card:hover::before {
    opacity: 1;
}

.cat-squircle-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9F7D54;
    margin-bottom: 1.35rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.inv-catalog-cat-card:hover .cat-squircle-icon {
    transform: scale(1.08) rotate(-2deg);
    background: rgba(206, 177, 143, 0.2);
}

.cat-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.35rem;
    transition: color 0.2s ease;
}

.inv-catalog-cat-card:hover .cat-card-title {
    color: #9F7D54;
}

.cat-card-subtitle {
    font-size: 0.82rem;
    color: #9CA3AF;
    margin-bottom: 1.25rem;
}

.cat-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #F3F4F6;
    font-size: 0.82rem;
    color: #6D6E71;
}

.cat-arrow-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F9FAFB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6D6E71;
    transition: all 0.25s ease;
}

.inv-catalog-cat-card:hover .cat-arrow-icon {
    background: #111827;
    color: #CEB18F;
    transform: translateX(-4px);
}

/* ──────────────────────────────────────────────────────────────
   PARTNERS CATALOG CARDS
   ────────────────────────────────────────────────────────────── */
.inv-catalog-partner-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 22px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.inv-catalog-partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #CEB18F, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inv-catalog-partner-card:hover {
    transform: translateY(-5px);
    border-color: rgba(206, 177, 143, 0.45);
    box-shadow: 0 16px 36px -8px rgba(17, 24, 39, 0.08);
}

.inv-catalog-partner-card:hover::before {
    opacity: 1;
}

.partner-logo-frame {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    background: #FAFAFA;
    border: 1px solid #E5E7EB;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.partner-logo-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.4);
    color: #8C6E3D;
    font-size: 0.72rem;
    font-weight: 700;
}

.partner-city-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: #9CA3AF;
}

.partner-verified-svg {
    color: #CEB18F;
    display: inline-flex;
    align-items: center;
}

.partner-category-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    background: #F3F4F6;
    color: #4B5563;
    font-size: 0.78rem;
    font-weight: 600;
}

.partner-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: transparent;
    border: 1.5px solid #E5E7EB;
    color: #111827;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.partner-profile-btn:hover {
    background: #111827;
    border-color: #111827;
    color: #CEB18F;
}

/* ──────────────────────────────────────────────────────────────
   OFFICIAL VERIFICATION PORTAL (INVESTIA LUXURY FINTECH STANDARD)
   ────────────────────────────────────────────────────────────── */
.verify-page-wrapper {
    padding: 3.5rem 0 5rem;
    min-height: calc(100vh - 280px);
    background: radial-gradient(circle at 50% 0%, rgba(223, 202, 175, 0.16) 0%, transparent 60%);
}

.verify-layout-container {
    max-width: 660px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

/* Header */
.verify-portal-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.verify-portal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.95rem;
    background: rgba(206, 177, 143, 0.18);
    border: 1px solid rgba(206, 177, 143, 0.45);
    border-radius: 9999px;
    color: #8C6E3D;
    font-size: 0.8rem;
    font-weight: 700;
}

.verify-portal-title {
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    font-weight: 800;
    color: #1A1612;
    letter-spacing: -0.02em;
}

.verify-portal-subtitle {
    font-size: 0.92rem;
    color: #606164;
    line-height: 1.6;
    max-width: 520px;
    margin-inline: auto;
}

/* Search Card */
.verify-card-container {
    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.4);
    border-radius: 20px;
    padding: 1.85rem 2rem;
    box-shadow: 0 10px 30px -5px rgba(26, 22, 18, 0.05), 0 2px 8px rgba(206, 177, 143, 0.12);
}

.verify-input-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1A1612;
    margin-bottom: 0.75rem;
}

.verify-input-label svg {
    color: #8C6E3D;
}

.verify-input-action-row {
    display: flex;
    gap: 0.6rem;
    align-items: stretch;
}

.verify-input-wrapper {
    flex: 1;
}

.verify-input {
    width: 100%;
    height: 48px;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #1A1612;
    background: #FAF6F0;
    border: 1.5px solid rgba(206, 177, 143, 0.4);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.verify-input:focus {
    outline: none;
    border-color: #8C6E3D;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.25);
}

.verify-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 48px;
    padding: 0 1.75rem;
    background: linear-gradient(135deg, #DFCAAE 0%, #CEB18F 50%, #B89B79 100%);
    border: 1px solid #C4A47E;
    border-radius: 12px;
    color: #1A1612;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.25);
    transition: all 0.2s ease;
}

.verify-action-btn:hover {
    background: linear-gradient(135deg, #E6D4BD 0%, #D8BE9F 50%, #C3A684 100%);
    box-shadow: 0 6px 18px rgba(206, 177, 143, 0.35);
    transform: translateY(-1px);
}

.verify-input-hint {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: #7D7E80;
}

.verify-input-hint code {
    font-size: 0.8rem;
    color: #8C6E3D;
    background: rgba(206, 177, 143, 0.15);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

/* Certificate Result Card */
.verify-certificate-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1.5px solid rgba(206, 177, 143, 0.4);
    box-shadow: 0 12px 36px -8px rgba(26, 22, 18, 0.08);
    overflow: hidden;
    position: relative;
}

.verify-certificate-card.is-valid {
    border-color: #34D399;
}

.verify-certificate-card.is-invalid {
    border-color: #F87171;
}

.verify-cert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding: 1.35rem 1.75rem;
    background: linear-gradient(180deg, #FAF6F0 0%, #FFFFFF 100%);
    border-bottom: 1px solid rgba(206, 177, 143, 0.25);
}

.verify-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 800;
}

.verify-status-badge.badge-active {
    background: #ECFDF5;
    border: 1.5px solid #10B981;
    color: #065F46;
}

.verify-status-badge.badge-expired {
    background: #FEF2F2;
    border: 1.5px solid #EF4444;
    color: #991B1B;
}

.verify-status-badge.badge-suspended {
    background: #FFFBEB;
    border: 1.5px solid #F59E0B;
    color: #92400E;
}

.verify-tier-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, #FAF6F0 0%, #F3E7D5 100%);
    border: 1px solid #CEB18F;
    border-radius: 8px;
    color: #8C6E3D;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.verify-cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem 1.75rem;
}

.verify-cert-field {
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.25);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cert-field-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #7D7E80;
}

.cert-field-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1A1612;
}

.verify-cert-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.95rem 1.75rem;
    background: #FDFBF8;
    border-top: 1px solid rgba(206, 177, 143, 0.2);
    font-size: 0.78rem;
    color: #7D7E80;
}

.verify-cert-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #8C6E3D;
    font-weight: 600;
}

.verify-cert-timestamp {
    font-variant-numeric: tabular-nums;
    color: #9CA3AF;
}

.verify-reset-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #8C6E3D;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.verify-reset-link:hover {
    color: #1A1612;
    background: rgba(206, 177, 143, 0.15);
}

/* Not Found Container */
.verify-not-found-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(239, 68, 68, 0.35);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px -5px rgba(26, 22, 18, 0.05);
}

.verify-not-found-icon-wrap {
    width: 58px;
    height: 58px;
    margin: 0 auto 1.25rem;
    background: #FEF2F2;
    border: 1.5px solid #FCA5A5;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #DC2626;
}

.verify-not-found-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1A1612;
    margin-bottom: 0.5rem;
}

.verify-not-found-desc {
    font-size: 0.88rem;
    color: #606164;
    line-height: 1.6;
    max-width: 460px;
    margin: 0 auto 1.5rem;
}

/* Default Guarantee Strip */
.verify-guarantee-strip {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.15rem 1.35rem;
    background: rgba(250, 246, 240, 0.7);
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 14px;
}

.verify-guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #606164;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .verify-page-wrapper {
        padding: 2rem 0 3.5rem;
    }
    .verify-card-container {
        padding: 1.35rem 1.15rem;
        border-radius: 16px;
    }
    .verify-input-action-row {
        flex-direction: column;
    }
    .verify-action-btn {
        width: 100%;
    }
    .verify-cert-grid {
        grid-template-columns: 1fr;
        padding: 1.15rem;
    }
    .verify-cert-header,
    .verify-cert-footer {
        padding: 1rem 1.15rem;
    }
    .verify-cert-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}

/* Empty States */
.inv-empty-state {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.inv-empty-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9F7D54;
    margin-bottom: 1.25rem;
}

/* Pagination Overrides */
.inv-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.inv-pagination-wrap .pagination {
    gap: 0.35rem;
}

.inv-pagination-wrap .page-item .page-link {
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 0.95rem;
    transition: all 0.2s ease;
}

.inv-pagination-wrap .page-item.active .page-link {
    background: #111827;
    border-color: #CEB18F;
    color: #CEB18F;
}

.inv-pagination-wrap .page-item .page-link:hover:not(.active) {
    background: #F3F4F6;
    border-color: #D1D5DB;
    color: #111827;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    .about-stat-item:nth-child(2)::after {
        display: none;
    }
    .verify-meta-grid {
        grid-template-columns: 1fr;
    }
    .verify-trust-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .inv-page-title {
        font-size: 1.75rem;
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    .about-stat-item::after {
        display: none !important;
    }
    .about-hero-card {
        padding: 1.75rem 1.25rem;
    }
    .verify-input-group {
        flex-direction: column;
    }
    .verify-submit-btn {
        width: 100%;
    }
    .verify-search-card,
    .verify-result-card {
        padding: 1.5rem 1.25rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   SECTION 19: INNER PUBLIC PAGES — LUXURY SUITE
   Premium upgrades for About / Offers / Categories / Partners
   / Verify-Membership. Built on approved INVESTIA design tokens.
   ══════════════════════════════════════════════════════════════ */

/* ── Shared: Results Summary Bar ── */
.inv-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 0.9rem 1.25rem;
    background: linear-gradient(135deg, #FAF6F0 0%, #FFFFFF 60%);
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 14px;
}

.inv-results-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.inv-results-num {
    min-width: 40px;
    height: 40px;
    padding: 0 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #111827;
    border: 1px solid rgba(206, 177, 143, 0.5);
    color: #CEB18F;
    font-weight: 800;
}

.inv-results-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8C6E3D;
}

/* ── Shared: Active Filter Chips (gold refinement) ── */
.inv-active-chips .inv-chip-item {
    background: #FAF6F0;
    border-color: rgba(206, 177, 143, 0.45);
    color: #6B5325;
}

.inv-active-chips .inv-chip-remove {
    color: #9F7D54;
}

.inv-active-chips .inv-chip-remove:hover {
    color: #CA8A04;
}

/* ── Shared: Empty-State Suggestion Chips ── */
.inv-suggestion-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.inv-suggestion-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #6D6E71;
}

.inv-suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.inv-suggestion-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.5);
    color: #8C6E3D;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.inv-suggestion-chip:hover {
    background: #111827;
    border-color: #111827;
    color: #CEB18F;
}

/* ── Offers: Metallic Champagne Discount Badge ── */
.offer-discount-badge--champagne {
    background: linear-gradient(135deg, #E9D8BC 0%, #CEB18F 45%, #B8935F 100%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #3B2C14;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 6px rgba(139, 100, 40, 0.28);
    letter-spacing: 0.2px;
}

.offer-expiry-badge {
    white-space: nowrap;
}

.offer-expiry-badge svg {
    color: #9CA3AF;
}

/* ── Offers: Partner Monogram Strip ── */
.offer-partner-monogram {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #E9D8BC 0%, #B8935F 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.offer-partner-strip {
    background: #FBF9F5;
    border-color: rgba(206, 177, 143, 0.25);
}

.offer-partner-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-partner-name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Categories: Count Pills ── */
.cat-count-pills {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.cat-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    color: #4B5563;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.cat-count-pill--partner {
    background: #FAF6F0;
    border-color: rgba(206, 177, 143, 0.4);
    color: #8C6E3D;
}

.inv-catalog-cat-card:hover .cat-count-pill {
    border-color: rgba(206, 177, 143, 0.55);
}

/* ── Partners: Logo Monogram Fallback ── */
.partner-logo-frame {
    background: linear-gradient(135deg, #FFFFFF 0%, #F7F4EE 100%);
    border: 1px solid rgba(206, 177, 143, 0.35);
}

.partner-logo-monogram {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    border-radius: 12px;
    color: #CEB18F;
    font-size: 1.45rem;
    font-weight: 800;
}

.partner-featured-badge {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    border-color: rgba(206, 177, 143, 0.55);
    color: #CEB18F;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.2);
}

.partner-city-chip {
    color: #9F7D54;
}

.partner-category-chip {
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.35);
    color: #8C6E3D;
}

.partner-profile-btn {
    border-color: rgba(206, 177, 143, 0.6);
    color: #8C6E3D;
    background: transparent;
}

.partner-profile-btn:hover {
    background: #111827;
    border-color: #111827;
    color: #CEB18F;
}

/* ── Verify Portal: Gold Badge + QR Scan Badge ── */
.badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #E9D8BC 0%, #CEB18F 45%, #B8935F 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #3B2C14;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(139, 100, 40, 0.3);
    white-space: nowrap;
}

.verify-qr-badge {
    position: absolute;
    top: -18px;
    left: 1.75rem;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #111827;
    border: 1.5px solid rgba(206, 177, 143, 0.6);
    color: #CEB18F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.35);
}

.verify-qr-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CEB18F;
    transform: translate(50%, -50%);
}

.verify-qr-pulse::after {
    content: '';
    position: absolute;
    top: -7px;
    left: -7px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(206, 177, 143, 0.55);
    animation: inv-qr-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes inv-qr-ping {
    0% { transform: scale(0.6); opacity: 1; }
    80%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ── Section 19 Verification styles consolidated in Verification Portal section ── */

/* ── Accessibility: Visible Focus Rings ── */
.inv-catalog-offer-card:focus-within .offer-action-btn,
.inv-catalog-offer-card a:focus-visible {
    outline: 2px solid #CEB18F;
    outline-offset: 2px;
}

.inv-catalog-cat-card:focus-visible,
.inv-suggestion-chip:focus-visible,
.inv-filter-input:focus-visible,
.inv-filter-select:focus-visible,
.inv-filter-btn:focus-visible,
.verify-main-input:focus-visible,
.verify-submit-btn:focus-visible,
.partner-profile-btn:focus-visible,
.offer-action-btn:focus-visible,
.btn-investia-primary:focus-visible,
.btn-investia-outline:focus-visible {
    outline: 3px solid rgba(206, 177, 143, 0.55);
    outline-offset: 2px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    .verify-card-shine,
    .verify-live-dot,
    .verify-qr-pulse::after {
        animation: none;
    }
    .inv-catalog-offer-card:hover,
    .inv-catalog-cat-card:hover,
    .inv-catalog-partner-card:hover {
        transform: none;
    }
}

/* ── Section 19 Responsive ── */
@media (max-width: 767px) {
    .inv-results-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .cat-count-pills {
        gap: 0.3rem;
    }
}


/* =================================================================
   SECTION 20 — PARTNER JOIN WIZARD (PJW)
   Premium Arabic RTL institutional partner onboarding
   ================================================================= */

.pjw-page {
    direction: rtl;
    background: #FDFBF8;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(206, 177, 143, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 90%, rgba(206, 177, 143, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #FDFBF8 0%, #FAF6F0 100%);
    min-height: 100vh;
}

/* ---- LUXURY HERO & BREADCRUMB ---- */
.pjw-hero {
    background: #FFFFFF;
    padding: 32px 0 36px;
    position: relative;
    border-bottom: 1px solid #E5E7EB;
}

.pjw-hero::before {
    display: none;
}

.pjw-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: .82rem;
    position: relative;
    z-index: 2;
}

.pjw-bc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6B7280;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pjw-bc-link:hover {
    color: #091220;
}

.pjw-bc-sep {
    color: #D1D5DB;
    font-size: 11px;
}

.pjw-bc-current {
    color: #091220;
    font-weight: 700;
}

.pjw-hero-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.pjw-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #926C3E;
    background: rgba(206,177,143,.18);
    border: 1px solid rgba(206,177,143,.4);
    border-radius: 20px;
    padding: 4px 16px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.pjw-kicker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #CEB18F;
    box-shadow: 0 0 8px rgba(206, 177, 143, 0.8);
}

.pjw-hero-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 900;
    color: #091220;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.pjw-hero-subtitle {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* ---- STEPPER IN HERO (shadcn stepper-03 inspired) ---- */
.pjw-stepper-wrap {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 16px;
}

.pjw-stepper-box {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(206, 177, 143, 0.35);
    border-radius: 20px;
    padding: 24px 28px 20px;
    box-shadow: 0 4px 20px -4px rgba(26, 22, 18, 0.05), 0 1px 3px rgba(206, 177, 143, 0.08);
}

.pjw-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.pjw-stepper-track {
    position: absolute;
    inset-inline-start: 12.5%;
    inset-inline-end: 12.5%;
    top: 22px;
    height: 3px;
    background: #E2E8F0;
    border-radius: 3px;
    z-index: 1;
}

.pjw-stepper-fill {
    height: 100%;
    background: linear-gradient(90deg, #CEB18F 0%, #1A1612 100%);
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pjw-stepper-dot-indicator {
    position: absolute;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #CEB18F;
    transform: translate(50%, -50%);
    transition: inset-inline-start 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.3);
}

.pjw-step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 1;
}

.pjw-step-bubble {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #E2E8F0;
    background: #FFFFFF;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.pjw-step-bubble:hover:not(:disabled) {
    border-color: #CEB18F;
    color: #091220;
}

.pjw-step-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(206, 177, 143, 0.4);
    animation: pjwPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pjwPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }
}

.pjw-step-item.is-active .pjw-step-bubble {
    border-color: #CEB18F;
    background: linear-gradient(135deg, #1A1612 0%, #2A231C 100%);
    color: #DFCAAF;
    box-shadow: 0 4px 14px rgba(26, 22, 18, 0.22), 0 0 12px rgba(206, 177, 143, 0.3);
}

.pjw-step-item.is-done .pjw-step-bubble {
    border-color: #10B981;
    background: #ECFDF5;
    color: #10B981;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
}

.pjw-step-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.pjw-step-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: #64748B;
    transition: color 0.2s ease;
    white-space: normal;
    max-width: 80px;
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
}

.pjw-step-item.is-active .pjw-step-name {
    color: #091220;
    font-weight: 800;
}

.pjw-step-item.is-done .pjw-step-name {
    color: #111827;
    font-weight: 700;
}

.pjw-step-sub {
    font-size: 0.72rem;
    color: #94A3B8;
}

@media (max-width: 767px) {
    .pjw-stepper-box {
        padding: 16px 12px 14px;
        border-radius: 14px;
    }
    .pjw-step-sub {
        display: none;
    }
    .pjw-step-name {
        font-size: 0.68rem;
        white-space: normal;
        max-width: 56px;
        line-height: 1.25;
        word-break: break-word;
    }
    .pjw-step-bubble {
        width: 36px;
        height: 36px;
    }
    .pjw-step-icon-inner svg {
        width: 15px;
        height: 15px;
    }
    .pjw-stepper-track {
        top: 18px;
    }
}

@media (max-width: 480px) {
    .pjw-step-name {
        display: none;
    }
    .pjw-step-bubble {
        width: 34px;
        height: 34px;
    }
    .pjw-step-icon-inner svg {
        width: 14px;
        height: 14px;
    }
    .pjw-stepper-box {
        padding: 14px 10px 12px;
    }
    .pjw-stepper-track {
        top: 17px;
    }
}

/* ---- WORKSPACE LAYOUT (Centered Single Column) ---- */
.pjw-workspace {
    padding-top: 36px;
    padding-bottom: 72px;
}

.pjw-layout {
    display: block;
    max-width: 860px;
    margin: 0 auto;
}

.pjw-main-col {
    width: 100%;
}

.pjw-aside-col {
    display: none !important;
}

/* ---- MAIN CARD ---- */
.pjw-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1.5px solid rgba(206, 177, 143, 0.35);
    box-shadow: 
        0 20px 50px -10px rgba(26, 22, 18, 0.08),
        0 2px 10px rgba(206, 177, 143, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    padding: 40px 44px;
    position: relative;
    scroll-margin-top: 130px;
}

.pjw-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 32px;
    left: 32px;
    height: 3.5px;
    background: linear-gradient(90deg, transparent, #DFCAAF 25%, #CEB18F 50%, #DFCAAF 75%, transparent);
    border-radius: 4px;
}

@media (max-width: 640px) {
    .pjw-card {
        padding: 24px 20px;
    }
}

/* ---- PARTNER PHONE OTP BOXES & VERIFY ---- */
.pjw-otp-box:focus {
    border-color: #091220 !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(9, 18, 32, 0.1) !important;
}

.pjw-btn-verify-send:hover:not(:disabled) {
    background: #111827 !important;
    border-color: #CEB18F !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(9, 18, 32, 0.15);
}

/* ---- STEP HEADING ---- */
.pjw-step-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #F3F4F6;
    scroll-margin-top: 130px;
}

.pjw-step-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 14px;
    background: rgba(206, 177, 143, 0.1);
    border: 1px solid rgba(206, 177, 143, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8C6E3D;
}

.pjw-step-phase {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #CEB18F;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pjw-step-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
}

.pjw-step-desc {
    font-size: 0.88rem;
    color: #6D6E71;
    margin: 0;
    line-height: 1.6;
}

/* ---- FIELDS & INPUTS ---- */
.pjw-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 640px) {
    .pjw-fields-grid {
        grid-template-columns: 1fr;
    }
}

.pjw-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    scroll-margin-top: 130px;
}

.pjw-field-full {
    grid-column: 1 / -1;
}

.pjw-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: #374151;
    margin: 0;
}

.pjw-required {
    color: #DC2626;
    margin-inline-start: 2px;
}

.pjw-optional {
    font-size: 0.76rem;
    color: #9CA3AF;
    font-weight: 500;
}

.pjw-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.pjw-input {
    width: 100%;
    padding: 0.82rem 1.15rem;
    border-radius: 12px;
    border: 1.5px solid #E2E8F0;
    background: #FFFFFF;
    font-size: 0.92rem;
    color: #1A1612;
    font-family: inherit;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    scroll-margin-top: 130px;
}

.pjw-input-wrap .pjw-input {
    padding-left: 44px !important;
    padding-right: 16px !important;
}

.pjw-input-wrap:focus-within .pjw-input-icon {
    color: #CEB18F;
}

.pjw-input-wrap .pjw-input.is-invalid ~ .pjw-input-icon {
    color: #EF4444;
}

.pjw-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: color 0.2s ease;
}

.pjw-input:focus {
    outline: none;
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 0 0 3.5px rgba(206, 177, 143, 0.22);
}

.pjw-input.is-invalid {
    border-color: #EF4444;
    background: #FEF2F2;
}

.pjw-input-readonly {
    background: #F3F4F6;
    color: #6B7280;
    cursor: not-allowed;
}

.pjw-select {
    cursor: pointer;
}

.pjw-textarea {
    resize: vertical;
    min-height: 90px;
}

/* ---- APPLICANT ROLE (Radio Pills) ---- */
.pjw-role-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 640px) {
    .pjw-role-group {
        grid-template-columns: 1fr;
    }
}

.pjw-role-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: 14px;
    background: #F9FAFB;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pjw-role-pill:hover {
    border-color: #CEB18F;
    background: #FFFFFF;
}

.pjw-role-pill:focus-within {
    border-color: #CEB18F;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, .22);
}

.pjw-role-pill.is-active {
    border-color: #CEB18F;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, .18);
}

.pjw-role-pill.is-active .pjw-role-icon {
    color: #8C6E3D;
    background: rgba(206, 177, 143, .18);
}

.pjw-role-pill.is-active .pjw-role-title {
    color: #8C6E3D;
}

.pjw-role-pill.is-active .pjw-role-check {
    opacity: 1;
    transform: scale(1);
}

.pjw-role-group.is-invalid .pjw-role-pill {
    border-color: #EF4444;
    background: #FEF2F2;
}

.pjw-role-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pjw-role-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #F3F4F6;
    color: #6B7280;
    transition: color .2s ease, background .2s ease;
}

.pjw-role-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pjw-role-title {
    font-size: .9rem;
    font-weight: 700;
    color: #111827;
    transition: color .2s ease;
}

.pjw-role-desc {
    font-size: .74rem;
    font-weight: 500;
    color: #9CA3AF;
    line-height: 1.5;
}

.pjw-role-check {
    flex-shrink: 0;
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #8C6E3D;
    color: #FFFFFF;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .2s ease, transform .2s ease;
}

.pjw-role-hint {
    margin: 0;
    font-size: .74rem;
    font-weight: 500;
    color: #9CA3AF;
    line-height: 1.6;
}

/* ---- SEARCHABLE CITY SELECT ---- */
.pjw-city-field {
    position: relative;
}

.pjw-city-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    line-height: 1.5;
    text-align: start;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.pjw-city-btn.is-open {
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, .22);
}

.pjw-city-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.pjw-city-value.is-placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.pjw-city-caret {
    flex-shrink: 0;
    color: #9CA3AF;
    transition: transform .2s ease, color .2s ease;
}

.pjw-city-btn:hover .pjw-city-caret,
.pjw-city-btn.is-open .pjw-city-caret {
    color: #8C6E3D;
}

.pjw-city-btn.is-open .pjw-city-caret {
    transform: rotate(180deg);
}

.pjw-city-menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline: 0;
    z-index: 1050;
    padding: 6px;
    background: #FFFFFF;
    border: 1.5px solid rgba(229, 231, 235, .95);
    border-radius: 14px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, .16), 0 4px 10px -2px rgba(0, 0, 0, .06);
}

.pjw-dd-enter {
    transition: opacity .18s cubic-bezier(.16, 1, .3, 1), transform .18s cubic-bezier(.16, 1, .3, 1);
}

.pjw-dd-enter-start {
    opacity: 0;
    transform: translateY(-4px);
}

.pjw-dd-enter-end {
    opacity: 1;
    transform: translateY(0);
}

.pjw-city-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    padding: 0.5rem 0.7rem;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
}

.pjw-city-search-wrap:focus-within {
    border-color: #CEB18F;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, .18);
}

.pjw-city-search-icon {
    flex-shrink: 0;
    color: #94A3B8;
}

.pjw-city-search {
    flex: 1 1 auto;
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: .85rem;
    color: #0F172A;
}

.pjw-city-search::placeholder {
    color: #94A3B8;
}

.pjw-city-list {
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.pjw-city-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 9px;
    background: transparent;
    font-family: inherit;
    font-size: .87rem;
    font-weight: 500;
    color: #111827;
    text-align: start;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.pjw-city-option:hover,
.pjw-city-option:focus-visible {
    background: #F8FAFC;
    outline: none;
}

.pjw-city-option.is-active {
    background: rgba(206, 177, 143, .18);
    color: #8C6E3D;
    font-weight: 700;
}

.pjw-city-option-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pjw-city-option-region {
    flex-shrink: 0;
    margin-inline-start: auto;
    padding-inline-start: 8px;
    font-size: .7rem;
    font-weight: 500;
    color: #9CA3AF;
}

.pjw-city-option.is-active .pjw-city-option-region {
    color: #B08D57;
}

.pjw-city-empty {
    margin: 0;
    padding: 14px 10px;
    font-size: .82rem;
    font-weight: 500;
    color: #9CA3AF;
    text-align: center;
}

/* Password wrapper */
.pjw-pw-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.pjw-pw-wrap .pjw-pw-input,
.pjw-pw-input {
    padding-left: 46px !important;
    padding-right: 16px !important;
}

.pjw-pw-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9CA3AF;
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 2;
}

.pjw-pw-toggle:hover {
    color: #111827;
}

.pjw-error {
    font-size: 0.78rem;
    color: #DC2626;
    font-weight: 600;
}

/* ---- BUTTONS & NAVIGATION ---- */
.pjw-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #F3F4F6;
}

.pjw-nav-end {
    justify-content: flex-end;
}

.pjw-btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.82rem 1.8rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #CEB18F, #B89670);
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 700;
    border: 1px solid rgba(206, 177, 143, 0.4);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pjw-btn-gold:hover {
    opacity: 0.93;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(206, 177, 143, 0.3);
    color: #FFFFFF;
}

.pjw-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    background: #FFFFFF;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid #E5E7EB;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pjw-btn-outline:hover {
    border-color: #CEB18F;
    color: #8C6E3D;
    background: #FAF6F0;
}

.pjw-btn-full {
    width: 100%;
}

.pjw-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    background: #111827;
    border: 1.5px solid #CEB18F;
    color: #CEB18F;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pjw-btn-submit:hover:not(:disabled) {
    background: #1F2937;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.2);
    transform: translateY(-1px);
}

.pjw-btn-submit:disabled,
.pjw-btn-submit.pjw-btn-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #4B5563;
    border-color: #9CA3AF;
    color: #D1D5DB;
    box-shadow: none;
    transform: none;
}

.pjw-loading-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ---- PLAN SELECTION ---- */
.pjw-plan-section {
    padding: 24px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.3);
    border-radius: 16px;
    margin-bottom: 28px;
}

.pjw-plan-header {
    margin-bottom: 18px;
}

.pjw-plan-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.pjw-plan-subtitle {
    font-size: 0.82rem;
    color: #6D6E71;
    margin: 0;
}

.pjw-plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .pjw-plans-grid {
        grid-template-columns: 1fr;
    }
}

.pjw-plan-card {
    background: #FFFFFF;
    border: 1.5px solid #E5E7EB;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.pjw-plan-card:hover {
    border-color: rgba(206, 177, 143, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
}

.pjw-plan-card.is-selected {
    border-color: #CEB18F;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.25);
}

.pjw-plan-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #D1D5DB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.pjw-plan-card.is-selected .pjw-plan-radio {
    border-color: #CEB18F;
}

.pjw-plan-radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #CEB18F;
    display: none;
}

.pjw-plan-radio-dot.is-active {
    display: block;
}

.pjw-plan-body {
    flex: 1;
}

.pjw-plan-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.pjw-plan-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #8C6E3D;
    line-height: 1.2;
    margin-bottom: 8px;
}

.pjw-plan-price-unit {
    font-size: 0.78rem;
    color: #6D6E71;
    font-weight: 600;
}

.pjw-plan-features {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pjw-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.815rem;
    color: #374151;
    line-height: 1.45;
    font-weight: 500;
}

.pjw-plan-features li span {
    flex: 1;
}

/* ---- NOTICES & UPLOADS ---- */
.pjw-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.4);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
}

.pjw-notice-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.pjw-notice-text {
    font-size: 0.84rem;
    color: #4B5563;
    line-height: 1.6;
}

.pjw-upload-block {
    margin-bottom: 22px;
}

.pjw-upload-label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.pjw-dropzone {
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    border-radius: 14px;
    background: #F9FAFB;
    padding: 24px;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
}

.pjw-dropzone:hover {
    border-color: #CEB18F;
    background: #FAF6F0;
}

.pjw-dropzone.is-uploaded {
    border-style: solid;
    border-color: #10B981;
    background: #ECFDF5;
    padding: 16px 20px;
}

.pjw-dropzone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pjw-dropzone-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
}

.pjw-dropzone-hint {
    font-size: 0.78rem;
    color: #9CA3AF;
}

.pjw-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #111827;
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s;
}

.pjw-upload-btn:hover {
    background: #1F2937;
}

.pjw-dropzone-sm {
    padding: 14px 18px;
}

.pjw-dropzone-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pjw-dropzone-title-sm {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.pjw-upload-btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    color: #374151;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.pjw-upload-btn-sm:hover {
    border-color: #CEB18F;
    color: #8C6E3D;
    background: #FAF6F0;
}

.pjw-uploaded-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pjw-uploaded-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: start;
}

.pjw-uploaded-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: #065F46;
}

.pjw-uploaded-size {
    font-size: 0.74rem;
    color: #047857;
}

.pjw-remove-btn {
    background: none;
    border: 1px solid #FECACA;
    color: #DC2626;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.pjw-remove-btn:hover {
    background: #FEF2F2;
}

.pjw-uploading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #CEB18F;
    font-weight: 700;
    margin-top: 10px;
}

.pjw-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(206, 177, 143, 0.3);
    border-top-color: #CEB18F;
    border-radius: 50%;
    animation: pjw-spin 0.7s linear infinite;
}

@keyframes pjw-spin {
    to { transform: rotate(360deg); }
}

/* ---- REVIEW STEP ---- */
.pjw-review-card {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 20px;
}

.pjw-review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #E5E7EB;
}

.pjw-review-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pjw-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: #4B5563;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.pjw-edit-btn:hover {
    border-color: #CEB18F;
    color: #8C6E3D;
    background: #FAF6F0;
}

.pjw-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}

@media (max-width: 640px) {
    .pjw-review-grid {
        grid-template-columns: 1fr;
    }
}

.pjw-review-lbl {
    display: block;
    font-size: 0.76rem;
    color: #6D6E71;
    margin-bottom: 2px;
}

.pjw-review-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #111827;
}

.pjw-plan-review {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
}

.pjw-review-plan-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
}

.pjw-ready-badge {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 20px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.4);
    color: #8C6E3D;
    font-size: 0.84rem;
    font-weight: 800;
}

.pjw-doc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pjw-doc-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #374151;
}

.pjw-terms-block {
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.4);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 28px;
}

.pjw-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    color: #374151;
    line-height: 1.7;
    cursor: pointer;
}

.pjw-terms-checkbox {
    margin-top: 4px;
    accent-color: #CEB18F;
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.pjw-terms-link {
    color: #8C6E3D;
    font-weight: 700;
    text-decoration: underline;
}

.pjw-terms-link-btn {
    background: none;
    border: none;
    padding: 0;
    color: #8C6E3D;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    display: inline;
}

.pjw-terms-link-btn:hover {
    color: #111827;
}

.pjw-contract-dialog-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 9px;
    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.5);
    color: #8C6E3D;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.pjw-contract-dialog-btn:hover {
    background: #FAF6F0;
    border-color: #CEB18F;
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(206, 177, 143, 0.2);
}

.pjw-doc-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(206, 177, 143, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Modal / Dialog Overlay & Window */
.pjw-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.pjw-dialog-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pjw-dialog-content {
    position: relative;
    z-index: 100000;
    width: 100%;
    max-width: 600px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(206, 177, 143, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 85vh;
}

.pjw-dialog-header {
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
    background: #FAF6F0;
}

.pjw-dialog-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(206, 177, 143, 0.3);
}

.pjw-dialog-title {
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
}

.pjw-dialog-close-btn {
    background: transparent;
    border: none;
    color: #6B7280;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pjw-dialog-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111827;
}

.pjw-dialog-body {
    padding: 20px;
    overflow-y: auto;
    max-height: 52vh;
    scroll-behavior: smooth;
    line-height: 1.8;
}

.pjw-contract-meta-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: 10px;
    font-size: 0.78rem;
    color: #92400E;
    font-weight: 600;
}

.pjw-notice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D97706;
    flex-shrink: 0;
}

.pjw-contract-text-body {
    font-size: 0.86rem;
    color: #374151;
    white-space: pre-line;
    padding: 8px 4px;
}

.pjw-contract-text-body strong {
    color: #111827;
    font-weight: 800;
}

.pjw-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
    gap: 12px;
    flex-wrap: wrap;
}

.pjw-dialog-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline-start: auto;
}

.pjw-dialog-btn-cancel {
    padding: 8px 18px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1.5px solid #D1D5DB;
    color: #4B5563;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pjw-dialog-btn-cancel:hover {
    background: #F3F4F6;
    color: #111827;
}

.pjw-dialog-btn-agree {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 10px;
    background: #111827;
    border: 1.5px solid #CEB18F;
    color: #CEB18F;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pjw-dialog-btn-agree:hover:not(:disabled) {
    background: #1F2937;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.2);
}

.pjw-dialog-btn-agree:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #D1D5DB;
    color: #9CA3AF;
}

/* ---- ASIDE PANEL ---- */
.pjw-aside-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 30px -8px rgba(17, 24, 39, 0.05);
    padding: 24px;
    position: sticky;
    top: 110px;
}

/* Partner VIP Badge Card */
.pjw-vip-badge-card {
    background: linear-gradient(135deg, #111827 0%, #1C1D21 60%, #0F1623 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.35);
    border-radius: 14px;
    padding: 18px 20px;
    color: #FFFFFF;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(17, 24, 39, 0.25);
}

.pjw-vip-badge-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(206, 177, 143, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.pjw-vip-badge-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.pjw-vip-logo {
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: .08em;
    color: #FFFFFF;
}

.pjw-vip-logo span {
    color: #CEB18F;
}

.pjw-vip-chip-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    color: #CEB18F;
    background: rgba(206, 177, 143, 0.15);
    border: 1px solid rgba(206, 177, 143, 0.3);
    padding: 2px 7px;
    border-radius: 4px;
}

.pjw-vip-chip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.pjw-emv-chip {
    width: 32px;
    height: 24px;
    border-radius: 5px;
    background: linear-gradient(135deg, #D4AF37, #AA771C);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pjw-vip-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.pjw-vip-holder {
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pjw-vip-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #CEB18F;
    font-weight: 700;
}

.pjw-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.pjw-aside-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F3F4F6;
}

.pjw-aside-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    margin: 0;
}

.pjw-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.pjw-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pjw-benefit-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    background: rgba(206, 177, 143, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.pjw-benefit-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2px;
}

.pjw-benefit-text {
    font-size: 0.76rem;
    color: #6D6E71;
    line-height: 1.5;
    margin: 0;
}

.pjw-aside-login {
    padding: 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 18px;
}

.pjw-aside-login-text {
    font-size: 0.8rem;
    color: #4B5563;
    margin-bottom: 8px;
    font-weight: 600;
}

.pjw-progress-summary {
    padding-top: 14px;
    border-top: 1px solid #F3F4F6;
}

.pjw-progress-summary-title {
    font-size: 0.78rem;
    color: #6D6E71;
    font-weight: 600;
}

.pjw-progress-percent {
    font-size: 0.82rem;
    font-weight: 800;
    color: #8C6E3D;
}

.pjw-progress-bar-wrap {
    height: 6px;
    background: #E5E7EB;
    border-radius: 9999px;
    overflow: hidden;
}

.pjw-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #CEB18F, #B89670);
    border-radius: 9999px;
    transition: width 0.3s ease;
}

/* ---- SUCCESS STATE ---- */
.pjw-success-stage {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: radial-gradient(circle at 50% 0%, rgba(206, 177, 143, 0.14), transparent 60%), #FAF8F5;
}

.pjw-success-card {
    margin: 0 auto;
    animation: pjwSuccessIn 0.5s cubic-bezier(0.32, 0.72, 0, 1) both;
}

@keyframes pjwSuccessIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 575.98px) {
    .pjw-success-card { padding: 32px 20px !important; }
    .pjw-success-actions { flex-direction: column; }
    .pjw-success-actions > a { width: 100%; justify-content: center; }
}

.pjw-success-card {

    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.35);
    border-radius: 24px;
    padding: 48px 44px;
    max-width: 620px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px -10px rgba(17, 24, 39, 0.08);
}

.pjw-success-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(206, 177, 143, 0.12);
    border: 2px solid rgba(206, 177, 143, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.pjw-success-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #8C6E3D;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.4);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 12px;
}

.pjw-success-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #111827;
    margin-bottom: 12px;
}

.pjw-success-desc {
    font-size: 0.92rem;
    color: #6D6E71;
    line-height: 1.7;
    margin-bottom: 28px;
}

.pjw-success-meta {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 28px;
    text-align: start;
}

.pjw-success-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #E5E7EB;
    font-size: 0.86rem;
}

.pjw-meta-label {
    color: #6D6E71;
    font-weight: 600;
}

.pjw-meta-val {
    color: #111827;
    font-weight: 800;
}

.pjw-success-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}


/* =================================================================
   SECTION 21 — ABOUT INVESTIA (UI/UX PRO MAX REDESIGN)
   Institutional Luxury Arabic RTL Standards (#CEB18F, #111827, #FFFFFF)
   ================================================================= */

.about-page {
    direction: rtl;
    background: #FFFFFF;
    color: #111827;
}

/* ── HERO SECTION ── */
.about-hero-vip {
    background: linear-gradient(160deg, #0D0E10 0%, #141416 50%, #1C1D20 100%);
    position: relative;
    overflow: hidden;
    padding: 72px 0 90px;
    color: #FFFFFF;
}

.about-hero-vip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 800px at 80% 20%, rgba(197, 178, 136, 0.12) 0%, transparent 65%),
        radial-gradient(circle 600px at 15% 85%, rgba(197, 178, 136, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.about-hero-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 52px;
    position: relative;
    z-index: 1;
}

.about-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #CEB18F;
    letter-spacing: 0.06em;
    background: rgba(206, 177, 143, 0.12);
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 9999px;
    padding: 6px 18px;
    margin-bottom: 24px;
}

.about-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #CEB18F;
    box-shadow: 0 0 10px #CEB18F;
    flex-shrink: 0;
}

.about-hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.about-hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.95;
    margin: 0 auto;
}

/* Stats Grid — Floating Dark Glassmorphism Cards */
.about-hero-vip .about-stats-grid,
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.about-stat-vip-card {
    background: rgba(17, 24, 39, 0.65) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(206, 177, 143, 0.35) !important;
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.about-stat-vip-card:hover {
    transform: translateY(-4px);
    border-color: #CEB18F !important;
    background: rgba(17, 24, 39, 0.88) !important;
    box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(206, 177, 143, 0.25);
}

.about-stat-num {
    font-size: clamp(1.9rem, 2.7vw, 2.6rem);
    font-weight: 900;
    color: #CEB18F !important;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.about-stat-lbl {
    font-size: 0.88rem;
    color: #FFFFFF !important;
    font-weight: 600;
    opacity: 0.92;
}

/* ── STORY & EXECUTIVE NARRATIVE ── */
.about-story-section {
    padding: 88px 0;
    background: #FFFFFF;
    border-bottom: 1px solid #F3F4F6;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 52px;
    align-items: center;
}

.about-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #CEB18F;
    letter-spacing: 0.06em;
    background: rgba(206, 177, 143, 0.1);
    border: 1px solid rgba(206, 177, 143, 0.25);
    border-radius: 9999px;
    padding: 5px 14px;
    margin-bottom: 16px;
}

.about-story-title {
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 20px;
}

.about-story-desc {
    font-size: 1.02rem;
    color: #4B5563;
    line-height: 2;
    margin-bottom: 24px;
}

.about-story-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.about-story-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #1F2937;
    font-weight: 600;
}

.about-story-check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(206, 177, 143, 0.15);
    color: #8C6E3D;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* VIP Card Mockup Box */
.about-vip-card-box {
    background: linear-gradient(145deg, #111827 0%, #1F2937 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.4);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 40px -10px rgba(17, 24, 39, 0.25), 0 0 30px rgba(206, 177, 143, 0.12);
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.about-vip-card-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(206, 177, 143, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.about-vip-card-chip {
    width: 44px;
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(135deg, #DFCAAE 0%, #CEB18F 50%, #9C7D54 100%);
    margin-bottom: 24px;
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.4);
}

.about-vip-card-number {
    font-family: monospace, sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    color: #CEB18F;
    margin-bottom: 24px;
}

.about-vip-card-quote {
    background: rgba(255, 255, 255, 0.05);
    border-right: 3px solid #CEB18F;
    border-radius: 8px;
    padding: 16px;
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 18px;
}

/* ── VISION & MISSION ── */
.about-vm-section {
    padding: 88px 0;
    background: #F7F8FA;
}

.about-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.about-section-title {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.about-section-subtitle {
    font-size: 0.96rem;
    color: #6D6E71;
    line-height: 1.8;
}

.about-vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.about-vm-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px -4px rgba(17, 24, 39, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-vm-card:hover {
    transform: translateY(-4px);
    border-color: rgba(206, 177, 143, 0.45);
    box-shadow: 0 16px 36px -8px rgba(17, 24, 39, 0.08);
}

.about-vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #CEB18F 0%, #DFCAAE 50%, #B89B79 100%);
}

.about-vm-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.about-vm-badge {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #8C6E3D;
    background: rgba(206, 177, 143, 0.15);
    border: 1px solid rgba(206, 177, 143, 0.3);
    border-radius: 6px;
    padding: 4px 12px;
}

.about-vm-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(206, 177, 143, 0.1);
    border: 1px solid rgba(206, 177, 143, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CEB18F;
}

.about-vm-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 14px;
}

.about-vm-text {
    font-size: 0.95rem;
    color: #4B5563;
    line-height: 1.9;
    margin: 0;
}

/* ── 3 ECOSYSTEM PILLARS ── */
.about-pillars-section {
    padding: 88px 0;
    background: #FFFFFF;
    border-bottom: 1px solid #F3F4F6;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-pillar-card {
    background: #FAF8F5;
    border: 1px solid rgba(206, 177, 143, 0.3);
    border-radius: 18px;
    padding: 34px 28px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-pillar-card:hover {
    transform: translateY(-4px);
    border-color: #CEB18F;
    box-shadow: 0 12px 28px -6px rgba(206, 177, 143, 0.2);
    background: #FFFFFF;
}

.about-pillar-num {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(206, 177, 143, 0.5);
    line-height: 1;
    margin-bottom: 16px;
    font-family: serif, sans-serif;
}

.about-pillar-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.about-pillar-desc {
    font-size: 0.92rem;
    color: #4B5563;
    line-height: 1.85;
    margin: 0;
}

/* ── DUAL VALUE ECOSYSTEM ── */
.about-dual-section {
    padding: 88px 0;
    background: #F7F8FA;
}

.about-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.about-dual-card {
    border-radius: 20px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}

.about-dual-card--members {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px -4px rgba(17, 24, 39, 0.04);
}

.about-dual-card--partners {
    background: linear-gradient(145deg, #111827 0%, #1F2937 100%);
    border: 1px solid rgba(206, 177, 143, 0.3);
    color: #FFFFFF;
    box-shadow: 0 12px 30px -6px rgba(17, 24, 39, 0.2);
}

.about-dual-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.about-dual-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-dual-card--members .about-dual-icon-box {
    background: rgba(206, 177, 143, 0.15);
    color: #8C6E3D;
    border: 1px solid rgba(206, 177, 143, 0.3);
}

.about-dual-card--partners .about-dual-icon-box {
    background: rgba(206, 177, 143, 0.2);
    color: #CEB18F;
    border: 1px solid rgba(206, 177, 143, 0.4);
}

.about-dual-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-dual-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.94rem;
    line-height: 1.75;
}

.about-dual-card--members .about-dual-list-item {
    color: #374151;
}

.about-dual-card--partners .about-dual-list-item {
    color: rgba(255, 255, 255, 0.88);
}

/* ── VALUES ── */
.about-values-section {
    padding: 88px 0;
    background: #FFFFFF;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.about-value-card {
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 30px 24px;
    background: #FAF8F5;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-value-card:hover {
    border-color: #CEB18F;
    box-shadow: 0 8px 24px -4px rgba(206, 177, 143, 0.2);
    transform: translateY(-3px);
    background: #FFFFFF;
}

.about-value-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.about-value-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: #8C6E3D;
    font-family: inherit;
}

.about-value-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(206, 177, 143, 0.12);
    border: 1px solid rgba(206, 177, 143, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CEB18F;
}

.about-value-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
}

.about-value-desc {
    font-size: 0.88rem;
    color: #4B5563;
    line-height: 1.8;
    margin: 0;
}

/* ── SAUDI VISION 2030 COMMITMENT ── */
.about-vision2030-section {
    padding: 0 0 88px;
    background: #FFFFFF;
}

.about-vision2030-card {
    background: linear-gradient(135deg, #FAF8F5 0%, #F5F2EB 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.35);
    border-radius: 20px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* ── CTA BANNER ── */
.about-cta-section {
    padding: 0 0 96px;
    background: #FFFFFF;
}

.about-cta-banner {
    position: relative;
    background: linear-gradient(145deg, #111827 0%, #1F2937 60%, #0F172A 100%);
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 24px;
    overflow: hidden;
    padding: 68px 52px;
    text-align: center;
    box-shadow: 0 20px 48px -10px rgba(17, 24, 39, 0.3);
}

.about-cta-glow {
    position: absolute;
    width: 600px;
    height: 350px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(206, 177, 143, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.about-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.about-cta-kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #CEB18F;
    letter-spacing: 0.08em;
    background: rgba(206, 177, 143, 0.15);
    border: 1px solid rgba(206, 177, 143, 0.3);
    border-radius: 9999px;
    padding: 5px 16px;
    margin-bottom: 20px;
}

.about-cta-title {
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.35;
}

.about-cta-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 28px;
}

.about-cta-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.about-cta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(206, 177, 143, 0.25);
    border-radius: 9999px;
    padding: 6px 16px;
}

.about-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.about-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    background: #CEB18F;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(206, 177, 143, 0.25);
}

.about-cta-btn-primary:hover {
    background: #DFCAAE;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(206, 177, 143, 0.35);
}

.about-cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.about-cta-btn-ghost:hover {
    border-color: #CEB18F;
    color: #CEB18F;
    background: rgba(206, 177, 143, 0.08);
}

/* ── RESPONSIVE MEDIA QUERIES ── */
@media (max-width: 991.98px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .about-pillars-grid {
        grid-template-columns: 1fr;
    }
    .about-hero-vip .about-stats-grid,
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-dual-grid {
        grid-template-columns: 1fr;
    }
    .about-vision2030-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .about-hero-vip .about-stats-grid,
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .about-stat-vip-card {
        padding: 18px 12px !important;
    }
    .about-stat-num {
        font-size: 1.75rem !important;
    }
    .about-stat-lbl {
        font-size: 0.8rem !important;
    }
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .about-vm-grid {
        grid-template-columns: 1fr;
    }
    .about-cta-banner {
        padding: 44px 20px;
    }
}


/* =================================================================
   SECTION 22 — SERVICES CATALOG (inv-catalog-service-*)
   Premium Arabic RTL institutional services directory
   ================================================================= */

.inv-catalog-service-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px -4px rgba(17, 24, 39, 0.03);
}

.inv-catalog-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #CEB18F, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inv-catalog-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(206, 177, 143, 0.45);
    box-shadow: 0 16px 36px -8px rgba(17, 24, 39, 0.08);
}

.inv-catalog-service-card:hover::before {
    opacity: 1;
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.service-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.4);
    color: #8C6E3D;
    font-size: 0.82rem;
    font-weight: 700;
}

.service-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: rgba(206, 177, 143, 0.1);
    border: 1px solid rgba(206, 177, 143, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #CEB18F;
    transition: all 0.3s ease;
}

.inv-catalog-service-card:hover .service-icon-box {
    background: #CEB18F;
    color: #FFFFFF;
    transform: scale(1.05);
}

.service-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.65rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.inv-catalog-service-card:hover .service-title {
    color: #9F7D54;
}

.service-desc {
    font-size: 0.88rem;
    color: #6D6E71;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card-footer {
    padding-top: 1.25rem;
    border-top: 1px solid #F3F4F6;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.service-meta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6D6E71;
}

.service-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #059669;
    font-weight: 600;
    font-size: 0.78rem;
}

.service-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem 1.25rem;
    border-radius: 12px;
    background: #111827;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    border: 1px solid rgba(206, 177, 143, 0.3);
    transition: all 0.2s ease;
}

.service-action-btn:hover {
    background: #1F2937;
    color: #CEB18F;
    border-color: #CEB18F;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
}

.service-action-btn svg {
    transition: transform 0.2s ease;
}

.service-action-btn:hover svg {
    transform: translateX(-3px);
}

/* Category Quick Filter Pills Bar */
.service-cat-pills-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-top: 1.25rem;
    scrollbar-width: thin;
}

.service-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4B5563;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.service-cat-pill:hover {
    border-color: #CEB18F;
    color: #8C6E3D;
    background: #FAF6F0;
}

.service-cat-pill.is-active {
    background: #111827;
    border-color: #CEB18F;
    color: #CEB18F;
    font-weight: 700;
}

/* ──────────────────────────────────────────────────────────────
   24. REDESIGNED LUXURY HEADER & FOOTER (UI/UX PRO MAX)
   ────────────────────────────────────────────────────────────── */

/* ── HEADER ── */
.investia-header {
    background: #FFFFFF !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.85);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.investia-header.scrolled {
    background: #FFFFFF !important;
    box-shadow: 0 10px 30px -10px rgba(17, 24, 39, 0.08), 0 1px 3px rgba(17, 24, 39, 0.04) !important;
    border-bottom-color: rgba(206, 177, 143, 0.35);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* Brand Section */
.header-brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.investia-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.investia-brand:focus,
.investia-brand:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.investia-brand:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.investia-brand img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

/* Center Navigation */
.header-nav {
    display: flex;
    align-items: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.25rem;
}

.header-nav-item {
    position: relative;
    list-style: none !important;
}

.header-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: #4B5563;
    text-decoration: none !important;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.header-nav-link:hover {
    color: #111827;
    background-color: rgba(206, 177, 143, 0.08);
}

.header-nav-link.active {
    color: #111827;
    font-weight: 700;
    background-color: rgba(206, 177, 143, 0.12);
}

.header-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 50%;
    transform: translateX(50%);
    width: 20px;
    height: 2.5px;
    border-radius: 9999px;
    background: #CEB18F;
}

/* Action Group */
.header-actions-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Action Buttons */
.btn-header-verify {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-header-verify svg {
    color: #CEB18F;
    transition: transform 0.2s ease;
}

.btn-header-verify:hover {
    color: #111827;
    border-color: #CEB18F;
    background: #FAF8F5;
    box-shadow: 0 2px 8px rgba(206, 177, 143, 0.15);
}

.btn-header-verify:hover svg {
    transform: scale(1.1);
}

.btn-header-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4B5563;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    background: transparent;
    flex-shrink: 0;
}

.btn-header-ghost:hover {
    color: #111827;
    background: #F3F4F6;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 1.05rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #111827;
    background: linear-gradient(135deg, #DFCAAE 0%, #CEB18F 50%, #B89B79 100%);
    border: 1px solid #C4A47E;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-header-cta:hover {
    color: #000000;
    background: linear-gradient(135deg, #E6D4BD 0%, #D8BE9F 50%, #C3A684 100%);
    box-shadow: 0 6px 20px rgba(206, 177, 143, 0.35);
    transform: translateY(-1px);
}

/* ── MEMBER CIRCULAR AVATAR & DROPDOWN ── */
.investia-member-dropdown {
    position: relative;
    display: inline-block;
}

.btn-member-avatar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 3px 10px 3px 4px;
    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-member-avatar::after {
    display: none !important;
}

.btn-member-avatar:hover,
.btn-member-avatar:focus,
.btn-member-avatar[aria-expanded="true"] {
    border-color: #CEB18F;
    background: #FAF8F5;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.25);
    transform: translateY(-1px);
}

.member-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B1528 0%, #1B2A4A 100%);
    color: #DFCAAE;
    font-weight: 800;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #CEB18F;
    flex-shrink: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.member-avatar-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.25;
    text-align: right;
}

.member-avatar-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1E293B;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-avatar-tier {
    font-size: 0.68rem;
    font-weight: 600;
    color: #927238;
}

.member-chevron {
    color: #9CA3AF;
    transition: transform 0.2s ease;
}

.btn-member-avatar[aria-expanded="true"] .member-chevron {
    transform: rotate(180deg);
}

.investia-member-menu {
    min-width: 270px;
    border-radius: 14px !important;
    border: 1px solid rgba(206, 177, 143, 0.3) !important;
    background: #FFFFFF;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12) !important;
    margin-top: 8px !important;
    padding: 0.4rem;
    z-index: 1050;
}

.investia-member-menu .dropdown-item {
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.15s ease;
    text-align: right;
}

.investia-member-menu .dropdown-item:hover {
    background: #FAF8F5;
    color: #111827;
}

.investia-member-menu .dropdown-item.active {
    background: rgba(206, 177, 143, 0.18);
    color: #8F7243;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════ */
/* SPECTRUM LUXURY PROFILE DROPDOWN COMPONENT (DESKTOP & MOBILE)  */
/* ══════════════════════════════════════════════════════════════ */
.investia-spectrum-dropdown {
    width: 318px !important;
    max-width: min(318px, calc(100vw - 20px)) !important;
    border-radius: 20px !important;
    border: 1.5px solid rgba(206, 177, 143, 0.4) !important;
    background: #FFFFFF !important;
    box-shadow: 0 16px 38px -8px rgba(184, 150, 110, 0.22), 0 6px 16px -4px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin-top: 8px !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    animation: spectrumDropdownEnter 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes spectrumDropdownEnter {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Header Inside Dropdown */
.spectrum-dropdown-header {
    padding: 0.75rem 0.95rem;
    border-bottom: 1px solid rgba(206, 177, 143, 0.2);
    background: #FFFFFF;
    transition: background 0.2s ease;
}

.spectrum-dropdown-header:hover {
    background: #FAF9F6;
}

.spectrum-user-info-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.spectrum-avatar-wrapper {
    position: relative;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spectrum-avatar-wrapper:hover {
    transform: scale(1.06);
}

.spectrum-avatar-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B1528 0%, #1B2A4A 100%);
    color: #DFCAAE;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #CEB18F;
    box-shadow: 0 3px 8px rgba(206, 177, 143, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.spectrum-user-details {
    flex: 1;
    min-width: 0;
}

.spectrum-name-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.spectrum-user-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spectrum-verified-badge {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #2563EB;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s ease;
}

.spectrum-verified-badge:hover {
    transform: scale(1.15);
}

.spectrum-user-subtitle {
    font-size: 0.7rem;
    color: #6B7280;
    margin: 2px 0 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spectrum-collapse-btn {
    background: transparent;
    border: none;
    padding: 5px;
    border-radius: 6px;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.spectrum-collapse-btn:hover {
    background: #FAF8F5;
    color: #111827;
    transform: scale(1.08);
}

.spectrum-header-chevron {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spectrum-header-chevron.is-collapsed {
    transform: rotate(180deg);
}

/* Collapsible Body */
.spectrum-collapsible-body {
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    overflow: hidden;
}

.spectrum-collapsible-body.is-hidden {
    display: none;
}

/* Digital Card Container */
.spectrum-card-container {
    padding: 0.6rem 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(206, 177, 143, 0.18);
    background: #FFFFFF;
}

.spectrum-card-link {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.spectrum-card-link:hover {
    transform: scale(1.02);
}

/* Menu Items */
.spectrum-menu-items {
    padding: 0.4rem 0.65rem;
    border-bottom: 1px solid rgba(206, 177, 143, 0.18);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: #FFFFFF;
}

.spectrum-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.42rem 0.65rem;
    border-radius: 9px;
    color: #374151;
    text-decoration: none !important;
    font-family: 'Cairo', sans-serif;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 38px;
    cursor: pointer;
}

.spectrum-menu-item .item-inner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.spectrum-menu-item .item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8F7243;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.spectrum-menu-item .item-label {
    font-size: 0.82rem;
    font-weight: 600;
}

.spectrum-menu-item:hover {
    background: #FAF8F5;
    color: #111827;
    transform: translateX(-3px);
}

.spectrum-menu-item:hover .item-icon {
    transform: scale(1.08);
}

.spectrum-menu-item.is-upgrade-row {
    background: rgba(206, 177, 143, 0.1);
    border: 1px solid rgba(206, 177, 143, 0.3);
}

.spectrum-menu-item.is-upgrade-row:hover {
    background: rgba(206, 177, 143, 0.18);
    border-color: rgba(206, 177, 143, 0.55);
}

.spectrum-upgrade-pill {
    background: linear-gradient(135deg, #B2D0F9 0%, #F08878 35%, #FDC3B6 70%, #FFDB9A 100%);
    color: #0F172A;
    font-weight: 800;
    font-size: 0.68rem;
    padding: 2px 10px;
    border-radius: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    letter-spacing: 0.02em;
}

.spectrum-menu-item:hover .spectrum-upgrade-pill {
    transform: scale(1.06);
}

.spectrum-menu-item.is-danger {
    color: #DC2626;
}

.spectrum-menu-item.is-danger .item-icon {
    color: #DC2626;
}

.spectrum-menu-item.is-danger:hover {
    background: #FEF2F2;
    color: #B91C1C;
    transform: translateX(-3px);
}

/* Footer Section */
.spectrum-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.85rem;
    background: #FAF9F6;
}

.spectrum-brand-seal {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.spectrum-brand-seal .seal-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8F7243;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.spectrum-brand-seal .seal-text {
    font-size: 0.72rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: 0.04em;
}

.spectrum-dropdown-footer .version-tag {
    font-size: 0.68rem;
    color: #9CA3AF;
    font-weight: 600;
    font-family: monospace;
}

/* Mobile Screen Floating Modal Behavior */
@media (max-width: 575px) {
    .investia-member-dropdown .dropdown-menu.investia-spectrum-dropdown {
        position: fixed !important;
        top: 68px !important;
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
        transform: none !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        border-radius: 20px !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22) !important;
    }
}

/* Mobile Drawer Integrated Card */
.mobile-spectrum-profile-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.35);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.15rem;
    box-shadow: 0 10px 25px -5px rgba(184, 150, 110, 0.16);
}


/* ── MEMBER NOTIFICATION BELL ── */
.btn-member-bell {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    color: #0B1528;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn-member-bell::after {
    display: none !important;
}

.btn-member-bell:hover,
.btn-member-bell:focus,
.btn-member-bell[aria-expanded="true"] {
    border-color: #CEB18F;
    background: #FAF8F5;
    color: #8F7243;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.25);
    transform: translateY(-1px);
}

.member-bell-badge {
    position: absolute;
    top: -2px;
    left: -2px;
    background: #EF4444;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.member-notification-menu {
    z-index: 1050;
    margin-top: 8px !important;
}

.header-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    color: #1F2937;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-mobile-toggle:hover {
    border-color: #CEB18F;
    color: #CEB18F;
    background: #FAF8F5;
}

/* ── MOBILE OFFCANVAS DRAWER ── */
.investia-offcanvas {
    width: min(340px, 86vw) !important;
    background: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 0 50px rgba(26, 22, 18, 0.25) !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    z-index: 10000020 !important;
    overflow: hidden;
}

.offcanvas-backdrop {
    background-color: rgba(26, 22, 18, 0.45) !important;
    z-index: 10000010 !important;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: opacity;
}

.offcanvas-backdrop.show {
    opacity: 1 !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.offcanvas-header-luxury {
    background: #FAF6F0;
    padding: 1.15rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1.5px solid rgba(206, 177, 143, 0.35);
    box-shadow: 0 2px 10px rgba(45, 36, 30, 0.04);
    position: relative;
    z-index: 2;
}

.offcanvas-header-luxury .offcanvas-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.offcanvas-btn-close {
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.45);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A1612;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.offcanvas-btn-close:hover {
    background: #1A1612;
    color: #DFCAAF;
    border-color: #1A1612;
    transform: rotate(90deg) scale(1.05);
}

.offcanvas-btn-close:active {
    transform: rotate(90deg) scale(0.95);
}

.investia-offcanvas .offcanvas-body {
    padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px)) !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF9F6 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

/* User Status Card */
.mobile-user-status-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FBF9F5 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.35);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 4px 16px -4px rgba(184, 150, 110, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    cursor: pointer;
}

.mobile-user-status-card:hover {
    border-color: rgba(206, 177, 143, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -4px rgba(184, 150, 110, 0.22);
}

.mobile-user-status-card:active {
    transform: scale(0.99);
}

.mobile-user-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(206, 177, 143, 0.28) 0%, rgba(184, 150, 110, 0.12) 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.5);
    color: #8A6A32;
    flex-shrink: 0;
}

.mobile-user-info {
    flex: 1;
    min-width: 0;
}

.mobile-user-name {
    font-size: 0.96rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-user-meta {
    margin-top: 3px;
}

.mobile-badge-plan {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
    background: rgba(206, 177, 143, 0.18);
    color: #8A6A32;
    border: 1px solid rgba(206, 177, 143, 0.4);
}

.mobile-badge-admin,
.mobile-badge-partner {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #F3F4F6;
    color: #4B5563;
}

.mobile-user-arrow {
    margin-inline-start: auto;
    color: #C5B288;
    display: flex;
    align-items: center;
    transition: transform 0.22s ease;
}

.mobile-user-status-card:hover .mobile-user-arrow {
    transform: translateX(-3px);
    color: #8A6A32;
}

/* Nav List & Items */
.mobile-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-nav-item {
    list-style: none !important;
}

.mobile-nav-item a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.95rem;
    border-radius: 14px;
    font-size: 0.94rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    position: relative;
}

.mobile-nav-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    color: #6B7280;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-text {
    flex: 1;
    min-width: 0;
    font-size: 0.94rem;
}

.mobile-nav-arrow {
    color: #D1D5DB;
    display: flex;
    align-items: center;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-item a:hover {
    background: #F8F7F4;
    color: #111827;
    transform: translateX(-4px);
}

.mobile-nav-item a:hover .mobile-nav-icon {
    background: rgba(206, 177, 143, 0.2);
    color: #8A6A32;
}

.mobile-nav-item a:hover .mobile-nav-arrow {
    color: #8A6A32;
    transform: translateX(-3px);
}

.mobile-nav-item a.active {
    background: linear-gradient(90deg, rgba(206, 177, 143, 0.18) 0%, rgba(206, 177, 143, 0.05) 100%);
    color: #111827;
    font-weight: 800;
    border-inline-start: 3.5px solid #CEB18F;
}

.mobile-nav-item a.active .mobile-nav-icon {
    background: linear-gradient(135deg, #CEB18F 0%, #B8966E 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 10px -2px rgba(206, 177, 143, 0.5);
}

.mobile-nav-item a.active .mobile-nav-arrow {
    color: #8A6A32;
}

/* Drawer Bottom Actions */
.offcanvas-bottom-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(229, 231, 235, 0.85);
    margin-top: auto;
}

.btn-drawer-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 46px;
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    background: linear-gradient(135deg, #CEB18F 0%, #B8966E 100%);
    color: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none !important;
    box-shadow: 0 4px 14px -3px rgba(184, 150, 110, 0.38);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-drawer-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px -3px rgba(184, 150, 110, 0.52);
    filter: brightness(1.03);
}

.btn-drawer-primary:active {
    transform: scale(0.98);
}

.btn-drawer-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 44px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    background: #FFFFFF;
    color: #374151 !important;
    border: 1.5px solid #E5E7EB;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-drawer-secondary:hover {
    background: #F9FAFB;
    border-color: rgba(206, 177, 143, 0.5);
    color: #111827 !important;
    transform: translateY(-1px);
}

.btn-drawer-secondary:active {
    transform: scale(0.98);
}

.btn-drawer-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 44px;
    width: 100%;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    background: transparent;
    color: #6B7280;
    border: 1.5px solid #E5E7EB;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-drawer-logout:hover {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.3);
    color: #DC2626;
    transform: translateY(-1px);
}

.btn-drawer-logout:active {
    transform: scale(0.98);
}

.btn-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    height: 44px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    background: #111827;
    color: #FFFFFF !important;
    border: 1px solid rgba(206, 177, 143, 0.35);
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-drawer-cta:hover {
    background: #1E293B;
    color: #CEB18F !important;
    transform: translateY(-1px);
}

.btn-drawer-cta:active {
    transform: scale(0.98);
}

/* Drawer Content Entrance: Crisp, Immediate Visibility (Zero Artificial Lag) */
@keyframes drawerItemGlide {
    from {
        opacity: 0.8;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.investia-offcanvas.show .mobile-user-status-card,
.investia-offcanvas.show .mobile-nav-item,
.investia-offcanvas.show .offcanvas-bottom-actions {
    animation: drawerItemGlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .investia-offcanvas,
    .investia-offcanvas.show * {
        animation: none !important;
        transition: none !important;
    }
}

/* ── FOOTER: LUXURY INSTITUTIONAL SAUDI FINTECH ARCHITECTURE (REFERENCE ALIGNED) ── */
.investia-footer {
    background: #FFFFFF !important;
    color: #1A1612 !important;
    position: relative;
    border-top: 1px solid rgba(206, 177, 143, 0.3) !important;
    font-family: var(--inv-font) !important;
    overflow: hidden;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

/* Part 1: Main Footer Body */
.inv-footer-main {
    padding: clamp(2.5rem, 4vw, 3.5rem) 0 1.25rem;
    background: #FFFFFF;
    position: relative;
}

/* 3 Master Architectural Zones (RTL layout) */
.inv-footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) minmax(320px, 1.8fr) minmax(250px, 1.1fr);
    gap: clamp(1.75rem, 3.5vw, 3.25rem);
    align-items: start;
    margin-bottom: 2rem;
}

/* Zone 1: هوية INVESTIA والتعريف */
.inv-footer-brand-zone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.inv-footer-logo-link {
    display: inline-block;
    line-height: 1;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.inv-footer-logo-link:hover {
    transform: translateY(-1px);
}

.inv-footer-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.inv-footer-brand-desc {
    color: #6D6E71;
    font-size: 0.88rem;
    line-height: 1.8;
    margin: 0;
    max-width: 32ch;
}

.inv-footer-social-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.inv-footer-social-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 9px;
    background: #FAF7F2;
    border: 1px solid rgba(206, 177, 143, 0.32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #574F46;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.inv-footer-social-btn:hover {
    background: #111827;
    color: #DFCAAF !important;
    border-color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.12);
}

.inv-footer-social-btn:focus-visible {
    outline: 2px solid #CEB18F;
    outline-offset: 2px;
}

/* Zone 2: الروابط المنظمة (3 مجموعات) */
.inv-footer-links-zone {
    display: flex;
    flex-direction: column;
}

.inv-footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.75rem);
}

.inv-footer-group {
    display: flex;
    flex-direction: column;
}

.inv-footer-group-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 1rem;
    position: relative;
    padding-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.inv-footer-group-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18px;
    height: 2px;
    background: #CEB18F;
    border-radius: 2px;
}

.inv-footer-link-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 0.7rem;
}

.inv-footer-link-list li {
    list-style: none !important;
}

.inv-footer-link {
    color: #555049;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.18s ease, transform 0.18s ease;
    line-height: 1.5;
    display: inline-block;
}

.inv-footer-link:hover {
    color: #8C6E3D;
    transform: translateX(-3px);
}

.inv-footer-link:focus-visible {
    outline: 2px solid #CEB18F;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Zone 3: معلومات التواصل وكروت البيانات */
.inv-footer-contact-zone {
    display: flex;
    flex-direction: column;
}

.inv-footer-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.inv-contact-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #FAF7F2;
    border: 1px solid rgba(206, 177, 143, 0.28);
    border-radius: 10px;
    text-decoration: none !important;
    color: #1A1612;
    transition: all 0.2s ease;
}

a.inv-contact-card:hover {
    background: #FFFFFF;
    border-color: #CEB18F;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(206, 177, 143, 0.18);
}

.inv-contact-card-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 8px;
    background: rgba(206, 177, 143, 0.2);
    color: #8C6E3D;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inv-contact-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.inv-contact-card-label {
    font-size: 0.7rem;
    color: #78716C;
    font-weight: 600;
    line-height: 1.2;
}

.inv-contact-card-val {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    word-break: break-word;
}

/* زر واتساب المؤسسي في الفوتر */
.inv-contact-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.25rem;
    padding: 0.65rem 1.15rem;
    background: #111827;
    color: #DFCAAF !important;
    border: 1px solid #111827;
    border-radius: 9px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.inv-contact-wa-btn i {
    font-size: 1.05rem;
    color: #25D366;
}

.inv-contact-wa-btn:hover {
    background: #1F2937;
    color: #FAF7F2 !important;
    border-color: #CEB18F;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.18);
}

.inv-contact-wa-btn:focus-visible {
    outline: 2px solid #CEB18F;
    outline-offset: 2px;
}

/* Part 2: وسائل الدفع المعتمدة */
.inv-footer-payments-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.25rem;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(206, 177, 143, 0.22);
    border-bottom: 1px solid rgba(206, 177, 143, 0.18);
    flex-wrap: wrap;
}

.inv-payments-list {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.inv-payment-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 0.95rem;
    background: #FAF7F2;
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.inv-payment-chip:hover {
    border-color: #CEB18F;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(206, 177, 143, 0.2);
}

.inv-payment-chip img {
    height: 20px;
    max-height: 20px;
    width: auto;
    max-width: 58px;
    object-fit: contain;
}

/* Part 3: الحقوق والسياسات */
.inv-footer-legal-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-top: 1rem;
    font-size: 0.82rem;
    color: #574F46;
    flex-wrap: wrap;
    /* Safe clearance buffer on the left so floating WhatsApp button at left:26px never covers text */
    padding-left: clamp(0px, 6vw, 75px);
}

.inv-legal-copyright {
    font-size: 0.81rem;
    font-weight: 600;
    color: #5C5248;
    white-space: nowrap;
}

.inv-legal-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.inv-legal-link {
    color: #6E665B;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.18s ease;
    white-space: nowrap;
}

.inv-legal-link:hover {
    color: #8C6E3D;
    text-decoration: underline !important;
}

.inv-legal-sep {
    color: #CEB18F;
    font-size: 0.65rem;
    opacity: 0.6;
    user-select: none;
}

/* Part 4: الشريط السفلي الكحلي الداكن المؤسسي */
.inv-footer-dark-strip {
    background: #111827 !important;
    color: #DFCAAF !important;
    border-top: 1px solid rgba(206, 177, 143, 0.2);
    padding: 0.85rem 0;
    font-size: 0.78rem;
    text-align: center;
    padding-left: clamp(0px, 6vw, 75px);
}

.inv-dark-strip-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.inv-dark-strip-text {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #DFCAAF;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

.inv-dark-strip-sub {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 500;
    color: #9CA3AF;
    letter-spacing: 0.02em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── RESPONSIVE MEDIA QUERIES ── */

@media (max-width: 1024px) {
    .inv-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .inv-footer-brand-zone {
        grid-column: span 2;
        max-width: 100%;
    }
    .inv-footer-brand-desc {
        max-width: 100%;
    }
    .inv-footer-links-zone {
        grid-column: span 1;
    }
    .inv-footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .inv-footer-contact-zone {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .inv-footer-main {
        padding: 1.75rem 0 1rem;
    }
    .inv-footer-grid {
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
        margin-bottom: 1.5rem;
    }
    .inv-footer-brand-zone {
        align-items: center;
        text-align: center;
        border-bottom: 1px solid rgba(206, 177, 143, 0.2);
        padding-bottom: 1.25rem;
        width: 100%;
    }
    .inv-footer-brand-desc {
        text-align: center;
        font-size: 0.85rem;
        max-width: 38ch;
    }
    .inv-footer-social-row {
        justify-content: center;
        gap: 0.65rem;
    }
    .inv-footer-social-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
        border-radius: 10px;
    }
    .inv-footer-links-zone {
        width: 100%;
        border-bottom: 1px solid rgba(206, 177, 143, 0.2);
        padding-bottom: 1.25rem;
    }
    .inv-footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }
    .inv-footer-group:nth-child(3) {
        grid-column: span 2;
    }
    .inv-footer-group:nth-child(3) .inv-footer-link-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem 1rem;
    }
    .inv-footer-group-title {
        font-size: 0.88rem;
        margin-bottom: 0.75rem;
    }
    .inv-footer-link {
        font-size: 0.84rem;
        padding: 0.2rem 0;
        min-height: 38px;
        display: flex;
        align-items: center;
    }
    .inv-footer-contact-zone {
        width: 100%;
    }
    .inv-footer-contact-cards {
        gap: 0.5rem;
    }
    .inv-contact-card {
        padding: 0.65rem 0.85rem;
        min-height: 44px;
    }
    .inv-contact-wa-btn {
        width: 100%;
        min-height: 44px;
        padding: 0.75rem 1.25rem;
    }
    .inv-footer-payments-bar {
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.5rem;
        padding: 0.85rem 0;
    }
    .inv-payments-list {
        justify-content: center;
        gap: 0.55rem;
    }
    .inv-payment-chip {
        height: 30px;
        padding: 0 0.75rem;
    }
    .inv-payment-chip img {
        height: 18px;
        max-height: 18px;
    }
    .inv-footer-legal-subbar {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 0.65rem;
        padding: 0.85rem 0 0.95rem;
        padding-left: 0;
    }
    .inv-legal-copyright {
        text-align: center;
        font-size: 0.78rem;
    }
    .inv-legal-nav {
        justify-content: center;
        gap: 0.45rem;
    }
    .inv-footer-dark-strip {
        padding: 0.95rem 1rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
        padding-left: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .inv-footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.75rem;
    }
    .inv-contact-card {
        padding: 0.6rem 0.75rem;
    }
    .inv-contact-card-val {
        font-size: 0.78rem;
    }
    .inv-payment-chip {
        height: 34px;
        padding: 0 0.75rem;
    }
    .inv-payment-chip img {
        height: 22px;
        max-height: 22px;
    }
}

@media (max-width: 360px) {
    .inv-footer-links-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .inv-footer-group:nth-child(3) {
        grid-column: span 1;
    }
    .inv-footer-group:nth-child(3) .inv-footer-link-list {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
    }
    .inv-dark-strip-text {
        font-size: 0.76rem;
    }
    .inv-dark-strip-sub {
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inv-footer-logo-link,
    .inv-footer-social-btn,
    .inv-footer-link,
    .inv-payment-chip,
    .inv-contact-card,
    .inv-contact-wa-btn {
        transition: none !important;
    }
}

/* ──────────────────────────────────────────────────────────────
   25. PARTNER PROFILE & OFFER DETAIL REDESIGN (UI/UX PRO MAX)
   ────────────────────────────────────────────────────────────── */

/* ── PARTNER PROFILE HERO (VIP EXECUTIVE SUITE) ── */
.partner-hero-card {
    background: radial-gradient(circle at 100% 0%, rgba(223, 202, 175, 0.22) 0%, rgba(253, 251, 248, 0.8) 45%, #FFFFFF 100%);
    border: 1px solid rgba(206, 177, 143, 0.38);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 12px 32px -6px rgba(206, 177, 143, 0.16), 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.partner-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #CEB18F 0%, #DFCAAE 50%, #B89B79 100%);
}

/* 2-Column Suite on Desktop */
.partner-hero-suite {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
}

.partner-hero-brand-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.partner-hero-identity-row {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
}

.partner-hero-logo-box {
    width: 124px;
    height: 124px;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    box-shadow: 0 8px 24px rgba(206, 177, 143, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
    position: relative;
}

.partner-hero-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-monogram {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: linear-gradient(135deg, #2A2219 0%, #1A1612 100%);
    color: #DFCAAF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    font-weight: 800;
    border: 1.5px solid rgba(206, 177, 143, 0.45);
}

.partner-hero-info {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.partner-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
}

.partner-badge-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.85rem;
    border-radius: 9999px;
    background: rgba(206, 177, 143, 0.14);
    border: 1px solid rgba(206, 177, 143, 0.4);
    color: #8C6E3D;
    font-size: 0.82rem;
    font-weight: 700;
}

.partner-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.85rem;
    border-radius: 9999px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    font-size: 0.82rem;
    font-weight: 700;
}

.partner-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.85rem;
    border-radius: 9999px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
    font-size: 0.82rem;
    font-weight: 700;
}

.partner-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 0.85rem;
    border-radius: 9999px;
    background: rgba(206, 177, 143, 0.18);
    border: 1px solid rgba(206, 177, 143, 0.45);
    color: #8C6E3D;
    font-size: 0.82rem;
    font-weight: 700;
}

.partner-hero-title {
    font-size: 2.15rem;
    font-weight: 800;
    color: #1A1612;
    margin: 0 0 0.35rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.partner-hero-subtitle {
    color: #6B7280;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.65rem;
}

.partner-meta-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.15rem;
    margin-top: 0.6rem;
}

.partner-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #4B5563;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.partner-meta-item svg,
.partner-meta-item i {
    color: #CEB18F;
}

a.partner-meta-item:hover {
    color: #1A1612;
}

a.partner-meta-item:hover svg,
a.partner-meta-item:hover i {
    color: #8C6E3D;
}

.partner-hero-desc {
    background: rgba(253, 251, 248, 0.65);
    border: 1px solid rgba(206, 177, 143, 0.28);
    border-right: 3.5px solid #CEB18F;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    color: #374151;
    font-size: 0.94rem;
    line-height: 1.85;
    margin-top: 1.5rem;
}

/* VIP Privilege Side Hub */
.partner-hero-privilege-column {
    width: 380px;
    flex-shrink: 0;
}

.partner-hero-privilege-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 246, 240, 0.95) 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    border-radius: 20px;
    padding: 1.35rem;
    box-shadow: 0 10px 28px -4px rgba(206, 177, 143, 0.2), 0 2px 6px rgba(0, 0, 0, 0.02);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.privilege-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(206, 177, 143, 0.25);
}

.privilege-icon-seal {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(206, 177, 143, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8C6E3D;
    font-size: 0.85rem;
}

.privilege-headline {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1A1612;
}

.privilege-status-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    font-size: 0.74rem;
    font-weight: 700;
}

.btn-hero-explore-vip {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #DFCAAF 0%, #CEB18F 50%, #B8976C 100%);
    color: #1A1612;
    font-weight: 800;
    font-size: 0.95rem;
    border: 1px solid #E8D5BF;
    box-shadow: 0 4px 16px rgba(206, 177, 143, 0.35);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.btn-hero-explore-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(206, 177, 143, 0.48);
    background: linear-gradient(135deg, #E5D2BA 0%, #D8BF9F 100%);
    color: #000000;
}

.btn-hero-explore-vip:active {
    transform: scale(0.98);
}

.privilege-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.5rem;
}

.btn-hero-action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.35);
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 40px;
}

.btn-hero-action-pill:hover {
    border-color: #CEB18F;
    background: #FAF9F7;
    color: #1A1612;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(206, 177, 143, 0.15);
}

.btn-hero-action-pill.is-whatsapp {
    color: #065F46;
    border-color: #A7F3D0;
    background: #ECFDF5;
}

.btn-hero-action-pill.is-whatsapp:hover {
    background: #D1FAE5;
    border-color: #6EE7B7;
    color: #047857;
}

.privilege-trust-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #4B5563;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(206, 177, 143, 0.2);
}

.privilege-socials-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.hero-social-channels {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-hero-social {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hero-social:hover {
    background: #FAF9F7;
    border-color: #CEB18F;
    color: #8C6E3D;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(206, 177, 143, 0.2);
}

/* ── STICKY LUXURY PROFILE TABS (PERFECT DESKTOP DOCK) ── */
.partner-sticky-tabs-container {
    position: sticky;
    top: var(--investia-top-stack-height, 66px);
    z-index: 850;
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    border-radius: 18px;
    padding: 0.45rem;
    box-shadow: 0 10px 30px -5px rgba(26, 22, 18, 0.08), 0 2px 8px rgba(206, 177, 143, 0.12);
    margin-bottom: 2.25rem;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, top 0.2s ease, background 0.25s ease, border-radius 0.2s ease;
}

.partner-sticky-tabs-container.is-stuck {
    box-shadow: 0 14px 38px -4px rgba(26, 22, 18, 0.12), 0 4px 16px rgba(206, 177, 143, 0.22);
    border-color: rgba(206, 177, 143, 0.7);
    background: rgba(253, 251, 248, 0.98);
    border-top: none;
    border-radius: 0 0 16px 16px;
}

.partner-tabs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    width: 100%;
    direction: rtl !important;
}

.partner-tab-btn {
    flex: 1;
    max-width: 340px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.82rem 1.4rem;
    font-size: 0.94rem;
    font-weight: 700;
    color: #4B5563;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(206, 177, 143, 0.25);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-decoration: none;
    direction: rtl !important;
    flex-direction: row !important;
}

.partner-tab-btn svg,
.partner-tab-btn i {
    transition: color 0.2s ease;
    color: #9CA3AF;
}

.partner-tab-btn:hover {
    color: #1A1612;
    background: #FAF9F7;
    border-color: rgba(206, 177, 143, 0.45);
}

.partner-tab-btn:hover svg,
.partner-tab-btn:hover i {
    color: #8C6E3D;
}

/* Active tab: Luminous warm ivory / champagne gold pill */
.partner-tab-btn.is-active,
.partner-tab-btn.active {
    color: #1A1612;
    background: linear-gradient(135deg, #FDF8F2 0%, #F5ECE0 60%, #EBDBC8 100%);
    border-color: #CEB18F;
    box-shadow: 0 4px 16px rgba(206, 177, 143, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.9);
    font-weight: 800;
}

.partner-tab-btn.is-active svg,
.partner-tab-btn.active svg,
.partner-tab-btn.is-active i,
.partner-tab-btn.active i {
    color: #8C6E3D;
}

.partner-tab-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 0.45rem;
    border-radius: 9999px;
    background: rgba(206, 177, 143, 0.18);
    color: #8C6E3D;
    border: 1px solid rgba(206, 177, 143, 0.35);
    font-size: 0.75rem;
    font-weight: 700;
}

.partner-tab-btn.is-active .partner-tab-counter,
.partner-tab-btn.active .partner-tab-counter {
    background: #CEB18F;
    color: #1A1612;
    border-color: #CEB18F;
    font-weight: 800;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .partner-hero-suite {
        flex-direction: column;
        gap: 1.5rem;
    }
    .partner-hero-privilege-column {
        width: 100%;
    }
    .partner-sticky-tabs-container {
        top: var(--investia-top-stack-height, 66px);
        z-index: 950;
    }
}

@media (max-width: 767.98px) {
    .partner-hero-card {
        padding: 1.25rem 1rem;
        border-radius: 18px;
    }
    .partner-hero-identity-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.85rem;
    }
    .partner-hero-info {
        text-align: center;
    }
    .partner-hero-logo-box {
        width: 84px;
        height: 84px;
        border-radius: 16px;
    }
    .partner-hero-title {
        font-size: 1.38rem;
        line-height: 1.35;
        margin-bottom: 0.4rem;
    }
    .partner-hero-description {
        font-size: 0.86rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }
    .partner-badges-wrap,
    .partner-meta-pills {
        justify-content: center;
        gap: 0.35rem;
    }
    .partner-hero-badge-gold,
    .partner-category-pill,
    .partner-status-pill {
        padding: 0.2rem 0.55rem;
        font-size: 0.72rem;
    }
    .partner-meta-pill {
        padding: 0.22rem 0.55rem;
        font-size: 0.74rem;
    }
    .privilege-box-luxury {
        padding: 1.15rem 1rem;
        border-radius: 16px;
    }
    .privilege-actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.35rem;
    }
    .btn-hero-action-pill {
        padding: 0.48rem 0.35rem;
        font-size: 0.78rem;
        gap: 0.3rem;
        min-height: 38px;
        border-radius: 10px;
    }
    .btn-hero-explore-vip {
        padding: 0.7rem 1rem;
        font-size: 0.88rem;
        border-radius: 12px;
    }
    .partner-sticky-tabs-container {
        top: var(--investia-top-stack-height, 66px);
        z-index: 950;
        background: rgba(253, 251, 248, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: 0 8px 24px -4px rgba(26, 22, 18, 0.12), 0 2px 8px rgba(206, 177, 143, 0.15);
        padding: 0.3rem;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }
    .partner-sticky-tabs-container.is-stuck {
        border-top: none;
        border-radius: 0 0 14px 14px;
    }
    .partner-tabs-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
        width: 100%;
    }
    .partner-tab-btn {
        max-width: 100%;
        padding: 0.55rem 0.25rem;
        font-size: 0.8rem;
        gap: 0.3rem;
        justify-content: center;
        border-radius: 10px;
        min-height: 44px;
    }
    .partner-tab-btn svg {
        width: 15px;
        height: 15px;
    }
    .partner-tab-counter {
        min-width: 18px;
        height: 18px;
        font-size: 0.68rem;
        padding: 0 0.25rem;
    }
    .partner-map-container {
        height: 230px !important;
        min-height: 230px !important;
    }
    .partner-map-card,
    .partner-contact-card {
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }
}

/* ── SMOOTH TAB CONTENT WRAPPER & KINETIC GESTURES ── */
.partner-tab-content-wrapper {
    position: relative;
    width: 100%;
    min-height: 380px;
    touch-action: pan-y;
}

.partner-tab-pane {
    will-change: transform, opacity;
}

.partner-tab-pane.is-active {
    display: block !important;
    animation: partnerTabFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.partner-tab-pane.slide-from-left {
    animation: partnerTabSlideFromLeft 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.partner-tab-pane.slide-from-right {
    animation: partnerTabSlideFromRight 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes partnerTabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes partnerTabSlideFromLeft {
    0% {
        opacity: 0;
        transform: translate3d(-24px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes partnerTabSlideFromRight {
    0% {
        opacity: 0;
        transform: translate3d(24px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-tab-pane,
    .partner-tab-pane.slide-from-left,
    .partner-tab-pane.slide-from-right,
    .partner-tab-pane.is-active {
        animation: none !important;
        transform: none !important;
        transition: opacity 0.15s ease !important;
    }
    .partner-offer-card:hover,
    .partner-offer-featured:hover,
    .branch-luxury-card:hover,
    .btn-hero-explore-vip:hover,
    .btn-hero-action-pill:hover,
    .btn-hero-social:hover {
        transform: none !important;
    }
}

/* ── REUSABLE LUXURY SECTION HEADERS ── */
.investia-section-header {
    margin-bottom: 1.75rem;
    scroll-margin-top: calc(var(--investia-top-stack-height, 66px) + 72px);
}

.partner-tab-pane,
[id^="tab-"] {
    scroll-margin-top: calc(var(--investia-top-stack-height, 66px) + 72px);
}

.section-overline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(206, 177, 143, 0.12);
    border: 1px solid rgba(206, 177, 143, 0.35);
    color: #8C6E3D;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title-luxury {
    font-size: 1.45rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.section-subtitle-luxury {
    font-size: 0.92rem;
    color: #6B7280;
    margin-bottom: 0;
}

/* ── UNIFIED ADAPTIVE LUXURY BENEFIT CARDS (PARTNER SHOWCASE) ── */
.partner-unified-offer-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(229, 231, 235, 0.9);
    border-radius: 20px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 16px -4px rgba(26, 22, 18, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.partner-unified-offer-card:hover {
    transform: translateY(-4px);
    border-color: #CEB18F;
    box-shadow: 0 16px 36px -8px rgba(206, 177, 143, 0.28), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.partner-unified-offer-card.is-featured {
    background: radial-gradient(circle at 100% 0%, rgba(206, 177, 143, 0.12) 0%, rgba(253, 251, 248, 0.6) 45%, #FFFFFF 100%);
    border: 1.75px solid #CEB18F;
    box-shadow: 0 8px 28px -6px rgba(206, 177, 143, 0.22), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.partner-unified-offer-card.is-targeted {
    border: 2px solid #B8976C;
    box-shadow: 0 0 0 4px rgba(206, 177, 143, 0.25), 0 12px 32px -6px rgba(206, 177, 143, 0.35);
    background: radial-gradient(circle at 100% 0%, rgba(206, 177, 143, 0.18) 0%, rgba(253, 251, 248, 0.8) 50%, #FFFFFF 100%);
}

.partner-card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.partner-offer-discount-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #FAF4EB 0%, #F3E7D5 100%);
    color: #8C6E3D;
    border: 1.5px solid #CEB18F;
    font-size: 0.92rem;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(206, 177, 143, 0.15);
    line-height: 1.2;
}

.partner-vip-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: rgba(206, 177, 143, 0.14);
    border: 1px solid rgba(206, 177, 143, 0.4);
    color: #8C6E3D;
    font-size: 0.78rem;
    font-weight: 700;
}

.partner-targeted-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: #1A1612;
    border: 1px solid #1A1612;
    color: #DFCAAF;
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(26, 22, 18, 0.2);
}

.partner-offer-date-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #71717A;
    font-size: 0.8rem;
    font-weight: 600;
}

.partner-card-body-content {
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.partner-offer-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #1A1612;
    margin-bottom: 0.65rem;
    line-height: 1.45;
    min-height: 2.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.partner-offer-desc {
    color: #4B5563;
    font-size: 0.9rem;
    line-height: 1.65;
    min-height: 4.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.partner-offer-perks-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(206, 177, 143, 0.25);
    border-bottom: 1px solid rgba(206, 177, 143, 0.25);
    margin-bottom: 1.25rem;
}

.partner-offer-perk {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #4B5563;
}

.partner-card-action-wrap {
    margin-top: auto;
}

.partner-offer-cta-btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #FAF6F0 0%, #F3E7D5 100%);
    border: 1.5px solid #CEB18F;
    border-radius: 12px;
    color: #8C6E3D;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(206, 177, 143, 0.2);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    text-decoration: none;
}

.partner-offer-cta-btn:hover {
    background: linear-gradient(135deg, #1A1612 0%, #2A241E 100%);
    border-color: #1A1612;
    color: #FDFBF8;
    box-shadow: 0 6px 18px rgba(26, 22, 18, 0.25);
    transform: translateY(-2px);
}

.partner-unified-offer-card.is-featured .partner-offer-cta-btn,
.partner-unified-offer-card.is-targeted .partner-offer-cta-btn {
    background: linear-gradient(135deg, #1A1612 0%, #2A241E 100%);
    border-color: #1A1612;
    color: #FDFBF8;
    box-shadow: 0 4px 14px rgba(26, 22, 18, 0.2);
}

.partner-unified-offer-card.is-featured .partner-offer-cta-btn:hover,
.partner-unified-offer-card.is-targeted .partner-offer-cta-btn:hover {
    background: linear-gradient(135deg, #CEB18F 0%, #B8976C 100%);
    border-color: #B8976C;
    color: #1A1612;
    box-shadow: 0 8px 22px rgba(206, 177, 143, 0.35);
}

@media (max-width: 767.98px) {
    .partner-unified-offer-card {
        padding: 1.35rem;
        border-radius: 16px;
    }
    
    .partner-offer-title {
        font-size: 1.1rem;
        min-height: auto;
    }
    
    .partner-offer-desc {
        font-size: 0.85rem;
        min-height: auto;
    }
    
    .partner-offer-cta-btn {
        min-height: 46px;
        font-size: 0.9rem;
    }
}

/* ── FEATURED OFFER SPOTLIGHT (HERO CARD - LEGACY) ── */
.partner-offer-featured {
    background: radial-gradient(circle at 100% 0%, rgba(206, 177, 143, 0.16) 0%, rgba(253, 251, 248, 0.7) 45%, #FFFFFF 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px -5px rgba(206, 177, 143, 0.18), 0 2px 6px rgba(0, 0, 0, 0.02);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-offer-featured:hover {
    border-color: #CEB18F;
    box-shadow: 0 14px 36px -4px rgba(206, 177, 143, 0.28);
    transform: translateY(-2px);
}

.featured-offer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.75rem;
}

.featured-offer-content {
    flex: 1;
    min-width: 280px;
}

.featured-offer-action-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    min-width: 220px;
}

.featured-offer-spotlight-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: rgba(206, 177, 143, 0.16);
    border: 1px solid rgba(206, 177, 143, 0.45);
    color: #8C6E3D;
    font-size: 0.82rem;
    font-weight: 800;
}

.featured-offer-huge-discount {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.45rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #FAF4EB 0%, #F3E7D5 100%);
    color: #8C6E3D;
    border: 1.5px solid #CEB18F;
    font-size: 1.35rem;
    font-weight: 900;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.22);
}

@media (max-width: 767.98px) {
    .featured-offer-layout {
        flex-direction: column;
        align-items: stretch;
    }
    .featured-offer-action-box {
        align-items: stretch;
    }
    .featured-offer-huge-discount {
        justify-content: center;
    }
}

/* ── SUPPORTING OFFER CARDS (LEGACY) ── */
.partner-offer-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    padding: 1.6rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.03);
}

.partner-offer-card:hover {
    transform: translateY(-3px);
    border-color: #CEB18F;
    box-shadow: 0 12px 28px -6px rgba(206, 177, 143, 0.25);
}

.partner-offer-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1A1612;
    margin-bottom: 0.5rem;
    line-height: 1.45;
    min-height: 2.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.partner-offer-card-desc {
    color: #4B5563;
    font-size: 0.875rem;
    line-height: 1.65;
    min-height: 4.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.offer-discount-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    background: rgba(206, 177, 143, 0.14);
    color: #8C6E3D;
    border: 1px solid rgba(206, 177, 143, 0.4);
    font-size: 0.82rem;
    font-weight: 700;
}

.offer-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #6B7280;
    font-size: 0.78rem;
    font-weight: 500;
}

/* ── SERVICES LIST (EXECUTIVE INTERACTIVE CARDS & MODAL) ── */
.partner-service-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.03);
    position: relative;
    overflow: hidden;
}

.partner-service-card:hover {
    background: #FFFFFF;
    border-color: #CEB18F;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(206, 177, 143, 0.25);
}

.partner-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #CEB18F 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.partner-service-card:hover::before {
    opacity: 1;
}

.service-card-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.service-cert-badge {
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.25);
    color: #16A34A;
    font-weight: 700;
    font-size: 0.74rem;
    border-radius: 9999px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-cat-badge {
    background: rgba(206, 177, 143, 0.15);
    border: 1px solid rgba(206, 177, 143, 0.35);
    color: #8A6B42;
    font-size: 0.74rem;
    font-weight: 700;
    border-radius: 9999px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.partner-service-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.4;
}

.partner-service-en {
    font-size: 0.76rem;
    color: #9CA3AF;
    font-family: monospace;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.partner-service-desc {
    font-size: 0.86rem;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 14px;
}

.partner-service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.service-highlight-tag {
    background: #FAF8F5;
    border: 1px solid rgba(206, 177, 143, 0.25);
    border-radius: 8px;
    font-size: 0.73rem;
    color: #4B5563;
    padding: 3px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.partner-service-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    border-top: 1px solid #F3F4F6;
    padding-top: 14px;
    margin-top: auto;
}

.btn-service-inspect {
    background: #111827;
    color: #CEB18F;
    border: 1px solid #111827;
    padding: 9px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.82rem;
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none !important;
}

.btn-service-inspect:hover {
    background: #1F2937;
    border-color: #CEB18F;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
}

.btn-service-wa {
    background: rgba(37, 211, 102, 0.12);
    color: #16A34A;
    border: 1px solid rgba(37, 211, 102, 0.3);
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.btn-service-wa:hover {
    background: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
    transform: translateY(-1px);
}

/* Service Details Modal Styling */
.partner-service-modal .modal-content {
    border-radius: 22px;
    border: 1.5px solid rgba(206, 177, 143, 0.4);
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.25);
    overflow: hidden;
    background: #FFFFFF;
}

.partner-service-modal .modal-header {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    color: #FFFFFF;
    padding: 1.5rem 1.75rem;
    border-bottom: 2px solid #CEB18F;
}

.partner-service-modal .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.partner-service-modal .modal-body {
    padding: 1.75rem;
    background: #FAF9F7;
    max-height: calc(85vh - 120px);
    overflow-y: auto;
}

.modal-section-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.02);
}

.modal-offer-highlight-card {
    background: linear-gradient(135deg, rgba(206, 177, 143, 0.15) 0%, rgba(206, 177, 143, 0.04) 100%);
    border: 1.5px solid #CEB18F;
    border-radius: 16px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.25rem;
}

/* Fallback row styles */
.service-luxury-row {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 1.15rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.02);
}

.service-luxury-row:hover {
    background: #FAF9F7;
    border-color: #CEB18F;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(206, 177, 143, 0.2);
}

/* ── BRANCHES CARDS ── */
.branch-luxury-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.02);
}

.branch-luxury-card:hover {
    border-color: #CEB18F;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(206, 177, 143, 0.18);
}

.branch-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.branch-badge-pill {
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    background: rgba(206, 177, 143, 0.12);
    border: 1px solid rgba(206, 177, 143, 0.35);
    color: #8C6E3D;
    font-size: 0.72rem;
    font-weight: 700;
}

.btn-branch-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn-branch-map:hover {
    background: #FAF5EE;
    border-color: #CEB18F;
    color: #8C6E3D;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(206, 177, 143, 0.2);
}

/* ── REVIEWS & RATINGS SYSTEM ── */
.rating-summary-card {
    background: radial-gradient(circle at 50% 0%, rgba(206, 177, 143, 0.15) 0%, rgba(253, 251, 248, 0.8) 55%, #FFFFFF 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.4);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 8px 24px -4px rgba(206, 177, 143, 0.14);
}

.rating-big-score {
    font-size: 3.75rem;
    font-weight: 800;
    color: #1A1612;
    line-height: 1;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.stars-gold {
    display: inline-flex;
    gap: 0.3rem;
    color: #F59E0B;
}

.review-form-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 18px -2px rgba(17, 24, 39, 0.04);
}

.star-rating-radio-group {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.star-rating-radio-group input[type="radio"] {
    display: none;
}

.star-rating-radio-group label {
    font-size: 1.85rem;
    color: #D1D5DB;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating-radio-group label:hover {
    transform: scale(1.15);
}

.star-rating-radio-group input[type="radio"]:checked ~ label,
.star-rating-radio-group label:hover,
.star-rating-radio-group label:hover ~ label {
    color: #F59E0B;
}

/* ── REVIEWS & FEED STYLING (LUXURY EXECUTIVE) ── */
.review-card-luxury {
    background: #FFFFFF;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 18px;
    padding: 1.6rem 1.85rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px -2px rgba(20, 20, 22, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.review-card-luxury:hover {
    border-color: rgba(197, 178, 136, 0.5);
    box-shadow: 0 10px 25px -4px rgba(20, 20, 22, 0.08), 0 0 12px rgba(197, 178, 136, 0.12);
    transform: translateY(-2px);
}

.review-avatar-luxury {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FAF4EB 0%, #EBDBC8 100%);
    color: #8C6E3D;
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(206, 177, 143, 0.2);
}

.review-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FAF9F7;
    border: 1px solid rgba(197, 178, 136, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    flex-shrink: 0;
}

.review-rating-score {
    font-weight: 800;
    font-size: 0.92rem;
    color: #1A1612;
}

.review-quote-text {
    font-size: 0.96rem;
    line-height: 1.85;
    color: #374151;
    margin: 1.15rem 0 0.5rem;
    position: relative;
}

.review-reply-luxury {
    background: rgba(223, 202, 175, 0.12);
    border: 1px solid rgba(206, 177, 143, 0.38);
    border-right: 4px solid #CEB18F;
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    margin-top: 1.25rem;
    position: relative;
}

.review-reply-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(197, 178, 136, 0.25);
}

.review-member-badge {
    background: rgba(197, 178, 136, 0.12);
    color: #8C7343;
    border: 1px solid rgba(197, 178, 136, 0.35);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Fallback for legacy classnames */
.review-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* ── BALANCED MAP & CONTACT ACTIONS ── */
.partner-map-card {
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 20px;
    padding: 1.6rem;
    height: 100%;
    box-shadow: 0 6px 20px -2px rgba(206, 177, 143, 0.12);
    display: flex;
    flex-direction: column;
}

.partner-map-container {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    height: 310px;
    min-height: 280px;
    position: relative;
    background: #E5E7EB;
    flex: 1;
}

.partner-map-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.partner-contact-card {
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 20px;
    padding: 1.6rem;
    height: 100%;
    box-shadow: 0 6px 20px -2px rgba(206, 177, 143, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card-trust-footer {
    border-color: rgba(206, 177, 143, 0.25) !important;
}

.contact-action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    border-radius: 14px;
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 0.75rem;
}

.contact-action-item:hover {
    background: #FAF9F7;
    border-color: rgba(206, 177, 143, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
}

.contact-action-item.is-whatsapp {
    background: #ECFDF5;
    border-color: #A7F3D0;
}

.contact-action-item.is-whatsapp:hover {
    background: #D1FAE5;
    border-color: #6EE7B7;
}

.contact-meta-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(206, 177, 143, 0.12);
    border: 1px solid rgba(206, 177, 143, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CEB18F;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.contact-action-item:hover .contact-meta-icon {
    background: rgba(206, 177, 143, 0.25);
    color: #8C6E3D;
}

.contact-action-item.is-whatsapp .contact-meta-icon {
    background: rgba(16, 185, 129, 0.15);
    border-color: #A7F3D0;
    color: #10B981;
}

/* ── FAQ ACCORDION (LUXURY) ── */
.partner-faqs-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.partner-faq-item {
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.08);
}

.partner-faq-item:hover {
    border-color: #CEB18F;
    box-shadow: 0 6px 20px rgba(206, 177, 143, 0.18);
}

.partner-faq-header {
    width: 100%;
    text-align: right;
    padding: 1.25rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1A1612;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.partner-faq-header:hover {
    color: #8C6E3D;
    background: #FAF8F5;
}

.partner-faq-header:not(.collapsed) {
    background: linear-gradient(135deg, #FDF8F2 0%, #FAF4EC 100%);
    color: #8C6E3D;
    border-bottom: 1px solid rgba(206, 177, 143, 0.25);
}

.partner-faq-header svg,
.partner-faq-header i {
    color: #CEB18F;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.partner-faq-header:not(.collapsed) svg,
.partner-faq-header:not(.collapsed) i {
    transform: rotate(180deg);
}

.partner-faq-body {
    padding: 1.15rem 1.5rem 1.35rem;
    color: #4B5563;
    font-size: 0.94rem;
    line-height: 1.85;
}

/* ── OFFER DETAIL SHOWCASE ── */
.offer-showcase-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 4px 20px -4px rgba(17, 24, 39, 0.05);
    margin-bottom: 1.5rem;
}

.offer-huge-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    color: #CEB18F;
    border: 1px solid rgba(206, 177, 143, 0.4);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.1);
}

.offer-terms-card {
    background: #FAF8F5;
    border: 1px solid rgba(206, 177, 143, 0.25);
    border-radius: 14px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.offer-sidebar-partner-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
    margin-bottom: 1.5rem;
}

.offer-redemption-guide-card {
    background: #111827;
    color: #FFFFFF;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgba(206, 177, 143, 0.25);
    margin-bottom: 1.5rem;
}

.redemption-step-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.redemption-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(206, 177, 143, 0.15);
    border: 1px solid #CEB18F;
    color: #CEB18F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* =================================================================
   SECTION 26 — PARTNERS DIRECTORY REDESIGN (UI/UX PRO MAX)
   Institutional Luxury Arabic RTL Standards (#CEB18F, #111827, #FFFFFF)
   ================================================================= */

.partners-page {
    direction: rtl;
    background: #F7F8FA;
    color: #111827;
    min-height: 100vh;
}

/* ── HERO SECTION ── */
.partners-hero-vip {
    background: linear-gradient(160deg, #0D0E10 0%, #141416 50%, #1C1D20 100%);
    position: relative;
    overflow: hidden;
    padding: 52px 0 68px;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(197, 178, 136, 0.2);
}

.partners-hero-vip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 800px at 80% 20%, rgba(197, 178, 136, 0.12) 0%, transparent 65%),
        radial-gradient(circle 600px at 15% 85%, rgba(197, 178, 136, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Breadcrumbs */
.partners-breadcrumbs-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.partners-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.partners-breadcrumb-item:hover {
    color: #CEB18F;
}

.partners-breadcrumb-sep {
    color: rgba(206, 177, 143, 0.4);
}

.partners-breadcrumb-current {
    color: #CEB18F;
    font-weight: 600;
}

.partners-hero-content {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.partners-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #CEB18F;
    letter-spacing: 0.06em;
    background: rgba(206, 177, 143, 0.12);
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 9999px;
    padding: 5px 18px;
    margin-bottom: 20px;
}

.partners-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #CEB18F;
    box-shadow: 0 0 10px #CEB18F;
    flex-shrink: 0;
}

.partners-hero-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.partners-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.9;
    max-width: 780px;
    margin: 0 auto;
}

/* 4 Platform Metrics Cards */
.partners-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.partners-stat-card {
    background: rgba(17, 24, 39, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(206, 177, 143, 0.3);
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.partners-stat-card:hover {
    transform: translateY(-3px);
    border-color: #CEB18F;
    box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(206, 177, 143, 0.2);
}

.partners-stat-num {
    font-size: clamp(1.8rem, 2.5vw, 2.3rem);
    font-weight: 900;
    color: #CEB18F;
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.partners-stat-lbl {
    font-size: 0.84rem;
    color: #FFFFFF;
    font-weight: 600;
    opacity: 0.92;
}

/* ── SEARCH & FILTER CONSOLE ── */
.partners-console-section {
    padding: 0 0 4rem;
}

.partners-filter-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 1.75rem 2rem;
    box-shadow: 0 10px 30px -10px rgba(17, 24, 39, 0.08);
    margin-top: -36px;
    margin-bottom: 2.25rem;
    position: relative;
    z-index: 10;
}

.partners-input-wrap {
    position: relative;
    width: 100%;
}

.partners-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    pointer-events: none;
}

.partners-input-field {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1.5px solid #E5E7EB;
    background: #FAF9F7;
    padding: 0 1rem 0 2.75rem;
    font-size: 0.92rem;
    color: #111827;
    transition: all 0.2s ease;
}

.partners-input-field:focus {
    outline: none;
    border-color: #CEB18F;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.15);
}

.partners-select-wrap {
    position: relative;
    width: 100%;
}

.partners-select-field {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    border: 1.5px solid #E5E7EB;
    background: #FAF9F7;
    padding: 0 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
}

.partners-select-field:focus {
    outline: none;
    border-color: #CEB18F;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.15);
}

.partners-filter-submit-btn {
    height: 50px;
    border-radius: 12px;
    background: #111827;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.94rem;
    border: 1px solid rgba(206, 177, 143, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.1);
}

.partners-filter-submit-btn:hover {
    background: #1F2937;
    color: #CEB18F;
    border-color: #CEB18F;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.2);
}

/* Category Quick Filter Pills Bar */
.partners-cat-pills-bar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    overflow-x: auto;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid #F3F4F6;
    scrollbar-width: none;
}

.partners-cat-pills-bar::-webkit-scrollbar {
    display: none;
}

.partners-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.05rem;
    border-radius: 9999px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    font-size: 0.84rem;
    font-weight: 600;
    color: #4B5563;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.partners-cat-pill:hover {
    border-color: #CEB18F;
    color: #8C6E3D;
    background: #FAF6F0;
}

.partners-cat-pill.is-active {
    background: #111827;
    border-color: #CEB18F;
    color: #CEB18F;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.12);
}

/* Active Chips Strip */
.partners-active-chips-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(206, 177, 143, 0.25);
}

.partners-chips-label {
    font-size: 0.8rem;
    color: #6B7280;
    font-weight: 600;
}

.partners-chip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.4);
    color: #8C6E3D;
    font-size: 0.8rem;
    font-weight: 700;
}

.partners-chip-remove {
    color: #8C6E3D;
    font-size: 1.1rem;
    line-height: 1;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: color 0.15s ease;
}

.partners-chip-remove:hover {
    color: #DC2626;
}

.partners-chips-reset {
    font-size: 0.78rem;
    color: #4B5563;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.15s ease;
}

.partners-chips-reset:hover {
    color: #111827;
}

/* ── RESULTS STRIP ── */
.partners-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.partners-results-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.96rem;
    font-weight: 700;
    color: #111827;
}

.partners-results-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    background: #111827;
    color: #CEB18F;
    font-size: 0.92rem;
    font-weight: 800;
    border: 1px solid rgba(206, 177, 143, 0.3);
}

.partners-results-trust {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: #059669;
    font-weight: 600;
}

/* ── PARTNER CARD VIP ── */
.inv-partner-card-vip {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px -4px rgba(17, 24, 39, 0.03);
}

.inv-partner-card-vip::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #CEB18F, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.inv-partner-card-vip:hover {
    transform: translateY(-4px);
    border-color: rgba(206, 177, 143, 0.5);
    box-shadow: 0 16px 36px -8px rgba(206, 177, 143, 0.2);
}

.inv-partner-card-vip:hover::before {
    opacity: 1;
}

/* Card Top Strip: Category + Featured + Verified */
.partner-card-top-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.partner-cat-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.35);
    color: #8C6E3D;
    font-size: 0.78rem;
    font-weight: 700;
}

.partner-featured-badge-vip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    color: #CEB18F;
    border: 1px solid rgba(206, 177, 143, 0.35);
    font-size: 0.78rem;
    font-weight: 700;
}

.partner-verified-seal {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(206, 177, 143, 0.12);
    border: 1px solid rgba(206, 177, 143, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CEB18F;
    flex-shrink: 0;
}

/* Partner Identity Header */
.partner-identity-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.partner-logo-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
}

.partner-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.partner-logo-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    color: #CEB18F;
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(206, 177, 143, 0.3);
}

.partner-identity-info {
    min-width: 0;
    flex-grow: 1;
}

.partner-name-heading {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.4rem;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partner-name-heading a {
    color: #111827;
    text-decoration: none;
    transition: color 0.2s ease;
}

.partner-name-heading a:hover {
    color: #8C6E3D;
}

.partner-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.partner-city-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: #6B7280;
    font-weight: 600;
}

.partner-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.78rem;
    color: #111827;
    font-weight: 700;
    background: #FEF3C7;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}

/* Card Narrative Description */
.partner-card-desc {
    font-size: 0.88rem;
    color: #4B5563;
    line-height: 1.75;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Active Offers Strip */
.partner-perks-strip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.partner-offers-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #059669;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Card Footer */
.partner-card-footer {
    padding-top: 1.15rem;
    border-top: 1px solid #F3F4F6;
}

.partner-visit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    background: #111827;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid rgba(206, 177, 143, 0.3);
    transition: all 0.2s ease;
}

.partner-visit-btn:hover {
    background: #1F2937;
    color: #CEB18F;
    border-color: #CEB18F;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.15);
}

.partner-visit-btn svg {
    transition: transform 0.2s ease;
}

.partner-visit-btn:hover svg {
    transform: translateX(-3px);
}

/* ── EMPTY STATE ── */
.partners-empty-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 4px 16px -4px rgba(17, 24, 39, 0.03);
    margin-bottom: 3rem;
}

.partners-empty-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(206, 177, 143, 0.12);
    border: 1.5px solid rgba(206, 177, 143, 0.3);
    color: #8C6E3D;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.partners-empty-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.75rem;
}

.partners-empty-desc {
    font-size: 0.95rem;
    color: #6B7280;
    max-width: 520px;
    margin: 0 auto 1.75rem;
    line-height: 1.8;
}

.partners-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    background: #111827;
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(206, 177, 143, 0.3);
    transition: all 0.2s ease;
}

.partners-empty-btn:hover {
    background: #1F2937;
    color: #CEB18F;
    border-color: #CEB18F;
}

/* ── PAGINATION ── */
.partners-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.partners-pagination-wrap .pagination {
    gap: 0.4rem;
}

.partners-pagination-wrap .page-item .page-link {
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    color: #374151;
    font-weight: 700;
    padding: 0.6rem 1rem;
    transition: all 0.2s ease;
}

.partners-pagination-wrap .page-item.active .page-link {
    background: #111827;
    border-color: #CEB18F;
    color: #CEB18F;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.15);
}

.partners-pagination-wrap .page-item .page-link:hover:not(.active) {
    background: #FAF6F0;
    border-color: #CEB18F;
    color: #8C6E3D;
}

/* ── JOIN NETWORK CTA BANNER ── */
.partners-cta-section {
    padding: 1rem 0 5rem;
}

.partners-cta-banner {
    position: relative;
    background: linear-gradient(145deg, #111827 0%, #1F2937 60%, #0F172A 100%);
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 24px;
    overflow: hidden;
    padding: 56px 48px;
    text-align: center;
    box-shadow: 0 20px 48px -10px rgba(17, 24, 39, 0.3);
}

.partners-cta-glow {
    position: absolute;
    width: 600px;
    height: 350px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(206, 177, 143, 0.16) 0%, transparent 70%);
    pointer-events: none;
}

.partners-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.partners-cta-kicker {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #CEB18F;
    letter-spacing: 0.08em;
    background: rgba(206, 177, 143, 0.15);
    border: 1px solid rgba(206, 177, 143, 0.3);
    border-radius: 9999px;
    padding: 5px 16px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.partners-cta-title {
    font-size: clamp(1.6rem, 2.8vw, 2.3rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 14px;
    line-height: 1.35;
}

.partners-cta-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.85;
    margin-bottom: 24px;
}

.partners-cta-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.partners-cta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(206, 177, 143, 0.25);
    border-radius: 9999px;
    padding: 5px 14px;
}

.partners-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.partners-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #CEB18F;
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(206, 177, 143, 0.25);
    border: 1px solid #CEB18F;
}

.partners-cta-btn-primary:hover {
    background: #DFCAAE;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(206, 177, 143, 0.35);
}

.partners-cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.partners-cta-btn-ghost:hover {
    border-color: #CEB18F;
    color: #CEB18F;
    background: rgba(206, 177, 143, 0.08);
}

/* ── RESPONSIVE RULES ── */
@media (max-width: 991.98px) {
    .partners-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .partners-filter-card {
        padding: 1.5rem;
        margin-top: -24px;
    }
}

@media (max-width: 575.98px) {
    .partners-hero-vip {
        padding: 36px 0 52px;
    }
    .partners-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .partners-stat-card {
        padding: 16px 10px;
    }
    .partners-stat-num {
        font-size: 1.6rem;
    }
    .partners-stat-lbl {
        font-size: 0.78rem;
    }
    .partners-filter-card {
        padding: 1.25rem 1rem;
    }
    .partners-cta-banner {
        padding: 40px 18px;
    }
    .partners-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .partners-cta-btn-primary,
    .partners-cta-btn-ghost {
        width: 100%;
        justify-content: center;
    }
}

/* ──────────────────────────────────────────────────────────────
   TOP CELEBRATORY & MARQUEE ANNOUNCEMENT BANNERS (alaola benchmark)
   ────────────────────────────────────────────────────────────── */
.investia-celebration-banner {
    display: none !important;
    position: relative;
    width: 100%;
    background: linear-gradient(90deg, #06482a 0%, #0a6b3f 50%, #06482a 100%);
    color: #ffffff;
    z-index: 1045;
    overflow: hidden;
}

/* Right-to-Left Luxury Light Sheen Sweep (اللمعة الملكية الساحرة من اليمين إلى اليسار) */
.investia-celebration-banner::after {
    content: '';
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: 0;
    width: 35%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 15%,
        rgba(255, 255, 255, 0.28) 50%,
        rgba(255, 240, 185, 0.35) 60%,
        rgba(255, 255, 255, 0.05) 85%,
        transparent 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 1;
    animation: celebrationShimmerSweep 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes celebrationShimmerSweep {
    0% {
        transform: translateX(350%) skewX(-25deg);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    45% {
        transform: translateX(-350%) skewX(-25deg);
        opacity: 1;
    }
    46%, 100% {
        transform: translateX(-350%) skewX(-25deg);
        opacity: 0;
    }
}

.investia-celebration-banner .banner-pattern-line {
    height: 3px;
    background-image: repeating-linear-gradient(90deg, rgba(212, 178, 94, 0.45) 0, rgba(212, 178, 94, 0.45) 6px, transparent 6px, transparent 14px);
    position: relative;
    z-index: 2;
}

.investia-celebration-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.celebration-sparkle {
    display: inline-block;
    color: #d4b25e;
    font-size: 0.75rem;
}

/* Saudi National Day 96 Badge — Elegant Radiant Flash / Glow (وميض هادئ وراقي) */
.investia-celebration-badge {
    background: linear-gradient(135deg, rgba(212, 178, 94, 0.28) 0%, rgba(255, 255, 255, 0.16) 100%);
    border: 1px solid rgba(212, 178, 94, 0.6);
    border-radius: 9999px;
    padding: 0.18rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 0 8px rgba(212, 178, 94, 0.3);
    animation: saudiBadgeFlash 2.5s ease-in-out infinite;
}

@keyframes saudiBadgeFlash {
    0%, 100% {
        box-shadow: 0 0 5px rgba(212, 178, 94, 0.25);
        border-color: rgba(212, 178, 94, 0.45);
        opacity: 0.9;
    }
    50% {
        box-shadow: 0 0 16px rgba(212, 178, 94, 0.75), 0 0 24px rgba(255, 235, 170, 0.4);
        border-color: rgba(255, 235, 170, 0.95);
        opacity: 1;
    }
}

/* Dismissible Marquee Ticker Bar */
.investia-top-marquee-bar {
    position: relative;
    width: 100%;
    height: 40px;
    background-color: #0a1c3c;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1040;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.3s ease;
}

.investia-top-marquee-bar.dismissed {
    opacity: 0 !important;
    max-height: 0 !important;
    height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.investia-marquee-close-btn {
    position: absolute;
    left: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(10, 28, 60, 0.95);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.investia-marquee-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.investia-marquee-close-btn:focus-visible {
    outline: 2px solid #CEB18F;
    outline-offset: 2px;
}

.investia-ticker-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    padding-left: 48px; /* space for close button on the left */
    direction: ltr; /* ensures smooth continuous CSS translate loop across browsers */
}

/* Left edge smooth fade for text passing under the close button */
.investia-top-marquee-bar::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 52px;
    background: linear-gradient(to right, #0a1c3c 65%, rgba(10, 28, 60, 0));
    z-index: 15;
    pointer-events: none;
}

.investia-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: investiaTopTickerMarquee 26s linear infinite;
}

.investia-ticker-track:hover {
    animation-play-state: paused;
}

.investia-ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 2.25rem;
    padding: 0 1.5rem;
    white-space: nowrap;
    direction: rtl; /* text reads in Arabic RTL naturally */
    font-size: 0.84rem;
    font-weight: 500;
}

.investia-ticker-content .ticker-dot {
    color: #CEB18F;
    font-size: 0.95rem;
    opacity: 0.85;
}

.investia-ticker-content .ticker-logo-separator {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    user-select: none;
    vertical-align: middle;
    flex-shrink: 0;
}

.investia-ticker-content .ticker-brand-logo {
    height: 20px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
    transition: transform 0.2s ease;
    vertical-align: middle;
    flex-shrink: 0;
}

@keyframes investiaTopTickerMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 576px) {
    .investia-celebration-inner {
        font-size: 0.78rem;
        gap: 0.5rem;
        padding: 0.35rem 0.5rem;
    }
    .investia-top-marquee-bar {
        height: 36px;
    }
    .investia-ticker-wrap {
        padding-left: 42px;
    }
    .investia-ticker-content {
        font-size: 0.78rem;
        gap: 1.5rem;
    }
    .investia-ticker-content .ticker-brand-logo {
        height: 14px;
    }
}

/* ──────────────────────────────────────────────────────────────
   PREMIUM ENTRANCE & MOTION KEYFRAMES
   ────────────────────────────────────────────────────────────── */
@keyframes invHeaderEntrance {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes invHeroImageScale {
    0% {
        opacity: 0.3;
        transform: scale(1.04);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes invHeroFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes invHeroControlsFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes invSearchEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ──────────────────────────────────────────────────────────────
   SECTION STABILITY ENGINE (Zero Shaking & Rock-Solid Layout)
   ────────────────────────────────────────────────────────────── */
.investia-homepage .site-section .section-header,
.investia-homepage .site-section-alt .section-header,
.investia-homepage.js-motion-ready .site-section .section-header,
.investia-homepage.js-motion-ready .site-section-alt .section-header {
    opacity: 1;
    transform: none;
}

.site-section .section-header,
.site-section-alt .section-header {
    opacity: 1;
    transform: none;
}

/* Card Stability — Always Visible & Solid from Initial Frame */
.coverage-cat-card,
.offer-card,
.sector-tile,
.inv-featured-logo-pill,
.inv-partner-vcard,
.inv-why-card,
.investia-homepage.js-motion-ready .site-section .coverage-cat-card,
.investia-homepage.js-motion-ready .site-section-alt .offer-card,
.investia-homepage.js-motion-ready .site-section .sector-tile,
.investia-homepage.js-motion-ready .site-section-alt .inv-featured-logo-pill,
.investia-homepage.js-motion-ready .site-section .inv-partner-vcard,
.investia-homepage.js-motion-ready .site-section-alt .inv-why-card {
    opacity: 1 !important;
    transform: none !important;
    transition: box-shadow 0.22s ease-out, border-color 0.22s ease-out;
    pointer-events: auto !important;
}

/* ──────────────────────────────────────────────────────────────
   PREFERS REDUCED MOTION (Accessibility Standard)
   ────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .investia-top-stack-container,
    .hero-slide-bg,
    .hero-slide-headline,
    .hero-slide-desc,
    .hero-cta-wrapper,
    .hero-circle-nav,
    .hero-dash-pagination,
    .hero-floating-search-wrap,
    .site-section .section-header,
    .site-section-alt .section-header,
    .coverage-cat-card,
    .offer-card,
    .sector-tile,
    .inv-featured-logo-pill,
    .inv-partner-vcard,
    .inv-why-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    .inv-featured-marquee-track,
    .inv-recent-marquee-track,
    .investia-ticker-track {
        animation: none !important;
        transform: none !important;
    }
}

/* ──────────────────────────────────────────────────────────────
/* ──────────────────────────────────────────────────────────────
   19. KOKONUTUI SMOOTH DRAWER (BOTTOM SHEET SPECIFICATION)
   ────────────────────────────────────────────────────────────── */
.smooth-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.4s;
}

.smooth-drawer-overlay.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.smooth-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.smooth-drawer-overlay.is-open .smooth-drawer-backdrop {
    opacity: 1;
}

.smooth-drawer-card {
    position: relative;
    z-index: 1000000;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 28px 28px 0 0;
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-bottom: 0;
    box-shadow: 0 -12px 45px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 94vh;
    max-height: 94dvh;
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.smooth-drawer-card::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.smooth-drawer-overlay.is-open .smooth-drawer-card {
    transform: translateY(0);
}

.smooth-drawer-card.is-dragging {
    transition: none !important;
}

.smooth-drawer-drag-zone {
    touch-action: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    flex-shrink: 0;
}

.smooth-drawer-card.is-dragging .smooth-drawer-drag-zone {
    cursor: grabbing;
}

.smooth-drawer-drag-handle {
    display: block;
    width: 44px;
    height: 4px;
    border-radius: 9999px;
    background: #D1D5DB;
    margin: 8px auto 4px;
    flex-shrink: 0;
}

.smooth-drawer-header {
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(241, 245, 249, 0.9);
    background: #FFFFFF;
}

.smooth-drawer-logo-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FAF6F0 0%, #F5EFEB 100%);
    border: 1px solid rgba(206, 177, 143, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(206, 177, 143, 0.12);
    flex-shrink: 0;
}

.smooth-drawer-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    line-height: 1.25;
}

.smooth-drawer-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.smooth-drawer-close-btn:hover {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #CBD5E1;
}

.smooth-drawer-body {
    padding: 10px 16px 14px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    text-align: center;
    -webkit-overflow-scrolling: touch;
}

.smooth-drawer-body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* KokonutUI Price & Discount Tag Header */
.smooth-drawer-pricetag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #FAF7F2 0%, #F7EFE9 100%);
    border: 1px solid rgba(206, 177, 143, 0.45);
    border-radius: 14px;
    padding: 8px 14px;
    margin-bottom: 8px;
    text-align: start;
    gap: 10px;
}

.smooth-drawer-pricetag-val {
    font-size: 1.35rem;
    font-weight: 900;
    color: #8C6E3D;
    line-height: 1;
    white-space: nowrap;
}

.smooth-drawer-pricetag-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 1px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smooth-drawer-pricetag-sub {
    font-size: 0.72rem;
    color: #64748B;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Luxury QR Frame in Drawer */
.smooth-drawer-qr-frame {
    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.55);
    border-radius: 16px;
    width: 172px;
    height: 172px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 16px rgba(206, 177, 143, 0.1);
    overflow: hidden;
}

.smooth-drawer-qr-frame img {
    width: 148px !important;
    height: 148px !important;
    display: block;
    margin: auto;
    object-fit: contain;
}

.smooth-drawer-meta-table {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 8px;
    font-size: 0.78rem;
}

.smooth-drawer-btn-primary {
    position: relative;
    width: 100%;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    border: 1.5px solid #CEB18F;
    color: #F3E8D6;
    font-size: 0.88rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
}

.smooth-drawer-btn-primary:hover:not(:disabled) {
    background: #0B1120;
    color: #FFFFFF;
    border-color: #DFCAAE;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(206, 177, 143, 0.25);
}

.smooth-drawer-btn-primary:disabled {
    opacity: 0.9;
    cursor: wait;
    transform: none;
}

.smooth-drawer-btn-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.smooth-drawer-btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.partner-btn-circular-spinner {
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(206, 177, 143, 0.25);
    border-top-color: #CEB18F;
    border-radius: 50%;
    animation: investiaSpin 0.65s linear infinite;
    display: inline-block;
}

.smooth-drawer-btn-secondary {
    width: 100%;
    height: 36px;
    border-radius: 11px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #64748B;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.smooth-drawer-btn-secondary:hover {
    background: #F1F5F9;
    color: #0F172A;
    border-color: #CBD5E1;
}

/* ── GUEST / INACTIVE REDEMPTION PROMPT STYLES ── */
.guest-redemption-container {
    padding: 0.85rem 0.6rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.guest-auth-hero-badge {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.guest-auth-icon-circle {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 202, 175, 0.35) 0%, rgba(206, 177, 143, 0.12) 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8C6E3D;
    box-shadow: 0 8px 24px -4px rgba(206, 177, 143, 0.32), inset 0 1px 3px rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.guest-auth-icon-circle:hover {
    transform: scale(1.04);
}

.guest-auth-sparkle-pill {
    position: absolute;
    bottom: -7px;
    background: #1A1612;
    color: #DFCAAF;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid rgba(206, 177, 143, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
}

.guest-auth-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #1A1612;
    margin-bottom: 0.35rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.guest-auth-desc {
    color: #64748B;
    font-size: 0.84rem;
    line-height: 1.65;
    max-width: 350px;
    margin: 0 auto 0.75rem;
}

.guest-auth-perks-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.guest-perk-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #FAF7F2;
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 9999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: #8C6E3D;
}

.guest-perk-item svg {
    color: #CEB18F;
    flex-shrink: 0;
}

/* Selected Offer Voucher Ticket */
.guest-offer-ticket {
    width: 100%;
    background: linear-gradient(135deg, #FCFAF7 0%, #F8F4EE 100%);
    border: 1px solid rgba(206, 177, 143, 0.4);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    text-align: start;
    box-shadow: 0 3px 12px -2px rgba(206, 177, 143, 0.12);
    position: relative;
    overflow: hidden;
}

.guest-offer-ticket::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 3.5px;
    height: 100%;
    background: linear-gradient(180deg, #CEB18F 0%, #DFCAAE 100%);
}

.guest-ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.guest-ticket-partner {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #64748B;
}

.guest-ticket-partner-name {
    font-weight: 700;
    color: #1A1612;
}

.guest-ticket-sep {
    color: #CBD5E1;
}

.guest-ticket-category {
    color: #8C6E3D;
}

.guest-ticket-badge {
    background: linear-gradient(135deg, #DFCAAF 0%, #CEB18F 100%);
    color: #1A1612;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(206, 177, 143, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.guest-ticket-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #1A1612;
    margin-bottom: 0.4rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.guest-ticket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.35rem;
    border-top: 1px solid rgba(206, 177, 143, 0.25);
}

.guest-ticket-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    color: #8C827A;
}

.guest-ticket-hint svg {
    color: #CEB18F;
    flex-shrink: 0;
}

/* Action Buttons Stack */
.guest-actions-stack {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.guest-action-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #DFCAAF 0%, #CEB18F 50%, #B89B79 100%);
    color: #1A1612 !important;
    font-size: 0.96rem;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.35);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guest-action-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(206, 177, 143, 0.45);
    color: #1A1612 !important;
}

.guest-action-btn-primary:active {
    transform: translateY(0);
}

.guest-action-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 46px;
    border-radius: 12px;
    background: #FFFFFF;
    color: #8C6E3D !important;
    border: 1.5px solid rgba(206, 177, 143, 0.55);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
}

.guest-action-btn-secondary:hover {
    background: #FAF6F0;
    border-color: #CEB18F;
    color: #6B5226 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(206, 177, 143, 0.2);
}

.guest-action-btn-secondary:active {
    transform: translateY(0);
}

.guest-action-btn-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 38px;
    background: transparent;
    border: none;
    color: #8C827A;
    font-size: 0.84rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.guest-action-btn-cancel:hover {
    color: #1A1612;
    background: rgba(0, 0, 0, 0.04);
}

/* Smooth Drawer tabs */
[x-cloak] { display: none !important; }

.smooth-drawer-tabs {
    display: flex;
    gap: 4px;
    padding: 3px;
    margin-bottom: 8px;
    background: #F1F5F9;
    border-radius: 10px;
}

.smooth-drawer-tab {
    flex: 1;
    border: 0;
    background: transparent;
    color: #64748B;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 5px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.smooth-drawer-tab.is-active {
    background: #FFFFFF;
    color: #8F7243;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.smooth-drawer-pane {
    animation: smoothDrawerPaneIn 0.3s ease both;
}

@keyframes smoothDrawerPaneIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

/* Mobile responsive bottom sheet */
@media (max-width: 767.98px) {
    .smooth-drawer-overlay {
        align-items: flex-end;
        padding: 0;
        padding-top: 0;
    }
    .smooth-drawer-card {
        max-width: 100%;
        border-radius: 26px 26px 0 0;
        max-height: 90vh;
        max-height: 90dvh;
        padding-bottom: env(safe-area-inset-bottom);
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    }
    .smooth-drawer-overlay.is-open .smooth-drawer-card {
        transform: translateY(0);
    }
    .smooth-drawer-drag-handle {
        display: block;
        width: 44px;
        height: 4.5px;
        border-radius: 9999px;
        background: #D1D5DB;
        margin: 10px auto 4px;
        flex-shrink: 0;
    }
}
/* ──────────────────────────────────────────────────────────────
   LUXURY VERIFICATION PIN (OTP) BOX IN SMOOTH DRAWER
   ────────────────────────────────────────────────────────────── */
.luxury-otp-box {
    background: linear-gradient(135deg, #FAF7F2 0%, #F5EFEB 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.55);
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.12);
    animation: luxuryOtpPulse 2.8s ease-in-out infinite alternate;
}

@keyframes luxuryOtpPulse {
    0% {
        box-shadow: 0 4px 14px rgba(206, 177, 143, 0.12);
        border-color: rgba(206, 177, 143, 0.55);
    }
    100% {
        box-shadow: 0 6px 20px rgba(206, 177, 143, 0.28);
        border-color: rgba(206, 177, 143, 0.85);
    }
}

.luxury-otp-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #8C6E3D;
}

.luxury-otp-digits {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 2px;
}

.luxury-otp-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 42px;
    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.7);
    border-radius: 10px;
    font-size: 1.45rem;
    font-weight: 900;
    color: #111827;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    animation: luxuryOtpCellIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.luxury-otp-cell:nth-child(1) { animation-delay: 0.05s; }
.luxury-otp-cell:nth-child(2) { animation-delay: 0.12s; }
.luxury-otp-cell:nth-child(3) { animation-delay: 0.19s; }
.luxury-otp-cell:nth-child(4) { animation-delay: 0.26s; }

@keyframes luxuryOtpCellIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Pulse indicator dot and popup animation */
.pulse-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: greenPulse 1.5s infinite;
}

@keyframes greenPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes luxuryOtpPopup {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.92);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Exclusive Large OTP Card & Cells - Scaled & Balanced */
.luxury-otp-exclusive-card {
    background: linear-gradient(135deg, #FBF9F5 0%, #F5EFEB 100%);
    border: 1.5px solid rgba(206, 177, 143, 0.7);
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.18);
    max-width: 260px;
}

.luxury-otp-cell-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 48px;
    background: #FFFFFF;
    border: 1.5px solid #CEB18F;
    border-radius: 11px;
    font-size: 1.6rem;
    font-weight: 900;
    color: #111827;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    animation: luxuryOtpCellIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.luxury-otp-cell-large:nth-child(1) { animation-delay: 0.04s; }
.luxury-otp-cell-large:nth-child(2) { animation-delay: 0.08s; }
.luxury-otp-cell-large:nth-child(3) { animation-delay: 0.12s; }
.luxury-otp-cell-large:nth-child(4) { animation-delay: 0.16s; }


/* Toast Progress Bar & Animation */
.toast-progress-bar {
    animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ──────────────────────────────────────────────────────────────
   PARTNER POS VERIFICATION MODAL (DIALOG) & UX ENHANCEMENTS
   ────────────────────────────────────────────────────────────── */
.pos-verification-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    animation: posFadeIn 0.25s ease-out both;
}

.pos-verification-modal-card {
    background: #FFFFFF;
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(206, 177, 143, 0.35);
    overflow: hidden;
    animation: posSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes posFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes posSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pos-modal-header {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    padding: 1.5rem 1.75rem;
    color: #FFFFFF;
    position: relative;
    border-bottom: 2px solid #CEB18F;
}

.pos-modal-header .pos-brand-badge {
    background: rgba(206, 177, 143, 0.18);
    color: #EDD08D;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pos-otp-input-wrap {
    background: #FBF9F5;
    border: 1.5px solid rgba(206, 177, 143, 0.6);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pos-otp-input-wrap:focus-within {
    border-color: #8C6E3D;
    box-shadow: 0 0 0 4px rgba(206, 177, 143, 0.25);
    background: #FFFFFF;
}

.pos-otp-pin-field {
    letter-spacing: 0.55em;
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    color: #111827;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
}

.pos-otp-pin-field::placeholder {
    letter-spacing: 0.35em;
    color: #D1D5DB;
    opacity: 0.6;
}

.pos-step-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(64, 81, 142, 0.12);
    color: #40518E;
    font-weight: 700;
    font-size: 0.85rem;
}

/* ──────────────────────────────────────────────────────────────
   26. HOMEPAGE — PREMIUM EDITORIAL POLISH (scoped to .investia-homepage)
   Hierarchy, rhythm, trust band, steps, closing CTA, motion fixes.
   ────────────────────────────────────────────────────────────── */

/* Balanced executive luxury section rhythm */
.investia-homepage {
    --site-section-py-desktop: 52px;
    --site-section-py-tablet: 40px;
    --site-section-py-mobile: 32px;
}

/* — 26.1 Hero presence: fix inverted responsive scale, editorial headline — */
.investia-homepage #investiaHeroSection .hero-slide-headline {
    font-size: clamp(1.9rem, 3vw + 0.75rem, 3.2rem);
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1.1rem;
}

.investia-homepage #investiaHeroSection .hero-slide-desc {
    font-size: clamp(0.95rem, 0.6vw + 0.75rem, 1.12rem);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 2rem;
}

.investia-homepage .hero-slide-content {
    padding: 3rem 4.75rem;
    max-width: 690px;
}

@media (max-width: 991px) {
    .investia-homepage .hero-slide-content {
        padding: 2.25rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .investia-homepage .hero-slide-content {
        padding: 1.9rem 1.4rem;
    }
}

/* Keep hero entrance CSS from holding final state so GSAP can replay on slide change */
.investia-homepage .hero-pill-tag,
.investia-homepage .hero-slide-headline,
.investia-homepage .hero-slide-desc,
.investia-homepage .hero-cta-wrapper {
    animation-fill-mode: backwards;
}

.investia-homepage .hero-pill-tag {
    margin-bottom: 1.1rem;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

/* iOS zoom guard + comfortable type in the floating search bar */
.investia-homepage .search-main-input {
    font-size: 1rem;
}

/* — 26.2 Section titles: stronger editorial scale, tuned eyebrows — */
.investia-homepage .section-title {
    font-size: clamp(1.55rem, 1.4vw + 1rem, 2.15rem);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.investia-homepage .section-subtitle {
    font-size: 1rem;
    color: var(--inv-text-secondary);
}

.investia-homepage .section-header {
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .investia-homepage .section-header {
        margin-bottom: 20px;
    }
}

/* — 26.3 Trust Band — */
.inv-trust-band {
    background: var(--inv-surface);
    border-top: 1px solid var(--inv-border-light);
    border-bottom: 1px solid var(--inv-border-light);
    padding: 1.75rem 0 1.65rem;
}

.inv-trust-band-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.inv-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 0.25rem 1rem;
    position: relative;
}

.inv-trust-item + .inv-trust-item::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 12%;
    height: 76%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--inv-border), transparent);
}

.inv-trust-num {
    font-size: clamp(1.9rem, 2.6vw, 2.75rem);
    font-weight: 800;
    color: var(--inv-charcoal);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.inv-trust-num::after {
    content: "+";
    color: var(--inv-primary);
    font-weight: 700;
    margin-inline-start: 0.15em;
    font-size: 0.65em;
    vertical-align: 0.35em;
}

.inv-trust-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--inv-text-secondary);
}

@media (max-width: 767.98px) {
    .inv-trust-band {
        padding: 1.15rem 0 1.05rem !important;
        background: #FFFFFF !important;
    }

    .inv-trust-band-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        row-gap: 0.95rem !important;
        column-gap: 0.75rem !important;
    }

    .inv-trust-item {
        padding: 0.15rem 0.5rem !important;
        gap: 0.15rem !important;
    }

    .inv-trust-num {
        font-size: 1.55rem !important;
        font-weight: 800 !important;
        line-height: 1.15 !important;
    }

    .inv-trust-num::after {
        font-size: 0.6em !important;
        margin-inline-start: 0.1em !important;
    }

    .inv-trust-label {
        font-size: 0.74rem !important;
        color: #64748B !important;
        line-height: 1.3 !important;
    }

    .inv-trust-item + .inv-trust-item:nth-child(odd)::before {
        display: none !important;
    }
}

/* — 26.4 Offers grid: balanced 3 columns (six offers = two clean rows) — */
.investia-homepage .offers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (max-width: 1199.98px) {
    .investia-homepage .offers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .offers-grid,
    .investia-homepage .offers-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x pan-y !important;
        scrollbar-width: none !important;
        gap: 16px !important;
        padding-inline: 4px !important;
        padding-bottom: 0.85rem !important;
        scroll-behavior: smooth !important;
    }
    .offers-grid::-webkit-scrollbar,
    .investia-homepage .offers-grid::-webkit-scrollbar {
        display: none !important;
    }
    .offers-grid .offer-card,
    .investia-homepage .offers-grid .offer-card {
        flex: 0 0 280px !important;
        min-width: 280px !important;
        max-width: 82vw !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: normal !important;
    }
}

@media (max-width: 575.98px) {
    .offers-grid,
    .investia-homepage .offers-grid {
        gap: 14px !important;
    }
    .offers-grid .offer-card,
    .investia-homepage .offers-grid .offer-card {
        flex: 0 0 265px !important;
        min-width: 265px !important;
        max-width: 78vw !important;
    }
}

/* — 26.5 Coverage photo cards: title treatment + depth on hover — */
.investia-homepage .coverage-card-content {
    position: relative;
    z-index: 3;
    padding-inline-start: 0.9rem;
    border-inline-start: 2px solid transparent;
    transition: border-color 0.3s ease, padding 0.3s ease;
}

.investia-homepage .coverage-photo-card:hover .coverage-card-content {
    border-inline-start-color: var(--inv-primary);
}

.investia-homepage .coverage-photo-card:hover {
    box-shadow: 0 18px 38px -10px rgba(10, 25, 52, 0.28);
}

.investia-homepage .coverage-card-title {
    text-shadow: 0 2px 12px rgba(5, 12, 27, 0.55);
}

/* — 26.6 Featured partner logo wall: calmer, denser — */
.investia-homepage .inv-logo-column {
    height: 132px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FCFBF9 100%);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.investia-homepage .inv-logo-column:hover {
    border-color: rgba(197, 178, 136, 0.5);
    box-shadow: 0 10px 26px -6px rgba(20, 20, 22, 0.08);
}

.investia-homepage .inv-logo-img:hover,
.investia-homepage .inv-logo-card:hover .inv-logo-img {
    transform: scale(1.045);
}

/* — 26.7 Sector tiles: warmer icon lockup, aligned rhythm — */
.investia-homepage .sector-tile h4 {
    font-size: 1.02rem;
    letter-spacing: -0.005em;
}

.investia-homepage .sector-tile {
    border-color: var(--inv-border-light);
    box-shadow: var(--inv-shadow-sm);
}

.investia-homepage .sector-tile:hover {
    border-color: rgba(197, 178, 136, 0.45);
    box-shadow: 0 14px 30px -12px rgba(20, 20, 22, 0.12);
}

/* — 26.8 How It Works steps — */
.inv-steps-wrap {
    position: relative;
}

.inv-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    counter-reset: inv-step;
}

.inv-steps-rail {
    display: none;
}

@media (min-width: 992px) {
    .inv-steps-rail {
        display: block;
        position: absolute;
        top: 34px;
        inset-inline: 11%;
        height: 2px;
        background: linear-gradient(to left,
            var(--inv-border-light),
            var(--inv-primary) 18%,
            var(--inv-primary) 82%,
            var(--inv-border-light));
        opacity: 0.55;
    }
}

.inv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 0 0.75rem;
    position: relative;
}

.inv-step-index {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--inv-surface);
    border: 1.5px solid rgba(197, 178, 136, 0.55);
    box-shadow: 0 6px 18px -8px rgba(156, 140, 114, 0.35);
    color: var(--inv-charcoal);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    position: relative;
    z-index: 2;
}

.inv-step-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    width: 100%;
}

.inv-step-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--inv-charcoal);
    margin: 0;
    line-height: 1.4;
}

.inv-step-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--inv-text-secondary);
    margin: 0;
    max-width: 260px;
}

@media (max-width: 991.98px) {
    .inv-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.25rem;
    }

    .inv-step-desc {
        max-width: 320px;
    }
}

@media (max-width: 767.98px) {
    .inv-steps-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .inv-step {
        flex-direction: row;
        text-align: start;
        align-items: flex-start;
        gap: 1.1rem;
        padding: 1.15rem 1.25rem;
        background: var(--inv-surface, #ffffff);
        border: 1px solid rgba(206, 177, 143, 0.28);
        border-radius: 18px;
        box-shadow: 0 4px 16px -6px rgba(28, 24, 18, 0.05);
        transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .inv-step:active {
        transform: translateY(-1px);
        border-color: rgba(184, 150, 110, 0.45);
    }

    .inv-step-index {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 14px;
        flex-shrink: 0;
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--inv-gold-dark, #8a6a32);
        background: linear-gradient(135deg, rgba(206, 177, 143, 0.18) 0%, rgba(184, 150, 110, 0.08) 100%);
        border: 1.5px solid rgba(206, 177, 143, 0.45);
        box-shadow: 0 4px 12px -4px rgba(184, 150, 110, 0.2);
        margin-top: 2px;
    }

    .inv-step-body {
        align-items: flex-start;
        text-align: start;
        gap: 0.3rem;
        flex: 1;
        min-width: 0;
    }

    .inv-step-title {
        font-size: 1.02rem;
        font-weight: 800;
        color: var(--inv-charcoal);
        margin: 0;
        line-height: 1.4;
    }

    .inv-step-desc {
        font-size: 0.86rem;
        line-height: 1.6;
        color: var(--inv-text-secondary);
        margin: 0;
        max-width: none;
    }
}

/* — 26.9 Why-us cards: consistent stages & type rhythm — */
.investia-homepage .inv-why-stage {
    height: 152px;
    margin-bottom: 1.4rem;
}

.investia-homepage .why-card h4 {
    font-size: 1.08rem;
    letter-spacing: -0.005em;
}

.investia-homepage .why-card p {
    line-height: 1.75;
}

/* — 26.10 Recent-partners vcards: tighter rhythm — */
.investia-homepage .inv-partner-vcard {
    row-gap: 0.15rem;
}

.investia-homepage .inv-partner-vcard-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.45;
}

.investia-homepage .inv-partner-vcard:hover {
    transform: translateY(-4px);
    border-color: rgba(197, 178, 136, 0.5);
    box-shadow: 0 16px 30px -14px rgba(20, 20, 22, 0.16);
}

/* — 26.11 Closing CTA Luxury Contained Banner (Salla-inspired Architecture) — */
.inv-home-cta-section {
    position: relative;
    padding: 1.75rem 0 1rem;
    background: transparent;
}

.inv-home-cta-card {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(135deg, #FAF6F0 0%, #F5ECE0 50%, #ECE1D0 100%);
    border: 1px solid rgba(206, 177, 143, 0.45);
    box-shadow: 
        0 20px 48px -15px rgba(26, 22, 18, 0.07),
        0 4px 16px rgba(206, 177, 143, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
    padding: 2.75rem 2.25rem 2.25rem;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.inv-home-cta-card:hover {
    box-shadow: 
        0 24px 56px -15px rgba(26, 22, 18, 0.1),
        0 6px 20px rgba(206, 177, 143, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.inv-cta-card-glow-1 {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    height: 160%;
    background: radial-gradient(circle, rgba(223, 202, 175, 0.35) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.inv-cta-card-glow-2 {
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 45%;
    height: 150%;
    background: radial-gradient(circle, rgba(206, 177, 143, 0.25) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.inv-cta-card-pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        125deg,
        rgba(206, 177, 143, 0.04) 0px,
        rgba(206, 177, 143, 0.04) 1px,
        transparent 1px,
        transparent 16px
    );
    pointer-events: none;
    z-index: 1;
}

.inv-cta-card-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title & Dynamic Rotator */
.inv-cta-title {
    font-size: clamp(1.45rem, 1.8vw + 0.6rem, 2.15rem);
    font-weight: 800;
    line-height: 1.4;
    color: #1A1612;
    margin: 0 0 0.85rem;
    text-wrap: balance;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
}

.inv-cta-title-lead {
    color: #1A1612;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: normal;
}

.inv-dynamic-rotator-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 1.5em;
    overflow: hidden;
}

.inv-dynamic-phrase {
    position: absolute;
    inset-inline: 0;
    top: 0;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(110%);
    filter: blur(4px);
    color: #937233;
    background: linear-gradient(135deg, #7D5D1E 0%, #B89953 50%, #7D5D1E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: normal;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, filter 0.6s ease;
    pointer-events: none;
}

.inv-dynamic-phrase.is-active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: auto;
}

.inv-dynamic-phrase.is-exiting {
    opacity: 0;
    transform: translateY(-110%);
    filter: blur(4px);
    pointer-events: none;
}

/* Subtitle */
.inv-cta-sub {
    font-size: clamp(0.92rem, 0.4vw + 0.78rem, 1.02rem);
    line-height: 1.65;
    color: #554D43;
    margin: 0 0 1.5rem;
    max-width: 58ch;
    text-wrap: pretty;
}

/* Actions Button Row */
.inv-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.15rem;
    margin-bottom: 1.5rem;
}

.inv-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #141416;
    color: #FDFBF8 !important;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none !important;
    padding: 0.78rem 1.85rem;
    border-radius: 12px;
    border: 1px solid rgba(206, 177, 143, 0.35);
    box-shadow: 0 6px 20px -3px rgba(20, 20, 22, 0.2);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-cta-btn-primary i {
    font-size: 1.05rem;
    color: #DFCAAF;
    transition: transform 0.25s ease;
}

.inv-cta-btn-primary:hover {
    background: #232220;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -3px rgba(20, 20, 22, 0.28), 0 0 16px rgba(223, 202, 175, 0.22);
    border-color: rgba(206, 177, 143, 0.6);
}

.inv-cta-btn-primary:hover i {
    transform: translate(-3px, -3px);
}

.inv-cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #FFFFFF;
    color: #1A1612 !important;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none !important;
    padding: 0.78rem 1.75rem;
    border-radius: 12px;
    border: 1px solid rgba(206, 177, 143, 0.5);
    box-shadow: 0 3px 12px rgba(206, 177, 143, 0.1);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-cta-btn-secondary i {
    font-size: 1.05rem;
    color: #C5B288;
}

.inv-cta-btn-secondary:hover {
    background: #FAF6F0;
    border-color: #C5B288;
    color: #1A1612 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(206, 177, 143, 0.18);
}

/* Micro-Trust Bar */
.inv-cta-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    flex-wrap: wrap;
    color: #6D6457;
    font-size: 0.84rem;
    font-weight: 600;
    padding-top: 1rem;
    border-top: 1px solid rgba(206, 177, 143, 0.22);
    width: 100%;
    max-width: 600px;
}

.inv-cta-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.inv-cta-trust-item i {
    color: #A88647;
    font-size: 0.95rem;
}

.inv-cta-trust-dot {
    color: rgba(206, 177, 143, 0.5);
    font-size: 0.75rem;
}

/* Responsive Breakpoints */
@media (max-width: 767.98px) {
    .inv-home-cta-section {
        padding: 1.25rem 0 1rem;
    }

    .inv-home-cta-card {
        padding: 2.25rem 1.25rem 2rem;
        border-radius: 20px;
    }

    .inv-cta-title {
        font-size: 1.35rem;
        gap: 0.55rem;
        margin-bottom: 1.35rem;
    }

    .inv-cta-title-lead {
        font-size: 1.3rem;
        line-height: 1.4;
        font-weight: 800;
        letter-spacing: normal;
    }

    .inv-dynamic-rotator-wrap {
        height: 3.1em;
        overflow: hidden;
    }

    .inv-dynamic-phrase {
        font-size: 1.15rem;
        white-space: normal;
        line-height: 1.48;
        font-weight: 800;
        letter-spacing: normal;
        padding: 0 0.35rem;
    }

    .inv-cta-sub {
        font-size: 0.88rem;
        margin: 0 0 1.25rem;
    }

    .inv-cta-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 0.85rem;
        margin: 0 auto;
    }

    .inv-cta-btn-primary,
    .inv-cta-btn-secondary {
        width: 100%;
        min-height: 48px;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.92rem;
        border-radius: 12px;
    }

    .inv-cta-trust-bar {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .inv-cta-trust-dot {
        display: none;
    }
}

@media (max-width: 430px) {
    .inv-home-cta-card {
        padding: 1.85rem 1rem 1.65rem;
    }

    .inv-cta-title {
        gap: 0.45rem;
        margin-bottom: 1.2rem;
    }

    .inv-cta-title-lead {
        font-size: 1.22rem;
        line-height: 1.35;
    }

    .inv-dynamic-rotator-wrap {
        height: 3.15em;
    }

    .inv-dynamic-phrase {
        font-size: 1.06rem;
        line-height: 1.48;
        padding: 0 0.25rem;
    }
}

/* — 26.12 Keyboard focus visibility (a11y) — */.investia-homepage a:focus-visible,
.investia-homepage button:focus-visible,
.investia-homepage input:focus-visible,
.inv-home-cta a:focus-visible,
.inv-home-cta-section a:focus-visible,
.inv-trust-band *:focus-visible,
.inv-steps-grid *:focus-visible {
    outline: 2px solid var(--inv-primary);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Coverage card titles must not truncate to ellipsis on small screens */
.investia-homepage .coverage-card-title {
    white-space: normal;
    overflow-wrap: break-word;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* — 26.14 Coverage section: complete responsive grid (no hidden items) — */
.investia-homepage .category-track-container {
    overflow: visible;
}

.investia-homepage .coverage-carousel-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    min-width: 0;
    width: 100%;
    align-items: stretch;
}

.investia-homepage .coverage-photo-card {
    flex: none;
    width: auto;
    height: 220px;
    border-radius: 16px;
}

.investia-homepage .coverage-card-content {
    padding-block-end: 0.5rem;
}

.investia-homepage .coverage-photo-card:hover .coverage-card-content,
.investia-homepage .coverage-photo-card:focus-visible .coverage-card-content {
    padding-block-end: 0.85rem;
}

.coverage-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.45rem;
    padding: 0.22rem 0.65rem;
    border-radius: var(--inv-radius-full);
    background: rgba(197, 178, 136, 0.18);
    border: 1px solid rgba(243, 217, 156, 0.4);
    color: #F3D99C;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.5;
}

.investia-homepage .coverage-card-title {
    font-size: 0.98rem;
    font-weight: 800;
}

@media (max-width: 1199.98px) {
    .investia-homepage .coverage-carousel-track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .investia-homepage .coverage-photo-card {
        height: 205px;
    }
}

@media (max-width: 767.98px) {
    .investia-homepage .coverage-carousel-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .investia-homepage .coverage-photo-card {
        height: 188px;
        border-radius: 14px;
    }

    .investia-homepage .coverage-card-title {
        font-size: 0.85rem;
    }

    .investia-homepage .coverage-card-cta {
        font-size: 0.6rem;
    }
}

@media (max-width: 575.98px) {
    .investia-homepage .coverage-carousel-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .investia-homepage .coverage-photo-card {
        height: 178px;
    }
}

/* — 26.15 Coverage partners modal (Luxury Pearl White & Champagne Gold Edition) — */
.modal-backdrop {
    z-index: 1045 !important;
    background-color: rgba(17, 24, 39, 0.52) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

.inv-coverage-bottom-sheet,
.inv-coverage-modal {
    z-index: 1060 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.inv-coverage-bottom-sheet .modal-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 860px;
    width: 100%;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.inv-coverage-bottom-sheet.show .modal-dialog {
    transform: translateY(0) !important;
}

.inv-coverage-bottom-sheet .modal-content,
.inv-bs-content {
    background: #FFFFFF;
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(206, 177, 143, 0.16) 0%, transparent 60%),
        radial-gradient(circle at 0% 100%, rgba(250, 246, 240, 0.95) 0%, transparent 55%);
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    border-bottom: none;
    border-radius: 28px 28px 0 0;
    box-shadow: 
        0 -20px 60px -10px rgba(28, 24, 18, 0.22),
        0 0 35px rgba(206, 177, 143, 0.18),
        0 1px 0 0 rgba(255, 255, 255, 0.9) inset;
    overflow: hidden;
    max-height: 86vh;
    display: flex;
    flex-direction: column;
}

/* Drag Handle Pill */
.inv-bs-handle-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0 3px;
    cursor: pointer;
    background: transparent;
    user-select: none;
}

.inv-bs-pill {
    width: 48px;
    height: 5px;
    border-radius: 9999px;
    background: rgba(206, 177, 143, 0.6);
    transition: all 0.22s ease;
}

.inv-bs-handle-bar:hover .inv-bs-pill {
    background: #CEB18F;
    width: 58px;
}

/* Modal Header */
.inv-coverage-bottom-sheet .modal-header,
.inv-bs-header {
    position: relative;
    background: transparent;
    border-bottom: 1px solid rgba(206, 177, 143, 0.22);
    padding: 0.75rem 2rem 1.15rem;
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.inv-covm-head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.inv-covm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #8F7243;
    letter-spacing: 0.02em;
    background: rgba(206, 177, 143, 0.16);
    border: 1px solid rgba(206, 177, 143, 0.45);
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    width: fit-content;
}

.inv-bs-count-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: #1A1612;
    background: rgba(206, 177, 143, 0.22);
    border: 1px solid rgba(206, 177, 143, 0.5);
    padding: 0.22rem 0.75rem;
    border-radius: 9999px;
}

.inv-covm-title {
    color: #111827;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0.25rem 0 0;
    line-height: 1.35;
}

.inv-covm-sub {
    color: #6B7280;
    font-size: 0.88rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

/* Custom Luxury Close Button */
.inv-covm-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F3F4F6;
    border: 1px solid rgba(206, 177, 143, 0.35);
    color: #4B5563;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.inv-covm-close-btn:hover {
    background: rgba(206, 177, 143, 0.2);
    border-color: #8F7243;
    color: #111827;
    transform: rotate(90deg) scale(1.05);
}

/* Modal Body */
.inv-coverage-bottom-sheet .modal-body,
.inv-bs-body {
    background: #FAF8F5;
    padding: 1.15rem 1.65rem;
    max-height: calc(86vh - 160px);
    overflow-y: auto;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    box-sizing: border-box;
    width: 100%;
}

/* Custom Scrollbar for Modal Body */
.inv-coverage-bottom-sheet .modal-body::-webkit-scrollbar,
.inv-bs-body::-webkit-scrollbar {
    width: 5px;
}
.inv-coverage-bottom-sheet .modal-body::-webkit-scrollbar-track,
.inv-bs-body::-webkit-scrollbar-track {
    background: #F3F4F6;
    border-radius: 4px;
}
.inv-coverage-bottom-sheet .modal-body::-webkit-scrollbar-thumb,
.inv-bs-body::-webkit-scrollbar-thumb {
    background: rgba(206, 177, 143, 0.45);
    border-radius: 4px;
}
.inv-coverage-bottom-sheet .modal-body::-webkit-scrollbar-thumb:hover,
.inv-bs-body::-webkit-scrollbar-thumb:hover {
    background: #8F7243;
}

.inv-covm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.inv-covm-grid.single-item {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
}

/* Partner Card Item */
.inv-covm-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1.1rem;
    background: #FFFFFF;
    border: 1.5px solid #E5E7EB;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 5px rgba(28, 24, 18, 0.03);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.inv-covm-item:hover,
.inv-covm-item:focus-visible {
    background: #FFFFFF;
    border-color: rgba(206, 177, 143, 0.7);
    box-shadow: 0 10px 24px -5px rgba(28, 24, 18, 0.1), 0 0 14px rgba(206, 177, 143, 0.16);
    transform: translateY(-2px);
}

.inv-covm-logo-wrap {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.inv-covm-logo {
    max-height: 38px;
    max-width: 90%;
    object-fit: contain;
}

.inv-covm-logo-fallback {
    font-weight: 800;
    font-size: 1.05rem;
    color: #8F7243;
}

.inv-covm-item-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.inv-covm-item-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inv-covm-item:hover .inv-covm-item-name {
    color: #8F7243;
}

.inv-covm-item-city {
    font-size: 0.75rem;
    color: #6B7280;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.inv-covm-item-city i {
    color: #8F7243;
    font-size: 0.72rem;
}

.inv-covm-item-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-inline-start: auto;
    flex-shrink: 0;
}

.inv-covm-action-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: #8F7243;
    background: rgba(206, 177, 143, 0.14);
    border: 1px solid rgba(206, 177, 143, 0.3);
    padding: 0.22rem 0.6rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.inv-covm-item:hover .inv-covm-action-label {
    background: rgba(206, 177, 143, 0.25);
    border-color: #8F7243;
}

.inv-covm-item-arrow {
    color: #8F7243;
    font-size: 0.9rem;
    transition: transform 0.22s ease;
}

.inv-covm-item:hover .inv-covm-item-arrow {
    transform: translateX(-4px);
}

/* Skeleton Loading */
.inv-covm-skeleton {
    height: 72px;
    border-radius: 14px;
    background: linear-gradient(100deg, #F3F4F6 40%, rgba(206, 177, 143, 0.25) 50%, #F3F4F6 60%);
    background-size: 200% 100%;
    animation: invCovmShimmer 1.25s linear infinite;
    border: 1.5px solid #E5E7EB;
}

/* Empty & Notice states */
.inv-covm-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1.5rem;
    color: #6B7280;
}

.inv-covm-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(206, 177, 143, 0.16);
    border: 1px solid rgba(206, 177, 143, 0.4);
    color: #8F7243;
    font-size: 1.6rem;
    margin-bottom: 0.85rem;
}

.inv-covm-empty h4 {
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.inv-covm-empty p {
    font-size: 0.82rem;
    color: #6B7280;
    margin: 0;
}

/* Load More Button Container */
.inv-bs-load-more-wrap {
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

.inv-bs-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.45rem 1.3rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #8F7243;
    background: rgba(206, 177, 143, 0.14);
    border: 1px solid rgba(206, 177, 143, 0.4);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.inv-bs-load-more-btn:hover:not(:disabled) {
    background: rgba(206, 177, 143, 0.28);
    border-color: #8F7243;
    color: #1A1612;
}

.inv-bs-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Modal Footer */
.inv-coverage-bottom-sheet .modal-footer,
.inv-bs-footer {
    background: #FFFFFF;
    border-top: 1px solid rgba(206, 177, 143, 0.22);
    padding: 0.85rem 1.65rem 1.1rem;
    justify-content: center;
}

.inv-covm-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #111827 !important;
    text-decoration: none !important;
    padding: 0.5rem 1.4rem;
    background: linear-gradient(135deg, #E2D1BA 0%, #CEB18F 50%, #B38E54 100%);
    border: none;
    border-radius: 11px;
    box-shadow: 0 3px 12px -2px rgba(206, 177, 143, 0.45), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-covm-all-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px -2px rgba(206, 177, 143, 0.6), 0 4px 8px rgba(0, 0, 0, 0.1);
    filter: brightness(1.04);
}

.inv-covm-all-link i {
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.inv-covm-all-link:hover i {
    transform: translateX(-4px);
}

/* Mobile Screen Breakpoint (< 768px) */
@media (max-width: 767.98px) {
    .inv-coverage-bottom-sheet .modal-dialog {
        max-width: 100% !important;
        margin: 0 !important;
    }
    .inv-coverage-bottom-sheet .modal-content,
    .inv-bs-content {
        border-radius: 22px 22px 0 0 !important;
        max-height: 88vh !important;
    }
    .inv-coverage-bottom-sheet .modal-header,
    .inv-bs-header {
        padding: 0.65rem 1rem 0.85rem !important;
    }
    .inv-coverage-bottom-sheet .modal-body,
    .inv-bs-body {
        padding: 0.75rem 0.9rem !important;
        max-height: calc(88vh - 140px) !important;
        overflow-x: hidden !important;
    }
    .inv-covm-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .inv-covm-item {
        padding: 0.65rem 0.8rem !important;
        gap: 0.65rem !important;
        border-radius: 13px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .inv-covm-logo-wrap {
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
        padding: 3px !important;
    }
    .inv-covm-logo {
        max-height: 30px !important;
    }
    .inv-covm-item-name {
        font-size: 0.84rem !important;
        font-weight: 800 !important;
    }
    .inv-covm-item-city {
        font-size: 0.72rem !important;
    }
    /* Hide the wide text pill on mobile so it never overflows or forces swipe */
    .inv-covm-action-label {
        display: none !important;
    }
    .inv-covm-item-action {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        background: rgba(206, 177, 143, 0.16) !important;
        border: 1px solid rgba(206, 177, 143, 0.4) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        margin-inline-start: auto !important;
    }
    .inv-covm-item-arrow {
        font-size: 0.82rem !important;
        color: #8F7243 !important;
        margin: 0 !important;
    }
    /* Compact Bottom CTA Button */
    .inv-coverage-bottom-sheet .modal-footer,
    .inv-bs-footer {
        padding: 0.65rem 0.9rem 0.85rem !important;
    }
    .inv-covm-all-link {
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
        border-radius: 10px !important;
        width: 100% !important;
        max-width: 360px !important;
    }
    .inv-covm-title {
        font-size: 1.15rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inv-covm-skeleton {
        animation: none;
    }

    .investia-homepage .coverage-card-cta {
        opacity: 1;
        transform: none;
    }
}

/* — 26.16 Coverage cards: name centered at bottom + quiet partner chip — */
.investia-homepage .coverage-card-content {
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
    min-height: 0;
    padding: 0.9rem 0.6rem 0.8rem !important;
    border-inline-start: 0 !important;
}

.investia-homepage .coverage-photo-card:hover .coverage-card-content,
.investia-homepage .coverage-photo-card:focus-visible .coverage-card-content {
    padding: 0.9rem 0.6rem 0.8rem !important;
}

.investia-homepage .coverage-card-title {
    font-size: clamp(0.78rem, 0.5vw + 0.55rem, 0.98rem);
    font-weight: 800;
    line-height: 1.45;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 100%;
}

.investia-homepage .coverage-card-cta {
    margin-top: 0;
    padding: 0.08rem 0.5rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(243, 217, 156, 0.92);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.investia-homepage .coverage-photo-card:hover .coverage-card-cta {
    background: rgba(197, 178, 136, 0.22);
    border-color: rgba(243, 217, 156, 0.45);
}

/* ──────────────────────────────────────────────────────────────
   27. PUBLIC CATEGORIES PAGE — photographic sector directory
   ────────────────────────────────────────────────────────────── */
.inv-cats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 2rem;
    width: 100%;
    position: relative;
}

.inv-cat-photo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 268px;
    min-height: 268px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    isolation: isolate;
    background: #0C1E3D;
    border: 1px solid rgba(206, 177, 143, 0.22);
    box-shadow: 0 10px 26px -8px rgba(10, 25, 52, 0.14);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.32s ease,
        border-color 0.32s ease;
    contain: paint;
    box-sizing: border-box;
}

.inv-cat-photo-card:hover,
.inv-cat-photo-card:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(206, 177, 143, 0.6);
    box-shadow: 0 22px 44px -12px rgba(10, 25, 52, 0.3);
    text-decoration: none;
}

.inv-cat-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 65%;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -2;
}

.inv-cat-photo-card:hover .inv-cat-photo {
    transform: scale(1.055);
}

.inv-cat-photo-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to top,
        rgba(7, 16, 34, 0.94) 0%,
        rgba(7, 16, 34, 0.72) 34%,
        rgba(7, 16, 34, 0.18) 68%,
        rgba(7, 16, 34, 0.06) 100%
    );
}

.inv-cat-photo-body {
    padding: 1.15rem 1.25rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.inv-cat-photo-title {
    margin: 0;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.35;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.inv-cat-photo-en {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.inv-cat-photo-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.7rem;
}

.inv-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.7rem;
    border-radius: var(--inv-radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.72rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.inv-cat-pill--gold {
    background: rgba(197, 178, 136, 0.14);
    border-color: rgba(243, 217, 156, 0.3);
    color: #F3D99C;
}

.inv-cat-go {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-inline-start: auto;
    color: #CEB18F;
    font-size: 0.74rem;
    font-weight: 700;
    opacity: 0.85;
    transition: gap 0.25s ease, color 0.25s ease;
}

.inv-cat-photo-card:hover .inv-cat-go {
    gap: 0.55rem;
    color: #F3D99C;
}

.inv-cat-photo-card:focus-visible {
    outline: 2px solid #CEB18F;
    outline-offset: 3px;
}

@media (max-width: 1023.98px) {
    .inv-cats-grid {
        gap: 18px;
    }

    .inv-cat-photo-card {
        min-height: 238px;
    }

    /* Keep the composition quiet on tablet and below: no EN subtitle, no go-chip */
    .inv-cat-photo-en,
    .inv-cat-go {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .inv-cats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 2rem;
    }

    .inv-cat-photo-card {
        min-height: 215px;
        height: auto;
        border-radius: 18px;
    }

    .inv-cat-photo-title {
        font-size: clamp(0.86rem, 3.2vw, 0.98rem);
        line-height: 1.35;
        margin-bottom: 0.35rem;
    }

    .inv-cat-photo-body {
        padding: 0.85rem 0.8rem 0.9rem;
    }

    .inv-cat-pill {
        font-size: 0.68rem;
        padding: 0.22rem 0.5rem;
    }
}

/* Touch devices: drop the flashy hover choreography entirely */
@media (hover: none), (pointer: coarse) {
    .inv-cat-photo-card:hover {
        transform: none;
        box-shadow: 0 10px 26px -8px rgba(10, 25, 52, 0.14);
        border-color: rgba(206, 177, 143, 0.22);
    }

    .inv-cat-photo-card:hover .inv-cat-photo {
        transform: none;
    }
}

@media (max-width: 340px) {
    .inv-cats-grid {
        grid-template-columns: 1fr;
    }

    .inv-cat-photo-card {
        min-height: 180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inv-cat-photo-card,
    .inv-cat-photo,
    .inv-cat-go {
        transition: none;
    }
}

.inv-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 2.25rem 0 1rem;
}

.inv-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.72rem 1.9rem;
    border-radius: var(--inv-radius-full);
    background: var(--inv-surface);
    border: 1.5px solid rgba(197, 178, 136, 0.55);
    color: var(--inv-charcoal);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.inv-load-more-btn:hover {
    background: var(--inv-primary-subtle);
    border-color: var(--inv-primary);
    transform: translateY(-1px);
}

.inv-load-more-btn:active {
    transform: translateY(0) scale(0.98);
}

.inv-load-more-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.inv-load-more-btn.is-loading svg {
    animation: invCovmShimmer 0s;
    transform-origin: center;
    animation: invLoadMoreSpin 0.8s linear infinite;
}

@keyframes invLoadMoreSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ──────────────────────────────────────────────────────────────
   28. CATEGORY DETAIL PAGE — editorial sector profile
   ────────────────────────────────────────────────────────────── */
.inv-catd-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background: #0C1E3D;
    margin-bottom: 3rem;
    isolation: isolate;
}

.inv-catd-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.inv-catd-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        265deg,
        rgba(7, 16, 34, 0.95) 0%,
        rgba(7, 16, 34, 0.82) 34%,
        rgba(7, 16, 34, 0.42) 68%,
        rgba(7, 16, 34, 0.18) 100%
    );
}

.inv-catd-hero-body {
    padding: 2.25rem 2.75rem 2.4rem;
    max-width: 640px;
    color: #fff;
}

.inv-catd-hero-title {
    margin: 0 0 0.2rem;
    font-size: clamp(1.7rem, 2.6vw + 0.6rem, 2.7rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: #fff;
    text-wrap: balance;
}

.inv-catd-hero-en {
    margin: 0 0 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.inv-catd-hero-desc {
    margin: 0 0 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    line-height: 1.75;
    max-width: 52ch;
}

.inv-catd-stats {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.inv-catd-stat {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.inv-catd-stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: #F3D99C;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.inv-catd-stat span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 600;
}

.inv-catd-stat-divider {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.18);
}

.inv-catd-section {
    margin-bottom: 3.25rem;
}

.inv-catd-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--inv-border);
    margin-bottom: 1.5rem;
}

.inv-catd-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--inv-charcoal);
}

.inv-catd-count {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--inv-text-muted);
    font-variant-numeric: tabular-nums;
}

.inv-catd-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 1.75rem;
}

.inv-catd-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 1.35rem 1.4rem;
    background: var(--inv-surface);
    border: 1px solid var(--inv-border-light);
    border-radius: 16px;
    text-decoration: none;
    transition: border-color 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.22s ease;
}

.inv-catd-card:hover,
.inv-catd-card:focus-visible {
    border-color: rgba(197, 178, 136, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -14px rgba(20, 20, 22, 0.14);
    text-decoration: none;
}

.inv-catd-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--inv-charcoal);
    line-height: 1.45;
}

.inv-catd-card-desc {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--inv-text-secondary);
}

.inv-catd-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--inv-primary-hover);
    transition: gap 0.22s ease, color 0.22s ease;
}

.inv-catd-card:hover .inv-catd-card-link {
    gap: 0.6rem;
    color: var(--inv-charcoal);
}

.inv-catd-partner-top {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.inv-catd-partner-logo {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 1px solid var(--inv-border-light);
    background: #FBFAF8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 800;
    color: var(--inv-primary-dark);
}

.inv-catd-partner-logo img {
    max-width: 82%;
    max-height: 34px;
    object-fit: contain;
}

.inv-catd-partner-id {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.inv-catd-partner-city {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--inv-text-muted);
    font-size: 0.75rem;
}

.inv-catd-empty {
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--inv-border);
    border-radius: 16px;
    text-align: center;
    background: var(--inv-surface);
}

.inv-catd-empty p {
    margin: 0;
    color: var(--inv-text-secondary);
    font-size: 0.92rem;
}

.inv-catd-empty-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--inv-primary-hover);
    text-decoration: none;
}

@media (max-width: 1023.98px) {
    .inv-catd-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .inv-catd-hero {
        min-height: 250px;
        border-radius: 18px;
        margin-bottom: 2.25rem;
    }

    .inv-catd-hero-body {
        padding: 1.5rem 1.35rem 1.6rem;
    }

    .inv-catd-hero-en {
        display: none;
    }

    .inv-catd-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .inv-catd-section {
        margin-bottom: 2.5rem;
    }

    .inv-catd-title {
        font-size: 1.15rem;
    }
}

@media (hover: none), (pointer: coarse) {
    .inv-catd-card:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--inv-border-light);
    }

    .inv-catd-card:hover .inv-catd-card-link {
        gap: 0.35rem;
        color: var(--inv-primary-hover);
    }
}

@media (prefers-reduced-motion: reduce) {
    .inv-catd-card,
    .inv-catd-card-link {
        transition: none;
    }
}

/* — 26.13 Reduced-motion: reveal states must never trap content — */
@media (prefers-reduced-motion: reduce) {
    .investia-homepage.js-motion-ready .site-section:not(.is-revealed) .section-header,
    .investia-homepage.js-motion-ready .site-section-alt:not(.is-revealed) .section-header,
    .investia-homepage.js-motion-ready .site-section:not(.is-revealed) .coverage-cat-card,
    .investia-homepage.js-motion-ready .site-section-alt:not(.is-revealed) .offer-card,
    .investia-homepage.js-motion-ready .site-section:not(.is-revealed) .sector-tile,
    .investia-homepage.js-motion-ready .site-section-alt:not(.is-revealed) .inv-featured-logo-pill,
    .investia-homepage.js-motion-ready .site-section:not(.is-revealed) .inv-partner-vcard,
    .investia-homepage.js-motion-ready .site-section-alt:not(.is-revealed) .inv-why-card {
        opacity: 1 !important;
        transform: none !important;
    }

    .inv-steps-rail {
        display: none !important;
    }

    @media (min-width: 992px) {
        .inv-steps-rail {
            display: block !important;
            transform: none !important;
        }
    }
}

/* ──────────────────────────────────────────────────────────────
   18. HOMEPAGE PRICING & PLANS SECTION (pricing-4 luxury shadcn style)
   ────────────────────────────────────────────────────────────── */
/* ──────────────────────────────────────────────────────────────
   18. HOMEPAGE PRICING & PLANS SECTION (Luxury Brand Edition)
   ────────────────────────────────────────────────────────────── */
.inv-pricing-section {
    position: relative;
    padding: 52px 0;
    background-color: #FFFFFF;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(206, 177, 143, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 10% 80%, rgba(17, 24, 39, 0.02) 0%, transparent 40%);
    overflow: hidden;
}

.inv-pricing-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 980px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2rem;
    padding-inline: 1rem;
}

.inv-pricing-eyebrow-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 0.85rem;
}

.inv-plans-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.4rem 1.15rem;
    border-radius: 9999px;
    background: rgba(206, 177, 143, 0.15);
    border: 1px solid rgba(206, 177, 143, 0.45);
    color: #8C6E3D;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.inv-pricing-header-title {
    display: block;
    width: 100%;
    max-width: 860px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--inv-charcoal, #111827);
    text-align: center !important;
}

.inv-pricing-header-subtitle {
    display: block;
    width: 100%;
    max-width: 720px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0;
    margin-bottom: 0;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.65;
    color: #6B7280;
    text-align: center !important;
}

.inv-pricing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    background: #F3F4F6;
    border: 1.5px solid #E5E7EB;
    border-radius: 9999px;
    padding: 5px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.25rem;
    max-width: 100%;
}

.inv-pricing-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 1.6rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid transparent;
    background: transparent;
    color: #4B5563;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.inv-pricing-tab-btn:hover {
    color: #111827;
}

.inv-pricing-tab-btn.active {
    background: #FFFFFF;
    color: #111827;
    border-color: rgba(206, 177, 143, 0.5);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.inv-pricing-annual-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #059669;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Grids */
.inv-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 1.25rem auto 0;
}

.inv-pricing-grid.two-cols {
    max-width: 860px;
    grid-template-columns: repeat(2, 1fr);
    margin: 1.25rem auto 0;
}

/* Card */
.inv-pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 24px;
    background: #FFFFFF;
    border: 1.5px solid #E5E7EB;
    box-shadow: 0 10px 30px -4px rgba(17, 24, 39, 0.05);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
    height: 100%;
}

.inv-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px -10px rgba(17, 24, 39, 0.12);
    border-color: #CEB18F;
}

/* Highlighted Card (Special Elevation & Champagne Gold Border) */
.inv-pricing-card.is-highlighted {
    border: 2px solid #CEB18F;
    box-shadow: 0 16px 38px -8px rgba(206, 177, 143, 0.32);
}

@media (min-width: 992px) {
    .inv-pricing-card.is-highlighted {
        transform: translateY(-8px);
    }
    .inv-pricing-card.is-highlighted:hover {
        transform: translateY(-14px);
    }
}

/* Luxury Champagne Gold Top Badge (NO black badge) */
.inv-pricing-top-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.32rem 1.15rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #FBF8F2 0%, #F5ECDD 100%);
    color: #8C6E3D;
    font-size: 0.78rem;
    font-weight: 800;
    border: 1.5px solid #CEB18F;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.28);
    letter-spacing: -0.01em;
    white-space: nowrap;
    z-index: 5;
}

.inv-pricing-card-header {
    padding: 2.25rem 2rem 1.5rem;
    border-bottom: 1px solid #F3F4F6;
    position: relative;
    background: #FFFFFF;
    border-radius: 22px 22px 0 0;
}

.inv-pricing-card.is-highlighted .inv-pricing-card-header {
    background: linear-gradient(180deg, #FBF9F5 0%, #FFFFFF 100%);
}

.inv-pricing-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    text-align: right;
}

.inv-pricing-desc {
    font-size: 0.88rem;
    color: #6B7280;
    line-height: 1.55;
    margin-bottom: 1.25rem;
    min-height: 48px;
    text-align: right;
}

.inv-pricing-amount-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.35rem;
    direction: rtl;
    text-align: right;
}

.inv-pricing-amount {
    font-size: 2.75rem;
    font-weight: 900;
    color: #111827;
    line-height: 1;
    letter-spacing: -0.02em;
    font-feature-settings: 'tnum';
}

.inv-pricing-currency {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
}

.inv-pricing-period {
    font-size: 0.92rem;
    color: #6B7280;
    font-weight: 600;
}

.inv-pricing-savings-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem 0.65rem;
    border-radius: 9999px;
    background: #ECFDF5;
    color: #059669;
    font-size: 0.72rem;
    font-weight: 700;
    border: 1px solid #A7F3D0;
    margin-right: auto;
}

.inv-pricing-subnote {
    font-size: 0.8rem;
    color: #9CA3AF;
    font-weight: 500;
    min-height: 24px;
    text-align: right;
}

.inv-pricing-card-body {
    padding: 1.75rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.inv-pricing-card.is-highlighted .inv-pricing-card-body {
    background: rgba(250, 246, 240, 0.35);
}

.inv-pricing-features-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #8C6E3D;
    letter-spacing: 0.02em;
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    text-align: right;
}

.inv-pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.inv-pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.55;
    text-align: right;
}

.inv-pricing-feature-icon {
    flex-shrink: 0;
    margin-top: 0.18rem;
    color: #10B981;
}

.inv-pricing-card.is-highlighted .inv-pricing-feature-icon {
    color: #8C6E3D;
}

.inv-pricing-card-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid #F3F4F6;
    background: #FFFFFF;
    margin-top: auto;
    border-radius: 0 0 22px 22px;
}

.inv-pricing-card.is-highlighted .inv-pricing-card-footer {
    background: #FFFFFF;
}

.inv-pricing-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(206, 177, 143, 0.45);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-pricing-btn-primary:hover {
    background: #000000;
    color: #EDD08D;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.inv-pricing-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: 14px;
    background: #FFFFFF;
    color: #111827;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1.5px solid #E5E7EB;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-pricing-btn-outline:hover {
    border-color: #CEB18F;
    color: #8C6E3D;
    background: #FBF9F5;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.18);
}

/* Responsive Breakpoints (Tablet & Mobile) */
@media (max-width: 991.98px) {
    .inv-pricing-grid,
    .inv-pricing-grid.two-cols {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }
}

@media (max-width: 767.98px) {
    .inv-pricing-section {
        padding: 36px 0;
    }

    .inv-pricing-grid,
    .inv-pricing-grid.two-cols {
        grid-template-columns: 1fr;
        max-width: 440px;
        gap: 1.5rem;
    }

    .inv-pricing-toggle-wrap {
        width: 100%;
        justify-content: center;
    }

    .inv-pricing-tab-btn {
        flex: 1;
        padding: 0.55rem 0.95rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .inv-pricing-card-header {
        padding: 1.75rem 1.35rem 1.25rem;
    }

    .inv-pricing-card-body {
        padding: 1.35rem 1.35rem;
    }

    .inv-pricing-card-footer {
        padding: 1.25rem 1.35rem 1.5rem;
    }

    .inv-pricing-amount {
        font-size: 2.35rem;
    }

    .inv-pricing-desc {
        min-height: auto;
    }
}

/* ============================================================ */
/* ============================================================ */
/* LUXURY SCREEN-CENTERED SOVEREIGN LOTTIE LOADER (VISITORS)    */
/* ============================================================ */

/* Scroll & Swipe Lock when Global Loader is active */
html.investia-loader-locked,
body.investia-loader-locked {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    touch-action: none !important;
    -webkit-overflow-scrolling: auto !important;
    height: 100% !important;
}

.investia-global-loader {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 9999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.investia-global-loader.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Warm Ivory Frosted Glass Ambient Backdrop (Zero Black Slabs) */
.investia-loader-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(253, 251, 248, 0.88) 0%, rgba(250, 246, 240, 0.94) 100%);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Content Container */
.investia-loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.investia-global-loader.is-active .investia-loader-content {
    transform: scale(1);
}

/* Floating Spinner Wrap — ZERO White Background, Enlarged Luxury Circular Frame */
.investia-loader-spinner-wrap {
    position: relative;
    z-index: 2;
    width: 170px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    border-radius: 50%;
    box-shadow: none !important;
    filter: drop-shadow(0 4px 24px rgba(206, 177, 143, 0.45));
}

.investia-loader-spinner-wrap lottie-player {
    width: 160px !important;
    height: 160px !important;
    display: block;
    margin: auto;
    background: transparent !important;
}

/* Official Institutional Branding Beneath Spinner (Hidden by user request) */
.investia-loader-official-text {
    display: none !important;
}

.investia-loader-title {
    display: none !important;
}

.investia-loader-subtitle {
    display: none !important;
}

@media (max-width: 576px) {
    .investia-loader-spinner-wrap {
        width: 140px;
        height: 140px;
    }
    .investia-loader-spinner-wrap lottie-player {
        width: 130px !important;
        height: 130px !important;
    }
}

/* Ensure Livewire loading hides elements reliably */
[wire\:loading\.remove][style*="display: none"],
[wire\:loading\.remove][style*="display:none"] {
    display: none !important;
}
[wire\:loading][style*="display: none"],
[wire\:loading][style*="display:none"] {
    display: none !important;
}

/* ──────────────────────────────────────────────────────────────
   28. FLOATING WHATSAPP BUTTON (HOMEPAGE ONLY)
   ────────────────────────────────────────────────────────────── */
.investia-floating-whatsapp-wrap {
    position: fixed;
    bottom: 26px;
    left: 26px;
    z-index: 1035;
    direction: rtl;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.investia-floating-whatsapp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28), 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.investia-floating-whatsapp-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38), 0 2px 6px rgba(0, 0, 0, 0.12);
    color: #FFFFFF !important;
}

.whatsapp-btn-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(37, 211, 102, 0.35);
    animation: whatsappPulseWave 2.8s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

@keyframes whatsappPulseWave {
    0% { transform: scale(0.95); opacity: 0.6; }
    50% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

.whatsapp-btn-icon {
    font-size: 1.45rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.investia-floating-whatsapp-btn:hover .whatsapp-btn-icon {
    transform: scale(1.06);
}

.whatsapp-btn-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: #111827;
    border: 1px solid rgba(206, 177, 143, 0.3);
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.whatsapp-tooltip-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #FFFFFF;
}

.whatsapp-tooltip-sub {
    font-size: 0.72rem;
    color: #CEB18F;
    font-weight: 600;
    font-family: monospace;
}

.investia-floating-whatsapp-btn:hover .whatsapp-btn-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 576px) {
    .investia-floating-whatsapp-wrap {
        bottom: 16px;
        left: 14px;
    }
    .investia-floating-whatsapp-btn {
        width: 44px !important;
        height: 44px !important;
        box-shadow: 0 3px 10px rgba(37, 211, 102, 0.22) !important;
    }
    .whatsapp-btn-icon {
        font-size: 1.3rem !important;
    }
    .whatsapp-btn-pulse {
        display: none !important;
    }
    .whatsapp-btn-tooltip {
        display: none !important;
    }
}

/* Ensure Floating WhatsApp button is lifted above Bottom Navigation for logged-in members on mobile */
.is-member .investia-floating-whatsapp-wrap {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    left: 16px !important;
}
@media (max-width: 991px) {
    .is-member .investia-floating-whatsapp-wrap {
        bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
        left: 16px !important;
    }
    .is-member .investia-floating-whatsapp-btn {
        width: 46px !important;
        height: 46px !important;
    }
    .is-member .whatsapp-btn-icon {
        font-size: 1.4rem !important;
    }
}

/* Hide Floating WhatsApp completely when Offcanvas or any Modal is open */
body.is-offcanvas-open .investia-floating-whatsapp-wrap,
body.offcanvas-open .investia-floating-whatsapp-wrap,
body.modal-open .investia-floating-whatsapp-wrap,
body:has(.investia-offcanvas.show) .investia-floating-whatsapp-wrap,
body:has(.offcanvas.show) .investia-floating-whatsapp-wrap,
.investia-offcanvas.show ~ * .investia-floating-whatsapp-wrap {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.6) translateY(20px) !important;
}

/* ──────────────────────────────────────────────────────────────
   29. APP DOWNLOAD BUTTONS (APP STORE, GOOGLE PLAY, APPGALLERY)
   ────────────────────────────────────────────────────────────── */
.investia-app-download-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.investia-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 12px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    min-width: 136px;
}

.investia-store-btn:hover {
    background: #1A1F2C;
    border-color: #CEB18F;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(206, 177, 143, 0.25);
    color: #FFFFFF !important;
}

.store-btn-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    text-align: right;
}

.store-sub {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.store-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.2px;
}

/* ──────────────────────────────────────────────────────────────
   30. FOOTER PAYMENT METHODS & SAUDI COMPLIANCE BADGES
   ────────────────────────────────────────────────────────────── */
.footer-compliance-payments-strip {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.15rem 0;
    background: rgba(0, 0, 0, 0.25);
}

.footer-compliance-badges {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-compliance-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-compliance-pill strong {
    color: #FFFFFF;
    font-family: monospace;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.footer-compliance-vat-badge {
    background: #006C35;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.footer-compliance-cr-badge {
    background: rgba(206, 177, 143, 0.2);
    border: 1px solid #CEB18F;
    color: #CEB18F;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}

.footer-payments-list {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-payment-badge {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 3px 8px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-payment-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 177, 143, 0.35);
}

.footer-payment-badge img {
    height: 18px;
    max-width: 50px;
    object-fit: contain;
    display: block;
}

/* ──────────────────────────────────────────────────────────────
   31. CONTACT US PAGE (PREMIUM LUXURY REDESIGN)
   ────────────────────────────────────────────────────────────── */
.contact-hero-section {
    padding: 3.5rem 0 2rem;
    background: linear-gradient(180deg, rgba(206, 177, 143, 0.08) 0%, transparent 100%);
    text-align: center;
}

.contact-card-box {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(206, 177, 143, 0.3);
    padding: 2.25rem;
    box-shadow: 0 8px 30px rgba(17, 24, 39, 0.04);
}

.contact-channel-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: #FAF8F5;
    border: 1px solid rgba(206, 177, 143, 0.25);
    transition: all 0.2s ease;
    margin-bottom: 0.85rem;
    text-decoration: none !important;
}

.contact-channel-item:hover {
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.18);
    transform: translateY(-1.5px);
}

.contact-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-channel-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.25);
}

.contact-channel-phone {
    background: rgba(17, 24, 39, 0.08);
    color: #111827;
    border: 1px solid rgba(17, 24, 39, 0.15);
}

.contact-channel-email {
    background: rgba(206, 177, 143, 0.15);
    color: #8A6B42;
    border: 1px solid rgba(206, 177, 143, 0.35);
}

.contact-channel-address {
    background: rgba(59, 130, 246, 0.1);
    color: #2563EB;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.contact-app-promo-card {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    border: 1.5px solid #C5B288;
    border-radius: 20px;
    padding: 1.75rem;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.15);
}

.contact-app-promo-banner {
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    border: 1.5px solid #C5B288;
    border-radius: 20px;
    padding: 2.25rem 2.5rem;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.12);
    width: 100%;
}

.contact-app-promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(206, 177, 143, 0.12) 0%, transparent 70%);
    pointer-events: none;
}


/* Prevent unwanted vertical scrollbars in member tables */
.member-history .card-body {
    overflow: visible !important;
}
.member-history .table-responsive {
    overflow-x: auto;
    overflow-y: hidden !important;
    max-height: none !important;
    height: auto !important;
}
.member-history .table-responsive::-webkit-scrollbar:vertical {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ==========================================================================
   LUXURY MEMBERSHIP CHECKOUT DIALOG & SIMULATOR
   ========================================================================== */
.inv-checkout-overlay {
    animation: invFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.inv-checkout-modal {
    animation: invModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
}

.inv-checkout-body::-webkit-scrollbar {
    width: 6px;
}

.inv-checkout-body::-webkit-scrollbar-track {
    background: #F1EFEA;
    border-radius: 8px;
}

.inv-checkout-body::-webkit-scrollbar-thumb {
    background: #CEB18F;
    border-radius: 8px;
}

.inv-checkout-body::-webkit-scrollbar-thumb:hover {
    background: #B3956E;
}

.inv-checkout-card-preview {
    position: relative;
    border-radius: 16px;
    background: linear-gradient(135deg, #111827 0%, #1F2937 55%, #18181B 100%);
    border: 1px solid rgba(206, 177, 143, 0.45);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255,255,255,0.15);
    overflow: hidden;
}

.inv-checkout-card-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(206, 177, 143, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.inv-chip-graphic {
    width: 38px;
    height: 28px;
    background: linear-gradient(135deg, #F5DFAB 0%, #CEB18F 50%, #9B7B4B 100%);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.inv-chip-graphic::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 3px;
}

@keyframes invFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes invModalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes invScaleUp {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}






/* ══════════════════════════════════════════════════════════════
   STRICT OFFERS MARKETPLACE — 2-COLUMN DESKTOP ARCHITECTURE
   Inspired by clean modern real-estate / benefits marketplace
   ══════════════════════════════════════════════════════════════ */
.inv-offers-page {
    background-color: #F7F8FA;
    min-height: 85vh;
    padding-top: 1.5rem;
    padding-bottom: 4.5rem;
}

.inv-marketplace-header {
    margin-bottom: 1.75rem;
}

/* Sticky Filter Sidebar (Desktop Right Column in RTL) */
.inv-offers-sidebar-col {
    position: sticky;
    top: 96px;
    z-index: 10;
}

.inv-sidebar-card {
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.32);
    border-radius: 18px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 4px 18px rgba(17, 24, 39, 0.04);
}

.inv-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #F3F4F6;
}

.inv-sidebar-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
}

.inv-sidebar-reset-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8C6E3D;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.15s ease;
}

.inv-sidebar-reset-link:hover {
    color: #111827;
}

.inv-sidebar-group {
    margin-bottom: 1.05rem;
}

.inv-sidebar-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.4rem;
}

.inv-sidebar-actions {
    margin-top: 1.25rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(206, 177, 143, 0.25);
}

/* Results Toolbar (Above Cards Grid — Refined Inline Count Strip) */
.inv-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

.inv-results-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inv-results-count-bold {
    font-size: 1.02rem;
    font-weight: 800;
    color: #111827;
}

.inv-results-count-context {
    font-size: 0.84rem;
}

.inv-toolbar-clear-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: #8C6E3D;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.15s ease;
}

.inv-toolbar-clear-link:hover {
    color: #DC2626;
}

/* ── Standardized Offer Card Component (Zero Jitter, Fluid Hover & Complete Stability) ── */
.offer-market-card {
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.35);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 16px -2px rgba(9, 18, 32, 0.05);
    will-change: transform, box-shadow;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease;
}

.offer-market-card:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 16px 36px -8px rgba(9, 18, 32, 0.12),
                0 0 0 1px rgba(206, 177, 143, 0.45);
    border-color: #CEB18F;
}

.offer-market-card .offer-card-poster {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 200px;
    max-height: 235px;
    background: radial-gradient(circle at center, #111A2E 0%, #091220 100%);
    overflow: hidden;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}

.offer-poster-ambient-backdrop {
    position: absolute;
    inset: -15%;
    width: 130%;
    height: 130%;
    object-fit: cover;
    filter: blur(24px) saturate(1.35);
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
    transform: scale(1.12);
}

.offer-market-card .offer-poster-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-market-card:hover .offer-poster-img {
    transform: scale(1.025);
}

/* Single Discount Badge (Top Right) */
.offer-market-card .offer-poster-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.72rem;
    border-radius: 9999px;
    background: rgba(9, 18, 32, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(206, 177, 143, 0.6);
    color: #DFCAAF;
    font-size: 0.78rem;
    font-weight: 800;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Single Featured Badge (Top Left) */
.offer-market-card .offer-featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem 0.6rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #E9D8BC 0%, #CEB18F 100%);
    color: #1A1612;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Card Content Body */
.offer-market-card .offer-card-info {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #FFFFFF;
}

.offer-market-card .offer-card-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.48;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem;
    text-align: right;
}

.offer-market-card:hover .offer-card-title a {
    color: #8C6E3D !important;
}

.offer-partner-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
    flex-wrap: wrap;
}

.offer-partner-name {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #374151;
    min-width: 0;
    max-width: 100%;
}

.offer-city-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.52rem;
    border-radius: 6px;
    background: #FAF6F0;
    border: 1px solid rgba(206, 177, 143, 0.45);
    color: #8C6E3D;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.offer-market-card .offer-card-desc {
    font-size: 0.84rem;
    color: #4B5563;
    line-height: 1.55;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6rem;
    text-align: right;
}

.offer-expiry-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.85rem;
}

.offer-expiry-text {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    color: #6B7280;
    font-weight: 600;
}

/* Stable CTA Button: Obsidian Dark across all cards with fluid arrow hover */
.offer-market-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 46px;
    padding: 0.65rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #2D241E 0%, #1A1612 100%);
    color: #FAF6F0 !important;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(45, 36, 30, 0.12);
}

.offer-market-cta-btn svg {
    color: #DFCAAF;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.22s ease;
}

/* On card hover: Keep CTA button background stable! Only smoothly animate arrow icon in RTL */
.offer-market-card:hover .offer-market-cta-btn svg {
    transform: translateX(-4px);
    color: #FFFFFF;
}

/* When directly hovering or focusing the button itself */
.offer-market-cta-btn:hover,
.offer-market-cta-btn:active,
.offer-market-cta-btn:focus-visible {
    background: linear-gradient(135deg, #DFCAAF 0%, #CEB18F 100%);
    border-color: #CEB18F;
    color: #1A1612 !important;
    box-shadow: 0 6px 18px rgba(206, 177, 143, 0.35);
}

.offer-market-cta-btn:hover svg,
.offer-market-cta-btn:active svg,
.offer-market-cta-btn:focus-visible svg {
    color: #1A1612;
}

/* Mobile Header Optimization (< 768px) */
@media (max-width: 768px) {
    .investia-top-stack-container {
        background: #FFFFFF !important;
    }

    .investia-header {
        background: #FFFFFF !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
        border-bottom: 1px solid #E5E7EB !important;
    }

    .investia-header .header-inner {
        height: 58px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .investia-header .investia-brand img {
        height: 32px !important;
        width: auto !important;
    }

    .investia-top-marquee-bar {
        height: 32px !important;
    }

    .investia-top-marquee-bar .investia-ticker-content {
        font-size: 0.72rem !important;
    }

    .inv-inner-page {
        padding-top: 1.25rem !important;
        padding-bottom: 3.5rem !important;
    }

    .offer-market-card .offer-card-poster {
        min-height: 185px;
        max-height: 220px;
    }
}

/* Mobile Offers Toolbar & Action Pills (< 992px) */
.inv-mobile-offers-toolbar {
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.4);
    border-radius: 18px;
    padding: 0.85rem;
    box-shadow: 0 4px 18px rgba(45, 36, 30, 0.04);
    margin-bottom: 1.25rem;
}

.inv-mobile-search-form {
    display: block !important;
    width: 100% !important;
    margin: 0 0 0.75rem 0 !important;
}

.inv-mobile-search-input-wrap {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    flex: 1 1 100% !important;
    background: #FFFFFF;
    border: 1.5px solid rgba(206, 177, 143, 0.5);
    border-radius: 9999px;
    min-height: 48px;
    padding: 0.25rem 0.5rem 0.25rem 0.35rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(45, 36, 30, 0.03);
}

.inv-mobile-search-input-wrap:focus-within {
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.25);
}

.inv-mobile-search-icon-start {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 0.5rem;
    padding-left: 0.25rem;
    color: #CEB18F;
    flex-shrink: 0;
}

.inv-mobile-search-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.92rem;
    color: #1A1612;
    padding: 0.35rem 0.5rem;
    font-family: inherit;
}

.inv-mobile-search-input::placeholder {
    color: #8C7862;
    font-size: 0.88rem;
}

.inv-mobile-search-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(140, 120, 98, 0.12);
    color: #8C7862;
    text-decoration: none;
    margin-left: 0.35rem;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.inv-mobile-search-clear-btn:hover {
    background: rgba(140, 120, 98, 0.25);
    color: #1A1612;
}

.inv-mobile-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DFCAAF 0%, #CEB18F 100%);
    border: 1px solid rgba(206, 177, 143, 0.6);
    color: #1A1612;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(206, 177, 143, 0.35);
}

.inv-mobile-search-btn:hover,
.inv-mobile-search-btn:active {
    background: linear-gradient(135deg, #F5E6D3 0%, #DFCAAF 100%);
    color: #1A1612;
    transform: scale(1.05);
}

.inv-mobile-action-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.55rem 0.85rem;
    border-radius: 12px;
    background: #FAF6F0;
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    color: #1A1612;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    box-shadow: 0 2px 6px rgba(45, 36, 30, 0.03);
    width: 100%;
}

.inv-mobile-action-pill:hover,
.inv-mobile-action-pill:active {
    background: #FFFFFF;
    border-color: #CEB18F;
    color: #8C6E3D;
    box-shadow: 0 4px 12px rgba(206, 177, 143, 0.25);
}

.inv-filter-badge-count {
    background: #8C6E3D;
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    padding: 0 0.35rem;
    border-radius: 9999px;
    line-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inv-mobile-sort-wrap {
    position: relative;
    width: 100%;
}

.inv-mobile-sort-pill {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 46px;
    padding: 0 0.85rem;
    border-radius: 12px;
    background: #FAF6F0;
    border: 1.5px solid rgba(206, 177, 143, 0.45);
    color: #1A1612;
    font-size: 0.86rem;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(45, 36, 30, 0.03);
    width: 100%;
}

.inv-mobile-sort-pill:hover {
    background: #FFFFFF;
    border-color: #CEB18F;
}

.inv-mobile-sort-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    font-size: 16px;
}

.inv-mobile-sort-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 0.86rem;
    font-weight: 700;
    color: #1A1612;
    pointer-events: none;
}

/* Ensure Drawer is strictly above header */
.inv-filter-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000010 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.inv-filter-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 22, 18, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000010 !important;
}

.inv-filter-drawer-panel {
    position: relative;
    z-index: 2000011 !important;
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
    padding: 1.5rem 1.35rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 -12px 45px rgba(45, 36, 30, 0.2);
    border-top: 3px solid #CEB18F;
}

.inv-filter-drawer-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.inv-drawer-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #F5E6D3 0%, #DFCAAF 50%, #C4A480 100%);
    color: #1A1612 !important;
    font-weight: 800;
    font-size: 0.95rem;
    border: 1px solid rgba(206, 177, 143, 0.6);
    box-shadow: 0 4px 14px rgba(206, 177, 143, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.inv-drawer-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 177, 143, 0.45);
}

.inv-drawer-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border-radius: 14px;
    background: #FAF6F0;
    border: 1.5px solid rgba(206, 177, 143, 0.4);
    color: #5C5248 !important;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.inv-drawer-reset-btn:hover {
    background: #FFFFFF;
    border-color: #CEB18F;
    color: #1A1612 !important;
}

@media (max-width: 991.98px) {
    .inv-offers-sidebar-col {
        display: none !important;
    }
}

/* ──────────────────────────────────────────────────────────────
   MODERN HORIZONTAL MARKETPLACE FILTER TOOLBAR & POPOVERS
   Inspired by Luxury Discovery Toolbars with Instant Pill Popovers
   ────────────────────────────────────────────────────────────── */
.inv-modern-filter-bar {
    background: #FFFFFF;
    border: 1px solid rgba(206, 177, 143, 0.4);
    border-radius: 20px;
    padding: 0.85rem 1.35rem;
    box-shadow: 0 4px 20px -2px rgba(45, 36, 30, 0.05),
                0 0 0 1px rgba(206, 177, 143, 0.12);
    position: relative;
    z-index: 40;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.inv-modern-filter-bar:hover {
    box-shadow: 0 8px 28px -4px rgba(45, 36, 30, 0.08);
    border-color: rgba(206, 177, 143, 0.65);
}

.inv-bar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.inv-bar-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1A1612;
    letter-spacing: -0.015em;
    margin: 0;
}

.inv-bar-badge {
    display: none !important;
}

.inv-bar-search-form {
    min-width: 250px;
}

.inv-bar-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #FAF6F0;
    border: 1.5px solid rgba(206, 177, 143, 0.35);
    border-radius: 9999px;
    padding: 0.2rem 0.35rem 0.2rem 1rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-bar-search-wrap:focus-within {
    background: #FFFFFF;
    border-color: #CEB18F;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.25);
}

.inv-bar-search-input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: #1A1612;
    padding: 0.25rem 0.5rem;
    font-family: inherit;
}

.inv-bar-search-input::placeholder {
    color: #8C7862;
    font-size: 0.85rem;
}

.inv-bar-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A1612 0%, #2D241E 100%);
    border: 1px solid rgba(206, 177, 143, 0.45);
    color: #DFCAAF;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.inv-bar-search-btn:hover {
    background: #8C6E3D;
    color: #FFFFFF;
    border-color: #8C6E3D;
    transform: scale(1.05);
}

/* Filter Pill Triggers */
.inv-filter-pill-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.48rem 1rem;
    border-radius: 9999px;
    background: #FAF6F0;
    border: 1.5px solid rgba(206, 177, 143, 0.38);
    color: #4A3E34;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    user-select: none;
}

.inv-filter-pill-trigger:hover {
    background: #FFFFFF;
    border-color: #CEB18F;
    color: #1A1612;
}

.inv-filter-pill-trigger.is-active {
    background: linear-gradient(135deg, #1A1612 0%, #2D241E 100%);
    border-color: rgba(206, 177, 143, 0.65);
    color: #DFCAAF;
    box-shadow: 0 4px 12px rgba(26, 22, 18, 0.16);
}

.inv-filter-pill-trigger.is-active svg {
    color: #DFCAAF;
}

.inv-filter-pill-trigger .inv-chevron {
    transition: transform 0.2s ease;
    opacity: 0.65;
}

.inv-filter-pill-trigger.is-open .inv-chevron {
    transform: rotate(180deg);
}

/* Reset Pill */
.inv-filter-reset-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.inv-filter-reset-pill:hover {
    background: #DC2626;
    color: #FFFFFF !important;
}

/* View Mode Switcher */
.inv-view-switcher {
    display: inline-flex;
    align-items: center;
    background: #FAF6F0;
    padding: 3px;
    border-radius: 12px;
    border: 1px solid rgba(206, 177, 143, 0.35);
}

.inv-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 30px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #8C7862;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inv-view-btn.is-active {
    background: #FFFFFF;
    color: #8C6E3D;
    box-shadow: 0 2px 6px rgba(206, 177, 143, 0.25);
}

/* Alpine Hardware-Accelerated Transition Utilities */
.transition {
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.duration-150 { transition-duration: 150ms !important; }
.duration-200 { transition-duration: 200ms !important; }
.duration-300 { transition-duration: 300ms !important; }
.ease-out { transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important; }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1) !important; }
.opacity-0 { opacity: 0 !important; }
.opacity-100 { opacity: 1 !important; }
.transform { transform: translate3d(0, 0, 0); }
.-translate-y-2 { transform: translate3d(0, -8px, 0) !important; }
.translate-y-0 { transform: translate3d(0, 0, 0) !important; }
.translate-y-full { transform: translate3d(0, 100%, 0) !important; }

/* Floating Popover Cards (Smooth Alpine Hardware-Accelerated Transitions) */
.inv-filter-popover-card {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(206, 177, 143, 0.45);
    box-shadow: 0 16px 45px -8px rgba(45, 36, 30, 0.14),
                0 0 0 1px rgba(206, 177, 143, 0.15);
    padding: 1.25rem;
    z-index: 1050;
    min-width: 290px;
    max-width: 380px;
    will-change: transform, opacity;
    transform-origin: top right;
}

.inv-popover-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(206, 177, 143, 0.2);
}

.inv-popover-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1A1612;
}

.inv-popover-clear {
    font-size: 0.78rem;
    font-weight: 700;
    color: #8C6E3D;
    text-decoration: underline;
    cursor: pointer;
}

.inv-popover-clear:hover {
    color: #DC2626;
}

/* Pill Chips inside Popovers */
.inv-pill-chips-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    max-height: 240px;
    overflow-y: auto;
    padding-inline-end: 2px;
}

.inv-pill-chips-group::-webkit-scrollbar {
    width: 4px;
}

.inv-pill-chips-group::-webkit-scrollbar-thumb {
    background: rgba(206, 177, 143, 0.4);
    border-radius: 9999px;
}

.inv-pill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    background: #FAF6F0;
    border: 1.5px solid rgba(206, 177, 143, 0.35);
    color: #4A3E34;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.inv-pill-chip:hover {
    background: #FFFFFF;
    border-color: #CEB18F;
    color: #1A1612;
    transform: translateY(-1px);
}

.inv-pill-chip.is-selected {
    background: linear-gradient(135deg, #1A1612 0%, #2D241E 100%);
    border-color: rgba(206, 177, 143, 0.7);
    color: #DFCAAF !important;
    box-shadow: 0 3px 10px rgba(26, 22, 18, 0.18);
}

.inv-chip-badge {
    background: rgba(206, 177, 143, 0.25);
    color: #8C6E3D;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 9999px;
}

.inv-pill-chip.is-selected .inv-chip-badge {
    background: rgba(223, 202, 175, 0.25);
    color: #DFCAAF;
}

.inv-popover-divider {
    height: 1px;
    background: rgba(206, 177, 143, 0.2);
    margin: 0.85rem 0;
}

.inv-popover-sublabel {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #8C7862;
}

.inv-popover-select {
    border-radius: 10px;
    border: 1.5px solid rgba(206, 177, 143, 0.38);
    background: #FAF6F0;
    color: #1A1612;
    font-size: 0.84rem;
    font-family: inherit;
    font-weight: 600;
    padding: 0.45rem 0.75rem;
}

.inv-popover-select:focus {
    border-color: #CEB18F;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(206, 177, 143, 0.25);
}

.inv-popover-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    color: #4A3E34;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.inv-popover-menu-item:hover {
    background: #FAF6F0;
    color: #8C6E3D;
}

.inv-popover-menu-item.is-selected {
    background: #FAF6F0;
    color: #8C6E3D !important;
    font-weight: 800;
    border-right: 3px solid #8C6E3D;
}

/* List View Variant for Offer Cards */
.inv-offers-list-view .offer-market-card {
    flex-direction: row;
    height: auto;
}

.inv-offers-list-view .offer-card-poster {
    width: 220px;
    height: auto;
    max-height: none;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .inv-offers-list-view .offer-market-card {
        flex-direction: column;
    }
    .inv-offers-list-view .offer-card-poster {
        width: 100%;
        height: 170px;
    }
}
