@font-face {
    font-family: 'Moniqa';
    src: url('Moniqa.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Migha';
    src: url('fonts/Migha Display/Migha_Variable/Migha_Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'Chantria';
    src: url('assets/Chantria/Chantria-BF64f052d998828.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* BASE RESET & TYPOGRAPHY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    cursor: none;
}

:root {
    /* Luxury Palette */
    --bg-primary: #FFFFFF;
    --bg-dark: #071D26; /* Deep Teal/Blue from Caribbean section */
    --text-primary: #000000;
    --text-white: #FFFFFF;
    --text-muted: #666666;
    --accent-gold: #B89B5E; /* Muted gold/bronze */
    
    /* Premium Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-heading: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

html {
    font-size: 13.5px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.5;
    /* Hide default cursor for bespoke experience */
    cursor: none;
}

body.home-page {
    background-color: #020709;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
}

.gold-text {
    background: linear-gradient(to bottom, #FFE896, #F29E02, #C66800);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    padding-left: 2px;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: var(--text-primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 5%;
}
.container-narrow {
    max-width: 800px;
}
.text-center {
    text-align: center;
}

/* NAVIGATION */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15.1px 5%;
    z-index: 100;
    transition: all 0.5s ease;
}

#navbar.scrolled {
    background-color: rgba(10, 18, 14, 0.9);
    padding: 10px 5%;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Subtle edge */
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.nav-logo {
    height: 24px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.menu-btn span {
    display: block;
    width: 30px;
    height: 1px;
    background: var(--text-primary);
    margin: 8px 0;
    transition: all 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-btn.active span:nth-child(2) {
    transform: translateY(-9px) rotate(-45deg);
}

/* FULLSCREEN MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(5, 9, 6, 0.98);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(15px);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 3.1px;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent-gold);
}

.mobile-cta {
    color: var(--accent-gold);
    margin-top: 20px;
    font-size: 1.5rem;
}

@media (max-width: 1024px) {
    .nav-links { display: none; }
}
@media (min-width: 1025.1px) {
    .menu-btn { display: none; }
    .mobile-menu { display: none !important; }
}

/* CINEMATIC OVERLAYS (Cursor) */



.cursor.hovered {
    width: 80px;
    height: 80px;
    background-color: transparent;
    border: 1px solid white;
}

/* ORIGINAL HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark cinematic overlay */
    z-index: -1;
}

.subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.title {
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 5.1px;
    margin-bottom: 40px;
    line-height: 1.2;
}

.hero-title {
    font-family: 'Chantria', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Subtle editorial shadow instead of heavy bloom */
    letter-spacing: 0.051em;
    text-transform: uppercase;
}

.hero-title .gold-text {
    font-size: 3.5rem;
    display: inline-block;
    margin-top: -5px;
}

.btn-primary {
    display: inline-block;
    padding: 18px 45.1px;
    border: 1px solid var(--accent-gold);
    color: var(--text-white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: #000;
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slides-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    width: 100%;
    padding: 0 8%;
    transform: translateY(-50%);
    color: var(--text-white);
    pointer-events: none;
}

/* Dynamic Positioning based on Data Attributes */
.slide[data-align="right"] .slide-content {
    text-align: right;
}
.slide[data-align="left"] .slide-content {
    text-align: left;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: 5rem; /* Slightly scaled down to prevent overlap */
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.6);
}

.hero-location {
    font-size: 0.8rem;
    letter-spacing: 0.149em;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    display: block;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* SLIDER NAV DASHES */
.slider-nav {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15.1px;
    z-index: 10;
}

.nav-dash {
    width: 30px;
    height: 2px;
    background-color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-dash.active {
    background-color: var(--text-white);
}

/* FLOATING SEARCH BAR */
.search-filter-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    padding: 30px 5%;
    z-index: 20;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
}

.search-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.search-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-col.btn-col {
    flex: 1.2;
}

.search-col label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.search-col select {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    font-size: 0.9rem;
    font-family: var(--font-sans);
    background: transparent;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-col select:focus {
    border-color: var(--text-primary);
}

.search-btn {
    width: 100%;
    background-color: #071D26; /* Match the dark teal of Range */
    color: white;
    border: none;
    padding: 18px;
    font-size: 0.849rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #0d2e3b;
}

/* PHILOSOPHY REPLACEMENT (Intro Section) */
.beachfront-intro {
    padding: 150px 5% 100px;
    background-color: var(--bg-primary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.intro-heading {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.intro-line {
    width: 40px;
    height: 1px;
    background-color: var(--text-primary);
    margin: 0 auto 30px;
}

.intro-desc {
    font-family: var(--font-sans);
    font-size: 1.149rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 400;
}

/* LOGO MARQUEE */
.logo-marquee-section {
    padding: 35px 0;
    background-color: #030A0D; /* Blends perfectly with surrounding dark sections */
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(184, 155, 94, 0.15); /* Elegant gold borders */
    border-bottom: 1px solid rgba(184, 155, 94, 0.15);
}

.marquee-wrapper {
    width: 100%;
    display: flex;
}

.marquee-track {
    display: flex;
    width: max-content;
    flex-shrink: 0;
    animation: scroll 32s linear infinite;
    gap: 0;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 70px;
    padding-right: 70px;
    flex-shrink: 0;
}

.logo-group img {
    height: auto;
    max-height: 25px;
    max-width: 110px;
    width: auto;
    object-fit: contain;
    /* CSS filter trick: turns colored logos pure white with 35% opacity for luxury styling */
    filter: brightness(0) invert(1) opacity(0.35);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.logo-aldar {
    max-height: 32px !important;
}

.logo-douglas {
    max-height: 35px !important;
}

.logo-ellington {
    max-height: 28px !important;
}

.logo-maf {
    max-height: 30px !important;
}

.logo-rak {
    max-height: 26px !important;
}

.logo-danube {
    max-height: 22px !important;
}

.logo-arada {
    max-height: 28px !important;
}

.logo-group img:hover {
    filter: brightness(0) invert(1) opacity(0.85); /* Smooth fade-in to pure white on hover */
    transform: scale(1.08);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

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

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 30px 5%;
        gap: 30px;
    }
    .logo-group { padding-right: 0; }
}
/* PROJECTS */
.projects {
    padding: 100px 0;
}

.project-card {
    display: flex;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto 150px auto;
}

.project-card.reverse {
    flex-direction: row-reverse;
}

.project-card img {
    width: 60%;
    height: 70vh;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 1.5s ease, filter 0.8s ease;
}

.project-card:hover img {
    transform: scale(1.02);
    filter: brightness(1);
}

.project-info {
    width: 40%;
    padding: 0 100px;
}

.project-info h4 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.project-info p {
    margin-bottom: 40px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 5.1px;
    transition: all 0.3s ease;
}

.link-arrow span {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.link-arrow:hover {
    color: var(--accent);
}

.link-arrow:hover span {
    transform: translateX(10px);
}

/* VISIONARIES */
.visionaries {
    background-color: #060B08; /* Even deeper green for contrast section */
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.partner {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #556059; /* Deep sage, fades in later */
    transition: color 0.5s ease;
}

.partner:hover {
    color: var(--text-primary);
}

/* FOOTER */
footer {
    padding: 150px 5% 50px 5%;
    text-align: center;
    background-color: #050906; /* Almost black green */
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.footer-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.footer-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

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

/* ANIMATIONS (Triggered by JS) */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.165, 0.84, 0.44, 1), transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .project-card, .project-card.reverse {
        flex-direction: column;
        margin-bottom: 80px;
    }
    .project-card img {
        width: 100%;
        height: 50vh;
    }
    .project-info {
        width: 100%;
        padding: 50px 20px;
        text-align: center;
    }
    .title { font-size: 3rem; }
}

/* -----------------------------
   SCROLL ARROW
------------------------------ */
.scroll-arrow-wrapper {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
}

.scroll-arrow {
    display: inline-block;
    animation: bounce 2.5s infinite;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.scroll-arrow:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* -----------------------------
   GSAP CHAIRMAN REVEAL
------------------------------ */
.chairman-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #080D0A;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.chairman-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.chairman-massive-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 18vw;
    color: rgba(255, 255, 255, 0.04);
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
}

.chairman-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Darker overlay */
    z-index: 2;
}

.chairman-content {
    padding: 0 5%;
    z-index: 10;
    position: relative;
    opacity: 0;
    filter: blur(20px);
    transform: translateY(50px);
}

/* -----------------------------
   FLAGSHIP CINEMATIC SECTION
------------------------------ */
.flagship-section {
    position: relative;
    width: 100%;
    background-color: var(--bg-color);
}

.interactive-grid {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow: hidden;
    pointer-events: none;
}

.grid-dot {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-dot::before {
    content: '';
    position: absolute;
    width: 8px; 
    height: 8px;
    background-color: rgba(0, 0, 0, 0.05); /* Faint dark dots instead of white */
    border-radius: 50%;
    transition: width 0.1s linear, background-color 0.1s linear, border-radius 0.1s linear;
    transform: rotate(var(--angle, 0deg)) scale(var(--scale, 1));
}

.grid-dot.active::before {
    width: var(--stretch, 8px);
    background-color: var(--color, rgba(0, 0, 0, 0.8));
    border-radius: 4px; /* Creates pill shape when stretched */
}

.flagship-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.flagship-video-wrapper {
    position: relative;
    width: 38vw; 
    height: 12vw; /* Ultra slim cinematic sliver */
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
    opacity: 0;
    transform: translateY(100px) scale(0.9);
}

.flagship-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2); /* For parallax effect on expansion */
}

.flagship-moniqa {
    font-family: 'Moniqa', sans-serif;
    font-size: 11vw; /* Drastically reduced to ensure it fits on all screens */
    font-weight: normal;
    line-height: 1; /* Reset line height to prevent top/bottom clipping of letters */
    text-transform: uppercase;
    text-shadow: 0 4px 60px rgba(0,0,0,0.6);
    pointer-events: none;
    margin: 0;
    
    /* Deep Emerald/Gold Gradient */
    background: linear-gradient(135deg, #A4B2A8 0%, #E8EBE9 50%, #68796E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* -----------------------------
   PARTNERS REVEAL SECTION
------------------------------ */
.partners-reveal {
    position: relative;
    height: 100vh; /* GSAP will automatically add pin spacing to this and manage the scroll length */
    background-color: #000;
    overflow: hidden;
}

.reveal-sticky {
    position: relative; /* Replaced sticky with relative to let GSAP pin properly */
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reveal-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.reveal-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* Zoomed in slightly for parallax effect */
}

.reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.reveal-editorial-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1450px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 16vw;
    align-items: center;
    z-index: 10;
}

.reveal-left-col {
    opacity: 0;
    transform: translate3d(0, 60px, 0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    display: flex;
    justify-content: flex-start;
}

.reveal-right-col {
    opacity: 0;
    transform: translate3d(0, 60px, 0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    display: flex;
    justify-content: flex-end;
}

.reveal-title-large {
    font-family: 'Chantria', serif;
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 2px;
}

.reveal-desc-large {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    border-left: 2px solid var(--accent-gold);
    padding-left: 30px;
    margin: 0;
    max-width: 480px;
    text-align: left;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(7, 29, 38, 0.35); /* Subtle deep teal translucent card background for high readability */
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
    border-radius: 0 4px 4px 0;
    
    /* Hardware acceleration rules for smooth backdrop filtering and layering */
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .reveal-editorial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        width: 90%;
    }
    .reveal-left-col, .reveal-right-col {
        justify-content: center;
    }
    .reveal-title-large {
        text-align: center;
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    .reveal-desc-large {
        border-left: none;
        border-top: 2px solid var(--accent-gold);
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 20px;
        border-radius: 0;
        max-width: 100%;
        text-align: center;
    }
}


/* ═══════════════════════════════════════════════════
   FEATURED PROPERTIES
═══════════════════════════════════════════════════ */
.featured-properties {
    background-color: #071D26; /* Match the expanded reveal box color */
    padding: 120px 5% 100px;
}

.fp-header {
    text-align: center;
    margin-bottom: 70px;
}

.fp-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.251em;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.fp-title {
    font-family: 'Chantria', serif;
    font-size: 3.8rem;
    color: #FFFFFF;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.fp-rule {
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
    margin: 0 auto;
}

.fp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
}

.fp-card {
    background: #0d1f2a;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.fp-card:hover { transform: translateY(-8px); }

.fp-card-image {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.fp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fp-card:hover .fp-card-image img { transform: scale(1.06); }

.fp-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(6,19,26,0.85) 100%);
}

.fp-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-sans);
    font-size: 0.651rem;
    letter-spacing: 0.2em;
    color: #06131a;
    background: var(--accent-gold);
    padding: 5.1px 12px;
    font-weight: 600;
    z-index: 2;
}

.fp-card-hover-cta {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 10px 24px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    white-space: nowrap;
    background: rgba(0,0,0,0.3);
    text-decoration: none;
}

.fp-card-hover-cta:hover {
    background: var(--accent-gold);
    color: #06131a;
    border-color: var(--accent-gold);
}

.fp-card:hover .fp-card-hover-cta {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.fp-card-body { padding: 28px 28px 32px; }

.fp-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.fp-location {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.149em;
    color: var(--accent-gold);
    text-transform: uppercase;
    font-weight: 500;
}

.fp-price {
    font-family: var(--font-sans);
    font-size: 0.849rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.fp-name {
    font-family: 'Chantria', serif;
    font-size: 1.7rem;
    color: #FFFFFF;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.fp-desc {
    font-family: var(--font-sans);
    font-size: 0.849rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.8;
    margin-bottom: 24px;
    font-weight: 300;
}

.fp-meta {
    display: flex;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 18px;
}

.fp-meta span {
    font-family: var(--font-sans);
    font-size: 0.720rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fp-cta-wrap { text-align: center; margin-top: 60px; }

.fp-cta-btn {
    border-color: rgba(184,155,94,0.5);
    color: var(--accent-gold);
    font-size: 0.751rem;
    letter-spacing: 0.2em;
    padding: 16px 48px;
}

.fp-cta-btn:hover { background-color: var(--accent-gold); color: #06131a; }

@media (max-width: 1024px) { .fp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .fp-grid { grid-template-columns: 1fr; } .fp-title { font-size: 2.8rem; } }


/* ═══════════════════════════════════════════════════
   WHY DUBAI — STATS
═══════════════════════════════════════════════════ */
.why-dubai {
    background-color: #FFFFFF;
    padding: 120px 5%;
}

.wd-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.wd-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.251em;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.wd-title {
    font-family: 'Chantria', serif;
    font-size: 3.2rem;
    color: #071D26;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 28px;
    line-height: 1.15;
}

.wd-body {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: #666;
    line-height: 1.85;
    margin-bottom: 40px;
    font-weight: 300;
}

.wd-btn {
    border-color: #071D26;
    color: #071D26;
    font-size: 0.751rem;
    letter-spacing: 0.2em;
    padding: 16px 40px;
}

.wd-btn:hover { background-color: #071D26; color: #fff; }

.wd-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.stat-card {
    background: #071D26;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.5s ease;
}

.stat-card:hover::after { width: 100%; }
.stat-card:hover { background: #0d2e3b; }

.stat-number {
    font-family: 'Chantria', serif;
    font-size: 3.5rem;
    color: #fff;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
}

.stat-suffix { font-size: 2rem; opacity: 0.7; }

.stat-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.180em;
    text-transform: uppercase;
    font-weight: 400;
}

@media (max-width: 900px) { .wd-inner { grid-template-columns: 1fr; gap: 60px; } }
@media (max-width: 480px) { .wd-stats { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════════
   WHY LONDON — INVERTED STATS STRIP
═══════════════════════════════════════════════════ */
.why-london {
    background-color: #071D26; /* Dark background */
    padding: 120px 5%;
}

.wl-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Reverse the order on desktop so stats are on the left, text on the right */
.wl-inner .wl-stats {
    order: 1;
}
.wl-inner .wl-text {
    order: 2;
}

.wl-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.251em;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.wl-title {
    font-family: 'Chantria', serif;
    font-size: 3.2rem;
    color: #FFFFFF; /* Inverted to white */
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 28px;
    line-height: 1.15;
}

.wl-body {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: rgba(255,255,255,0.7); /* Inverted to light grey */
    line-height: 1.85;
    margin-bottom: 40px;
    font-weight: 300;
}

.wl-btn {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    font-size: 0.751rem;
    letter-spacing: 0.2em;
    padding: 16px 40px;
    background: transparent;
}

.wl-btn:hover { background-color: var(--accent-gold); color: #071D26; }

.wl-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.wl-stat-card {
    background: #FFFFFF; /* Inverted to white */
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
}

.wl-stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.5s ease;
}

.wl-stat-card:hover::after { width: 100%; }
.wl-stat-card:hover { background: #f5f5f5; }

.wl-stat-number {
    font-family: 'Chantria', serif;
    font-size: 3.5rem;
    color: #071D26; /* Inverted to dark */
    font-weight: 400;
    line-height: 1;
    letter-spacing: 2px;
}

.wl-stat-number .stat-suffix {
    font-size: 2rem;
    opacity: 0.7;
}

.wl-stat-label {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(7, 29, 38, 0.6); /* Inverted to dark grey */
    letter-spacing: 0.180em;
    text-transform: uppercase;
    font-weight: 600;
}

@media (max-width: 900px) { 
    .wl-inner { grid-template-columns: 1fr; gap: 60px; } 
    .wl-inner .wl-stats { order: 2; }
    .wl-inner .wl-text { order: 1; }
}
@media (max-width: 480px) { .wl-stats { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════════
   PROCESS SECTION
═══════════════════════════════════════════════════ */
.process-section {
    background-color: #fafafa;
    padding: 120px 5%;
}

.ps-header { max-width: 600px; margin-bottom: 80px; }

.ps-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.251em;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.ps-title {
    font-family: 'Chantria', serif;
    font-size: 3.5rem;
    color: #071D26;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 1px;
}

.ps-steps { max-width: 900px; }

.ps-step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    align-items: flex-start;
    padding: 40px 0;
}

.ps-divider { height: 1px; background: rgba(0,0,0,0.07); }

.ps-step-num {
    font-family: 'Chantria', serif;
    font-size: 4rem;
    color: rgba(7,29,38,0.08);
    font-weight: 400;
    line-height: 1;
    transition: color 0.4s ease;
}

.ps-step:hover .ps-step-num { color: var(--accent-gold); }

.ps-step-title {
    font-family: 'Chantria', serif;
    font-size: 1.8rem;
    color: #071D26;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.ps-step-desc {
    font-family: var(--font-sans);
    font-size: 0.949rem;
    color: #777;
    line-height: 1.85;
    font-weight: 300;
}

@media (max-width: 600px) {
    .ps-step { grid-template-columns: 60px 1fr; gap: 20px; }
    .ps-step-num { font-size: 2.5rem; }
    .ps-title { font-size: 2.5rem; }
}


/* ═══════════════════════════════════════════════════
   BOOK A CALL — CTA / FORM
═══════════════════════════════════════════════════ */
.book-section {
    position: relative;
    background: #06131a;
    padding: 120px 5%;
    overflow: hidden;
}

.book-bg-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
}

.book-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.book-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6,19,26,0.95) 0%, rgba(6,19,26,0.7) 100%);
}

.book-inner {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: flex-start;
}

.book-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.251em;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.book-title {
    font-family: 'Chantria', serif;
    font-size: 4rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.book-title em { font-style: italic; color: var(--accent-gold); }

.book-subtitle {
    font-family: var(--font-sans);
    font-size: 0.949rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.85;
    font-weight: 300;
    max-width: 360px;
}

.book-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.651rem;
    letter-spacing: 0.180em;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    font-weight: 300;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.18); }

.form-group select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer !important;
}

.form-group select option { background: #06131a; color: #fff; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    background: rgba(255,255,255,0.07);
}

.form-group textarea { resize: none; line-height: 1.7; }

.book-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    background: var(--accent-gold);
    border: none;
    color: #06131a;
    font-family: var(--font-sans);
    font-size: 0.751rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    padding: 20px 32px;
    cursor: pointer !important;
    transition: all 0.4s ease;
    margin-top: 4px;
}

.book-submit:hover { background: #cba96b; }

.submit-arrow { font-size: 1.2rem; transition: transform 0.3s ease; }
.book-submit:hover .submit-arrow { transform: translateX(6px); }

.form-note {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.18);
    line-height: 1.6;
    font-weight: 300;
}

@media (max-width: 960px) {
    .book-inner { grid-template-columns: 1fr; gap: 50px; }
    .book-title { font-size: 3rem; }
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════════
   UPGRADED FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
    background: #040e13;
    padding: 80px 5% 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    align-items: flex-start;
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

.footer-tagline {
    font-family: var(--font-sans);
    font-size: 0.849rem;
    color: rgba(255,255,255,0.22);
    line-height: 1.7;
    font-weight: 300;
}

.footer-nav-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col-title {
    font-family: var(--font-sans);
    font-size: 0.651rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.22);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.footer-col a {
    font-family: var(--font-sans);
    font-size: 0.849rem;
    color: rgba(255,255,255,0.38);
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--accent-gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal {
    font-family: var(--font-sans);
    font-size: 0.720rem;
    color: rgba(255,255,255,0.16);
    font-weight: 300;
}

.footer-legal-links { display: flex; gap: 30px; }

.footer-legal-links a {
    font-family: var(--font-sans);
    font-size: 0.720rem;
    color: rgba(255,255,255,0.16);
    font-weight: 300;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover { color: rgba(255,255,255,0.45); }

@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-nav-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
    .footer-nav-cols { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════
   CINEMATIC BROCHURE SHOWCASE (SCROLL REVEAL)
═══════════════════════════════════════════════════ */
.brochures-showcase {
    background-color: #030405; /* Deep black/grey */
    width: 100%;
    position: relative;
    overflow: hidden;
}

.brochure-group {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.brochure-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform, opacity, filter;
    /* Slides 2,3,4 start hidden/blurred and are revealed by GSAP */
}

/* Initially hide slides after the first one */
.brochure-slide:not(.slide-1) {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.1);
}

.brochure-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.brochure-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.5) 100%),
                linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    z-index: 1;
}

.brochure-overlay.heavy {
    background: rgba(0,0,0,0.65);
}

/* Slide Info Panel Overlay */
.brochure-info-panel {
    position: absolute;
    top: 25%;
    left: 8%;
    max-width: 480px;
    z-index: 5;
    color: #fff;
    pointer-events: none;
}

.brochure-info-panel .info-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 12px;
    font-weight: 600;
}

.brochure-info-panel .info-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    margin-bottom: 8px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brochure-info-panel .info-location {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 25px;
    display: inline-block;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    padding-bottom: 6px;
}

.brochure-info-panel .info-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    font-weight: 400;
}

@media (max-width: 768px) {
    .brochure-info-panel {
        top: 15%;
        left: 5%;
        right: 5%;
        max-width: 100%;
        text-align: center;
    }
    .brochure-info-panel .info-location {
        margin-bottom: 15px;
    }
}

/* -------------------------------------
   GATED LEAD CAPTURE - FROSTED PANEL
---------------------------------------- */
.brochure-cta-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 90%;
    max-width: 500px;
    background: rgba(10, 15, 20, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    padding: 50px;
    text-align: center;
}

.cta-header {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15.1px;
}

.cta-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.651rem;
    letter-spacing: 0.3em;
    color: #9299a5; /* Silver grey */
    text-transform: uppercase;
    font-weight: 500;
}

.cta-brand-logo {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.9);
}

.cta-brand-text {
    font-family: 'Chantria', serif;
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: 4px;
    font-weight: 300;
    margin: 0;
    line-height: 1;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.3;
}

.cta-rule {
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
    margin: 0 auto 25.1px;
}

.cta-subtitle {
    font-family: var(--font-sans);
    font-size: 0.849rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 35.1px;
    font-weight: 300;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 15.1px;
}

.cta-form input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.849rem;
    font-weight: 300;
    transition: all 0.3s ease;
    outline: none;
}

.cta-form input:focus {
    border-color: var(--accent-gold);
    background: rgba(0, 0, 0, 0.6);
}

.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cta-unlock-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 20px;
    font-family: var(--font-sans);
    font-size: 0.751rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer !important;
    transition: all 0.4s ease;
}

.cta-unlock-btn:hover {
    background: var(--accent-gold);
    color: #fff;
    transform: translateY(-2px);
}

.cta-lock {
    font-family: var(--font-sans);
    font-size: 0.651rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 25.1px;
    letter-spacing: 0.051em;
}

/* ═══════════════════════════════════════════════════
   THE $50K POLISH PACKAGE - LUXURY ADDITIONS
═══════════════════════════════════════════════════ */

/* 1. Cinematic Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #030A0D; /* Rich obsidian background */
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.preloader-bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(184, 155, 94, 0.08) 0%, rgba(3, 10, 13, 0) 70%);
    pointer-events: none;
}

.preloader-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.preloader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-tagline {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 8px;
    opacity: 0;
    transform: translateY(20px);
}

.preloader-logo-wrapper {
    opacity: 0;
    transform: scale(0.95);
    margin: 10px 0;
}

.preloader-logo {
    width: clamp(140px, 12vw, 190px);
    height: auto;
    filter: drop-shadow(0 0 30px rgba(184, 155, 94, 0.12));
}

.preloader-line-container {
    width: 220px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    margin: 5px 0;
}

.preloader-progress-bar {
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 100%;
    background-color: var(--accent-gold);
}

.preloader-subtext {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0;
    transform: translateY(15px);
}

/* 2. Desktop Navigation */
.nav-links {
    display: none; /* hidden on mobile natively */
}
@media (min-width: 900px) {
    .menu-btn { display: none; }
    .nav-container { justify-content: space-between; }
    .nav-links {
        display: flex;
        gap: 40px;
        align-items: center;
    }
    .nav-links a {
        color: #fff;
        font-size: 0.751rem;
        letter-spacing: 0.149em;
        text-transform: uppercase;
        position: relative;
        transition: color 0.3s ease;
    }
    .nav-links a::after {
        content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 1px; background: var(--accent-gold); transition: width 0.3s ease;
    }
    .nav-links a:hover { color: var(--accent-gold); }
    .nav-links a:hover::after { width: 100%; }
    
    .nav-cta {
        border: 1px solid rgba(255,255,255,0.3);
        padding: 10px 24px;
        border-radius: 40px;
    }
    .nav-cta::after { display: none !important; }
    .nav-links a.nav-cta:hover { background: var(--accent-gold); border-color: var(--accent-gold); color: #000; }
}

/* 3. Editorial Philosophy */
/* 3. Editorial Philosophy with Kinetic Brand Tiles */
.philosophy {
    position: relative;
    height: 100vh;
    background-color: #020709;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.philosophy-tiles-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    opacity: 0.35; /* Subtle opacity so philosophy text is easy to read */
    pointer-events: none;
}

.tiles-row {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.tiles-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.row-ltr .tiles-track {
    animation: scroll-ltr 45s linear infinite;
}

.row-rtl .tiles-track {
    animation: scroll-rtl 45s linear infinite;
}

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

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

.tile-card {
    position: relative;
    width: clamp(200px, 15vw, 320px);
    height: clamp(260px, 20vw, 420px);
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #071D26;
    border: 1px solid rgba(255, 255, 255, 0.05);
    
    /* Hardware acceleration rules */
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

.tile-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65) saturate(0.85);
}

.tile-overlay {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(2, 7, 9, 0.95) 0%, rgba(2, 7, 9, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
}

.tile-developer {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tile-name {
    font-family: var(--font-serif);
    font-size: clamp(0.95rem, 1.2vw, 1.35rem);
    color: #FFFFFF;
    font-weight: 300;
    line-height: 1.2;
}

.philosophy-glass-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 950px;
    padding: clamp(40px, 6vw, 80px) clamp(30px, 5vw, 60px);
    background: rgba(3, 10, 13, 0.72); /* Glass background with high opacity for ultimate legibility */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(184, 155, 94, 0.15);
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    text-align: center;
    
    /* Hardware acceleration */
    transform: translate3d(0, 0, 0);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.philosophy-inner {
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--accent-gold);
    letter-spacing: 5px;
    margin-bottom: 25px;
    font-weight: 500;
    text-transform: uppercase;
}

.philosophy-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.2vw, 3.8rem);
    line-height: 1.35;
    color: #FFFFFF;
    font-weight: 300;
    margin: 0;
}

/* 4. Global Authority Press Band */
.press-band {
    background: #000;
    padding: 60px 5%;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.press-eyebrow {
    font-family: var(--font-sans); font-size: 0.6rem; letter-spacing: 0.3em; color: rgba(255,255,255,0.3); margin-bottom: 30px; text-transform: uppercase;
}
.press-logos {
    display: flex; justify-content: center; gap: 60px; align-items: center; flex-wrap: wrap;
}
.press-logo {
    font-family: 'Times New Roman', serif;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.4s ease;
}
.press-logo:hover { color: rgba(255,255,255,0.9); }

/* 5. Footer Newsletter Capture */
.footer-newsletter {
    background: rgba(255,255,255,0.03);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 60px;
    width: 100%;
}
.newsletter-title { font-family: var(--font-serif); font-size: 2rem; color: #fff; margin-bottom: 10px; font-weight: 300; }
.newsletter-desc { font-family: var(--font-sans); font-size: 0.849rem; color: rgba(255,255,255,0.5); margin-bottom: 25.1px; line-height: 1.6; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
    flex: 1; background: transparent; border: 1px solid rgba(255,255,255,0.2);
    padding: 15.1px 20px; color: #fff; font-family: var(--font-sans); font-size: 0.849rem;
    outline: none; transition: border-color 0.3s ease;
}
.newsletter-form input:focus { border-color: var(--accent-gold); }
.newsletter-form button {
    background: #fff; color: #000; border: none; padding: 0 30px; font-size: 1.2rem; cursor: pointer !important; transition: all 0.3s ease;
}
.newsletter-form button:hover { background: var(--accent-gold); color: #fff; }

/* 6. Market Intelligence */
.intelligence-section {
    background: #020709;
    padding: 120px 5%;
    position: relative;
    border-top: none;
}
.intelligence-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.intel-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 300;
    text-align: center;
}
.intel-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 80px;
    text-align: center;
    font-weight: 300;
}
.intel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.intel-card {
    background: rgba(10, 20, 26, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 50px 40px;
    border: 1px solid rgba(184, 155, 94, 0.1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    text-align: left;
    
    /* Hardware acceleration */
    transform: translate3d(0, 0, 0);
    will-change: transform, box-shadow, border-color;
    backface-visibility: hidden;
}
.intel-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.4s ease;
}
.intel-card:hover::before {
    width: 100%;
}
.intel-card:hover {
    border-color: rgba(184, 155, 94, 0.5);
    transform: translateY(-8px) translate3d(0, 0, 0);
    box-shadow: 0 20px 40px rgba(184, 155, 94, 0.08);
    z-index: 5;
}
.intel-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 20px;
    margin-bottom: 25px;
}
.intel-category {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    font-weight: 500;
}
.intel-card-body {
    flex-grow: 1;
}
.intel-number {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 20px;
    display: block;
    font-weight: 300;
}
.intel-card-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.25;
}
.intel-card-desc {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
}
.intel-card-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-top: 30px;
}
.intel-metric-detail {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    font-weight: 500;
}

/* 7. Bespoke Services */
.services-section {
    background: radial-gradient(circle at top right, rgba(184, 155, 94, 0.04) 0%, #030A0D 70%);
    padding: 120px 5%;
}
.services-inner {
    max-width: 1400px;
    margin: 0 auto;
}
.services-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.651rem;
    letter-spacing: 0.3em;
    color: var(--accent-gold);
    margin-bottom: 15.1px;
    text-transform: uppercase;
    text-align: center;
}
.services-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: #fff;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.service-card {
    background: rgba(10, 20, 26, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 45px 30px;
    border: 1px solid rgba(184, 155, 94, 0.1);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    
    /* Hardware acceleration */
    transform: translate3d(0, 0, 0);
    will-change: transform, box-shadow, border-color;
    backface-visibility: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0%; height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.4s ease;
}
.service-card:hover::before {
    width: 100%;
}
.service-card:hover {
    border-color: rgba(184, 155, 94, 0.5);
    transform: translateY(-8px) translate3d(0, 0, 0);
    box-shadow: 0 20px 40px rgba(184, 155, 94, 0.08);
    z-index: 5;
}
.service-number {
    font-family: var(--font-serif);
    font-size: 4.2rem;
    font-weight: 300;
    color: rgba(184, 155, 94, 0.08);
    position: absolute;
    top: 15px; right: 25px;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease;
}
.service-card:hover .service-number {
    color: rgba(184, 155, 94, 0.15);
}
.service-name {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.25;
    padding-right: 35px;
}
.service-desc {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin-bottom: 25px;
}
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
}
.service-features li {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.3;
}
.service-features li::before {
    content: '•';
    color: var(--accent-gold);
    font-size: 1.1rem;
    line-height: 1;
}

