/* ==========================================================================
   APEX ELYRIA — LUXURY BIOPHILIC REAL ESTATE STYLING
   Aesthetics: Deep Botanical Greens, Warm Champagne Gold, Travertine & Glass
   ========================================================================== */

:root {
    --bg-dark-primary: #09120c;
    --bg-dark-secondary: #0e1a12;
    --bg-dark-tertiary: #14241a;
    --bg-dark-card: rgba(14, 26, 18, 0.85);
    
    --gold-primary: #c5a880;
    --gold-light: #e8d5b7;
    --gold-hover: #d7bc95;
    --gold-dark: #9d8058;
    --gold-border: rgba(197, 168, 128, 0.35);
    --gold-glow: 0 0 25px rgba(197, 168, 128, 0.25);
    
    --text-white: #ffffff;
    --text-cream: #f7f4ee;
    --text-sand: #d5cbbe;
    --text-muted: #95a399;
    
    --font-serif-cinzel: 'Cinzel', Georgia, serif;
    --font-serif-cormorant: 'Cormorant Garamond', serif;
    --font-script: 'Pinyon Script', cursive;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --glass-surface: rgba(14, 26, 18, 0.72);
    --glass-border: rgba(197, 168, 128, 0.2);
    --glass-blur: blur(16px);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets & typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-dark-primary);
    color: var(--text-sand);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Utility typography classes */
.font-cinzel { font-family: var(--font-serif-cinzel); }
.font-cormorant { font-family: var(--font-serif-cormorant); }
.font-script { font-family: var(--font-script); }
.text-gold { color: var(--gold-primary) !important; }
.text-light-muted { color: var(--text-muted) !important; }
.italic { font-style: italic; }

/* Official APEX Brand Logo Styling */
.navbar-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
    transition: var(--transition-smooth);
}
.navbar-brand:hover .navbar-logo-img {
    transform: scale(1.04);
}

.brand-sub-badge {
    font-family: var(--font-serif-cinzel);
    font-size: 0.72rem;
    letter-spacing: 0.35em;
    color: var(--gold-light);
    border-left: 1px solid var(--gold-border);
    padding-left: 8px;
    font-weight: 600;
}

.hero-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.7));
}

.section-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.footer-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

.modal-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}
    font-family: var(--font-serif-cinzel);
    letter-spacing: 0.25em;
    font-size: 0.95rem;
    color: var(--gold-primary);
    font-weight: 600;
}

/* Gold Badges & Kickers */
.badge-gold {
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.2), rgba(157, 128, 88, 0.3));
    border: 1px solid var(--gold-border);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    display: inline-block;
}

.section-kicker {
    font-family: var(--font-serif-cinzel);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.gold-accent-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    margin: 8px 0 16px;
}

.section-header-center {
    max-width: 780px;
    margin: 0 auto;
}
.section-header-desc {
    color: var(--text-sand);
    font-size: 1.05rem;
    margin-top: 1rem;
}

