/* ============================================================
   VIONA SIGNATURE — ULTRA LUXURY REDESIGN
   Aesthetic: Dark Opulence · Champagne Gold · Editorial Elegance
   ============================================================ */

:root {
  --obsidian: #080C14;
  --navy-deep: #0D1B2A;
  --navy-mid: #132338;
  --navy-light: #1E3352;
  --gold: #C9A96E;
  --gold-light: #E2C89A;
  --gold-pale: #F5EDD9;
  --gold-dim: rgba(201,169,110,0.15);
  --white: #ffffff;
  --cream: #FAF7F2;
  --text-light: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.5);
  --text-dark: #1A1A2E;
  --text-gray: #6B7280;
  --border-gold: rgba(201,169,110,0.3);
  --border-light: rgba(0,0,0,0.08);
  --shadow-deep: 0 30px 80px rgba(0,0,0,0.35);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.1);
  --transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', sans-serif; color: var(--text-dark); background: var(--cream); overflow-x: hidden; font-weight: 300; -webkit-font-smoothing: antialiased; }
body::after { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; z-index: 9998; opacity: 0.4; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; }
.logo-text { font-family: 'Cormorant Garamond', serif; }
a { text-decoration: none; }

.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); will-change: opacity, transform; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }

/* --- SIDE SOCIALS --- */
.side-socials { position: fixed; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; z-index: 1001; gap: 2px; }
.side-socials a { width: 44px; height: 44px; background: var(--navy-deep); color: var(--gold); display: flex; justify-content: center; align-items: center; transition: var(--transition); font-size: 1rem; border-left: 2px solid var(--border-gold); border-bottom: 1px solid rgba(255,255,255,0.05); }
.side-socials a:hover { background: var(--gold); color: var(--obsidian); width: 56px; border-color: var(--gold); }

/* --- NAVBAR --- */
.nav { position: fixed; width: 100%; top: 0; padding: 0 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: var(--transition); background: transparent; height: 88px; }
.nav.scrolled { background: rgba(8, 12, 20, 0.96); backdrop-filter: blur(20px); height: 72px; border-bottom: 1px solid var(--border-gold); }
.logo-text { color: var(--white); font-size: 1.9rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; font-style: italic; }
.logo-text span { color: var(--gold); font-style: normal; }
.nav-center { display: flex; gap: 40px; list-style: none; align-items: center; }
.nav-center a { color: rgba(255,255,255,0.75); font-size: 0.78rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; transition: 0.3s; position: relative; padding-bottom: 4px; cursor: pointer; }
.nav-center a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: 0.3s; }
.nav-center a:hover { color: var(--gold); }
.nav-center a:hover::after { width: 100%; }
.btn-nav-outline { border: 1px solid var(--border-gold); color: var(--gold); padding: 10px 26px; font-size: 0.72rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; transition: var(--transition); cursor: pointer; background: transparent; }
.btn-nav-outline:hover { background: var(--gold); color: var(--obsidian); border-color: var(--gold); }

/* --- HERO SLIDER --- */
.hero { height: 100vh; min-height: 700px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 5% 100px; margin-top: 0; background-size: cover; background-position: center; transition: background-image 1.5s ease-in-out; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,12,20,0.95) 0%, rgba(8,12,20,0.5) 40%, rgba(8,12,20,0.15) 100%); z-index: 1; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 5%; width: 1px; height: 80px; background: linear-gradient(to bottom, var(--gold), transparent); z-index: 2; }
.hero-content { max-width: 780px; position: relative; z-index: 10; }
.hero-badge { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); padding: 0; font-size: 0.72rem; font-weight: 500; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 4px; }
.hero-badge::before { content: ''; display: inline-block; width: 30px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(2.8rem, 5vw, 5.5rem); color: var(--white); margin-bottom: 20px; line-height: 1.08; font-weight: 300; font-family: 'Cormorant Garamond', serif; font-style: italic; }
.hero p { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.8; margin-bottom: 40px; font-weight: 300; max-width: 550px; letter-spacing: 0.3px; }
.hero-btn { display: inline-flex; align-items: center; gap: 14px; background: transparent; border: 1px solid var(--gold); color: var(--gold); padding: 16px 36px; font-size: 0.75rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; transition: var(--transition); }
.hero-btn::after { content: '→'; font-size: 1rem; transition: transform 0.3s; }
.hero-btn:hover { background: var(--gold); color: var(--obsidian); }
.hero-btn:hover::after { transform: translateX(4px); }

