/*
 * PROEX BRAND GUIDELINES 2026 — DESIGN SYSTEM
 * Scope: Official Light Luxury & Data-First Real Estate Intelligence
 * Colors: Emerald Green (#124B3A), Deep Emerald (#0B382D), Champagne Gold (#C6A15B), Charcoal (#1E2421), Soft White (#F6F7F4)
 * Ratio: White/Soft White 70-80% • Emerald 15-20% • Gold 5-10%
 * Typography: Inter (primary), Playfair Display (editorial accent)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,500;1,600;1,700&display=swap');

:root {
    /* Brand Colors (PROEX Approved v2) */
    --proex-emerald: #0B4A38;        /* Primary / CTA / Logo */
    --proex-emerald-deep: #073D30;   /* Hover / Strong contrast */
    --proex-gold: #CDA85D;           /* Accent / Premium Champagne Gold */
    --proex-champagne: #CDA85D;
    --proex-gold-light: #F5EAD7;     /* Gold tint */
    --proex-charcoal: #222725;       /* Text / Headings */
    --proex-soft-white: #F8F8F5;     /* Section background */
    --proex-white: #FFFFFF;          /* Base card / pure white */
    --proex-border: #E5E8E4;         /* Dividers / cards */
    --proex-muted: #64746B;          /* Muted text */
    --proex-subtle: #8E9B93;         /* Subtle text */
    --proex-green-up: #18794E;       /* Bullish indicator */

    /* Typography */
    --proex-font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --proex-font-serif: 'Playfair Display', Georgia, serif;

    /* Radii */
    --proex-radius-sm: 8px;
    --proex-radius-md: 14px;
    --proex-radius-lg: 20px;
    --proex-radius-xl: 28px;
    --proex-radius-pill: 999px;

    /* Shadows */
    --proex-shadow-sm: 0 4px 16px rgba(18, 75, 58, 0.05);
    --proex-shadow-md: 0 12px 36px rgba(18, 75, 58, 0.08);
    --proex-shadow-lg: 0 20px 50px rgba(18, 75, 58, 0.12);
    --proex-shadow-emerald: 0 10px 24px rgba(18, 75, 58, 0.22);

    /* Legacy Alias Tokens */
    --primary-color: var(--proex-emerald);
    --primary-hover: var(--proex-emerald-deep);
    --secondary-color: var(--proex-charcoal);
    --dark-color: var(--proex-charcoal);
    --light-color: var(--proex-soft-white);
    --text-dark: var(--proex-charcoal);
    --text-muted: var(--proex-muted);
}

/* ==========================================================================
   GLOBAL RESET & BASE STYLING
   ========================================================================== */
