/* ============================================================
   THARAA TAIBA - LUXURY ORGANIC DESIGN SYSTEM
   Mobile-first | Organic shapes | Wave transitions | Glassmorphism
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
    --font: 'Cairo', 'Tajawal', sans-serif;
    
    /* Warm Luxury Palette */
    --bg: #faf8f5;
    --surface: #ffffff;
    --surface-warm: #f3ede4;
    --surface-warm-alt: #ede5d8;
    --cream: #f5f0e8;
    
    --charcoal: #1a1a2e;
    --charcoal-light: #252540;
    --charcoal-lighter: #32324e;
    
    --gold: #b8860b;
    --gold-light: #d4a55a;
    --gold-pale: #e8d5a8;
    --gold-gradient: linear-gradient(135deg, #b8860b 0%, #d4a55a 50%, #e8c87a 100%);
    --gold-glow: 0 8px 32px rgba(184,134,11,0.25);
    
    --text: #2a2a3a;
    --text-light: #5a5a6e;
    --text-muted: #8a8a9a;
    --text-on-dark: rgba(255,255,255,0.95);
    --text-on-dark-muted: rgba(255,255,255,0.55);
    
    /* Organic Radii */
    --r-sm: 14px;
    --r-md: 24px;
    --r-lg: 36px;
    --r-xl: 48px;
    --r-blob: 42% 58% 60% 40% / 48% 42% 58% 52%;
    --r-pill: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.14);
    
    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.35s;
    --duration-slow: 0.6s;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.3; font-weight: 800; color: var(--charcoal); }

/* ===== UTILITY ===== */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ===== PRELOADER ===== */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--charcoal);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { width: 80px; height: auto; margin-bottom: 20px; animation: preloaderPulse 1.5s ease-in-out infinite; }
.preloader-text { color: var(--gold-light); font-size: 18px; font-weight: 700; letter-spacing: 2px; margin-bottom: 24px; }
.preloader-bar { width: 160px; height: 3px; background: rgba(255,255,255,0.1); border-radius: var(--r-pill); overflow: hidden; }
.preloader-bar::after { content: ''; display: block; width: 40%; height: 100%; background: var(--gold-gradient); border-radius: var(--r-pill); animation: preloaderSlide 1.2s ease-in-out infinite; }
@keyframes preloaderPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.05);opacity:0.8} }
@keyframes preloaderSlide { 0%{transform:translateX(-100%)} 100%{transform:translateX(400%)} }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    background: transparent;
    transition: all 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 10px 20px;
}
.nav-logo { height: 44px; width: auto; transition: height var(--duration) var(--ease); }
.navbar.scrolled .nav-logo { height: 38px; }
.nav-links { display: none; align-items: center; gap: 6px; }
.nav-links a {
    padding: 8px 16px; font-size: 14px; font-weight: 600; color: #fff;
    border-radius: var(--r-sm); transition: all var(--duration) var(--ease);
    position: relative;
}
.navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a::after {
    content: ''; position: absolute; bottom: 4px; left: 50%; width: 0; height: 2px;
    background: var(--gold); border-radius: var(--r-pill);
    transform: translateX(-50%); transition: width var(--duration) var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 24px; }
.nav-cta.nav-cta {
    background: var(--gold-gradient); color: #fff !important; padding: 10px 24px;
    border-radius: var(--r-pill); font-weight: 700;
    box-shadow: var(--gold-glow); transition: all var(--duration) var(--ease);
}
.nav-cta.nav-cta::after { display: none; }
.nav-cta.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(184,134,11,0.35); }
.lang-switch {
    padding: 7px 16px; font-size: 13px; font-weight: 700;
    border: 1.5px solid rgba(255,255,255,0.3); color: #fff;
    border-radius: var(--r-pill); transition: all var(--duration) var(--ease);
    letter-spacing: 0.5px;
}
.navbar.scrolled .lang-switch { border-color: var(--charcoal); color: var(--charcoal); }
.lang-switch:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s var(--ease); }
.navbar.scrolled .hamburger span { background: var(--charcoal); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(26,26,46,0.5); backdrop-filter: blur(8px); z-index: 1050; opacity: 0; visibility: hidden; transition: all 0.4s var(--ease); }
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 85%; max-width: 380px; height: 100%;
    background: var(--surface); z-index: 1060;
    display: flex; flex-direction: column; padding: 80px 32px 40px;
    transition: right 0.5s var(--ease-spring);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