/* --- SEARCH PANEL --- */
.advanced-search-wrapper { padding: 0 5%; display: flex; justify-content: center; position: relative; z-index: 20; margin-top: -70px; margin-bottom: 80px; }
.search-panel { background: var(--obsidian); width: 100%; max-width: 1200px; box-shadow: 0 25px 60px rgba(0,0,0,0.5); padding: 36px 48px; border: 1px solid var(--border-gold); display: flex; align-items: center; gap: 40px; }
.search-panel-title { font-size: 1rem; color: var(--gold); font-weight: 300; letter-spacing: 2px; text-transform: uppercase; font-family: 'Jost', sans-serif; white-space: nowrap; }
.sleek-search-container { position: relative; width: 100%; display: flex; }
.sleek-search-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--border-gold); color: var(--white); padding: 14px 0; font-size: 1rem; font-family: 'Jost', sans-serif; font-weight: 300; outline: none; transition: 0.3s; letter-spacing: 0.5px; }
.sleek-search-input::placeholder { color: rgba(255,255,255,0.35); font-style: italic; }
.sleek-search-input:focus { border-bottom-color: var(--gold); }
.autocomplete-list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--navy-deep); border: 1px solid var(--border-gold); box-shadow: var(--shadow-deep); max-height: 220px; overflow-y: auto; z-index: 100; display: none; }
.autocomplete-item { padding: 14px 20px; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer; transition: 0.2s; color: rgba(255,255,255,0.7); display: flex; justify-content: space-between; align-items: center; }
.autocomplete-item:hover { background: var(--gold-dim); color: var(--gold); }
.autocomplete-item strong { color: var(--white); display: block; margin-bottom: 2px; font-weight: 400; }
.autocomplete-item span { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* --- SECTION WRAPPER & HEADERS --- */
.section-wrapper { padding: 100px 5% 60px; max-width: 1440px; margin: 0 auto; overflow: hidden; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.section-header h2 { font-size: clamp(2rem, 3vw, 3rem); color: var(--navy-deep); font-family: 'Cormorant Garamond', serif; font-weight: 400; font-style: italic; line-height: 1.1; }
.header-actions { display: flex; gap: 8px; align-items: center; }
.nav-arrow { background: transparent; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-light); color: var(--text-gray); cursor: pointer; font-size: 0.85rem; transition: 0.3s; border-radius: 50%; }
.nav-arrow:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* --- PROPERTY CARDS (NOW A SLEEK HORIZONTAL CAROUSEL!) --- */
.card-grid { 
  display: flex; 
  overflow-x: auto; 
  gap: 28px; 
  padding-bottom: 30px; 
  scroll-behavior: smooth; 
  scroll-snap-type: x mandatory; 
  scrollbar-width: none; /* Hides on Firefox */
  -webkit-overflow-scrolling: touch; 
}
.card-grid::-webkit-scrollbar { display: none; } /* Hides on Chrome/Safari */

.sp-card { 
  background: var(--white); 
  overflow: hidden; 
  transition: var(--transition); 
  box-shadow: 0 4px 20px rgba(0,0,0,0.06); 
  position: relative; 
  min-width: 380px; 
  max-width: 380px;
  flex-shrink: 0; 
  scroll-snap-align: start; 
}
.sp-card::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; z-index: 2; }
.sp-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.14); transform: translateY(-6px); }
.sp-card:hover::before { transform: scaleX(1); }

/* Transparent background for smooth crossfade */
.sp-img-wrap { height: 280px; position: relative; overflow: hidden; background: transparent; }
.sp-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, opacity 0.3s ease-in-out; }
.sp-card:hover .sp-img-wrap img { transform: scale(1.07); }