.section-title-large {
    font-family: var(--font-serif-cinzel);
    color: var(--text-white);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.section-subtitle-editorial {
    font-family: var(--font-serif-cormorant);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.section-subtitle-script {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--gold-light);
    line-height: 1.2;
    margin-top: 0.2rem;
}

.section-body-lead {
    font-size: 1.05rem;
    color: var(--text-sand);
    line-height: 1.8;
}

.py-section {
    padding: 6.5rem 0;
    position: relative;
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */

.btn {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    border-radius: var(--radius-pill);
    padding: 0.65rem 1.4rem;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, #c5a880 0%, #a98759 100%);
    color: #0b150e !important;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 18px rgba(197, 168, 128, 0.25);
}
.btn-gold:hover {
    background: linear-gradient(135deg, #d7bc95 0%, #bca073 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.4);
    color: #000000 !important;
}

.btn-gold-lg {
    background: linear-gradient(135deg, #c5a880 0%, #a98759 100%);
    color: #0b150e !important;
    font-weight: 600;
    border: none;
    font-size: 0.98rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 24px rgba(197, 168, 128, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-gold-lg:hover {
    background: linear-gradient(135deg, #e0c8a8 0%, #bca073 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(197, 168, 128, 0.5);
    color: #000000 !important;
}

.btn-glow {
    animation: goldPulse 3s infinite;
}
@keyframes goldPulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(197, 168, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 168, 128, 0); }
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-light) !important;
    border: 1px solid var(--gold-border);
}
.btn-outline-gold:hover {
    background: rgba(197, 168, 128, 0.15);
    border-color: var(--gold-primary);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-glass-lg {
    background: rgba(14, 26, 18, 0.6);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    color: var(--text-white) !important;
    border: 1px solid var(--gold-border);
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-pill);
}
.btn-glass-lg:hover {
    background: rgba(197, 168, 128, 0.2);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Reference Poster Pill Button: "Join The Priority List >" */
.btn-priority-pill {
    background: rgba(14, 26, 18, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 168, 128, 0.45);
    color: var(--text-cream) !important;
    font-family: var(--font-serif-cormorant);
    font-size: 1.25rem;
    padding: 0.7rem 1.8rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.btn-priority-pill .circle-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(197, 168, 128, 0.6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--gold-primary);
    transition: var(--transition-smooth);
}
.btn-priority-pill:hover {
    background: rgba(197, 168, 128, 0.25);
    border-color: var(--gold-primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(197, 168, 128, 0.25);
}
.btn-priority-pill:hover .circle-arrow {
    background: var(--gold-primary);
    color: #0b150e;
    transform: translateX(3px);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    border: none;
    font-weight: 600;
}
.btn-whatsapp:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

/* Glass Panels */
.card-glass-panel {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & NAVBAR
   ========================================================================== */

.top-announcement-bar {
    background: rgba(7, 14, 9, 0.95);
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    padding: 6px 0;
    font-size: 0.8rem;
    color: var(--text-sand);
    position: relative;
    z-index: 1040;
}
.announcement-link {
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}
.announcement-link:hover {
    color: #ffffff;
}
.phone-link {
    color: var(--text-cream);
    text-decoration: none;
    font-weight: 500;
}

.navbar {
    background: rgba(9, 18, 12, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    padding: 0.9rem 0;
    transition: var(--transition-smooth);
    top: 33px; /* after announcement bar */
}

body.scrolled .navbar {
    top: 0;
    background: rgba(7, 14, 9, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    padding: 0.65rem 0;
}

.navbar-nav .nav-link {
    color: var(--text-sand);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    text-transform: uppercase;
    padding: 0.5rem 1rem !important;
    transition: var(--transition-smooth);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold-primary);
}

.navbar-toggler {
    border-color: var(--gold-border);
    padding: 6px 10px;
}
.navbar-toggler-icon {
    filter: invert(1);
}

/* ==========================================================================
   SECTION 1: HERO SECTION (Modern Luxury Editorial)
   ========================================================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 0 70px;
    overflow: hidden;
}

.hero-bg-ambiance {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 70% 30%, rgba(20, 36, 26, 0.9) 0%, rgba(9, 18, 12, 0.98) 70%, #050b07 100%);
}

.hero-ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.12) 0%, transparent 70%);
    top: 15%;
    right: 5%;
    filter: blur(40px);
    pointer-events: none;
}

.hero-overlay-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 18, 12, 0.8) 0%, transparent 40%, rgba(9, 18, 12, 0.95) 100%);
    pointer-events: none;
}

.floating-fog {
    position: absolute;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}
.fog-1 {
    top: 20%;
    left: -50%;
    animation: fogMove 25s infinite linear;
}
@keyframes fogMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(30%); }
}

.hero-container {
    z-index: 5;
}

.hero-brand-heading {
    font-family: var(--font-serif-cinzel);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.hero-editorial-quote {
    font-family: var(--font-serif-cormorant);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-sand);
    line-height: 1.7;
    max-width: 580px;
}

.hero-badge-pill {
    background: rgba(14, 26, 18, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 168, 128, 0.3);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    color: var(--text-cream);
    font-weight: 500;
}

.hero-poster-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.hero-poster-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gold-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(197, 168, 128, 0.2);
    transition: var(--transition-smooth);
    background: #09120c;
}
.hero-poster-frame:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 45px rgba(197, 168, 128, 0.3);
}

.hero-poster-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.hero-poster-badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(9, 18, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 168, 128, 0.4);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25d366;
    display: inline-block;
    box-shadow: 0 0 8px #25d366;
}

.hero-quick-card {
    max-width: 580px;
}
.hero-quick-card .card-glass-panel {
    background: rgba(14, 26, 18, 0.75);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: var(--radius-md);
}

.quick-input-group label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
    display: block;
}

.form-control, .form-select {
    background-color: rgba(9, 18, 12, 0.85);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: #ffffff;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
}
.form-control:focus, .form-select:focus {
    background-color: rgba(9, 18, 12, 0.98);
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.3);
    color: #ffffff;
}
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.form-select option {
    background-color: #0e1a12;
    color: #ffffff;
}

.hero-scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.hero-scroll-down a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gold-light);
    opacity: 0.8;
    transition: var(--transition-smooth);
}
.hero-scroll-down a:hover {
    opacity: 1;
    transform: translateY(3px);
}
.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    margin-bottom: 6px;
    font-weight: 600;
}
.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 2px solid var(--gold-primary);
    border-radius: 12px;
    position: relative;
}
.scroll-wheel {
    width: 4px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite;
}
@keyframes scrollMouse {
    0% { top: 5px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* ==========================================================================
   SECTION 2: PRIORITY LIST (Don't Miss What is Coming)
   ========================================================================== */

.priority-showcase-box {
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-border);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.priority-poster-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gold-border);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 30px rgba(197, 168, 128, 0.15);
    max-width: 420px;
    margin: 0 auto;
    transition: var(--transition-smooth);
}
.priority-poster-frame:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.7), 0 0 40px rgba(197, 168, 128, 0.25);
}

.priority-poster-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.priority-poster-badge {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(9, 18, 12, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 168, 128, 0.35);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.vip-benefit-card {
    background: rgba(14, 26, 18, 0.7);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.15rem;
    transition: var(--transition-smooth);
    height: 100%;
}
.vip-benefit-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.vip-num {
    font-family: var(--font-serif-cinzel);
    font-size: 1.15rem;
    color: var(--gold-primary);
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.vip-benefit-card h5 {
    color: var(--text-white);
    font-size: 0.98rem;
    margin-bottom: 0.35rem;
}
.vip-benefit-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.45;
}

/* ==========================================================================
   SECTIONS 3 & 4: VISUAL EDITORIAL SHOWCASES (References 3 & 4)
   ========================================================================== */

.luxury-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.visual-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.luxury-card-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.luxury-visual-card:hover .luxury-card-img {
    transform: scale(1.03);
}

.visual-badge-floating {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(14, 26, 18, 0.85);
    backdrop-filter: blur(14px);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.visual-badge-floating .badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.15);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.visual-badge-floating strong {
    color: var(--text-white);
    font-size: 0.95rem;
    display: block;
}
.visual-badge-floating span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.feature-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.15);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.feature-heading {
    font-size: 1.08rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}
.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.nature-stat-box {
    background: rgba(14, 26, 18, 0.6);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    height: 100%;
}
.stat-number {
    font-family: var(--font-serif-cinzel);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-primary);
    display: block;
    line-height: 1.1;
}
.stat-label {
    font-weight: 600;
    color: var(--text-white);
    font-size: 0.92rem;
    display: block;
    margin: 4px 0;
}
.stat-detail {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* ==========================================================================
   SECTION 5: RESIDENCES & FLOOR PLANS
   ========================================================================== */

.custom-residence-tabs {
    gap: 0.75rem;
    border-bottom: none;
}
.custom-residence-tabs .nav-link {
    background: rgba(14, 26, 18, 0.7);
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--text-sand);
    border-radius: var(--radius-pill);
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}
.custom-residence-tabs .nav-link .tab-badge {
    background: rgba(197, 168, 128, 0.2);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    color: var(--gold-light);
}
.custom-residence-tabs .nav-link.active,
.custom-residence-tabs .nav-link:hover {
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.35), rgba(157, 128, 88, 0.45));
    border-color: var(--gold-primary);
    color: #ffffff;
}

.residence-detail-card {
    padding: 2.5rem;
    margin-top: 2rem;
}

.plan-preview-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #0d1b12;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(197, 168, 128, 0.25);
}
.plan-preview-img {
    width: 100%;
    height: auto;
    display: block;
    filter: blur(8px) brightness(0.85);
    transform: scale(1.06);
    transition: transform 0.4s ease, filter 0.4s ease;
    user-select: none;
    pointer-events: none;
}
.plan-preview-container:hover .plan-preview-img {
    filter: blur(10px) brightness(0.75);
    transform: scale(1.08);
}
.plan-lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(9, 18, 12, 0.6);
    backdrop-filter: blur(2px);
    color: #ffffff;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
}
.plan-lock-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.3), rgba(157, 128, 88, 0.2));
    border: 1px solid var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.4);
    transition: transform 0.3s ease;
}
.plan-lock-title {
    font-family: var(--font-serif-cinzel);
    font-size: 1.05rem;
    color: #ffffff;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.plan-lock-sub {
    font-size: 0.8rem;
    color: var(--text-sand);
    margin-bottom: 0.75rem;
}
.plan-lock-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #09120c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    border: none;
    box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}