body.proex-phase1 {
    background: #FFFFFF;
    color: var(--proex-charcoal);
    font-family: var(--proex-font-body);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body.proex-phase1 h1,
body.proex-phase1 h2,
body.proex-phase1 h3,
body.proex-phase1 h4,
body.proex-phase1 h5 {
    color: var(--proex-charcoal);
    font-family: var(--proex-font-body);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.proex-serif-gold {
    font-family: var(--proex-font-serif) !important;
    font-style: italic !important;
    font-weight: 600 !important;
    color: var(--proex-gold) !important;
}

.proex-shell {
    width: min(100% - 40px, 1260px);
    max-width: 1260px;
    margin-inline: auto;
}

.proex-section {
    padding: clamp(48px, 6vw, 84px) 0;
}

.proex-bg-soft {
    background-color: var(--proex-soft-white);
}

.proex-bg-white {
    background-color: var(--proex-white);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
body.proex-phase1 .top-bar {
    background: var(--proex-soft-white);
    border-bottom: 1px solid var(--proex-border);
    color: var(--proex-muted);
    font-size: 12px;
}

body.proex-phase1 header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--proex-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

body.proex-phase1 .nav-bar {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.proex-header-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.proex-header-logo img {
    height: 40px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

body.proex-phase1 .nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body.proex-phase1 .nav-link {
    color: var(--proex-charcoal);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--proex-radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}

body.proex-phase1 .nav-link:hover,
body.proex-phase1 .nav-link.active {
    color: var(--proex-emerald);
    background: rgba(18, 75, 58, 0.05);
}

.proex-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.proex-search-toggle-btn {
    background: none;
    border: none;
    color: var(--proex-charcoal);
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: color 0.2s;
}

.proex-search-toggle-btn:hover {
    color: var(--proex-emerald);
}

.proex-btn-consult {
    background: var(--proex-emerald) !important;
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: var(--proex-radius-pill);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    box-shadow: var(--proex-shadow-emerald);
    transition: all 0.2s ease;
}

.proex-btn-consult:hover {
    background: var(--proex-emerald-deep) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   PROEX LIGHT LUXURY MEGA MENU & DROPDOWNS
   ========================================================================== */
body.proex-phase1 .nav-item.dropdown-trigger {
    position: relative;
}

body.proex-phase1 .mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #FFFFFF !important;
    border: 1px solid var(--proex-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    padding: 24px 28px !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1200;
}

body.proex-phase1 .nav-item.dropdown-trigger:hover > .mega-menu,
body.proex-phase1 .nav-item.dropdown-trigger.is-open > .mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

body.proex-phase1 .mega-menu.dropdown-right {
    left: auto !important;
    right: 0 !important;
    transform: translateY(10px) !important;
}

body.proex-phase1 .nav-item.dropdown-trigger:hover > .mega-menu.dropdown-right,
body.proex-phase1 .nav-item.dropdown-trigger.is-open > .mega-menu.dropdown-right {
    transform: translateY(0) !important;
}

body.proex-phase1 .dropdown-menu-simple {
    width: 280px !important;
    padding: 12px 10px !important;
    border-radius: 14px !important;
}

body.proex-phase1 .mega-title {
    font-family: var(--proex-font-body) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--proex-emerald) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--proex-border) !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

body.proex-phase1 .mega-column {
    border-right: 1px solid var(--proex-border) !important;
    padding-right: 20px !important;
}

body.proex-phase1 .mega-column:last-child {
    border-right: none !important;
    padding-right: 0 !important;
}

body.proex-phase1 .mega-links {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.proex-phase1 .mega-links li a {
    font-size: 13px !important;
    color: var(--proex-charcoal) !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.18s ease !important;
    line-height: 1.4 !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
}

body.proex-phase1 .mega-links li a:hover {
    color: var(--proex-emerald) !important;
    background: rgba(11, 74, 56, 0.06) !important;
    transform: translateX(3px) !important;
}

body.proex-phase1 .mega-links li a.highlight-link {
    color: var(--proex-emerald) !important;
    font-weight: 700 !important;
}

/* Header utility buttons */
.proex-watchlist-btn {
    background: var(--proex-soft-white);
    border: 1px solid var(--proex-border);
    color: var(--proex-charcoal);
    padding: 7px 14px;
    border-radius: var(--proex-radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.proex-watchlist-btn:hover {
    border-color: var(--proex-emerald);
    color: var(--proex-emerald);
    background: #FFFFFF;
}

.proex-watchlist-btn i {
    color: var(--proex-champagne);
}

.proex-badge-count {
    background: var(--proex-emerald);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    padding: 1px 7px;
    min-width: 18px;
    text-align: center;
}

/* Modal and Drawer light luxury overrides */
body.proex-phase1 .vip-modal {
    background: rgba(11, 15, 23, 0.6) !important;
    backdrop-filter: blur(8px) !important;
}

body.proex-phase1 .vip-modal-content {
    background: #FFFFFF !important;
    border: 1px solid var(--proex-border) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
    border-radius: 20px !important;
    color: var(--proex-charcoal) !important;
}

body.proex-phase1 .vip-modal-content h2 {
    color: var(--proex-charcoal) !important;
}

body.proex-phase1 .vip-modal-content label {
    color: var(--proex-muted) !important;
    font-weight: 600 !important;
}

body.proex-phase1 .vip-modal-content input,
body.proex-phase1 .vip-modal-content select {
    background: #FFFFFF !important;
    border: 1px solid var(--proex-border) !important;
    color: var(--proex-charcoal) !important;
    border-radius: 8px !important;
}

body.proex-phase1 .vip-modal-content input:focus,
body.proex-phase1 .vip-modal-content select:focus {
    border-color: var(--proex-emerald) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(11, 74, 56, 0.1) !important;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.proex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--proex-font-body);
    font-weight: 700;
    font-size: 14px;
    padding: 13px 26px;
    border-radius: var(--proex-radius-pill);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.proex-btn-primary {
    background: var(--proex-emerald);
    color: #FFFFFF !important;
    border: 1px solid var(--proex-emerald);
    box-shadow: var(--proex-shadow-emerald);
}

.proex-btn-primary:hover {
    background: var(--proex-emerald-deep);
    border-color: var(--proex-emerald-deep);
    transform: translateY(-2px);
}

.proex-btn-secondary {
    background: #FFFFFF;
    color: var(--proex-charcoal) !important;
    border: 1.5px solid var(--proex-gold);
}

.proex-btn-secondary:hover {
    background: var(--proex-soft-white);
    color: var(--proex-emerald);
    border-color: var(--proex-emerald);
    transform: translateY(-2px);
}

.proex-btn-sm {
    padding: 8px 16px;
    font-size: 12px;
    border-radius: var(--proex-radius-sm);
}

/* ==========================================================================
   1. HERO SECTION (LUXURY CINEMATIC ARCHITECTURE)
   ========================================================================== */
.proex-hero-2col {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--proex-soft-white) 100%);
    padding: clamp(40px, 6vw, 76px) 0 clamp(30px, 4vw, 54px);
    border-bottom: 1px solid var(--proex-border);
}

.proex-hero-luxury {
    position: relative;
    overflow: hidden;
    background: #FAF8F5;
    padding: clamp(48px, 6.5vw, 84px) 0 clamp(36px, 4.5vw, 60px);
    border-bottom: 1px solid var(--proex-border);
    min-height: 560px;
    display: flex;
    align-items: center;
}

.proex-hero-luxury .proex-shell {
    position: relative;
    z-index: 3;
    width: 100%;
}

.proex-hero-luxury-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
}

/* Background visual stage */
.proex-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.proex-hero-bg picture,
.proex-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

/* Light overlay gradient - keeps headline 100% crisp without darkening the image */
.proex-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 30%,
        rgba(255, 255, 255, 0.85) 45%,
        rgba(255, 255, 255, 0.35) 65%,
        rgba(255, 255, 255, 0.0) 85%
    );
}

/* Desktop luxury callout badges on the right */
.proex-hero-luxury-callout {
    position: absolute;
    right: clamp(24px, 4vw, 56px);
    bottom: 28px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.proex-hero-luxury-tag {
    background: rgba(11, 74, 56, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(205, 168, 93, 0.45);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.proex-hero-luxury-location {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(205, 168, 93, 0.4);
    color: var(--proex-charcoal);
    padding: 10px 16px;
    border-radius: var(--proex-radius-sm);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: right;
}

.proex-hero-luxury-location strong {
    display: block;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--proex-charcoal);
}

.proex-hero-luxury-location span {
    display: block;
    font-size: 11px;
    color: var(--proex-muted);
}

.proex-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

.proex-hero-eyebrow {
    display: inline-block;
    color: var(--proex-emerald);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.proex-hero-h1 {
    font-size: clamp(34px, 4.4vw, 56px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--proex-charcoal);
    margin: 0 0 18px;
    letter-spacing: -0.03em;
}

.proex-hero-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--proex-muted);
    margin-bottom: 30px;
    max-width: 580px;
}

/* Hero Search Box */
.proex-hero-search-box {
    position: relative;
    max-width: 540px;
    margin-bottom: 24px;
}

.proex-hero-search-form {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1.5px solid var(--proex-border);
    border-radius: var(--proex-radius-pill);
    padding: 5px 6px 5px 18px;
    box-shadow: var(--proex-shadow-sm);
    transition: all 0.2s ease;
}

.proex-hero-search-form:focus-within {
    border-color: var(--proex-emerald);
    box-shadow: 0 8px 24px rgba(18, 75, 58, 0.12);
}

.proex-hero-search-icon {
    color: var(--proex-subtle);
    font-size: 15px;
    margin-right: 10px;
}

.proex-hero-search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    outline: none !important;
    font-size: 14px;
    font-family: var(--proex-font-body);
    color: var(--proex-charcoal);
    padding: 8px 0;
    box-shadow: none !important;
}

.proex-hero-search-btn {
    background: var(--proex-emerald);
    color: #FFFFFF;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.proex-hero-search-btn:hover {
    background: var(--proex-emerald-deep);
}

.proex-hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

/* 3 Trust Strip Badges */
.proex-trust-strip {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 32px);
    padding-top: 24px;
    border-top: 1px solid var(--proex-border);
    flex-wrap: wrap;
}

.proex-trust-col {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.proex-trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(18, 75, 58, 0.08);
    color: var(--proex-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.proex-trust-col strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--proex-charcoal);
    line-height: 1.3;
}

.proex-trust-col span {
    font-size: 11px;
    color: var(--proex-muted);
}

/* Right Hero Visual Card */
.proex-hero-card {
    position: relative;
    border-radius: var(--proex-radius-lg);
    overflow: hidden;
    box-shadow: var(--proex-shadow-lg);
    border: 1px solid rgba(18, 75, 58, 0.1);
    background: #FFFFFF;
}

.proex-hero-card img {
    width: 100%;
    height: auto;
    min-height: 340px;
    max-height: 460px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.proex-hero-card:hover img {
    transform: scale(1.03);
}

.proex-hero-badge-top {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid var(--proex-border);
    padding: 6px 14px;
    border-radius: var(--proex-radius-pill);
    font-family: var(--proex-font-serif);
    font-style: italic;
    font-size: 12px;
    color: var(--proex-gold);
    box-shadow: var(--proex-shadow-sm);
}

.proex-hero-badge-bottom {
    position: absolute;
    bottom: 16px;
    right: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* ==========================================================================
   2. HORIZONTAL MARKET TICKER BAR (SPANNING FULL SHELL)
   ========================================================================== */
.proex-ticker-bar {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-md);
    box-shadow: var(--proex-shadow-sm);
    padding: 18px 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.proex-ticker-anchor {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding-right: 16px;
    border-right: 1px solid var(--proex-border);
}

.proex-ticker-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--proex-radius-sm);
    object-fit: cover;
}

.proex-ticker-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--proex-charcoal);
    line-height: 1.2;
}