.card-arrow-left, .card-arrow-right { position: absolute; top: 50%; transform: translateY(-50%); color: white; font-size: 13px; background: rgba(8,12,20,0.6); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; z-index: 5; opacity: 0; transition: 0.3s; cursor: pointer; backdrop-filter: blur(4px); }
.sp-card:hover .card-arrow-left, .sp-card:hover .card-arrow-right { opacity: 1; }
.card-arrow-left:hover, .card-arrow-right:hover { background: var(--gold); }
.card-arrow-left { left: 12px; }
.card-arrow-right { right: 12px; }
.sp-badge { position: absolute; top: 16px; left: 0; background: var(--gold); color: var(--obsidian); padding: 5px 14px; font-size: 0.68rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; z-index: 5; }
.sp-body { padding: 28px 30px 30px; }
.sp-title-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.sp-title-left { max-width: 68%; }
.sp-title-left h3 { font-size: 1.25rem; font-family: 'Cormorant Garamond', serif; font-weight: 500; color: var(--navy-deep); margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.sp-title-left p { font-size: 0.75rem; color: var(--text-gray); font-weight: 400; letter-spacing: 0.5px; }
.sp-title-left p strong { color: var(--text-dark); font-weight: 500; }
.dev-logo { height: 44px; object-fit: contain; max-width: 110px; opacity: 0.8; }
.sp-price { font-size: 0.75rem; color: var(--text-gray); margin-bottom: 20px; font-weight: 400; letter-spacing: 0.3px; }
.sp-price strong { font-size: 1.1rem; color: var(--navy-deep); font-weight: 600; margin-left: 6px; font-family: 'Cormorant Garamond', serif; }
.sp-meta { display: flex; justify-content: space-between; border-top: 1px solid var(--border-light); padding-top: 18px; margin-bottom: 22px; font-size: 0.8rem; color: var(--text-gray); font-weight: 400; }
.sp-meta i { color: var(--gold); margin-right: 6px; font-size: 0.85rem; }
.btn-enquire { display: block; width: 100%; text-align: center; background: var(--navy-deep); color: var(--white); padding: 14px; font-size: 0.72rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; transition: var(--transition); border: 1px solid transparent; cursor: pointer; }
.btn-enquire:hover { background: transparent; color: var(--gold); border-color: var(--gold); }

/* --- BUY / SELL ACTION SECTION --- */
.buy-sell-section { padding: 80px 5%; background: var(--cream); }
.buy-sell-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bs-card { padding: 90px 60px; text-align: center; text-decoration: none; color: var(--white); transition: var(--transition); position: relative; overflow: hidden; }
.bs-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(8,12,20,0.3), rgba(8,12,20,0.75)); z-index: 1; transition: var(--transition); }
.bs-card:hover::before { background: linear-gradient(rgba(8,12,20,0.2), rgba(8,12,20,0.85)); }
.bs-card-content { position: relative; z-index: 2; }
.bs-card h3 { font-size: 2.8rem; font-family: 'Cormorant Garamond', serif; font-style: italic; margin-bottom: 14px; font-weight: 300; }
.bs-card p { font-size: 1rem; opacity: 0.8; margin-bottom: 30px; font-weight: 300; line-height: 1.6; }
.bs-card span { display: inline-block; padding: 12px 32px; border: 1px solid var(--gold); color: var(--gold); font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 3px; transition: 0.3s; }
.bs-card:hover span { background: var(--gold); color: var(--obsidian); }
.bs-card:hover { box-shadow: 0 30px 60px rgba(0,0,0,0.2); transform: translateY(-4px); }
.buy-card { background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=800&q=80') center/cover; }
.sell-card { background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80') center/cover; }

/* --- PARTNERS MARQUEE --- */
.partners-section { padding: 80px 0; background: var(--obsidian); text-align: center; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--border-gold); border-bottom: 1px solid var(--border-gold); font-size: 0; }
.partners-section h2 { font-size: 0.75rem; color: var(--gold); letter-spacing: 5px; text-transform: uppercase; margin-bottom: 50px; font-family: 'Jost', sans-serif; font-weight: 400; }
.marquee-track { display: inline-block; animation: scrollMarquee 35s linear infinite; }
.marquee-track img { 
    height: auto; 
    max-height: 50px; 
    width: auto;
    max-width: 140px; /* Stops Nakheel from getting too huge */
    margin: 0 30px; 
    object-fit: contain; 
    opacity: 0.85; 
    transition: 0.3s; 
    filter: brightness(0) invert(1); 
}

.marquee-track img:hover { 
    opacity: 1; 
    transform: scale(1.1); 
}
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* --- WHY CHOOSE US --- */
.why-section { padding: 120px 5%; background: var(--cream); }
.why-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.why-images::before { content: ''; position: absolute; top: -20px; left: -20px; width: 120px; height: 120px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); z-index: 0; }
.why-img-top { grid-column: 1 / -1; width: 100%; height: 300px; object-fit: cover; position: relative; z-index: 1; }
.why-img-bottom { width: 100%; height: 230px; object-fit: cover; z-index: 1; }
.why-content h2 { font-size: clamp(2rem, 3vw, 3.2rem); color: var(--navy-deep); margin-bottom: 24px; font-family: 'Cormorant Garamond', serif; font-weight: 400; font-style: italic; line-height: 1.15; }
.why-content h2::after { content: ''; display: block; width: 50px; height: 1px; background: var(--gold); margin-top: 20px; }
.why-intro { font-size: 1rem; color: var(--text-gray); margin-bottom: 44px; line-height: 1.9; font-weight: 300; }
.why-point { margin-bottom: 32px; padding-left: 20px; border-left: 2px solid var(--gold-pale); }
.why-point h3 { font-size: 1.05rem; font-weight: 500; color: var(--navy-deep); margin-bottom: 8px; font-family: 'Jost', sans-serif; letter-spacing: 0.5px; }
.why-point p { font-size: 0.92rem; color: var(--text-gray); line-height: 1.8; font-weight: 300; }