[dir="ltr"] .mobile-menu { right: auto; left: -100%; }
[dir="ltr"] .mobile-menu.open { left: 0; }
.mobile-menu.open { right: 0; }
.mobile-menu-close {
    position: absolute; top: 20px; right: 20px;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--cream); color: var(--charcoal);
    font-size: 22px; display: flex; align-items: center; justify-content: center;
    transition: all var(--duration) var(--ease);
}
[dir="ltr"] .mobile-menu-close { right: auto; left: 20px; }
.mobile-menu-close:hover { background: var(--gold); color: #fff; }
.mobile-menu a {
    padding: 16px 0; font-size: 18px; font-weight: 700; color: var(--charcoal);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: all var(--duration) var(--ease);
}
.mobile-menu a:hover { color: var(--gold); padding-right: 12px; }
[dir="ltr"] .mobile-menu a:hover { padding-right: 0; padding-left: 12px; }
.mobile-menu .lang-switch {
    margin-top: 24px; width: fit-content;
    border-color: var(--charcoal); color: var(--charcoal);
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider { position: relative; width: 100%; overflow: hidden; line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: auto; }
.wave-divider.flip { transform: scaleY(-1); }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; overflow: hidden;
    background: var(--charcoal);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.02);
    transition: transform 8s ease;
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(145deg, rgba(26,26,46,0.88) 0%, rgba(26,26,46,0.5) 40%, rgba(26,26,46,0.75) 100%),
        radial-gradient(ellipse at 20% 80%, rgba(184,134,11,0.15) 0%, transparent 60%);
}
.hero-content {
    position: relative; z-index: 2;
    padding: 140px 20px 180px;
    max-width: 720px;
}
.hero-tag {
    display: inline-block; padding: 8px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-radius: var(--r-pill);
    font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
    color: var(--gold-light); margin-bottom: 24px;
}
.hero-title {
    font-size: 36px; font-weight: 900; color: #fff;
    line-height: 1.25; margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero-title span { color: var(--gold-light); }
.hero-sub {
    font-size: 15px; color: rgba(255,255,255,0.7);
    line-height: 1.9; margin-bottom: 32px; max-width: 540px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; background: var(--gold-gradient); color: #fff;
    border-radius: var(--r-pill); font-size: 15px; font-weight: 700;
    box-shadow: var(--gold-glow); transition: all var(--duration) var(--ease);
    border: none; letter-spacing: 0.3px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(184,134,11,0.4); }
.btn-primary i { font-size: 13px; }
.btn-play {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.2); color: #fff;
    border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    transition: all var(--duration) var(--ease);
}
.btn-play:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35); transform: translateY(-2px); }
.btn-play i { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: rgba(255,255,255,0.1); border-radius: 50%; font-size: 11px; }

/* Hero Stats Bar */
.hero-stats {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    display: flex; justify-content: center;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat {
    flex: 1; max-width: 200px;
    text-align: center; padding: 20px 12px;
    position: relative;
}
.hero-stat:not(:last-child)::after {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 1px; height: 36%; background: rgba(255,255,255,0.15);
}
[dir="rtl"] .hero-stat:not(:last-child)::after { left: auto; right: 0; }
.hero-stat-num { font-size: 28px; font-weight: 900; display: block; line-height: 1; color: var(--gold-light); }
.hero-stat-label { font-size: 10px; color: var(--text-on-dark-muted); margin-top: 6px; display: block; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }

/* Hero Scroll Arrow */
.hero-scroll-down {
    position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%); z-index: 4;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5); font-size: 14px;
    animation: scrollBounce 2.5s ease-in-out infinite;
    transition: all var(--duration) var(--ease);
}
.hero-scroll-down:hover { background: rgba(255,255,255,0.12); color: var(--gold-light); }
@keyframes scrollBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* Hero Animations */
.slide-from-bottom { opacity: 0; transform: translateY(40px); animation: heroSlideUp 0.9s var(--ease) forwards; }
.delay-1 { animation-delay: 0.15s !important; }
.delay-2 { animation-delay: 0.3s !important; }
.delay-3 { animation-delay: 0.45s !important; }
.delay-4 { animation-delay: 0.6s !important; }
@keyframes heroSlideUp { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:translateY(0)} }

