/* ============================================
   SOBHA 63A – Premium Landing Page CSS
   ============================================ */

/* === VARIABLES === */
:root {
    --gold: #c9a84c;
    --gold-light: #e3cc80;
    --gold-dark: #a07e2e;
    --dark-1: #09090b;
    --dark-2: #111113;
    --dark-3: #1a1a1f;
    --dark-4: #232329;
    --light: #f0ece4;
    --light-muted: #b5b0a5;
    --white: #ffffff;
    --font-display: 'Playfair Display', serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.15);
    --shadow-heavy: 0 25px 50px rgba(0,0,0,0.5);
}

/* === RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--dark-1);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === UTILITY === */
.gold-text { color: var(--gold); }
.italic { font-style: italic; }
.text-center { text-align: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === PRELOADER === */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--dark-1);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-ring {
    width: 60px; height: 60px; border: 2px solid var(--dark-3);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
.preloader-text {
    font-family: var(--font-display); font-size: 1.2rem;
    color: var(--gold); letter-spacing: 4px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === BUTTONS === */
.btn-primary, .btn-outline {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; font-weight: 600; border-radius: 4px;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px;
    transition: all 0.4s var(--ease); cursor: pointer; border: 2px solid var(--gold);
    font-family: var(--font-body);
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-1);
}
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-outline { background: transparent; color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--dark-1); }
.btn-lg { padding: 16px 40px; font-size: 0.9rem; }
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }
.btn-glow { box-shadow: var(--shadow-gold); }
.btn-glow:hover { box-shadow: 0 0 40px rgba(201, 168, 76, 0.3); }