/* LENIS Scroll Fixes */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }


/* TABLET MEDIA QUERY FOR MARKET INTELLIGENCE */
@media (max-width: 1024px) {
    .intel-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .intel-card {
        padding: 40px 30px;
    }
    .intel-number {
        font-size: 4.5rem;
    }
    .intel-card-title {
        font-size: 1.5rem;
    }
}
@media (max-width: 900px) {
    .intel-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════
   PREMIUM MOBILE AESTHETIC OVERHAUL (< 600px)
═══════════════════════════════════════════════════ */
@media (max-width: 600px) {
    /* 1. Global Typography Scaling */
    .hero-content h1 { font-size: 3rem !important; line-height: 1.1; max-width: 100%; }
    .intro-grid h2, .fp-title, .wd-title, .wl-title, .ps-title, .book-title { font-size: 2.2rem !important; line-height: 1.15; }
    h3 { font-size: 1.4rem !important; line-height: 1.2; }
    p { font-size: 0.949rem !important; line-height: 1.6; }

    /* 2. Premium Tighter Spacing (Eliminate huge gaps) */
    .container { padding: 60px 20px !important; }
    
    .hero-content { padding: 0 20px; }
    
    .intro-grid { padding: 60px 20px !important; gap: 30px !important; }
    
    .featured-properties { padding: 60px 20px !important; }
    
    .why-dubai { padding: 60px 20px !important; }
    .wd-inner { padding: 40px 20px !important; }
    
    .why-london { padding: 60px 20px !important; }
    .wl-inner { padding: 40px 20px !important; }
    
    .process-section { padding: 60px 20px !important; }
    
    /* 3. Component Polish */
    .fp-card-image { height: 300px !important; } /* Cap massive vertical image heights */
    .fp-card-body { padding: 24px 20px 28px !important; }
    .fp-name { margin-bottom: 12px; }
    .fp-meta { gap: 15.1px; font-size: 0.751rem; }

    /* Brochure CTA Adjustments */
    .brochure-cta-panel { padding: 35.1px 20px !important; width: 92% !important; }
    .cta-brand-text { font-size: 1.8rem !important; letter-spacing: 2px; }
    .cta-title { font-size: 1.3rem !important; margin-bottom: 15.1px !important; }
    .cta-subtitle { font-size: 0.751rem !important; margin-bottom: 25.1px !important; }
    .cta-form input { padding: 14px 15.1px !important; font-size: 0.8rem !important; }
    .cta-unlock-btn { padding: 16px !important; font-size: 0.7rem !important; }

    /* 4. Contact Form Optimization */
    .book-inner { padding: 50px 20px !important; box-sizing: border-box; width: 100%; }
    .book-form { padding: 30px 20px !important; box-sizing: border-box; width: 100%; }
    .book-text { max-width: 100%; text-align: center; margin-bottom: 40px; }
    .book-eyebrow { margin-bottom: 15.1px; }

    /* 5. $50k Polish & Content Expansion Adjustments */
    .philosophy {
        height: auto !important;
        padding: 80px 5% !important;
        flex-direction: column;
    }
    .philosophy-tiles-bg {
        position: relative !important;
        height: auto !important;
        gap: 15px !important;
        opacity: 0.35 !important;
        margin-bottom: 40px !important;
    }
    .tile-card {
        width: 140px !important;
        height: 180px !important;
    }
    .tiles-track {
        gap: 15px !important;
    }
    .philosophy-glass-container {
        padding: 30px 20px !important;
        border-radius: 12px !important;
        width: 100% !important;
    }
    .philosophy-title {
        font-size: 2.0rem !important;
        line-height: 1.3 !important;
    }
    .press-band { padding: 40px 20px !important; }
    .press-logos { gap: 30px !important; }
    .press-logo { font-size: 0.9rem !important; }
    .footer-newsletter { padding: 25.1px 20px !important; margin-bottom: 40px !important; }
    .newsletter-title { font-size: 1.5rem !important; }
    .newsletter-form { flex-direction: column; }
    
    /* 6. New Sections */
    .intel-grid { grid-template-columns: 1fr; gap: 20px !important; }
    .intel-title, .services-title { font-size: 2.2rem !important; }
    .intel-number { font-size: 3.5rem !important; }
    .intel-card { padding: 30px 20px !important; }
    .intelligence-section { padding: 60px 20px !important; }
    .services-section { padding: 60px 20px !important; }
    .services-grid { grid-template-columns: 1fr; gap: 20px !important; }
    .service-card { padding: 30px 20px !important; }
}

/* ========================================= */
/* WHATSAPP FLOATING ACTION BUTTON           */
/* ========================================= */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15.1px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-fab svg {
    width: 35.1px;
    height: 35.1px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-fab svg {
        width: 30px;
        height: 30px;
    }
}

/* --- EMERGENCY MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    .mobile-menu-inner a {
        color: #FFFFFF !important;
        text-decoration: none !important;
        font-family: 'Cormorant Garamond', serif !important;
        font-size: 2.2rem !important;
        letter-spacing: 2px;
        margin: 5.1px 0;
    }
    .mobile-menu-inner .mobile-cta {
        color: #B89B5E !important;
        margin-top: 20px;
    }
    .menu-btn.active span {
        background: #FFFFFF !important;
    }
    .blog-title {
        font-size: 3.2rem !important;
        padding: 0 15.1px;
        word-wrap: break-word;
        line-height: 1.1 !important;
    }
    .blog-subtitle {
        font-size: 1.1rem !important;
        padding: 0 15.1px;
        line-height: 1.6;
    }
    .hero-title {
        font-size: 2.8rem !important;
        line-height: 1.1 !important;
    }
    .hero-title .gold-text {
        font-size: 2.8rem !important;
    }
    .blog-hero-content {
        padding: 0 !important;
        width: 100vw;
        box-sizing: border-box;
    }
}

/* ========================================= */
/* PREMIUM SUBPAGE STYLES (Articles, Guides) */
/* ========================================= */

.blog-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.blog-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    padding: 0 5%;
    max-width: 1000px;
}