/* ===== VIDEO MODAL ===== */
.video-modal { position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s var(--ease); }
.video-modal.active { display: flex; opacity: 1; }
.video-modal-overlay { position: absolute; inset: 0; background: rgba(26,26,46,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.video-modal-body { position: relative; width: 92vw; max-width: 900px; z-index: 1; animation: modalScale 0.5s var(--ease-spring); }
@keyframes modalScale { from{transform:scale(0.9) translateY(16px);opacity:0} to{transform:scale(1) translateY(0);opacity:1} }
.video-modal-body video { width: 100%; border-radius: var(--r-lg); background: #000; display: block; max-height: 80vh; box-shadow: var(--shadow-xl); }
.video-modal-close { position: absolute; top: -50px; right: 0; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all var(--duration) var(--ease); }
.video-modal-close:hover { background: var(--gold); border-color: var(--gold); }

/* ===== SECTION COMMON ===== */
.section-pad { padding: 80px 0; }
.section-pad-lg { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.section-tag span {
    font-size: 11px; letter-spacing: 3.5px; text-transform: uppercase; font-weight: 700;
    color: var(--gold); background: rgba(184,134,11,0.07);
    padding: 8px 22px; border-radius: var(--r-pill);
    border: 1px solid rgba(184,134,11,0.12);
}
.section-title {
    font-size: 30px; font-weight: 900; color: var(--charcoal);
    line-height: 1.3; margin-bottom: 14px;
}
.section-title span { color: var(--gold); }
.section-desc {
    font-size: 15px; color: var(--text-light); max-width: 520px;
    margin: 0 auto; line-height: 1.85;
}

/* Dark section header overrides */
.dark-section .section-tag span { color: var(--gold-light); background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); }
.dark-section .section-title { color: #fff; }
.dark-section .section-title span { color: var(--gold-light); }
.dark-section .section-desc { color: var(--text-on-dark-muted); }

/* ===== ABOUT ===== */
.about-section { background: var(--bg); }
.about-grid {
    display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
.about-images { position: relative; padding: 20px; }
.about-images::before {
    content: ''; position: absolute;
    top: 0; right: 0; width: 70%; height: 70%;
    background: var(--gold-gradient); opacity: 0.08;
    border-radius: var(--r-blob);
    filter: blur(40px);
}
.about-img-main {
    width: 100%; height: 320px; object-fit: cover;
    border-radius: 30% 70% 70% 30% / 60% 40% 60% 40%;
    box-shadow: var(--shadow-lg);
    position: relative; z-index: 1;
}
.about-img-float {
    position: absolute; bottom: -10px; left: -10px;
    width: 130px; height: 130px; object-fit: cover;
    border-radius: 50%; border: 5px solid var(--surface);
    box-shadow: var(--shadow-md); z-index: 2;
}
[dir="rtl"] .about-img-float { left: auto; right: -10px; }
.about-badge {
    position: absolute; top: -10px; right: 10px;
    background: var(--gold-gradient); color: #fff;
    width: 90px; height: 90px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: var(--gold-glow); border: 4px solid var(--surface); z-index: 3;
}
[dir="rtl"] .about-badge { right: auto; left: 10px; }
.about-badge-num { font-size: 26px; font-weight: 900; line-height: 1; }
.about-badge-text { font-size: 9px; font-weight: 600; letter-spacing: 0.5px; margin-top: 2px; }
.about-text h3 { font-size: 26px; font-weight: 900; color: var(--charcoal); line-height: 1.4; margin-bottom: 18px; }
.about-text h3 span { color: var(--gold); }
.about-text > p { font-size: 14px; color: var(--text-light); line-height: 1.9; margin-bottom: 14px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.about-feature {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; background: var(--surface);
    border: 1px solid rgba(0,0,0,0.05); border-radius: var(--r-md);
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
}
.about-feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(184,134,11,0.15); }
.about-feature i { color: var(--gold); font-size: 16px; width: 18px; text-align: center; }
.about-feature span { font-size: 12px; font-weight: 700; color: var(--charcoal); }

/* ===== COUNTERS ===== */
.counter-section {
    padding: 70px 0; position: relative;
    background: var(--charcoal);
    overflow: hidden;
}
.counter-section::before {
    content: ''; position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184,134,11,0.1) 0%, transparent 70%);
    top: -200px; left: -150px; filter: blur(60px);
}
.counter-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
    max-width: 900px; margin: 0 auto; padding: 0 20px;
    position: relative; z-index: 1;
}
.counter-item {
    text-align: center; padding: 28px 16px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-lg);
    transition: all var(--duration) var(--ease);
}
.counter-item:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); border-color: rgba(184,134,11,0.25); }
.counter-num { font-size: 36px; font-weight: 900; color: var(--gold-light); display: block; line-height: 1; margin-bottom: 6px; }
.counter-label { font-size: 11px; color: var(--text-on-dark-muted); text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }

/* ===== PROJECTS ===== */
.projects-section { background: var(--bg); }
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.project-card {
    background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.5s var(--ease); position: relative;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.project-card-img { position: relative; display: block; overflow: hidden; height: 220px; }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.project-card:hover .project-card-img img { transform: scale(1.06); }
.project-card-badge {
    position: absolute; top: 14px; right: 14px;
    padding: 6px 14px; border-radius: var(--r-pill);
    font-size: 11px; font-weight: 700;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2); z-index: 2;
}
[dir="rtl"] .project-card-badge { right: auto; left: 14px; }
.project-card-badge.available { background: rgba(34,197,94,0.85); color: #fff; }
.project-card-badge.soon { background: rgba(184,134,11,0.85); color: #fff; }
.project-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,0.85) 0%, transparent 55%);
    display: flex; align-items: flex-end; padding: 20px;
    opacity: 0; transition: opacity var(--duration) var(--ease);
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-overlay-name { color: #fff; font-size: 18px; font-weight: 800; }
.project-card-overlay-loc { color: var(--gold-light); font-size: 12px; margin-top: 4px; }
.project-card-overlay-loc i { margin-inline-end: 4px; }
.project-card-body { padding: 20px; }
.project-card-specs {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px;
}
.project-card-spec {
    text-align: center; padding: 10px 4px;
    background: var(--cream); border-radius: var(--r-sm);
    transition: all var(--duration) var(--ease);
}
.project-card-spec i { color: var(--gold); font-size: 14px; display: block; margin-bottom: 3px; }
.project-card-spec strong { display: block; font-size: 15px; font-weight: 800; color: var(--charcoal); }
.project-card-spec small { display: block; font-size: 9px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.project-card-actions { display: flex; gap: 8px; }
.project-card-btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px; border-radius: var(--r-md);
    font-size: 13px; font-weight: 700;
    transition: all var(--duration) var(--ease);
}
.project-card-btn-details { background: var(--charcoal); color: #fff; }
.project-card-btn-details:hover { background: var(--gold); transform: translateY(-2px); box-shadow: var(--gold-glow); }
.project-card-btn-wa { width: 48px; flex: none; background: #25d366; color: #fff; font-size: 20px; border-radius: var(--r-md); }
.project-card-btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }

/* ===== FEATURES ===== */
.features-section {
    background: var(--charcoal); padding: 80px 0; position: relative; overflow: hidden;
}
.features-section::before {
    content: ''; position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184,134,11,0.08) 0%, transparent 70%);
    top: -100px; right: -100px; filter: blur(80px);
}
.features-grid {
    display: grid; grid-template-columns: 1fr; gap: 12px;
    position: relative; z-index: 1;
}
.feature-card {
    padding: 22px; background: rgba(255,255,255,0.04);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-md);
    display: flex; align-items: flex-start; gap: 14px;
    transition: all 0.4s var(--ease);
}
.feature-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(184,134,11,0.25); transform: translateY(-3px); }
.feature-icon {
    width: 44px; height: 44px; min-width: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gold-gradient); color: #fff;
    border-radius: var(--r-sm); font-size: 17px;
    box-shadow: var(--gold-glow);
}
.feature-card-text h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.feature-card-text p { color: var(--text-on-dark-muted); font-size: 12px; line-height: 1.7; }