.plan-preview-container:hover .plan-lock-overlay {
    background: rgba(9, 18, 12, 0.75);
}
.plan-preview-container:hover .plan-lock-icon {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(197, 168, 128, 0.6);
}

.plan-tag {
    font-family: var(--font-serif-cinzel);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    font-weight: 600;
}
.plan-title {
    font-family: var(--font-serif-cinzel);
    font-size: 1.8rem;
    color: var(--text-white);
    margin: 0.35rem 0 0.75rem;
}
.plan-desc {
    color: var(--text-sand);
    font-size: 0.95rem;
    line-height: 1.7;
}

.spec-card {
    background: rgba(9, 18, 12, 0.6);
    border: 1px solid rgba(197, 168, 128, 0.18);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
}
.spec-name {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.spec-value {
    color: var(--gold-light);
    font-size: 0.98rem;
    display: block;
    margin-top: 2px;
}

/* Master Unit Configuration Inventory Table */
.unit-spec-table-box {
    background: rgba(13, 27, 18, 0.7);
    border: 1px solid rgba(197, 168, 128, 0.25);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.unit-inventory-table {
    width: 100%;
    margin-bottom: 0;
    color: var(--text-sand);
    border-collapse: separate;
    border-spacing: 0;
}
.unit-inventory-table thead th {
    background: rgba(197, 168, 128, 0.12);
    color: var(--gold-primary);
    font-family: var(--font-serif-cinzel);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.25);
}
.unit-inventory-table tbody tr {
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
}
.unit-inventory-table tbody tr:last-child {
    border-bottom: none;
}
.unit-inventory-table tbody tr:hover {
    background: rgba(197, 168, 128, 0.08);
}
.unit-inventory-table tbody td {
    padding: 1.2rem 1.25rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(197, 168, 128, 0.08);
}
.unit-title-cell {
    font-family: var(--font-serif-cormorant);
    font-size: 1.35rem;
    color: #ffffff;
    font-weight: 600;
}
.unit-type-badge {
    background: rgba(197, 168, 128, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(197, 168, 128, 0.3);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
}
.unit-area-cell {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 600;
}
.unit-area-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==========================================================================
   SECTION 6: AMENITIES GRID
   ========================================================================== */

.amenity-card {
    background: var(--glass-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.5rem;
    transition: var(--transition-smooth);
    height: 100%;
}
.amenity-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(197, 168, 128, 0.15);
}
.amenity-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.2), rgba(157, 128, 88, 0.1));
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}
.amenity-title {
    color: var(--text-white);
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.amenity-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   SECTION 7: PRICING & MORTGAGE CALCULATOR
   ========================================================================== */

.price-tier-card {
    padding: 2.2rem 1.8rem;
    position: relative;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.price-tier-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6);
}
.featured-tier {
    border-color: var(--gold-primary);
    background: rgba(19, 36, 25, 0.88);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(197, 168, 128, 0.2);
}