.blog-title {
    font-family: 'Chantria', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 0.95;
}

.blog-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    letter-spacing: 3.1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
}

.page-article, .guide-article {
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-primary);
}

.page-h2, .guide-h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--bg-dark);
    margin-bottom: 30px;
    font-weight: 300;
}

.page-body, .guide-body {
    font-family: var(--font-sans);
    font-size: 1.149rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 300;
}

/* Standard Listing Grid */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.listing-card {
    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s ease;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.listing-card:hover {
    transform: translateY(-5px);
}

.listing-card-img-wrap {
    height: 300px;
    overflow: hidden;
}

.listing-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.listing-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.listing-info {
    padding: 30px;
}

.listing-price {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 10px;
}

.listing-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 15.1px;
    font-weight: 300;
}

.listing-meta {
    font-family: var(--font-sans);
    font-size: 0.849rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Luxury Form */
.luxury-form {
    background: #0c151a;
    padding: 60px;
    margin-top: 80px;
    border: 1px solid rgba(255,255,255,0.05);
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group label {
    color: var(--accent-gold);
    font-family: var(--font-sans);
    font-size: 0.751rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15.1px;
}

.form-submit {
    background: transparent;
    border: 1px solid var(--text-white);
    color: var(--text-white);
    padding: 18px 45.1px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--text-white);
    color: #000;
}

@media (max-width: 768px) {
    .form-row { flex-direction: column; }
    .luxury-form { padding: 30px; }
    .listing-grid { grid-template-columns: 1fr; }
}

/* Interactive Area Maps */
.area-map-container {
    width: 100%;
    height: 450px;
    margin-top: 30px;
    margin-bottom: 60px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    background: #111;
}

.area-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* The Magic Dark Mode Filter */
    filter: invert(100%) hue-rotate(180deg) contrast(1.1) brightness(0.9);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.area-map-iframe:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .area-map-container {
        height: 300px;
    }
}