/* ===== SMART DEVICES ===== */
.smart-section { background: var(--bg); }
.devices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.device-card {
    padding: 22px; background: var(--surface);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: var(--r-lg); text-align: center;
    transition: all 0.4s var(--ease);
    box-shadow: var(--shadow-sm);
}
.device-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(184,134,11,0.15); }
.device-card-icon {
    width: 50px; height: 50px; margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(184,134,11,0.06); border-radius: var(--r-md);
    color: var(--gold); font-size: 20px;
    transition: all var(--duration) var(--ease);
}
.device-card:hover .device-card-icon { background: var(--gold-gradient); color: #fff; transform: scale(1.08); }
.device-card h4 { font-size: 13px; font-weight: 700; color: var(--charcoal); margin-bottom: 4px; }
.device-card p { font-size: 11px; color: var(--text-light); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: var(--surface-warm); padding: 80px 0;
}
.testimonials-slider { max-width: 680px; margin: 0 auto; text-align: center; position: relative; min-height: 200px; padding: 0 20px; }
.testimonial-item { display: none; animation: testiFade 0.5s var(--ease); }
.testimonial-item.active { display: block; }
@keyframes testiFade { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.testimonial-quote {
    font-size: 18px; font-weight: 500; color: var(--charcoal);
    line-height: 1.9; margin-bottom: 14px;
    position: relative; padding: 0 16px;
}
.testimonial-quote::before {
    content: '\201C'; position: absolute; top: -24px; right: -8px;
    font-size: 72px; color: rgba(184,134,11,0.12); font-family: Georgia, serif; line-height: 1;
}
[dir="ltr"] .testimonial-quote::before { right: auto; left: -8px; }
.testimonial-author { font-size: 15px; font-weight: 700; color: var(--charcoal); margin-top: 16px; }
.testimonial-role { font-size: 12px; color: var(--text-light); }
.testimonial-dots { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.testimonial-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(0,0,0,0.12); border: none;
    transition: all var(--duration) var(--ease); cursor: pointer;
}
.testimonial-dot.active { background: var(--gold); width: 28px; border-radius: var(--r-pill); }

/* ===== NEWS ===== */
.news-section { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.news-card {
    background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04); box-shadow: var(--shadow-sm);
    transition: all 0.5s var(--ease); display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { height: 190px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-date { font-size: 11px; color: var(--gold); font-weight: 700; margin-bottom: 8px; letter-spacing: 0.5px; }
.news-card-title { font-size: 16px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; line-height: 1.5; }
.news-card-text { font-size: 13px; color: var(--text-light); line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.news-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--gold); font-size: 13px; font-weight: 700;
    margin-top: 14px; transition: gap var(--duration) var(--ease);
}
.news-card:hover .news-card-link { gap: 10px; }

/* View More */
.section-more { text-align: center; margin-top: 36px; }
.btn-more {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; background: transparent;
    border: 2px solid var(--charcoal); color: var(--charcoal);
    border-radius: var(--r-pill); font-size: 14px; font-weight: 700;
    transition: all var(--duration) var(--ease);
}
.btn-more:hover { background: var(--charcoal); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== MAP SECTION ===== */
.map-section { background: var(--bg); padding: 80px 0; }
.map-wrapper { position: relative; }
.map-container { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,0.05); }
.map-container #projectMap { border-radius: var(--r-lg); }
.project-popup { text-align: center; font-family: var(--font); }
.project-popup h4 { font-size: 14px; font-weight: 800; color: var(--charcoal); margin-bottom: 4px; }
.project-popup p { font-size: 12px; color: var(--text-light); margin: 0 0 6px; }
.project-map-popup .leaflet-popup-content-wrapper { border-radius: var(--r-sm); box-shadow: var(--shadow-md); }
.map-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.map-legend-card {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; background: var(--surface);
    border: 1px solid rgba(0,0,0,0.05); border-radius: var(--r-md);
    cursor: pointer; transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
}
.map-legend-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(184,134,11,0.15); }
.map-legend-pin {
    width: 34px; height: 34px; min-width: 34px; border-radius: 50%;
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
}
.map-legend-info h5 { font-size: 13px; font-weight: 700; color: var(--charcoal); }
.map-legend-info small { font-size: 10px; color: var(--text-light); }
.map-legend-info small i { margin-inline-end: 4px; color: var(--gold); }

/* ===== CONTACT ===== */
.contact-section {
    background: var(--surface-warm); padding: 80px 0;
    position: relative; overflow: hidden;
}
.contact-section::before {
    content: ''; position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184,134,11,0.06) 0%, transparent 70%);
    bottom: -200px; right: -100px; filter: blur(60px);
}
.contact-grid {
    display: grid; grid-template-columns: 1fr; gap: 36px;
    position: relative; z-index: 1;
}
.contact-info h3 { font-size: 22px; font-weight: 800; color: var(--charcoal); margin-bottom: 8px; }
.contact-info > p { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-detail-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: var(--r-sm);
    background: rgba(184,134,11,0.07); display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 17px;
}
.contact-detail-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.contact-detail-value { font-size: 14px; color: var(--charcoal); font-weight: 600; }
.contact-detail-value a { color: var(--charcoal); }
.contact-detail-value a:hover { color: var(--gold); }
.contact-form {
    background: var(--surface); border-radius: var(--r-lg);
    padding: 28px; box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 13px 16px;
    background: var(--cream); border: 1.5px solid rgba(0,0,0,0.06);
    border-radius: var(--r-sm); font-size: 14px; font-family: inherit;
    color: var(--text); transition: all var(--duration) var(--ease); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,134,11,0.08); background: var(--surface);
}
.form-submit {
    width: 100%; padding: 15px; background: var(--gold-gradient);
    color: #fff; border: none; border-radius: var(--r-md);
    font-size: 15px; font-weight: 700; cursor: pointer;
    transition: all var(--duration) var(--ease); box-shadow: var(--gold-glow);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(184,134,11,0.35); }