/* --- CEO VIDEO SECTION --- */
.video-section { padding: 120px 5%; background: var(--navy-deep); position: relative; overflow: hidden; }
.video-section::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%); pointer-events: none; }
.video-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.video-content h2 { font-size: clamp(2rem, 3vw, 3.2rem); color: var(--gold); margin-bottom: 24px; font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic; line-height: 1.2; }
.video-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 28px; font-weight: 300; }
.video-list { list-style: none; margin-bottom: 40px; }
.video-list li { margin-bottom: 14px; font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.6; font-weight: 300; padding-left: 18px; position: relative; }
.video-list li::before { content: '–'; position: absolute; left: 0; color: var(--gold); }
.video-list li strong { color: var(--white); font-weight: 500; }
.btn-youtube { display: inline-flex; align-items: center; gap: 12px; background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.2); padding: 14px 28px; font-size: 0.78rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; transition: var(--transition); }
.btn-youtube i { color: #ff4444; font-size: 1.3rem; }
.btn-youtube:hover { border-color: var(--gold); color: var(--gold); }
.video-player-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; box-shadow: var(--shadow-deep); border: 1px solid var(--border-gold); }
.video-player-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* =========================================================================
   NEW MORTGAGE CALCULATOR
   ========================================================================= */
.calculator-section { padding: 100px 5%; background: var(--white); border-top: 1px solid var(--border-light); }
.calc-container-alt { max-width: 1100px; margin: 0 auto; }
.calc-container-alt h2 { font-size: 2.2rem; color: var(--navy-deep); font-weight: 600; font-family: 'Jost', sans-serif; letter-spacing: -0.5px; }