.tier-badge {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    text-transform: uppercase;
}
.tier-badge-gold {
    background: linear-gradient(135deg, #c5a880, #9d8058);
    color: #000000;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-bottom: 6px;
}

.tier-name {
    color: var(--text-white);
    font-size: 1.45rem;
    font-family: var(--font-serif-cinzel);
    margin: 0.35rem 0 0.15rem;
}
.tier-size {
    color: var(--gold-light);
    font-size: 0.88rem;
}

.tier-price-box {
    background: rgba(9, 18, 12, 0.65);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    margin: 1.25rem 0;
    text-align: center;
}
.price-lead {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
}
.price-value {
    font-family: var(--font-serif-cinzel);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1.2;
    margin: 3px 0;
}
.price-value small {
    font-size: 0.95rem;
    color: var(--text-sand);
    font-family: var(--font-sans);
    font-weight: 400;
}
.price-sub {
    font-size: 0.75rem;
    color: var(--text-sand);
    display: block;
}

.tier-features li {
    font-size: 0.88rem;
    color: var(--text-sand);
    margin-bottom: 0.65rem;
}

/* EMI Calculator */
.calc-label {
    font-size: 0.88rem;
    color: var(--text-white);
    font-weight: 500;
}
.calc-val {
    font-family: var(--font-serif-cinzel);
    font-weight: 600;
    font-size: 1.05rem;
}
.custom-range {
    accent-color: var(--gold-primary);
}

.emi-result-panel {
    background: rgba(9, 18, 12, 0.8);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
}
.emi-result-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.emi-result-value {
    font-family: var(--font-serif-cinzel);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 4px 0;
}
.emi-result-note {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SECTION 8: LOCATION
   ========================================================================== */

.landmark-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.12);
}
.landmark-time {
    background: rgba(197, 168, 128, 0.15);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    font-family: var(--font-serif-cinzel);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    min-width: 75px;
    text-align: center;
}
.landmark-item strong {
    color: var(--text-white);
    font-size: 0.98rem;
    display: block;
}