/* ===== FOOTER ===== */
.footer {
    background: var(--charcoal); color: #fff;
    position: relative; overflow: hidden;
}
.footer::before {
    content: ''; position: absolute;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(184,134,11,0.05) 0%, transparent 70%);
    top: -150px; right: -80px; filter: blur(60px);
}
.footer-main { padding: 50px 20px 36px; max-width: 1240px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 14px; }
.footer-desc { font-size: 13px; color: var(--text-on-dark-muted); line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: var(--r-sm);
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); font-size: 16px;
    transition: all var(--duration) var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.footer-col h4 {
    font-size: 14px; font-weight: 700; margin-bottom: 14px; color: #fff;
    position: relative; padding-bottom: 10px;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 32px; height: 2px; background: var(--gold-gradient); border-radius: var(--r-pill);
}
[dir="ltr"] .footer-col h4::after { right: auto; left: 0; }
.footer-col a {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 0; font-size: 13px; color: var(--text-on-dark-muted);
    transition: all var(--duration) var(--ease);
}
.footer-col a:hover { color: var(--gold-light); transform: translateX(-3px); }
[dir="ltr"] .footer-col a:hover { transform: translateX(3px); }
.footer-col a i { font-size: 10px; color: var(--gold); width: 14px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 18px 20px; text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--text-on-dark-muted); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed; bottom: 20px; left: 20px;
    width: 54px; height: 54px; background: #25d366; color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 26px; z-index: 900;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all var(--duration) var(--ease);
    animation: waPulse 3s ease-in-out infinite;
}
[dir="rtl"] .whatsapp-float { left: auto; right: 20px; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
@keyframes waPulse { 0%,100%{box-shadow: 0 4px 20px rgba(37,211,102,0.4)} 50%{box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 10px rgba(37,211,102,0.08)} }

/* ===== SCROLL REVEAL ===== */
.reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-clip, .reveal-wipe, .reveal-rise, .reveal-parallax {
    opacity: 0; transform: translateY(30px);
    transition: all 0.7s var(--ease);
}
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-scale { transform: scale(0.93); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible,
.reveal-clip.visible, .reveal-wipe.visible, .reveal-rise.visible, .reveal-parallax.visible {
    opacity: 1; transform: translateY(0) translateX(0) scale(1);
}
.reveal-delay-0 { transition-delay: 0s; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ===== SECTION SEPARATORS (legacy compat) ===== */
.section-sep { display: none; }

/* ===== PROJECT PAGE ===== */
.project-page-hero { position: relative; height: 50vh; min-height: 320px; overflow: hidden; }
.project-page-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-page-hero-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 36px 20px 28px;
    background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 100%);
}
.project-page-hero-overlay h1 { color: #fff; font-size: 28px; font-weight: 900; }
.project-page-hero-overlay p { color: var(--gold-light); font-size: 13px; margin-top: 6px; }
.project-page-back {
    position: absolute; top: 76px; right: 16px;
    padding: 10px 18px; background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--r-pill); color: #fff;
    font-size: 12px; font-weight: 600;
    transition: all var(--duration) var(--ease); z-index: 5;
}
[dir="rtl"] .project-page-back { right: auto; left: 16px; }
.project-page-back:hover { background: var(--gold); border-color: var(--gold); }
.project-page-content { max-width: 960px; margin: 0 auto; padding: 36px 20px 60px; }
.project-page-desc { font-size: 15px; color: var(--text-light); line-height: 2; margin-bottom: 28px; }
.project-page-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 40px; }
.project-page-spec {
    text-align: center; padding: 20px 10px;
    background: var(--surface); border: 1px solid rgba(0,0,0,0.04);
    border-radius: var(--r-lg); transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
}
.project-page-spec:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(184,134,11,0.15); }
.project-page-spec i { color: var(--gold); font-size: 20px; margin-bottom: 6px; display: block; }
.project-page-spec-val { display: block; font-size: 20px; font-weight: 900; color: var(--charcoal); margin-bottom: 3px; }
.project-page-spec-label { font-size: 10px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }
.project-page-smart { margin-bottom: 40px; }
.project-page-smart h2 { font-size: 20px; font-weight: 800; color: var(--charcoal); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.project-page-smart h2 i { color: var(--gold); }
.project-page-smart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.project-page-smart-item {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; background: var(--surface);
    border: 1px solid rgba(0,0,0,0.04); border-radius: var(--r-md);
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
}
.project-page-smart-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(184,134,11,0.15); }
.project-page-smart-item i { color: var(--gold); font-size: 18px; width: 22px; text-align: center; }
.project-page-smart-item span { font-size: 12px; font-weight: 600; color: var(--charcoal); }
.project-page-gallery { margin-bottom: 40px; }
.project-page-gallery h2 { font-size: 20px; font-weight: 800; color: var(--charcoal); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.project-page-gallery h2 i { color: var(--gold); }
.project-page-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.project-page-gallery-grid img {
    width: 100%; height: 160px; object-fit: cover;
    border-radius: var(--r-md); cursor: pointer;
    transition: all 0.4s var(--ease); border: 2px solid transparent;
}
.project-page-gallery-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); border-color: rgba(184,134,11,0.15); }
.project-page-wa {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; padding: 16px; background: #25d366; color: #fff;
    border: none; border-radius: var(--r-lg);
    font-size: 16px; font-weight: 700; font-family: inherit;
    cursor: pointer; box-shadow: 0 8px 32px rgba(37,211,102,0.3);
    transition: all var(--duration) var(--ease);
}
.project-page-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(37,211,102,0.4); }
.project-page-wa i { font-size: 22px; }

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 3000;
    background: rgba(26,26,46,0.95); backdrop-filter: blur(20px);
    display: none; align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 92vw; max-height: 85vh; object-fit: contain; border-radius: var(--r-sm); box-shadow: var(--shadow-xl); }