/* Institutional ROI Calculator */
.roi-calculator {
    background: #0c151a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 40px;
    margin-top: 60px;
}
.roi-header {
    text-align: center;
    margin-bottom: 40px;
}
.roi-h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}
.roi-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #8e9a8f;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.roi-controls {
    display: flex;
    flex-direction: column;
    gap: 25.1px;
}
.roi-control-group {
    display: flex;
    flex-direction: column;
}
.roi-label-wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.849rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.roi-value-display {
    color: var(--accent-gold);
    font-weight: 600;
}
.roi-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    outline: none;
    border-radius: 2px;
}
.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}
.roi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: var(--accent-gold);
}
.roi-outputs {
    background: #070d10;
    padding: 30px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.02);
}
.roi-output-item {
    margin-bottom: 25.1px;
}
.roi-output-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.751rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5.1px;
}
.roi-output-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: #fff;
    font-weight: 300;
}
.roi-output-value.highlight {
    color: var(--accent-gold);
    font-weight: 500;
    font-size: 2.2rem;
}
.roi-disclaimer {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: #555;
    margin-top: 30px;
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .roi-grid {
        grid-template-columns: 1fr;
    }
}

/* Hide custom cursor completely on mobile devices & restore default */
@media (max-width: 768px), (pointer: coarse) {
    * { cursor: auto !important; }
    .cursor { display: none !important; }
}