.proex-ticker-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--proex-muted);
}

.proex-ticker-stat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.proex-ticker-stat-icon {
    font-size: 16px;
    color: var(--proex-gold);
    margin-top: 3px;
}

.proex-ticker-stat-label {
    font-size: 11px;
    color: var(--proex-muted);
    margin-bottom: 2px;
}

.proex-ticker-stat-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--proex-charcoal);
    line-height: 1.2;
}

.proex-ticker-stat-trend {
    font-size: 11px;
    font-weight: 600;
    color: var(--proex-green-up);
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

/* ==========================================================================
   3. MARKETS SECTION (ĐẠI ĐÔ THỊ TRỌNG ĐIỂM)
   ========================================================================== */
.proex-sec-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.proex-sec-title-h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: var(--proex-charcoal);
    margin: 0;
}

.proex-link-more {
    font-size: 13px;
    font-weight: 700;
    color: var(--proex-emerald);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s;
}

.proex-link-more:hover {
    transform: translateX(3px);
    color: var(--proex-emerald-deep);
}

.proex-market-card-clean {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-md);
    overflow: hidden;
    box-shadow: var(--proex-shadow-sm);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.proex-market-card-clean:hover {
    border-color: var(--proex-emerald);
    box-shadow: var(--proex-shadow-md);
    transform: translateY(-4px);
}

.proex-market-thumb-box {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.proex-market-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.proex-market-card-clean:hover .proex-market-thumb-box img {
    transform: scale(1.06);
}

.proex-market-body {
    padding: 16px 18px 18px;
}

.proex-market-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--proex-charcoal);
    margin: 0 0 2px;
}

.proex-market-loc {
    font-size: 11px;
    color: var(--proex-muted);
    margin-bottom: 12px;
}

.proex-market-metrics-row {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--proex-border);
}

.proex-market-m-col strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--proex-charcoal);
}

.proex-market-m-col span {
    font-size: 10px;
    color: var(--proex-muted);
}

/* ==========================================================================
   4. 3-COLUMN SECTION: DATA TABLE | FEATURED | LATEST ANALYSIS
   ========================================================================== */