.calc-grid-new { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.calc-inputs { display: flex; flex-direction: column; gap: 28px; }
.input-group { display: flex; flex-direction: column; gap: 8px; }
.input-group > label { font-size: 0.85rem; font-weight: 500; color: var(--text-dark); }
.input-with-label { display: flex; align-items: center; justify-content: space-between; border: 1px solid #d1d5db; border-radius: 6px; padding: 10px 15px; background: var(--white); transition: 0.3s; }
.input-with-label:focus-within { border-color: var(--navy-deep); }
.input-with-label input { border: none; outline: none; font-size: 1.1rem; font-family: 'Jost', sans-serif; color: var(--navy-deep); font-weight: 500; width: 80%; background: transparent; }
.input-with-label span { font-size: 0.9rem; color: var(--text-gray); }
.percent-label { color: var(--navy-deep) !important; font-weight: 500; }

.input-group input[type="range"] { -webkit-appearance: none; width: 100%; height: 4px; background: #e5e7eb; border-radius: 4px; outline: none; margin-top: 5px; cursor: pointer; }
.input-group input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-deep); cursor: pointer; border: 2px solid var(--white); box-shadow: 0 1px 3px rgba(0,0,0,0.3); transition: 0.2s;}
.input-group input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.range-labels { display: flex; justify-content: space-between; font-size: 0.65rem; color: #9ca3af; margin-top: 4px; }

.residency-toggle { display: flex; border: 1px solid #d1d5db; border-radius: 6px; overflow: hidden; }
.res-btn { flex: 1; padding: 12px; background: #f9fafb; border: none; border-right: 1px solid #d1d5db; font-size: 0.85rem; font-family: 'Jost', sans-serif; cursor: pointer; color: var(--text-gray); transition: 0.3s; }
.res-btn:last-child { border-right: none; }
.res-btn.active { background: var(--white); color: var(--navy-deep); font-weight: 500; border: 1px solid var(--navy-deep); box-shadow: inset 0 0 0 1px var(--navy-deep); }

.calc-results { padding: 30px; }
.calc-results h3 { font-family: 'Jost', sans-serif; font-size: 1.3rem; color: var(--navy-deep); font-weight: 500; margin-bottom: 25px; }
.result-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.res-col { display: flex; flex-direction: column; gap: 8px; }
.res-lbl { font-size: 0.8rem; color: var(--text-gray); }
.res-val { font-size: 2rem; color: var(--navy-deep); font-weight: 600; font-family: 'Jost', sans-serif; }
#final-rate { font-size: 1.8rem; }
.btn-upfront { background: transparent; border: 1px solid var(--navy-deep); color: var(--navy-deep); padding: 10px 20px; border-radius: 6px; font-size: 0.9rem; cursor: pointer; transition: 0.3s; font-family: 'Jost', sans-serif; font-weight: 500; display: inline-block;}
.btn-upfront:hover { background: rgba(13, 27, 42, 0.05); }

/* --- UPFRONT COSTS MODAL --- */
.upfront-box { max-width: 450px !important; padding: 0 !important; border-top: none !important; border-radius: 12px !important; overflow: hidden; text-align: left !important;}
.upfront-box .close-modal { top: 15px; right: 15px; font-size: 20px; }
.upfront-box h3 { padding: 20px 25px; margin: 0 !important; font-size: 1.2rem !important; border-bottom: 1px solid var(--border-light); font-family: 'Jost', sans-serif !important;}
.upfront-content { padding: 25px; background: var(--white); }
.upfront-card { border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 25px; overflow: hidden; }
.uc-header { background: #f9fafb; padding: 12px 15px; font-size: 0.9rem; font-weight: 500; color: var(--text-dark); border-bottom: 1px solid #e5e7eb; }
.uc-row { display: flex; justify-content: space-between; padding: 12px 15px; font-size: 0.9rem; color: var(--text-dark); }
.uc-link { color: var(--navy-deep); cursor: pointer; }
.uc-total { border-top: 1px solid #e5e7eb; font-weight: 500; padding: 15px; }

.uc-summary { background: var(--white); }
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.uc-grid div { display: flex; flex-direction: column; gap: 5px; }
.uc-grid span { font-size: 0.8rem; color: var(--text-gray); }
.uc-grid strong { font-size: 1rem; color: var(--text-dark); font-weight: 500; }

/* --- CONTACT --- */
#contact { padding: 120px 5%; background: var(--obsidian); color: var(--white); position: relative; overflow: hidden; }
#contact::before { content: ''; position: absolute; bottom: -100px; left: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%); pointer-events: none; }
.contact-wrapper { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.contact-info h2 { font-size: clamp(2.2rem, 3.5vw, 3.5rem); color: var(--gold); margin-bottom: 24px; font-family: 'Cormorant Garamond', serif; font-weight: 300; font-style: italic; line-height: 1.15; }
.contact-info p { color: rgba(255,255,255,0.6); line-height: 1.9; margin-bottom: 30px; font-size: 0.95rem; font-weight: 300; }
.contact-form { background: rgba(255,255,255,0.04); padding: 50px 46px; border: 1px solid var(--border-gold); backdrop-filter: blur(10px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 0; border: none; border-bottom: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; outline: none; background: transparent; color: var(--white); font-family: 'Jost', sans-serif; font-weight: 300; transition: 0.3s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.3); font-style: italic; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--gold); }
.contact-form textarea { height: 120px; resize: vertical; margin-bottom: 32px; }
.btn-submit { width: 100%; background: var(--gold); color: var(--obsidian); border: none; padding: 18px; font-family: 'Jost', sans-serif; font-weight: 600; cursor: pointer; transition: var(--transition); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; }
.btn-submit:hover { background: var(--gold-light); }

/* --- FAB BUTTON & TOOLTIP --- */
.fab-container { position: fixed; bottom: 32px; right: 32px; display: flex; flex-direction: column; gap: 15px; z-index: 9999; align-items: center; }
.fab { width: 58px; height: 58px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--white); font-size: 26px; box-shadow: 0 8px 30px rgba(0,0,0,0.3); transition: var(--transition); }
.fab-whatsapp { background: #25D366; }
.fab-whatsapp:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37,211,102,0.4); }
.whatsapp-tooltip { position: absolute; right: 76px; top: 50%; transform: translateY(-50%); background: var(--white); color: var(--text-dark); padding: 12px 18px; font-size: 0.82rem; font-weight: 400; box-shadow: 0 10px 30px rgba(0,0,0,0.15); white-space: nowrap; border-left: 2px solid var(--gold); opacity: 0; visibility: hidden; transition: 0.3s; pointer-events: none; }
.fab-container:hover .whatsapp-tooltip { opacity: 1; visibility: visible; }

/* --- MODALS --- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(8,12,20,0.85); z-index: 10000; justify-content: center; align-items: center; backdrop-filter: blur(8px); }
.modal-box { background: var(--white); padding: 50px; max-width: 500px; width: 90%; position: relative; text-align: center; box-shadow: var(--shadow-deep); border-top: 3px solid var(--gold); }
.close-modal { position: absolute; top: 18px; right: 22px; font-size: 22px; cursor: pointer; color: var(--text-gray); transition: 0.3s; line-height: 1; }
.close-modal:hover { color: var(--navy-deep); }
.modal-box h3 { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--navy-deep); font-size: 2rem; margin-bottom: 16px; font-weight: 400; }
.btn-filter-search { background: var(--gold); color: var(--obsidian); border: none; padding: 14px 30px; font-weight: 600; cursor: pointer; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; display: inline-block; }
.btn-filter-search:hover { background: var(--navy-deep); color: var(--white); }

/* --- FOOTER --- */
footer { background: var(--obsidian); padding: 90px 5% 36px; color: var(--white); border-top: 1px solid var(--border-gold); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; max-width: 1440px; margin: 0 auto 70px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-desc { font-size: 0.88rem; line-height: 1.9; color: rgba(255,255,255,0.45); margin: 24px 0; max-width: 330px; font-weight: 300; }
.footer-col h4 { font-size: 0.68rem; color: var(--gold); margin-bottom: 28px; font-weight: 500; text-transform: uppercase; letter-spacing: 3px; font-family: 'Jost', sans-serif; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 14px; }
.footer-links a { color: rgba(255,255,255,0.45); font-size: 0.88rem; transition: 0.3s; font-weight: 300; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.25); font-weight: 300; letter-spacing: 0.5px; }

/* Hide mobile menu tools on desktop by default */
.mobile-toggle { display: none; }
.mobile-only-link { display: none; }

/* =========================================================================
   BULLETPROOF MOBILE RESPONSIVENESS
   ========================================================================= */
@media (max-width: 992px) {
  .contact-wrapper, .why-container, .buy-sell-grid, .video-grid, .calc-grid-new { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .search-panel { flex-direction: column; align-items: flex-start; gap: 20px; }
  .calc-container-alt h2 { text-align: left !important; }
}

@media (max-width: 768px) {
  /* Force all columns to stack perfectly vertically */
  .buy-sell-grid, .video-grid, .why-container, .why-images, .contact-wrapper, .calc-grid-new, .form-row, .footer-grid, .uc-grid { 
      display: flex !important; 
      flex-direction: column !important; 
      gap: 30px !important; 
      width: 100%;
  }

  body { overflow-x: hidden; width: 100vw; }
  .section-wrapper, .hero, .why-section, .video-section, .calculator-section, .buy-sell-section, #contact { 
      padding-left: 20px !important; 
      padding-right: 20px !important; 
  }

  /* 1. SOLID NAVBAR & 3-DOT DROPDOWN */
  .nav { 
      flex-direction: row !important; 
      justify-content: space-between !important;
      height: 75px !important; 
      padding: 0 20px !important; 
      background: var(--obsidian) !important; 
      border-bottom: 1px solid var(--border-gold);
  }
  .nav.scrolled { background: var(--obsidian) !important; }
  .logo-text { font-size: 1.5rem !important; }
  
  /* The 3 Lines Icon */
  .mobile-toggle {
      display: block !important;
      color: var(--gold);
      font-size: 1.8rem;
      cursor: pointer;
  }
  .mobile-only-link { display: block !important; }

  /* The Hidden Dropdown Menu */
  .nav-center { 
      display: none !important; 
      position: absolute;
      top: 75px;
      left: 0;
      width: 100%;
      background: var(--obsidian);
      flex-direction: column !important;
      padding: 10px 30px 30px !important;
      border-top: 1px solid rgba(255,255,255,0.05);
      box-shadow: 0 20px 40px rgba(0,0,0,0.8);
      gap: 0 !important;
  }
  
  /* When you click the 3 lines, this makes it visible */
  .nav-center.active { display: flex !important; }
  
  .nav-center li { width: 100%; }
  .nav-center a { 
      font-size: 1.1rem !important; 
      color: var(--white) !important; 
      padding: 18px 0 !important;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      display: block;
  }
  .nav-right, .side-socials, .whatsapp-tooltip { display: none !important; }
  
  /* 2. HERO FIX */
  .hero { padding-top: 140px; padding-bottom: 60px; min-height: 80vh; justify-content: center; }
  .hero h1 { font-size: 2.3rem; line-height: 1.2; }
  
  /* 3. SEARCH BOX TEXT OVERFLOW FIX */
  .advanced-search-wrapper { margin-top: -30px; margin-bottom: 40px; padding: 0 15px !important; }
  .search-panel { padding: 20px 15px !important; gap: 15px; text-align: center; }
  .search-panel-title { font-size: 1rem !important; white-space: normal !important; line-height: 1.4; }
  .sleek-search-input { font-size: 0.85rem !important; padding: 12px 5px !important; }
  
  /* 4. HEADERS */
  .section-header { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 30px; }
  .section-header h2 { font-size: 1.8rem; }
  .header-actions { width: 100%; display: flex; justify-content: space-between; }

  /* 5. APP-STYLE HORIZONTAL SWIPE FOR MOBILE LISTINGS */
  .card-grid { 
      display: flex !important; 
      overflow-x: auto !important; 
      scroll-snap-type: x mandatory; 
      gap: 15px !important; 
      padding-bottom: 20px !important; 
      -webkit-overflow-scrolling: touch; 
      scrollbar-width: none; 
  }
  .card-grid::-webkit-scrollbar { display: none; } 
  
  .sp-card { 
      min-width: 85vw !important; 
      max-width: 85vw !important;
      scroll-snap-align: center; 
      flex-shrink: 0; 
      margin: 0 !important;
  }

  /* 6. BUY & SELL SQUISHING FIX */
  .bs-card { width: 100% !important; padding: 40px 20px !important; min-height: 250px; }
  .bs-card h3 { font-size: 2rem; }

  /* 7. WHY CHOOSE US FIX */
  .why-img-top, .why-img-bottom { height: 200px; width: 100%; border-radius: 8px; }
  
  /* 8. CEO VIDEO HORIZONTAL WHITE LINE FIX */
  .video-content { padding-bottom: 0px !important; }
  .video-player-wrap { width: 100%; border: none !important; }

  /* 9. MARQUEE */
  .partners-section { padding: 40px 0; }
  .marquee-track img { height: 40px; margin: 0 25px; }

  /* 10. CALCULATOR FIXES */
  .calc-container-alt h2 { font-size: 1.7rem !important; margin-bottom: 30px !important; text-align: center !important; }
  .residency-toggle { flex-direction: column; }
  .res-btn { border-right: none !important; border-bottom: 1px solid #d1d5db; }
  .res-btn:last-child { border-bottom: none; }
  .result-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .btn-upfront { width: 100%; text-align: center; }

  /* 11. MODAL FIXES */
  .modal-box { padding: 30px 20px; width: 95%; }
  .modal-box h3 { font-size: 1.5rem !important; }
  .upfront-content { padding: 15px; }
  .uc-header, .uc-row, .uc-total { padding: 10px; font-size: 0.85rem; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2rem !important; }
  .bs-card h3, .why-content h2, .video-content h2, .contact-info h2 { font-size: 1.8rem !important; }
  .sp-title-left h3 { font-size: 1.1rem !important; white-space: normal; }
  .nav-center { gap: 10px !important; }
  .nav-center a { font-size: 0.65rem; }
}