/* ==========================================================================
   SECTION 9: VIP INLINE FORM
   ========================================================================== */

.icon-circle-gold {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(197, 168, 128, 0.15);
    border: 1px solid var(--gold-border);
    color: var(--gold-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.form-control-dark {
    background: rgba(9, 18, 12, 0.85);
    border: 1px solid rgba(197, 168, 128, 0.3);
    color: #ffffff;
}
.form-control-dark:focus {
    background: rgba(9, 18, 12, 0.98);
    border-color: var(--gold-primary);
    color: #ffffff;
}

/* ==========================================================================
   FOOTER & STICKY BAR
   ========================================================================== */

.luxury-footer {
    background: #060c08;
    border-top: 1px solid rgba(197, 168, 128, 0.2);
}
.footer-heading {
    color: var(--text-white);
    font-family: var(--font-serif-cinzel);
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}
.footer-links li {
    margin-bottom: 0.5rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
}
.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 4px;
}

/* Floating Circular WhatsApp Button */
.floating-whatsapp-circle {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 1050;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.floating-whatsapp-circle:hover {
    transform: scale(1.12);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.75), 0 6px 16px rgba(0, 0, 0, 0.6);
}
.floating-whatsapp-circle .whatsapp-circle-ripple {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.7);
    animation: whatsappPulse 2s infinite ease-out;
    pointer-events: none;
}
@keyframes whatsappPulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

/* Custom Modal */
.custom-luxury-modal .modal-content {
    background: rgba(9, 18, 12, 0.96);
    border: 1px solid var(--gold-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(197, 168, 128, 0.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================================================== */

@media (max-width: 991.98px) {
    .navbar {
        top: 0;
        background: rgba(7, 14, 9, 0.98);
    }
    .top-announcement-bar {
        display: none;
    }
    .hero-section {
        padding-top: 110px;
    }
    .priority-card-inner {
        padding: 4rem 1.5rem;
    }
    .residence-detail-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-script-lead {
        font-size: 2.4rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .priority-main-title {
        font-size: 3.2rem;
    }
    .btn-priority-pill {
        font-size: 1.05rem;
        padding: 0.6rem 1.25rem;
    }
}