.cursor {
    position: fixed;
    top: 0; left: 0;
    width: 20px; height: 20px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%) translateZ(0); /* Forcing GPU layer */
    pointer-events: none;
    z-index: 2147483647 !important; /* Absolute max possible layer above everything */
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    will-change: top, left, transform, width, height; /* Prevent browser culling */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* -----------------------------
   HAUS & HAUS STYLE SEARCH BAR
------------------------------ */
.hh-search-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    background: rgba(10, 15, 20, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(184, 155, 94, 0.25);
    border-radius: 4px;
    padding: 20px 25px;
    display: grid;
    grid-template-columns: repeat(6, 1fr) 60px;
    gap: 15px 20px;
    align-items: end;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    z-index: 100;
    font-family: var(--font-sans);
}

.hh-search-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    width: 100%;
}

.hh-search-item.span-3 {
    grid-column: span 3;
}

.hh-search-item.span-2 {
    grid-column: span 2;
}

.hh-search-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 6px;
    display: block;
}

.hh-search-input, .hh-search-select {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #fff;
    outline: none;
    cursor: pointer;
    font-weight: 400;
    padding: 8px 0;
    transition: border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.hh-search-input:focus, .hh-search-select:focus {
    border-color: var(--accent-gold);
}

.hh-search-input::placeholder { color: rgba(255, 255, 255, 0.5); font-weight: 400; }

.hh-search-item-select-wrapper {
    position: relative;
    width: 100%;
}

.hh-search-item-select-wrapper::after {
    content: "▼";
    font-size: 0.6rem;
    color: var(--accent-gold);
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.2s ease;
}

.hh-search-select option {
    background-color: #0d1216;
    color: #fff;
    padding: 10px;
}

.hh-search-icon {
    display: none;
}

.hh-suggestions-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0d1216;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    z-index: 102;
    border: 1px solid rgba(184, 155, 94, 0.2);
    max-height: 250px;
    overflow-y: auto;
}