/* === HEADER === */
.header {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 5%; z-index: 1000;
    transition: all 0.4s var(--ease);
    background: rgba(9, 9, 11, 0.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.header.scrolled {
    background: rgba(9, 9, 11, 0.96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 14px 5%;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.logo {
    display: flex; align-items: center; gap: 12px;
}
.brand-logo { 
    max-height: 48px; width: auto; object-fit: contain; 
    background: white; padding: 4px 8px; border-radius: 4px;
}
.logo-text {
    font-family: var(--font-display); font-size: 1.4rem;
    font-weight: 700; letter-spacing: 2px; line-height: 1.1;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-weight: 500; font-size: 0.82rem;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--light-muted); transition: color 0.3s ease;
    position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 2px; background: var(--gold);
    transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone {
    font-size: 0.85rem; color: var(--light-muted);
    transition: color 0.3s ease; display: flex; align-items: center; gap: 8px;
}
.header-phone:hover { color: var(--gold); }
.header-phone i { color: var(--gold); }

.hamburger {
    display: none; background: none; border: none; cursor: pointer;
    width: 30px; height: 22px; position: relative;
}
.hamburger span {
    display: block; width: 100%; height: 2px; background: var(--light);
    position: absolute; left: 0; transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 10px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 10px; }

/* === HERO === */
.hero {
    height: 100vh; min-height: 700px;
    background: url('hero-bg.png') center center / cover no-repeat;
    position: relative;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(9, 9, 11, 0.95) 0%, rgba(9, 9, 11, 0.6) 100%);
    z-index: 0;
}
.hero-particles {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none; overflow: hidden;
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; max-width: 950px; }

.hero-badge {
    display: inline-block;
    font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); border: 1px solid rgba(201,168,76,0.3);
    padding: 8px 24px; border-radius: 30px; margin-bottom: 30px;
    background: rgba(201,168,76,0.05);
}
.hero h1 {
    font-family: var(--font-display); font-size: 5.5rem;
    line-height: 1.05; margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.hero-tagline {
    font-family: var(--font-serif); font-size: 1.5rem;
    color: var(--light-muted); margin-bottom: 15px;
    font-weight: 300; font-style: italic;
    max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-price {
    font-family: var(--font-display); font-size: 1.8rem;
    color: var(--light); margin-bottom: 40px;
    letter-spacing: 1px; line-height: 1.2;
}
.hero-price .gold-text {
    font-weight: 700; font-size: 2.4rem;
}
.hero-highlights {
    display: flex; justify-content: center; align-items: center;
    gap: 30px; margin-bottom: 45px;
}
.hero-highlight-item { text-align: center; }
.highlight-num {
    font-family: var(--font-display); font-size: 2.5rem;
    color: var(--gold); display: block; line-height: 1;
}
.highlight-label {
    font-size: 0.75rem; text-transform: uppercase;
    letter-spacing: 2px; color: var(--light-muted);
}
.hero-divider {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-indicator span {
    font-size: 0.7rem; text-transform: uppercase;
    letter-spacing: 3px; color: var(--light-muted);
}
.scroll-line {
    width: 1px; height: 40px; position: relative; overflow: hidden;
    background: rgba(255,255,255,0.1);
}
.scroll-line::before {
    content: ''; position: absolute; top: -100%; left: 0;
    width: 100%; height: 100%; background: var(--gold);
    animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
    0% { top: -100%; } 50% { top: 0; } 100% { top: 100%; }
}

/* === FADE-IN ANIMATIONS === */
.fade-in-up { opacity: 0; transform: translateY(40px); animation: fadeUp 0.8s var(--ease) forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* === SECTIONS === */
.section { padding: 120px 0; }
.section-label {
    display: inline-block; font-size: 0.72rem;
    letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px;
    position: relative; padding-left: 40px;
}
.section-label::before {
    content: ''; position: absolute; left: 0; top: 50%;
    width: 28px; height: 1px; background: var(--gold);
}
.text-center .section-label { padding-left: 0; }
.text-center .section-label::before { display: none; }
.section-header { margin-bottom: 60px; }
.section-title {
    font-family: var(--font-display); font-size: 2.8rem;
    line-height: 1.2; margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1.05rem; color: var(--light-muted);
    max-width: 650px; margin: 0 auto;
}

.layout-2col {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}

.text-content p { margin-bottom: 20px; color: var(--light-muted); font-size: 1.02rem; line-height: 1.8; }
.lead-text { font-size: 1.15rem !important; color: var(--light) !important; font-weight: 400; }

/* === STATS === */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.stat-item { border-left: 2px solid var(--gold); padding-left: 16px; }
.stat-item h3 {
    font-family: var(--font-display); font-size: 2.8rem;
    color: var(--gold); line-height: 1;
}
.stat-item p {
    font-size: 0.78rem; text-transform: uppercase;
    letter-spacing: 1.5px; margin-top: 4px; margin-bottom: 0; color: var(--light-muted);
}

/* === OVERVIEW VISUAL CARDS === */
.overview-visual {
    display: grid; gap: 20px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}
.visual-card {
    background: var(--dark-2);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 12px; padding: 30px;
    transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
}
.visual-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0; transition: opacity 0.4s ease;
}
.visual-card:hover { transform: translateY(-5px); border-color: rgba(201,168,76,0.4); }
.visual-card:hover::before { opacity: 1; }
.visual-card i { font-size: 2rem; color: var(--gold); margin-bottom: 15px; }
.visual-card h4 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; }
.visual-card p { font-size: 0.88rem; color: var(--light-muted); margin-bottom: 4px; }
.card-3 { grid-column: 1 / -1; }

/* === DETAILED SPECS === */
.detailed-specs {
    background: var(--dark-2);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 12px; padding: 35px;
    position: relative; overflow: hidden;
}
.detailed-specs::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.spec-header {
    font-family: var(--font-display);
    font-size: 1.6rem; color: var(--gold);
    margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px; letter-spacing: 1px;
}
.spec-list { display: flex; flex-direction: column; gap: 14px; }
.spec-item {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.05rem; color: var(--light-muted);
    border-bottom: 1px dashed rgba(255,255,255,0.08); padding-bottom: 10px;
}
.spec-item:last-child { border-bottom: none; padding-bottom: 0; }
.spec-item span:first-child { color: var(--light); font-weight: 500; }
.spec-item span:last-child { font-weight: 600; color: var(--gold); text-align: right; }
.spec-item.tower-spec {
    flex-direction: column; align-items: flex-start; gap: 8px;
    margin-top: 10px; background: rgba(201,168,76,0.05);
    padding: 16px; border-radius: 8px; border: 1px solid rgba(201,168,76,0.1);
}
.tower-spec span:first-child { color: var(--gold); font-family: var(--font-display); font-size: 1.2rem; }
.tower-spec .spec-value-block { color: var(--light); font-weight: 400; font-size: 0.95rem; text-align: left; }

/* === AMENITIES === */
.amenities {background: #fff8e1;}
.amenity-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.amenity-card {
    background: var(--dark-1); 
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.4s var(--ease); text-align: center;
    position: relative; overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column;
}
.amenity-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0); transition: transform 0.4s var(--ease);
}
.amenity-card:hover { transform: translateY(-8px); border-color: rgba(201,168,76,0.25); }
.amenity-card:hover::after { transform: scaleX(1); }
.amenity-img {
    width: 100%; height: 180px; overflow: hidden;
}
.amenity-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.amenity-card:hover .amenity-img img { transform: scale(1.08); }
.amenity-content { 
    padding: 0 25px 30px; position: relative;
    flex-grow: 1; display: flex; flex-direction: column;
}
.amenity-content p {
    margin-top: auto;
}
.amenity-icon {
    width: 60px; height: 60px; margin: -30px auto 15px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--dark-1); border: 1px solid rgba(201,168,76,0.3);
    position: relative; z-index: 2;
}
.amenity-icon i { font-size: 1.4rem; color: var(--gold); }
.amenity-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 10px; }
.amenity-card p { font-size: 0.85rem; color: var(--light-muted); margin-bottom: 0; }

/* === CONNECTIVITY === */
.connectivity-grid {background: #111113a6;border-radius: 12px;padding: 35px;border: 1px solid rgba(255,255,255,0.04);}
.conn-heading {
    font-family: var(--font-display); font-size: 1.2rem;
    margin-bottom: 16px; display: flex; align-items: center; gap: 10px;
}
.conn-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.conn-item:last-of-type { border-bottom: none; }
.conn-time {
    background: rgba(201,168,76,0.1); color: var(--gold);
    padding: 4px 12px; border-radius: 20px; font-size: 0.8rem;
    font-weight: 600; min-width: 70px; text-align: center;
}
.conn-name { color: var(--light-muted); font-size: 0.92rem; }

/* === APPRECIATION === */
.appreciation { background: var(--dark-2); }
.appreciation-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-bottom: 30px;
}
.appr-card {
    background: var(--dark-1); border-radius: 12px;
    padding: 30px; border: 1px solid rgba(255,255,255,0.04);
    text-align: center;
}
.featured-appr { border: 2px solid rgba(201,168,76,0.4); }
.appr-label {
    font-family: var(--font-display); font-size: 1.15rem;
    margin-bottom: 20px;
}
.appr-bar {
    background: var(--dark-3); border-radius: 20px;
    height: 36px; overflow: hidden; position: relative; margin-bottom: 16px;
}
.appr-fill {
    height: 100%; border-radius: 20px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; color: var(--dark-1);
    width: 0; transition: width 1.5s var(--ease);
}
.appr-fill.animated { width: var(--target-width); }
.appr-sold {
    font-size: 0.82rem; color: var(--gold);
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
}
.source-text { text-align: center; font-size: 0.75rem; color: var(--light-muted); opacity: 0.6; }

/* === RESIDENCES === */
.floorplans { background: var(--dark-1); }
.residences-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 30px; align-items: stretch;
}
.plan-card {
    background: var(--dark-2); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px; padding: 40px 30px;
    text-align: center; transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
}
.plan-card:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-5px); }
.plan-ribbon {
    position: absolute; top: 16px; right: -32px;
    background: var(--dark-4); color: var(--light-muted);
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px;
    padding: 5px 40px; transform: rotate(45deg); font-weight: 600;
}
.gold-ribbon { background: var(--gold); color: var(--dark-1); }
.plan-icon { margin-bottom: 20px; }
.plan-icon i { font-size: 2rem; color: var(--gold); }
.plan-card h3 {
    font-family: var(--font-display); font-size: 1.35rem;
    color: var(--light); margin-bottom: 20px;
}
.plan-size {
    font-family: var(--font-display); font-size: 2.5rem;
    color: var(--gold); line-height: 1; margin-bottom: 4px;
}
.plan-size span { font-size: 1rem; }
.plan-size-metric { font-size: 0.85rem; color: var(--light-muted); margin-bottom: 20px; }
.plan-desc { color: var(--light-muted); font-size: 0.92rem; margin-bottom: 30px; line-height: 1.6; }
.featured-plan {
    background: var(--dark-3); border: 2px solid var(--gold);
    transform: scale(1.04);
    box-shadow: var(--shadow-gold), var(--shadow-heavy);
}
.featured-plan:hover { transform: scale(1.04) translateY(-5px); }