.proex-deal-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr 0.8fr;
    gap: 24px;
}

/* Column 1: Market Data Table */
.proex-data-panel {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-md);
    padding: 22px;
    box-shadow: var(--proex-shadow-sm);
}

.proex-tab-group {
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--proex-border);
    padding-bottom: 12px;
}

.proex-tab-btn {
    border: none;
    background: none;
    font-size: 12px;
    font-weight: 600;
    color: var(--proex-muted);
    padding: 6px 12px;
    border-radius: var(--proex-radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.proex-tab-btn.active,
.proex-tab-btn:hover {
    color: var(--proex-emerald);
    background: rgba(18, 75, 58, 0.08);
}

.proex-mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.proex-mini-table th {
    color: var(--proex-muted);
    font-weight: 600;
    text-align: left;
    padding: 8px 10px;
    font-size: 11px;
    border-bottom: 1.5px solid var(--proex-border);
}

.proex-mini-table td {
    padding: 10px 10px;
    border-bottom: 1px solid var(--proex-border);
    color: var(--proex-charcoal);
}

.proex-mini-table tbody tr:hover {
    background: var(--proex-soft-white);
}

/* Column 2: Featured Properties */
.proex-prop-col-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.proex-mini-prop-card {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--proex-shadow-sm);
    transition: all 0.2s ease;
}

.proex-mini-prop-card:hover {
    border-color: var(--proex-emerald);
    box-shadow: var(--proex-shadow-md);
}

.proex-mini-prop-thumb {
    height: 130px;
    position: relative;
    overflow: hidden;
}

.proex-mini-prop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.proex-mini-prop-card:hover .proex-mini-prop-thumb img {
    transform: scale(1.05);
}

.proex-badge-hot {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--proex-emerald);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.proex-mini-prop-content {
    padding: 12px 14px;
}

.proex-mini-prop-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--proex-charcoal);
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.proex-mini-prop-specs {
    font-size: 11px;
    color: var(--proex-muted);
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.proex-mini-prop-prices {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding-top: 6px;
    border-top: 1px solid var(--proex-border);
}

.proex-mini-prop-prices strong {
    color: var(--proex-emerald);
}

/* Column 3: Latest Analysis */
.proex-analysis-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.proex-analysis-item {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--proex-shadow-sm);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.proex-analysis-item:hover {
    border-color: var(--proex-emerald);
    box-shadow: var(--proex-shadow-md);
}

.proex-analysis-img {
    height: 110px;
    width: 100%;
    object-fit: cover;
}

.proex-analysis-body {
    padding: 12px 14px;
}

.proex-analysis-date {
    font-size: 10px;
    color: var(--proex-subtle);
    margin-bottom: 4px;
    display: block;
}

.proex-analysis-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--proex-charcoal);
    line-height: 1.35;
    margin: 0 0 8px;
}

.proex-analysis-link {
    font-size: 11px;
    font-weight: 700;
    color: var(--proex-emerald);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   5. FOUNDER & TRUST BAR
   ========================================================================== */
.proex-founder-bar {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-lg);
    box-shadow: var(--proex-shadow-md);
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.proex-founder-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.proex-founder-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid var(--proex-gold);
    object-fit: cover;
}

.proex-founder-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--proex-charcoal);
    margin: 0 0 2px;
}

.proex-founder-role {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--proex-gold);
    margin-bottom: 6px;
}

.proex-founder-quote {
    font-size: 12px;
    font-style: italic;
    color: var(--proex-muted);
    line-height: 1.5;
    margin: 0;
}

.proex-founder-stats {
    display: flex;
    justify-content: space-around;
    border-left: 1px solid var(--proex-border);
    border-right: 1px solid var(--proex-border);
    padding: 0 16px;
}

.proex-f-stat-item {
    text-align: center;
}

.proex-f-stat-num {
    font-size: 20px;
    font-weight: 800;
    color: var(--proex-charcoal);
    line-height: 1.2;
}

.proex-f-stat-text {
    font-size: 11px;
    color: var(--proex-muted);
}

.proex-founder-cta-card {
    background: var(--proex-emerald);
    color: #FFFFFF;
    border-radius: var(--proex-radius-md);
    padding: 20px;
    text-align: center;
}

.proex-founder-cta-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 4px;
}

.proex-founder-cta-card p {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 14px;
    line-height: 1.4;
}

.proex-btn-gold {
    background: #FFFFFF;
    color: var(--proex-emerald) !important;
    border: none;
    font-size: 12px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: var(--proex-radius-pill);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s;
}

.proex-btn-gold:hover {
    transform: translateY(-2px);
    color: var(--proex-emerald-deep) !important;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
body.proex-phase1 footer {
    background: #FFFFFF;
    border-top: 1px solid var(--proex-border);
    color: var(--proex-muted);
    padding: 60px 0 30px;
}

.proex-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.2fr;
    gap: 36px;
    margin-bottom: 48px;
}

.proex-footer-brand img {
    height: 38px;
    width: auto;
    margin-bottom: 16px;
    display: block;
}

.proex-footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--proex-muted);
    margin-bottom: 20px;
}

.proex-footer-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--proex-charcoal);
    margin-bottom: 16px;
}

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

.proex-footer-links li {
    margin-bottom: 10px;
}

.proex-footer-links a {
    color: var(--proex-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.proex-footer-links a:hover {
    color: var(--proex-emerald);
}

.proex-newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.proex-newsletter-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-sm);
    font-size: 13px;
    outline: none;
}