.lightbox-close {
    position: absolute; top: 16px; right: 16px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 18px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all var(--duration) var(--ease); z-index: 10;
}
.lightbox-close:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 16px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all var(--duration) var(--ease);
}
.lightbox-nav:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 600; }

/* ===== RESPONSIVE - TABLET ===== */
@media (min-width: 768px) {
    .container { padding: 0 32px; }
    .navbar { padding: 18px 32px; }
    .navbar.scrolled { padding: 12px 32px; }
    .nav-links { display: flex; }
    .hamburger { display: none; }
    
    .hero-title { font-size: 50px; }
    .hero-sub { font-size: 17px; }
    .hero-content { padding: 180px 40px 200px; max-width: 800px; }
    .hero-stats { bottom: 0; }
    .hero-stat { padding: 28px 16px; }
    .hero-stat-num { font-size: 32px; }
    .hero-scroll-down { display: flex; bottom: 100px; }
    
    .section-pad { padding: 100px 0; }
    .section-pad-lg { padding: 120px 0; }
    .section-title { font-size: 38px; }
    .section-header { margin-bottom: 56px; }
    
    .about-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    .about-img-main { height: 420px; }
    .about-text h3 { font-size: 30px; }
    .about-text > p { font-size: 15px; }
    
    .counter-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0 32px; }
    .counter-section { padding: 80px 0; }
    
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card-img { height: 240px; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .features-section { padding: 100px 0; }
    
    .devices-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    
    .news-grid { grid-template-columns: repeat(3, 1fr); }
    
    .map-legend { grid-template-columns: repeat(4, 1fr); }
    
    .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .contact-form { padding: 36px; }
    
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
    .footer-main { padding: 56px 32px 40px; }
    
    .project-page-specs { grid-template-columns: repeat(6, 1fr); }
    .project-page-smart-grid { grid-template-columns: repeat(4, 1fr); }
    .project-page-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .project-page-gallery-grid img { height: 200px; }
    .project-page-hero-overlay h1 { font-size: 36px; }
    .project-page-content { padding: 48px 32px 80px; }
}