.hh-suggestion-item {
    padding: 12px 15px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #fff;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s, color 0.2s;
}

.hh-suggestion-item:hover {
    background: rgba(184, 155, 94, 0.15);
    color: var(--accent-gold);
}

.hh-suggestion-item:last-child {
    border-bottom: none;
}

.hh-search-btn {
    background: rgba(184, 155, 94, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(184, 155, 94, 0.4);
    width: 60px;
    height: 100%;
    min-height: 48px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    grid-column: 7;
    grid-row: 1 / span 2;
    margin: 0;
}

.hh-search-btn:hover {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(184, 155, 94, 0.5);
}

.hh-search-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 1024px) {
    .hh-search-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 20px;
    }
    .hh-search-item.span-3 {
        grid-column: span 3;
    }
    .hh-search-item.span-2 {
        grid-column: span 1;
    }
    .hh-search-btn {
        grid-column: span 3;
        grid-row: auto;
        height: 48px;
        width: 100%;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .hh-search-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    .hh-search-item.span-3 {
        grid-column: span 1;
    }
    .hh-search-item.span-2 {
        grid-column: span 1;
    }
    .hh-search-btn {
        grid-column: span 1;
        grid-row: auto;
        height: 48px;
        width: 100%;
    }
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Usability overrides to restore default pointer feedback */
a, button, select, option, [role="button"], .val-btn, .case-ledger-toggle, .faq-trigger, .interactive-step, .menu-btn, .case-ledger-toggle span, .faq-trigger span, .builder-btn, .method-row button {
    cursor: pointer !important;
}
input, textarea {
    cursor: text !important;
}
input[type="range"], input[type="range"]::-webkit-slider-thumb, input[type="range"]::-moz-range-thumb {
    cursor: pointer !important;
}