.proex-newsletter-btn {
    background: var(--proex-emerald);
    color: #fff;
    border: none;
    padding: 0 16px;
    border-radius: var(--proex-radius-sm);
    cursor: pointer;
}

.proex-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--proex-border);
    padding-top: 24px;
    font-size: 12px;
    color: var(--proex-subtle);
    flex-wrap: wrap;
    gap: 12px;
}

/* Sticky Mobile Bar */
.proex-sticky-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--proex-border);
    padding: 10px 14px;
    z-index: 9998;
    justify-content: space-around;
    gap: 8px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}

.proex-sticky-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}

.proex-sticky-call {
    background: var(--proex-emerald);
    color: #FFFFFF !important;
}

.proex-sticky-zalo {
    background: var(--proex-soft-white);
    color: var(--proex-charcoal) !important;
    border: 1px solid var(--proex-border);
}

.proex-sticky-lead {
    background: linear-gradient(135deg, #CDA85D 0%, #B89243 100%);
    color: #FFFFFF !important;
    border: 1px solid #CDA85D;
    box-shadow: 0 2px 8px rgba(205, 168, 93, 0.35);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .proex-ticker-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .proex-ticker-anchor {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: 1px solid var(--proex-border);
        padding-bottom: 12px;
    }
    .proex-deal-grid {
        grid-template-columns: 1fr;
    }
    .proex-founder-bar {
        grid-template-columns: 1fr;
    }
    .proex-founder-stats {
        border: none;
        padding: 16px 0;
        border-top: 1px solid var(--proex-border);
        border-bottom: 1px solid var(--proex-border);
    }
    .proex-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .proex-hero-luxury {
        display: flex;
        flex-direction: column;
        padding: 28px 0 24px;
        min-height: auto;
    }
    .proex-hero-luxury .proex-shell {
        order: 1;
    }
    .proex-hero-luxury-content {
        max-width: 100%;
    }
    .proex-hero-bg {
        position: relative;
        order: 2;
        width: 100%;
        height: 230px;
        margin: 20px 0 0;
        border-radius: var(--proex-radius-md);
        overflow: hidden;
        box-shadow: var(--proex-shadow-md);
        border: 1px solid rgba(205, 168, 93, 0.35);
    }
    .proex-hero-overlay {
        display: none;
    }
    .proex-hero-luxury-callout {
        display: none;
    }
    .proex-hero-grid {
        grid-template-columns: 1fr;
    }
    .proex-hero-card {
        order: -1;
    }
    .proex-hero-card img {
        min-height: 220px;
        max-height: 280px;
    }
    .proex-ticker-bar {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
    .proex-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
    .proex-sticky-mobile {
        display: flex;
    }
    body.proex-phase1 {
        padding-bottom: 64px;
    }
}

@media (max-width: 480px) {
    .proex-grid-4 {
        grid-template-columns: 1fr;
    }
    .proex-hero-actions {
        flex-direction: column;
    }
    .proex-hero-actions a {
        width: 100%;
        text-align: center;
    }
    .proex-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PHASE 4: INNER PAGES (QUỸ CĂN, CHI TIẾT BĐS, DỰ ÁN & PHÂN KHU)
   ========================================================================== */

/* Filter Toolbar */
.proex-filter-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-card);
    padding: 20px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.proex-filter-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.proex-filter-input, .proex-filter-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-sm);
    font-size: 14px;
    color: var(--proex-charcoal);
    background: #FFFFFF;
    outline: none;
    transition: border-color 0.2s;
}

.proex-filter-input:focus, .proex-filter-select:focus {
    border-color: var(--proex-emerald);
}

.proex-btn-filter {
    background: var(--proex-emerald);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: var(--proex-radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.proex-btn-filter:hover {
    background: var(--proex-deep-emerald);
}

/* Yield & Verified Badges */
.proex-badge-yield {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(205, 168, 93, 0.15);
    color: #936F1C;
    border: 1px solid rgba(205, 168, 93, 0.3);
    font-weight: 700;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
}

.proex-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(11, 74, 56, 0.1);
    color: var(--proex-emerald);
    border: 1px solid rgba(11, 74, 56, 0.25);
    font-weight: 600;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}

.proex-badge-code {
    background: var(--proex-charcoal);
    color: #FFFFFF;
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Unit Status Badges */
.proex-badge-available {
    display: inline-flex;
    align-items: center;
    background: rgba(24, 121, 78, 0.12);
    color: #18794E;
    border: 1px solid rgba(24, 121, 78, 0.3);
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.proex-badge-reserved {
    display: inline-flex;
    align-items: center;
    background: rgba(217, 119, 6, 0.12);
    color: #D97706;
    border: 1px solid rgba(217, 119, 6, 0.3);
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.proex-badge-renting {
    display: inline-flex;
    align-items: center;
    background: rgba(37, 99, 235, 0.12);
    color: #2563EB;
    border: 1px solid rgba(37, 99, 235, 0.3);
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

.proex-badge-sold {
    display: inline-flex;
    align-items: center;
    background: rgba(107, 114, 128, 0.15);
    color: #4B5563;
    border: 1px solid rgba(107, 114, 128, 0.3);
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Property Detail Layout */
.proex-detail-header {
    background: var(--proex-soft-white);
    border-bottom: 1px solid var(--proex-border);
    padding: 32px 0 24px 0;
}

.proex-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--proex-muted);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.proex-breadcrumbs a {
    color: var(--proex-charcoal);
    text-decoration: none;
}

.proex-breadcrumbs a:hover {
    color: var(--proex-emerald);
}

.proex-metric-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.proex-metric-card {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-sm);
    padding: 16px 20px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.proex-metric-card.highlight {
    background: rgba(11, 74, 56, 0.04);
    border-color: rgba(11, 74, 56, 0.3);
}

.proex-metric-card.yield-highlight {
    background: rgba(205, 168, 93, 0.08);
    border-color: rgba(205, 168, 93, 0.35);
}

.proex-metric-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--proex-muted);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.proex-metric-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--proex-charcoal);
    line-height: 1.2;
}

.proex-metric-val.emerald {
    color: var(--proex-emerald);
}

.proex-metric-val.gold {
    color: #9A7624;
}

.proex-metric-sub {
    font-size: 12px;
    color: var(--proex-muted);
    margin-top: 4px;
}

/* Detail Main Grid */
.proex-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.proex-detail-box {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-card);
    padding: 28px;
    margin-bottom: 24px;
}

.proex-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--proex-charcoal);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--proex-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sidebar Box / Sticky Card */
.proex-sidebar-sticky {
    position: sticky;
    top: 96px;
}