/* ===== RESPONSIVE - DESKTOP ===== */
@media (min-width: 1024px) {
    .container { padding: 0 40px; }
    .navbar { padding: 20px 48px; }
    .navbar.scrolled { padding: 14px 48px; }
    
    .hero-title { font-size: 60px; }
    .hero-content { padding: 200px 60px 240px; max-width: 880px; }
    
    .section-pad { padding: 120px 0; }
    .section-pad-lg { padding: 140px 0; }
    .section-title { font-size: 44px; }
    
    .about-grid { gap: 70px; }
    .about-img-main { height: 480px; }
    .about-text h3 { font-size: 34px; }
    
    .features-grid { grid-template-columns: repeat(4, 1fr); }
    
    .project-page-hero-overlay h1 { font-size: 42px; }
    .project-page-gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== RESPONSIVE - LARGE DESKTOP ===== */
@media (min-width: 1280px) {
    .hero-title { font-size: 68px; }
    .hero-content { max-width: 960px; }
    .section-title { font-size: 48px; }
}

/* ===== MOBILE SMALL ===== */
@media (max-width: 374px) {
    .hero-title { font-size: 28px; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-play { justify-content: center; }
    .about-features { grid-template-columns: 1fr; }
    .devices-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-about { grid-column: span 1; }
    .project-card-specs { grid-template-columns: repeat(2, 1fr); }
}

/* ===== MOBILE SPECIFIC ===== */
@media (max-width: 767px) {
    .hero-scroll-down { display: none; }
    .hero-stat-num { font-size: 24px; }
    .hero-stat-label { font-size: 9px; letter-spacing: 1.5px; }
    .hero-stat { padding: 16px 8px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-about { grid-column: span 2; }
    .project-page-hero { height: 40vh; min-height: 260px; }
    .project-page-specs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .project-page-spec { padding: 16px 6px; }
    .project-page-smart-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .project-page-gallery-grid img { height: 130px; }
}

/* ===== PRINT ===== */
@media print {
    .navbar, .mobile-menu, .mobile-menu-overlay, .whatsapp-float, .preloader, .hero-scroll-down, .video-modal, .wave-divider { display: none !important; }
    body { background: #fff; }
    .hero { min-height: auto; }
}

/* ============================================================
   LAND & ROOF — ADDITIONS (filters, careers, modal, toast,
   property carousel, map selector) — using new design tokens
   ============================================================ */

/* ===== PROPERTY FILTERS ===== */
.prop-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
    padding: 10px 22px; border-radius: var(--r-pill);
    background: var(--surface); border: 1.5px solid rgba(0,0,0,0.07);
    font-size: 13px; font-weight: 700; color: var(--text-light); font-family: inherit;
    transition: all var(--duration) var(--ease); box-shadow: var(--shadow-sm);
}
.filter-btn:hover { border-color: rgba(184,134,11,0.3); color: var(--gold); transform: translateY(-2px); }
.filter-btn.active { background: var(--gold-gradient); color: #fff; border-color: transparent; box-shadow: var(--gold-glow); }

/* ===== LOAD MORE ===== */
.load-more {
    display: block; margin: 36px auto 0; padding: 14px 40px;
    background: transparent; border: 2px solid var(--charcoal); color: var(--charcoal);
    border-radius: var(--r-pill); font-size: 14px; font-weight: 700; font-family: inherit;
    transition: all var(--duration) var(--ease);
}
.load-more:hover { background: var(--charcoal); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ===== PROJECT CARD: type label + 3-spec layout ===== */
.project-card-type { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.project-card-name { font-size: 17px; font-weight: 800; color: var(--charcoal); line-height: 1.4; margin-bottom: 6px; }
.project-card-loc { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.project-card-loc i { color: var(--gold); }
.project-card-specs.specs-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== PROPERTY IMAGE CAROUSEL (inside card) ===== */
.pc-track { display: flex; height: 100%; transition: transform 0.5s var(--ease); }
.pc-track img { min-width: 100%; width: 100%; height: 100%; object-fit: cover; }
.pc-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.85); color: var(--charcoal);
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    z-index: 3; opacity: 0; transition: opacity var(--duration) var(--ease); border: none; cursor: pointer;
}
.project-card-img:hover .pc-arrow { opacity: 1; }
.pc-prev { right: 10px; } .pc-next { left: 10px; }
.pc-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.pc-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; padding: 0; }
.pc-dot.active { background: #fff; width: 18px; border-radius: var(--r-pill); }
.pc-count { position: absolute; bottom: 12px; right: 12px; z-index: 3; background: rgba(26,26,46,0.6); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: var(--r-pill); display: flex; align-items: center; gap: 5px; }
[dir="rtl"] .pc-count { right: auto; left: 12px; }

/* ===== MAP PROJECT SELECTOR ===== */
.map-proj-btn {
    padding: 11px 16px; background: var(--surface); border: 1.5px solid rgba(0,0,0,0.06);
    border-radius: var(--r-md); font-size: 13px; font-weight: 600; color: var(--charcoal);
    font-family: inherit; text-align: start; transition: all var(--duration) var(--ease); box-shadow: var(--shadow-sm);
}
.map-proj-btn:hover { border-color: rgba(184,134,11,0.3); transform: translateY(-2px); box-shadow: var(--shadow); }
.map-proj-btn.active { border-color: var(--gold); background: rgba(184,134,11,0.05); }

/* ===== CAREERS ===== */
.careers-section { background: var(--surface-warm); position: relative; overflow: hidden; }
.careers-wrap { display: grid; grid-template-columns: 1fr; gap: 30px; position: relative; z-index: 1; }
.careers-card {
    background: var(--surface); border-radius: var(--r-lg); padding: 30px;
    box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.04);
}
.careers-card-icon {
    width: 56px; height: 56px; border-radius: var(--r-md); background: var(--gold-gradient);
    color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px;
    box-shadow: var(--gold-glow); margin-bottom: 18px;
}
.careers-card h3 { font-size: 20px; font-weight: 800; color: var(--charcoal); margin-bottom: 10px; }
.careers-card > p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 18px; }
.careers-benefits { display: grid; gap: 10px; }
.careers-benefits li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--charcoal); }
.careers-benefits li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold); font-size: 12px; }