/* === CONTACT === */
.contact { background: var(--dark-1); }
.contact-info { margin-top: 35px; display: flex; flex-direction: column; gap: 16px; }
.contact-link {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 18px; border-radius: 12px;
    background: var(--dark-2); border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s ease;
}
.contact-link:hover { border-color: rgba(201,168,76,0.3); background: var(--dark-3); }
.contact-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: rgba(201,168,76,0.1); display: flex;
    align-items: center; justify-content: center;
    color: var(--gold); font-size: 1.2rem; flex-shrink: 0;
}
.wa-icon { background: rgba(37,211,102,0.15); color: #25D366; }
.contact-link strong { color: var(--light); font-size: 0.9rem; }
.contact-link div:last-child { font-size: 0.88rem; color: var(--light-muted); line-height: 1.5; }

.premium-form {
    background: var(--dark-2); padding: 40px;
    border-radius: 16px; border: 1px solid rgba(201,168,76,0.15);
    position: relative; overflow: hidden;
}
.premium-form::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
}
.form-title {
    font-family: var(--font-display); font-size: 1.5rem;
    text-align: center; margin-bottom: 28px; color: var(--gold);
}
.form-group { margin-bottom: 16px; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 16px 18px;
    background: var(--dark-1); border: 1px solid rgba(255,255,255,0.08);
    color: var(--light); border-radius: 8px;
    font-family: var(--font-body); font-size: 0.95rem;
    transition: all 0.3s ease; appearance: none;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c9a84c' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none; border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201,168,76,0.08);
}
.input-group-phone { display: flex; gap: 8px; }
.country-code-select { width: 120px !important; flex-shrink: 0; padding-left: 12px !important; padding-right: 25px !important; background-position: right 10px center !important; font-size: 0.9rem !important; }
.btn-submit {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-1); border: none; border-radius: 8px;
    font-weight: 700; font-size: 0.95rem;
    text-transform: uppercase; letter-spacing: 1.5px;
    cursor: pointer; transition: all 0.4s var(--ease);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-body); margin-top: 8px;
}
.btn-submit:hover { box-shadow: 0 0 40px rgba(201,168,76,0.3); transform: translateY(-2px); }
.form-message { margin-top: 14px; font-size: 0.9rem; text-align: center; display: none; border-radius: 6px; padding: 10px; }
.form-message.success { display: block; color: #4CAF50; background: rgba(76,175,80,0.1); }
.form-message.error { display: block; color: #F44336; background: rgba(244,67,54,0.1); }

/* === FOOTER === */
.footer {
    background: var(--dark-1); padding: 50px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-top {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 30px; margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.footer-logo {
    font-family: var(--font-display); font-size: 1.4rem;
    font-weight: 700; letter-spacing: 2px;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
    font-size: 0.82rem; color: var(--light-muted);
    text-transform: uppercase; letter-spacing: 1px;
    transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom { text-align: center; }
.footer-bottom p { color: var(--light-muted); font-size: 0.78rem; opacity: 0.6; margin-bottom: 4px; }

/* === FLOATING BUTTONS === */
.fab-container {
    position: fixed; bottom: 30px; right: 30px;
    display: flex; flex-direction: column; gap: 14px;
    z-index: 1000;
    opacity: 0; transform: translateY(20px);
    transition: all 0.5s var(--ease);
}
.fab-container.visible { opacity: 1; transform: translateY(0); }
.fab-btn {
    width: 56px; height: 56px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s var(--ease-bounce);
    position: relative;
}
.fab-btn:hover { transform: scale(1.12); color: #fff; }
.fab-wa { background: linear-gradient(135deg, #25D366, #128C7E); }
.fab-call { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--dark-1); }
.fab-call:hover { color: var(--dark-1); }
.fab-tooltip {
    position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
    background: var(--dark-3); color: var(--light); padding: 6px 14px;
    border-radius: 6px; font-size: 0.78rem; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.fab-btn:hover .fab-tooltip { opacity: 1; }

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: all 0.8s var(--ease);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .layout-2col { grid-template-columns: 1fr; gap: 40px; }
    .amenity-grid { grid-template-columns: repeat(2, 1fr); }
    .residences-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .appreciation-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto 30px; }
    .featured-plan { transform: none; }
    .featured-plan:hover { transform: translateY(-5px); }
    
    /* Typography Scaling */
    .hero h1 { font-size: 3.8rem; }
    .section-title { font-size: 2.4rem; }
    
    /* Mobile Navigation Drawer */
    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(9,9,11,0.98); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
        z-index: 999; transition: right 0.4s var(--ease);
    }
    .nav-links.mobile-open { right: 0; }
    .nav-links a { font-size: 1.3rem; letter-spacing: 2px; }
    .hamburger { display: block; z-index: 1001; }
    .header-phone { display: none; }
    
    .footer-top { flex-direction: column; gap: 24px; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

@media (max-width: 768px) {
    /* Touch Target & Spacing Optimization */
    .container { padding: 0 20px; }
    .section { padding: 60px 0; }
    
    /* Header Fixes to prevent logo wrapping */
    .header-right .btn-primary { display: none; }
    .logo-text { font-size: 1.15rem; letter-spacing: 1px; white-space: nowrap; }
    .brand-logo { max-height: 38px; }
    
    /* Hero Section UX */
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-badge { font-size: 0.65rem; letter-spacing: 2px; padding: 8px 16px; margin-bottom: 25px; }
    .hero h1 { font-size: 3.2rem; margin-bottom: 15px; }
    .hero-tagline { font-size: 1.15rem; margin-bottom: 35px; line-height: 1.5; }
    
    /* Hero Stats - Uniform Row */
    .hero-highlights { flex-direction: row; flex-wrap: nowrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
    .hero-highlight-item { flex: 1; }
    .highlight-num { font-size: 1.8rem; }
    .highlight-label { font-size: 0.65rem; letter-spacing: 1px; }
    .hero-divider { display: none; }
    
    /* Full-width Mobile Buttons */
    .hero-buttons { flex-direction: column; width: 100%; gap: 16px; }
    .hero-buttons a { width: 100%; justify-content: center; padding: 18px; font-size: 1rem; }
    
    /* Hide scroll indicator to prevent overlapping buttons */
    .scroll-indicator { display: none; }
    
    /* Typography */
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; }
    .section-header { margin-bottom: 40px; }
    
    /* Grids to Single Column */
    .amenity-grid, .stats-grid, .overview-visual { grid-template-columns: 1fr; gap: 20px; }
    .card-3 { grid-column: auto; }
    .visual-card { padding: 25px 20px; }
    .amenity-card { padding: 30px 20px; }
    
    /* Location/Connectivity List UX */
    .connectivity-grid { padding: 25px 20px; }
    .conn-item { padding: 14px 0; gap: 12px; }
    .conn-time { min-width: 80px; font-size: 0.85rem; padding: 6px 12px; }
    
    /* Floor Plans */
    .plan-card { padding: 35px 20px; }
    .plan-size { font-size: 2.2rem; }
    
    /* Form Optimization for Mobile */
    .premium-form { padding: 35px 20px; border-radius: 12px; }
    .form-title { font-size: 1.4rem; margin-bottom: 24px; }
    /* 16px font-size prevents iOS automatic zoom on focus */
    .form-group input, .form-group textarea, .form-group select { 
        font-size: 16px !important; padding: 16px; 
    }
    .btn-submit { padding: 18px; font-size: 1.05rem; }
    
    /* Contact Links Touch Area */
    .contact-link { padding: 16px; }
    
    /* Floating Action Buttons */
    .fab-container { bottom: 20px; right: 20px; gap: 12px; }
    .fab-btn { width: 56px; height: 56px; font-size: 1.6rem; }
    
    /* Footer Fix for Mobile */
    .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
}

@media (max-width: 480px) {
    /* Micro-mobile typography & layout scaling */
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 1.8rem; }
    .highlight-num { font-size: 2rem; }
    .hero-tagline { font-size: 1rem; }
    
    .header { padding: 12px 15px; }
    .logo-text { font-size: 1.1rem; letter-spacing: 1px; }
    .brand-logo { max-height: 32px; }
    
    .fab-container { right: 15px; bottom: 15px; }
    .fab-btn { width: 50px; height: 50px; font-size: 1.3rem; }
}

/* === SCROLL POPUP === */
.scroll-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(9, 9, 11, 0.7); backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.5s var(--ease);
    padding: 20px;
}
.scroll-popup-overlay.show { opacity: 1; visibility: visible; }
.scroll-popup-container {
    background: var(--dark-1); width: 100%; max-width: 420px;
    border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); /* Clean minimalist border */
    padding: 35px 30px; position: relative;
    transform: translateY(20px) scale(0.98); transition: all 0.5s var(--ease);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.scroll-popup-overlay.show .scroll-popup-container {
    transform: translateY(0) scale(1);
}
.popup-close {
    position: absolute; top: 15px; right: 15px;
    background: transparent; border: none; color: var(--light-muted);
    font-size: 1.2rem; cursor: pointer; transition: color 0.3s ease;
    padding: 8px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.popup-close:hover { color: var(--gold); }
.popup-header { text-align: center; margin-bottom: 24px; }
.popup-header h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); margin: 0 0 6px; font-weight: 500; }
.popup-header p { font-size: 0.9rem; color: var(--light-muted); margin: 0; }
.popup-form { padding: 0; border: none; background: transparent; }
.popup-form::before { display: none; }

@media (max-width: 480px) {
    .scroll-popup-container { padding: 30px 20px; border-radius: 8px; }
    .popup-header h3 { font-size: 1.4rem; }
}








/* ====================================== */
section#overview {
    background: #ffffff;
}

.overview h2.section-title {
    color: black;
}

.overview .lead-text {
    font-size: 1.15rem !important;
    color: var(--dark-1) !important;
    font-weight: 400;
}

.overview .text-content p {
    margin-bottom: 20px;
    color: var(--dark-3);
    font-size: 1.02rem;
    line-height: 1.8;
}

.amenities h2.section-title {
    color: black;
}




section#location {
    background-image: linear-gradient(rgb(0 0 0 / 75%), rgba(0, 0, 0, 0.5)), url(./banner-a.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.appreciation {
    background: #ffffff;
}
.appreciation h2.section-title {
    color: black;
}

.appreciation .section-subtitle {
    color: #141313;
  
}

.floorplans {
    background: #fdffd9;
}

.floorplans h2.section-title {
    color: black;
}
section.section.why-sobha {
    background-color: floralwhite;
}
.why-sobha h2.section-title {
    color: black;
}