.proex-advisor-card {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-card);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.proex-advisor-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--proex-border);
}

.proex-advisor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--proex-champagne);
}

/* Project Subdivisions & Building Layouts */
.proex-subdivision-card {
    background: #FFFFFF;
    border: 1px solid var(--proex-border);
    border-radius: var(--proex-radius-card);
    padding: 24px;
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.proex-subdivision-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.proex-building-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--proex-soft-white);
    border: 1px solid var(--proex-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--proex-charcoal);
}

/* Responsive */
@media (max-width: 992px) {
    .proex-filter-grid {
        grid-template-columns: 1fr 1fr;
    }
    .proex-metric-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
    .proex-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .proex-filter-grid {
        grid-template-columns: 1fr;
    }
    .proex-metric-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CINEMATIC HERO STRUCTURE
   ========================================================================== */
.proex-hero-card.proex-hero-cinematic {
    position: relative;
    border-radius: var(--proex-radius-lg);
    overflow: hidden;
    background: #0B4A38;
    aspect-ratio: 4 / 3;
    box-shadow: 0 20px 40px -15px rgba(11, 74, 56, 0.25);
    border: 1px solid rgba(205, 168, 93, 0.3);
}

.proex-hero-card.proex-hero-cinematic .proex-hero-media-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.proex-hero-card.proex-hero-cinematic .proex-hero-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.proex-hero-card.proex-hero-cinematic:hover .proex-hero-media-img {
    transform: scale(1.04);
}

.proex-hero-card.proex-hero-cinematic .proex-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 74, 56, 0.25) 0%,
        rgba(11, 74, 56, 0.05) 45%,
        rgba(10, 31, 24, 0.88) 100%
    );
    pointer-events: none;
}

/* ==========================================================================
   MOBILE RESPONSIVE TABLES & CONTAINERS (390px, 430px)
   ========================================================================== */
.proex-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    scrollbar-width: thin;
}

.proex-table-responsive::-webkit-scrollbar {
    height: 4px;
}

.proex-table-responsive::-webkit-scrollbar-thumb {
    background: var(--proex-border);
    border-radius: 2px;
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-delay: 0s !important;
        transition-duration: 0s !important;
    }
}

/* ==========================================================================
   PROEX HOMEPAGE POLISH — CINEMATIC HERO OVERRIDE (2026-09-29)
   Purpose: convert the old cramped 2-column hero into a premium, full-width
   luxury landing hero while preserving the existing Django/URL structure.
   ========================================================================== */
body.proex-phase1 header {
    box-shadow: 0 10px 30px rgba(7, 61, 48, 0.04);
}

body.proex-phase1 .top-bar {
    background: #061913;
    color: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(205, 168, 93, 0.18);
}

.proex-header-logo {
    min-width: 174px;
    min-height: 42px;
    gap: 10px;
}

.proex-header-logo img {
    height: 38px;
    max-width: 192px;
}

.proex-logo-text-fallback {
    display: none;
    align-items: center;
    color: var(--proex-emerald);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

body.proex-phase1 .nav-link {
    font-size: 13px;
    font-weight: 750;
    letter-spacing: -0.01em;
}

.proex-hero-2col.proex-hero-luxury {
    position: relative;
    min-height: clamp(650px, 74vh, 840px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    background: #FBF7EF;
    border-bottom: 0;
    isolation: isolate;
}

.proex-hero-luxury .proex-hero-bg,
.proex-hero-luxury .proex-hero-overlay {
    position: absolute;
    inset: 0;
}

.proex-hero-luxury .proex-hero-bg {
    z-index: -2;
}

.proex-hero-luxury .proex-hero-bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 70% center;
    transform: scale(1.01);
}

.proex-hero-luxury .proex-hero-overlay {
    z-index: -1;
    background:
        radial-gradient(circle at 18% 45%, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.1) 42%, transparent 64%),
        linear-gradient(90deg, rgba(253, 249, 241, 0.98) 0%, rgba(253, 249, 241, 0.94) 34%, rgba(253, 249, 241, 0.66) 52%, rgba(253, 249, 241, 0.18) 72%, rgba(253, 249, 241, 0.04) 100%),
        linear-gradient(180deg, rgba(7, 61, 48, 0.12) 0%, rgba(7, 61, 48, 0.0) 36%, rgba(7, 61, 48, 0.10) 100%);
}

.proex-hero-luxury .proex-shell {
    position: relative;
    z-index: 2;
    width: min(100% - 64px, 1320px);
}

.proex-hero-luxury-content {
    max-width: 680px;
    padding: clamp(82px, 9vw, 132px) 0 clamp(104px, 10vw, 150px);
}