@media (min-width: 768px) {
    .careers-wrap { grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
}

/* ===== PROPERTY MODAL ===== */
.modal-overlay {
    position: fixed; inset: 0; z-index: 3000; display: none;
    align-items: center; justify-content: center; padding: 20px;
    background: rgba(26,26,46,0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal-overlay.open { display: flex; }
.modal-box {
    position: relative; width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto;
    background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-xl);
    animation: modalScale 0.45s var(--ease-spring);
}
.modal-x {
    position: absolute; top: 14px; right: 14px; z-index: 10;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.9); color: var(--charcoal);
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    box-shadow: var(--shadow-sm); transition: all var(--duration) var(--ease);
}
[dir="rtl"] .modal-x { right: auto; left: 14px; }
.modal-x:hover { background: var(--gold); color: #fff; }
.modal-gallery { position: relative; height: 300px; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; background: #000; }
.modal-gallery-track { display: flex; height: 100%; transition: transform 0.5s var(--ease); }
.modal-gallery-track img { min-width: 100%; width: 100%; height: 100%; object-fit: cover; }
.modal-gallery-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.85); color: var(--charcoal);
    display: flex; align-items: center; justify-content: center; font-size: 18px; z-index: 4; border: none; cursor: pointer;
}
.modal-gallery-prev { right: 12px; } .modal-gallery-next { left: 12px; }
.modal-gallery-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 4; }
.modal-gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; padding: 0; }
.modal-gallery-dot.active { background: #fff; width: 20px; border-radius: var(--r-pill); }
.modal-gallery-counter { position: absolute; bottom: 14px; right: 14px; z-index: 4; background: rgba(26,26,46,0.6); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: var(--r-pill); }
.modal-thumbs { display: flex; gap: 8px; padding: 14px 26px 0; overflow-x: auto; }
.modal-thumb { width: 64px; height: 48px; min-width: 64px; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: 0.6; transition: all var(--duration) var(--ease); }
.modal-thumb.active { border-color: var(--gold); opacity: 1; }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-body-pad { padding: 24px 26px 28px; }
.modal-title { font-size: 21px; font-weight: 800; color: var(--charcoal); margin-bottom: 6px; }
.modal-loc { font-size: 13px; color: var(--text-light); display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.modal-loc i { color: var(--gold); }
.modal-specs { display: flex; flex-wrap: wrap; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(0,0,0,0.07); border-bottom: 1px solid rgba(0,0,0,0.07); margin-bottom: 16px; }
.modal-spec { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-light); font-weight: 600; }
.modal-spec i { color: var(--gold); }
.modal-desc { font-size: 14px; color: var(--text-light); line-height: 1.9; margin-bottom: 20px; white-space: pre-line; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-btn { flex: 1; min-width: 130px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: var(--r-md); font-size: 14px; font-weight: 700; transition: all var(--duration) var(--ease); }
.modal-btn-wa { background: #25d366; color: #fff; }
.modal-btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.modal-btn-call { background: var(--charcoal); color: #fff; }
.modal-btn-call:hover { background: var(--gold); transform: translateY(-2px); }

/* ===== TOAST ===== */
.toast {
    position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120px);
    background: var(--charcoal); color: #fff; padding: 14px 26px; border-radius: var(--r-pill);
    font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); z-index: 4000;
    opacity: 0; transition: all 0.4s var(--ease-spring); max-width: 90vw; text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ===== NAV logo text (L&R brand) ===== */
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-ar { font-size: 16px; font-weight: 900; color: #fff; transition: color var(--duration) var(--ease); }
.nav-logo-en { font-size: 9px; font-weight: 600; letter-spacing: 2px; color: var(--gold-light); }
.navbar.scrolled .nav-logo-ar { color: var(--charcoal); }
@media (max-width: 480px) { .nav-logo-text { display: none; } }

/* About list (features as checklist) */
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 18px 0 22px; }
.about-list li { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--charcoal); }
.about-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold); font-size: 14px; }

/* L&R hero title: first part white, accent gold */
.hero-title .hero-title-main { color: #fff; }
.hero-title .hero-title-accent { color: var(--gold-light); }

/* ============================================================
   ICON SYSTEM (inline SVG) + sizing fixes
   ============================================================ */
.ic { display: inline-flex; align-items: center; justify-content: center; line-height: 0; }
.ic svg, .feature-icon svg, .device-card-icon svg, .contact-detail-icon svg,
.project-card-spec svg, .project-card-btn svg, .modal-btn svg, .modal-spec svg,
.news-card-link svg, .footer-social svg, .footer-col a svg, .whatsapp-float svg,
.btn-primary svg, .btn-play svg, .btn-more svg, .hero-scroll-down svg,
.project-card-overlay-loc svg, .project-card-loc svg, .modal-loc svg,
.careers-card-icon svg, .map-legend-pin svg, .modal-x svg, .pc-arrow svg, .pc-count svg { width: 1em; height: 1em; }
/* WhatsApp brand keeps its own viewBox aspect */
.whatsapp-float .ic svg { width: 26px; height: 26px; }

/* checklist marks without an icon font */
.about-list li::before, .careers-benefits li::before {
  content: '✓'; font-family: inherit; font-weight: 900; color: var(--gold); font-size: 13px;
  width: 18px; height: 18px; min-width: 18px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(184,134,11,0.1); border-radius: 50%;
}
.footer-col h4::after { /* keep */ }

/* Project card: larger, more legible specs & details */
.project-card-spec strong { font-size: 18px; }
.project-card-spec small { font-size: 11px; }
.project-card-spec svg { font-size: 17px; margin-bottom: 4px; color: var(--gold); }
.project-card-type { font-size: 12px; }
.project-card-name { font-size: 18px; }
.project-card-loc { font-size: 13px; }
.project-card-loc svg, .project-card-overlay-loc svg { color: var(--gold); }
.project-card-spec { padding: 12px 4px; }

/* feature / device / contact icon colors */
.feature-icon svg { color: #fff; }
.device-card-icon svg { color: var(--gold); }
.device-card:hover .device-card-icon svg { color: #fff; }
.contact-detail-icon svg { color: var(--gold); }
.news-card-link svg { width: 0.9em; height: 0.9em; }

/* Light-nav (property & news pages) — back button visible on white */
.pp-nav .project-page-back { background: var(--cream); border-color: rgba(0,0,0,0.08); color: var(--charcoal); }
.pp-nav .project-page-back:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ===== No splash/preloader — smooth direct load ===== */
.preloader { display: none !important; }
@keyframes lrPageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: lrPageIn 0.45s ease both; }