.proex-hero-luxury .proex-hero-eyebrow {
    padding: 8px 13px;
    margin-bottom: 22px;
    border: 1px solid rgba(205, 168, 93, 0.38);
    border-radius: var(--proex-radius-pill);
    background: rgba(255, 255, 255, 0.62);
    color: var(--proex-emerald);
    box-shadow: 0 12px 32px rgba(7, 61, 48, 0.08);
}

.proex-hero-luxury .proex-hero-h1 {
    max-width: 650px;
    margin-bottom: 20px;
    color: #10261f;
    font-size: clamp(44px, 5.8vw, 76px);
    font-weight: 850;
    line-height: 1.03;
    letter-spacing: -0.06em;
}

.proex-hero-luxury .proex-serif-gold {
    color: #B8892C !important;
    text-shadow: 0 10px 28px rgba(184, 137, 44, 0.16);
}

.proex-hero-luxury .proex-hero-desc {
    max-width: 630px;
    margin-bottom: 28px;
    color: rgba(34, 39, 37, 0.78);
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.75;
}

.proex-hero-luxury .proex-hero-search-box {
    max-width: 620px;
    margin-bottom: 24px;
}

.proex-hero-luxury .proex-hero-search-form {
    min-height: 62px;
    padding: 7px 8px 7px 22px;
    border: 1px solid rgba(7, 61, 48, 0.14);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 55px rgba(7, 61, 48, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.proex-hero-luxury .proex-hero-search-form:focus-within {
    border-color: rgba(205, 168, 93, 0.84);
    box-shadow: 0 24px 60px rgba(7, 61, 48, 0.15), 0 0 0 4px rgba(205, 168, 93, 0.12);
}

.proex-hero-luxury .proex-hero-search-icon {
    color: var(--proex-gold);
}

.proex-hero-luxury .proex-hero-search-input {
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
}

.proex-hero-luxury .proex-hero-search-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0B4A38 0%, #06382D 100%);
    box-shadow: 0 12px 28px rgba(7, 61, 48, 0.28);
}

.proex-hero-luxury .proex-hero-actions {
    margin-bottom: 28px;
}

.proex-hero-luxury .proex-btn {
    min-height: 52px;
    padding: 14px 27px;
    font-size: 15px;
    border-radius: var(--proex-radius-pill);
}

.proex-hero-luxury .proex-btn-primary {
    background: linear-gradient(135deg, #D5A944 0%, #B98222 100%);
    color: #101915;
    box-shadow: 0 18px 42px rgba(184, 137, 44, 0.28);
}

.proex-hero-luxury .proex-btn-primary:hover {
    background: linear-gradient(135deg, #E0B757 0%, #C69331 100%);
}

.proex-hero-luxury .proex-btn-secondary {
    background: rgba(255, 255, 255, 0.72);
    color: #10261f;
    border-color: rgba(7, 61, 48, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.proex-hero-luxury .proex-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
    padding-top: 0;
    border-top: 0;
}

.proex-hero-luxury .proex-trust-col {
    align-items: center;
    min-height: 82px;
    padding: 14px;
    border: 1px solid rgba(7, 61, 48, 0.10);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 18px 42px rgba(7, 61, 48, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.proex-hero-luxury .proex-trust-icon {
    width: 36px;
    height: 36px;
    background: rgba(11, 74, 56, 0.09);
    color: var(--proex-emerald);
}

.proex-hero-luxury .proex-trust-col strong {
    font-size: 12px;
    line-height: 1.28;
}

.proex-hero-luxury .proex-trust-col span {
    display: block;
    margin-top: 2px;
    color: rgba(100, 116, 107, 0.92);
}

.proex-ticker-bar {
    margin-top: -54px;
    border-color: rgba(7, 61, 48, 0.10);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(7, 61, 48, 0.10);
}

.proex-ticker-thumb {
    width: 58px;
    height: 58px;
}

.proex-mobile-contact-bar {
    display: none;
}

@media (max-width: 1024px) {
    .proex-hero-luxury .proex-shell {
        width: min(100% - 40px, 960px);
    }

    .proex-hero-luxury .proex-hero-overlay {
        background:
            linear-gradient(90deg, rgba(253, 249, 241, 0.98) 0%, rgba(253, 249, 241, 0.88) 54%, rgba(253, 249, 241, 0.26) 100%),
            linear-gradient(180deg, rgba(7, 61, 48, 0.08), rgba(7, 61, 48, 0.16));
    }

    .proex-hero-luxury .proex-trust-strip {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    body.proex-phase1 {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .proex-header-logo {
        min-width: 132px;
    }

    .proex-header-logo img {
        height: 32px;
        max-width: 154px;
    }

    .proex-hero-2col.proex-hero-luxury {
        min-height: auto;
    }

    .proex-hero-luxury .proex-hero-bg img {
        object-position: 68% center;
    }

    .proex-hero-luxury .proex-hero-overlay {
        background:
            linear-gradient(180deg, rgba(253, 249, 241, 0.14) 0%, rgba(253, 249, 241, 0.22) 30%, rgba(253, 249, 241, 0.94) 50%, #fdf9f1 64%, #fdf9f1 100%),
            linear-gradient(90deg, rgba(253, 249, 241, 0.58), rgba(253, 249, 241, 0.12));
    }

    .proex-hero-luxury-content {
        padding: 34px 0 64px;
    }

    .proex-hero-luxury .proex-hero-h1 {
        max-width: 430px;
        margin-bottom: 16px;
        font-size: clamp(36px, 10.5vw, 42px);
        line-height: 0.98;
        letter-spacing: -0.055em;
    }

    .proex-hero-luxury .proex-hero-eyebrow {
        margin-bottom: 16px;
        padding: 7px 11px;
        font-size: 11px;
        letter-spacing: 0.08em;
    }

    .proex-hero-luxury .proex-hero-desc {
        display: -webkit-box;
        max-width: 520px;
        margin-bottom: 20px;
        overflow: hidden;
        font-size: 15px;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .proex-hero-luxury .proex-hero-search-form {
        min-height: 50px;
        padding: 5px 6px 5px 16px;
    }

    .proex-hero-luxury .proex-hero-search-box {
        margin-bottom: 14px;
    }

    .proex-hero-luxury .proex-hero-search-input {
        font-size: 14px;
    }

    .proex-hero-luxury .proex-hero-search-btn {
        width: 40px;
        height: 40px;
    }

    .proex-hero-luxury .proex-hero-actions {
        margin-bottom: 0;
    }

    .proex-hero-luxury .proex-btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .proex-hero-luxury .proex-btn-primary {
        display: none;
    }

    .proex-hero-luxury .proex-btn-secondary {
        background: var(--proex-emerald);
        color: #fff;
        border-color: var(--proex-emerald);
        box-shadow: 0 12px 28px rgba(7, 61, 48, 0.18);
    }

    .proex-hero-luxury .proex-btn-secondary span,
    .proex-hero-luxury .proex-btn-secondary i {
        color: #fff !important;
    }

    .proex-hero-luxury .proex-trust-strip {
        display: none;
    }

    .proex-ticker-bar {
        margin-top: -22px;
        border-radius: 18px;
        padding: 16px;
    }

    .fab-container {
        right: 12px !important;
        bottom: calc(10px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        display: block !important;
        width: auto;
    }

    .fab-container > #ai-chat-widget,
    .fab-container > .zalo-btn,
    .fab-container > .hotline-btn {
        display: none !important;
    }

    .proex-mobile-contact-bar {
        display: grid;
        grid-template-columns: 0.75fr 0.85fr 1.55fr;
        gap: 4px;
        width: 100%;
        padding: 6px;
        border: 1px solid rgba(7, 61, 48, 0.12);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 16px 42px rgba(7, 61, 48, 0.18);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .proex-mobile-contact-action {
        display: flex;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 10px;
        border-radius: 13px;
        color: var(--proex-emerald);
        font-size: 13px;
        font-weight: 750;
        text-decoration: none;
        white-space: nowrap;
    }

    .proex-mobile-contact-primary {
        background: var(--proex-emerald);
        color: #fff;
    }
}

@media (max-width: 390px) {
    .proex-hero-luxury .proex-hero-eyebrow {
        display: none;
    }

    .proex-hero-luxury-content {
        padding-top: 28px;
    }
}

/* ==========================================================================
   PROEX MARKET INTELLIGENCE MARQUEE (REFINED LUXURY TICKER)
   ========================================================================== */
.proex-market-marquee {
    position: relative;
    z-index: 6;
    overflow: hidden;
    height: 32px;
    border-top: 1px solid rgba(205, 168, 93, 0.12);
    border-bottom: 1px solid rgba(205, 168, 93, 0.16);
    background: linear-gradient(90deg, #061410 0%, #091D17 50%, #061410 100%);
    color: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.proex-market-marquee::before,
.proex-market-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(8vw, 80px);
    z-index: 2;
    pointer-events: none;
}

.proex-market-marquee::before {
    left: 0;
    background: linear-gradient(90deg, #061410 0%, rgba(6, 20, 16, 0) 100%);
}

.proex-market-marquee::after {
    right: 0;
    background: linear-gradient(270deg, #061410 0%, rgba(6, 20, 16, 0) 100%);
}

.proex-market-marquee-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: proexMarketMarquee 42s linear infinite;
    will-change: transform;
}

.proex-market-marquee:hover .proex-market-marquee-track {
    animation-play-state: paused;
}

.proex-market-marquee-row {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-width: max-content;
    padding: 0 24px;
}

.proex-market-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.proex-market-marquee-item i {
    color: var(--proex-gold);
    font-size: 10px;
    opacity: 0.9;
}

.proex-market-marquee-item strong {
    color: #DFBA6A;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.proex-market-marquee-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 18px;
    line-height: 18px;
    padding: 0 6px;
    border: 1px solid rgba(205, 168, 93, 0.2);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.proex-market-marquee-badge-up {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.15);
    color: #4ADE80;
}

.proex-market-marquee-badge-rare {
    border-color: rgba(205, 168, 93, 0.35);
    background: rgba(205, 168, 93, 0.16);
    color: #F1D99B;
}

.proex-market-marquee-badge-new {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.15);
    color: #7DD3FC;
}

.proex-marquee-sep {
    display: inline-block;
    color: rgba(205, 168, 93, 0.35);
    font-size: 8px;
    margin: 0 4px;
}

@keyframes proexMarketMarquee {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 768px) {
    .proex-market-marquee {
        height: 28px;
    }

    .proex-market-marquee-row {
        gap: 12px;
        padding: 0 14px;
    }

    .proex-market-marquee-item {
        font-size: 10px;
        letter-spacing: 0.03em;
        gap: 5px;
    }

    .proex-market-marquee-badge {
        height: 16px;
        line-height: 16px;
        padding: 0 5px;
        border-radius: 3px;
        font-size: 8.5px;
    }

    .proex-marquee-sep {
        font-size: 7px;
        margin: 0 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .proex-market-marquee-track {
        animation: none !important;
        transform: none !important;
    }
}
