/* ============================================
   HALLMARK GROUP - Black Luxury 2026
   Modern Real Estate Platform
   ============================================ */

:root {
    --black: #000000;
    --black-soft: #0a0a0a;
    --black-card: #111111;
    --black-elevated: #161616;
    --gray-900: #1a1a1a;
    --gray-800: #222222;
    --gray-700: #2d2d2d;
    --gray-600: #444444;
    --gray-500: #666666;
    --gray-400: #888888;
    --gray-300: #aaaaaa;
    --gray-200: #cccccc;
    --gray-100: #e5e5e5;
    --white: #ffffff;
    --white-soft: #fafafa;
    
    --gold: #c9a961;
    --gold-bright: #e0c084;
    --gold-dim: #8a7440;
    --accent: #c9a961;
    
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-soft: rgba(255, 255, 255, 0.05);
    --border-strong: rgba(255, 255, 255, 0.15);
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(201, 169, 97, 0.15);
    
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --header-height: 80px;
    --header-height-mobile: 70px;
    
    --container: 1320px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-ar: 'Tajawal', 'Cairo', -apple-system, sans-serif;
    --font-display: 'Playfair Display', 'Inter', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-en);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

body[dir="rtl"] {
    font-family: var(--font-ar);
}

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

img {
    max-width: 100%;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

::selection {
    background: var(--gold);
    color: var(--black);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--black);
}
::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-tight {
    padding: 60px 0;
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-tight { padding: 40px 0; }
    .container { padding: 0 20px; }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header.left {
    text-align: start;
}

.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

body[dir="rtl"] .section-title {
    font-family: var(--font-ar);
    font-weight: 700;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-300);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header.left .section-subtitle {
    margin: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}
.btn-primary:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--border-strong);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--black);
}
.btn-light:hover {
    background: var(--gold);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    padding: 12px 20px;
}
.btn-ghost:hover {
    color: var(--gold);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 12px;
}

.btn-lg {
    padding: 20px 40px;
    font-size: 15px;
}

.btn-icon-only {
    padding: 14px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-soft);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    height: 70px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.site-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.site-header.scrolled .site-logo img {
    height: 42px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-200);
    position: relative;
    transition: color var(--transition);
    letter-spacing: 0.3px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 13px;
    color: var(--gray-200);
    transition: all var(--transition);
    background: transparent;
}

.lang-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--white);
}

.menu-toggle svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 1024px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .lang-toggle span { display: none; }
}

@media (max-width: 768px) {
    .site-header { height: var(--header-height-mobile); }
    .header-inner { padding: 0 16px; }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

body[dir="rtl"] .mobile-menu {
    transform: translateX(-100%);
}

.mobile-menu.open,
body[dir="rtl"] .mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    height: var(--header-height-mobile);
}

.mobile-menu-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--white);
}

.mobile-menu-nav {
    flex: 1;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
    border-bottom: 1px solid var(--border-soft);
    font-family: var(--font-display);
}

body[dir="rtl"] .mobile-menu-nav a {
    font-family: var(--font-ar);
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    color: var(--gold);
}

.mobile-menu-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-social {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.mobile-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition);
}

.mobile-social a:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.95) 100%);
    z-index: 2;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 3;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    padding: 80px 0 120px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid var(--border-strong);
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 88px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    max-width: 900px;
}

body[dir="rtl"] .hero-title {
    font-family: var(--font-ar);
    font-weight: 700;
    line-height: 1.15;
}

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

body[dir="rtl"] .hero-title .accent {
    font-style: normal;
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--gray-200);
    max-width: 620px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    position: absolute;
    bottom: 140px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 0 24px;
    max-width: var(--container);
    margin: 0 auto;
}

.hero-stat {
    border-top: 1px solid var(--border-strong);
    padding-top: 20px;
    flex: 1;
    max-width: 240px;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

body[dir="rtl"] .hero-stat-value {
    font-family: var(--font-ar);
    font-weight: 700;
}

.hero-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .hero-stats {
        position: relative;
        bottom: auto;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 40px;
    }
    .hero-stat {
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }
    .hero-stat-value { font-size: 28px; }
    .hero-content { padding: 60px 0 60px; }
}

/* ============================================
   SECTION: SEARCH BAR
   ============================================ */
.search-section {
    margin-top: -60px;
    position: relative;
    z-index: 50;
}

.search-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 0;
    background: var(--black-card);
    padding: 6px;
    border-radius: 50px 50px 0 0;
    width: fit-content;
    border: 1px solid var(--border);
    border-bottom: none;
}

.search-tab {
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    border-radius: 50px;
    transition: all var(--transition);
    cursor: pointer;
    background: transparent;
}

.search-tab.active {
    background: var(--gold);
    color: var(--black);
}

.search-box {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.search-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr auto;
    gap: 16px;
    align-items: end;
}

.search-field label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    margin-bottom: 10px;
    font-weight: 500;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 14px 16px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 14px;
    transition: border-color var(--transition);
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: var(--gold);
}

.search-field select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-inline-end: 40px;
}

body[dir="rtl"] .search-field select {
    background-position: left 16px center;
}

.search-submit {
    padding: 14px 32px;
    background: var(--gold);
    color: var(--black);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    height: 50px;
}

.search-submit:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .search-grid { grid-template-columns: 1fr 1fr; }
    .search-grid .search-submit { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .search-section { margin-top: -30px; }
    .search-tabs { width: 100%; overflow-x: auto; border-radius: var(--radius); }
    .search-tab { white-space: nowrap; padding: 10px 18px; font-size: 11px; }
    .search-box { padding: 20px; border-radius: var(--radius-lg); }
    .search-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.4), transparent);
    z-index: 2;
}

.about-floating {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    padding: 24px;
    border-radius: var(--radius);
    z-index: 3;
}

.about-floating .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
}

.about-floating .value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
}

.about-text .lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-200);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--gray-300);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.1);
    color: var(--gold);
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 20px;
    height: 20px;
}

.about-feature-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.about-feature-content p {
    font-size: 13px;
    color: var(--gray-400);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .about-features { grid-template-columns: 1fr; }
}

/* ============================================
   PROPERTY/PROJECT CARDS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .cards-grid { grid-template-columns: 1fr; gap: 20px; }
}

.property-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.property-card-image {
    position: relative;
    aspect-ratio: 16/11;
    overflow: hidden;
    background: var(--gray-900);
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-card-image img {
    transform: scale(1.08);
}

.property-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 6px;
    z-index: 2;
    flex-wrap: wrap;
    max-width: calc(100% - 32px);
}

body[dir="rtl"] .property-card-badges {
    left: auto;
    right: 16px;
}

.badge {
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.badge-sale { background: rgba(201, 169, 97, 0.95); color: var(--black); }
.badge-rent { background: rgba(59, 130, 246, 0.95); color: var(--white); }
.badge-featured { background: rgba(0,0,0,0.8); color: var(--gold); border: 1px solid var(--gold); }
.badge-new { background: rgba(16, 185, 129, 0.95); color: var(--white); }
.badge-exclusive { background: rgba(255, 255, 255, 0.95); color: var(--black); }
.badge-construction { background: rgba(245, 158, 11, 0.95); color: var(--black); }
.badge-ready { background: rgba(16, 185, 129, 0.95); color: var(--white); }

.property-card-fav {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    z-index: 2;
    transition: all var(--transition);
}

body[dir="rtl"] .property-card-fav {
    right: auto;
    left: 16px;
}

.property-card-fav:hover {
    background: var(--gold);
    color: var(--black);
}

.property-card-fav.active {
    background: #ef4444;
    color: var(--white);
    border-color: #ef4444;
}

.property-card-price {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    color: var(--gold);
    font-size: 16px;
    z-index: 2;
}

body[dir="rtl"] .property-card-price {
    left: auto;
    right: 16px;
}

.property-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-card-location svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.property-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--white);
    transition: color var(--transition);
}

body[dir="rtl"] .property-card-title {
    font-family: var(--font-ar);
    font-weight: 700;
}

.property-card:hover .property-card-title {
    color: var(--gold);
}

.property-card-features {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
    flex-wrap: wrap;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-300);
}

.property-feature svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

/* ============================================
   PROJECT CARDS (different style)
   ============================================ */
.project-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.project-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
}

.project-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.08);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
}

.project-card-content {
    padding: 22px;
    z-index: 3;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-card-status {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 3;
    padding: 5px 12px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.project-card-title {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--text);
}

body[dir="rtl"] .project-card-title {
    font-family: var(--font-ar);
    font-weight: 700;
}

.project-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.project-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-strong);
}

.project-card-price {
    color: var(--gold);
    font-weight: 700;
    font-size: 16px;
}

.project-card-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.project-card:hover .project-card-arrow {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

body[dir="rtl"] .project-card-arrow svg {
    transform: rotate(180deg);
}

/* ============================================
   COMPANIES SECTION
   ============================================ */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.company-card {
    background: var(--black-card);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.company-card:hover {
    background: var(--black-elevated);
}

.company-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.company-card:hover::after {
    transform: scaleX(1);
}

.company-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(201, 169, 97, 0.1);
    color: var(--gold);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.company-card:hover .company-card-icon {
    background: var(--gold);
    color: var(--black);
}

.company-card-icon svg {
    width: 26px;
    height: 26px;
}

.company-card-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 12px;
}

.company-card-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.3;
}

body[dir="rtl"] .company-card-title {
    font-family: var(--font-ar);
    font-weight: 700;
}

.company-card-desc {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

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

.service-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-number {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: 30px;
    right: 30px;
}

body[dir="rtl"] .service-card-number {
    right: auto;
    left: 30px;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(201, 169, 97, 0.1);
    color: var(--gold);
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

body[dir="rtl"] .service-card-title {
    font-family: var(--font-ar);
    font-weight: 700;
}

.service-card-desc {
    color: var(--gray-300);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%);
    z-index: 0;
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 97, 0.08) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
}

body[dir="rtl"] .cta-title {
    font-family: var(--font-ar);
    font-weight: 700;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--gray-300);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.contact-info-item:hover {
    border-color: var(--gold);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(201, 169, 97, 0.1);
    color: var(--gold);
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
}

.contact-info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
    margin-bottom: 6px;
}

.contact-info-value {
    font-size: 16px;
    color: var(--white);
    font-weight: 500;
}

.contact-form {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

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

@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 20px; }
}

.form-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 15px;
    transition: border-color var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    width: 100%;
    padding: 18px;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 12px;
}

.form-submit:hover {
    background: var(--gold-bright);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   FOOTER
   ============================================ */
/* ============================================
   FOOTER - PROFESSIONAL LAYOUT
   ============================================ */
.site-footer {
    background: var(--black-soft);
    border-top: 1px solid var(--border);
    padding: 0;
    margin-top: 80px;
}
.site-footer .container { padding-top: 0; padding-bottom: 0; }

.footer-logo-bar {
    padding: 48px 0 32px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 56px;
}
.footer-brand-link {
    display: inline-block;
    transition: opacity 0.2s;
}
.footer-brand-link:hover { opacity: 0.85; }
.footer-brand-logo {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-col ul a:hover {
    color: var(--gold);
    transform: translateX(4px);
}
[dir="rtl"] .footer-col ul a:hover { transform: translateX(-4px); }

.footer-col p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 14px;
}

.footer-col .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 12px;
}
.footer-col .footer-contact-item svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}
.footer-col .footer-contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col .footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}
.footer-bottom-links {
    display: flex;
    gap: 24px;
    font-size: 13px;
}
.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--gold); }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
    .footer-logo-bar { padding: 36px 0 24px; margin-bottom: 36px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

.footer-brand img {
    height: 60px;
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 360px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--gray-300);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 14px;
    transition: color var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    color: var(--gold);
    opacity: 0;
    transition: opacity var(--transition);
}

body[dir="rtl"] .footer-links a::before {
    content: '←';
}

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

.footer-links a:hover::before {
    opacity: 1;
}

.footer-newsletter input {
    width: 100%;
    padding: 14px 16px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--gold);
}

.footer-newsletter button {
    width: 100%;
    padding: 14px;
    background: var(--gold);
    color: var(--black);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    cursor: pointer;
    border: none;
    transition: background var(--transition);
}

.footer-newsletter button:hover {
    background: var(--gold-bright);
}

.footer-bottom {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 13px;
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
    transition: all var(--transition);
}

body[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: ripple 2.5s ease-out infinite;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    body[dir="rtl"] .whatsapp-float {
        right: auto;
        left: 20px;
    }
}

/* ============================================
   PROPERTY/PROJECT DETAIL PAGE
   ============================================ */
.detail-hero {
    position: relative;
    margin-top: var(--header-height);
    padding: 40px 0;
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.detail-breadcrumb a {
    color: var(--gray-400);
    transition: color var(--transition);
}

.detail-breadcrumb a:hover {
    color: var(--gold);
}

.detail-breadcrumb .sep {
    color: var(--gray-700);
}

.detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 520px;
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.detail-gallery > div {
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--gray-900);
}

.detail-gallery > div:first-child {
    grid-row: span 2;
}

.detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.detail-gallery > div:hover img {
    transform: scale(1.05);
}

.gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    z-index: 2;
}

@media (max-width: 768px) {
    .detail-gallery { 
        grid-template-columns: 1fr;
        grid-template-rows: 280px;
        height: 280px;
    }
    .detail-gallery > div:not(:first-child) { display: none; }
    .detail-gallery > div:first-child { grid-row: span 1; }
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
}

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

.detail-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}

body[dir="rtl"] .detail-title {
    font-family: var(--font-ar);
    font-weight: 700;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-300);
    margin-bottom: 32px;
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

@media (max-width: 640px) {
    .detail-stats { grid-template-columns: repeat(2, 1fr); }
}

.detail-stat {
    text-align: center;
}

.detail-stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: var(--gold);
    background: rgba(201, 169, 97, 0.1);
    border-radius: 10px;
}

.detail-stat-icon svg { width: 20px; height: 20px; }

.detail-stat-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 4px;
}

.detail-stat-label {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.detail-section {
    margin-bottom: 40px;
}

.detail-section-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

body[dir="rtl"] .detail-section-title {
    font-family: var(--font-ar);
    font-weight: 700;
}

.detail-description {
    color: var(--gray-300);
    line-height: 1.8;
    font-size: 16px;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .amenities-list { grid-template-columns: repeat(2, 1fr); }
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-200);
}

.amenity-item svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
}

/* Sidebar */
.detail-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.detail-price-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
}

.detail-price-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.detail-price-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 4px;
    line-height: 1.1;
}

.detail-price-period {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.detail-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-actions .btn {
    width: 100%;
}

.detail-agent-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.detail-agent {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.detail-agent-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gray-800);
    overflow: hidden;
    flex-shrink: 0;
}

.detail-agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-agent-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-agent-role {
    font-size: 12px;
    color: var(--gray-400);
}

/* ============================================
   LISTING/ARCHIVE PAGE
   ============================================ */
.listing-header {
    padding: calc(var(--header-height) + 60px) 0 40px;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%);
    position: relative;
}

.listing-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.listing-count {
    font-size: 14px;
    color: var(--gray-400);
}

.listing-count strong {
    color: var(--white);
    font-weight: 700;
}

.listing-sort select {
    padding: 10px 16px;
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 13px;
    cursor: pointer;
}

.listing-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--black-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.listing-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.listing-empty h3 {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 8px;
}

.listing-empty p {
    color: var(--gray-400);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 60px;
}

.pagination a, .pagination span {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--gray-300);
    font-weight: 500;
    transition: all var(--transition);
    font-size: 14px;
}

.pagination a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pagination .current {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    font-weight: 700;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   ALERTS / TOAST
   ============================================ */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

/* ============================================
   UTILS
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-gray { color: var(--gray-400); }
.mt-0 { margin-top: 0; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none !important; }

/* ============================================
   TEAM SECTION (V2 - Professional)
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.team-card {
    background: var(--card-bg, #16161d);
    border: 1px solid var(--border);
    border-radius: var(--radius, 14px);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(.4,.2,.2,1), border-color 0.3s, box-shadow 0.4s;
}
.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(201,169,97,0.15);
}
.team-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}
.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.4,.2,.2,1);
}
.team-card:hover .team-card-image img { transform: scale(1.08); }
.team-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}
.team-card:hover .team-card-overlay { opacity: 1; }
.team-social {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    transform: translateY(20px);
    transition: transform 0.4s;
}
.team-card:hover .team-social { transform: translateY(0); }
.team-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.2s;
}
.team-social a:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-2px);
}
.team-overlay-cta {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.4s 0.05s;
}
.team-card:hover .team-overlay-cta { transform: translateY(0); }
.team-card-body {
    padding: 18px 20px 22px;
    text-align: center;
}
.team-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text, #fff);
}
.team-position {
    font-size: 13px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* TEAM MODAL */
.team-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.team-modal.show { opacity: 1; visibility: visible; }
.team-modal-content {
    background: var(--card-bg, #16161d);
    border: 1px solid var(--gold);
    border-radius: var(--radius-lg, 20px);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.92);
    transition: transform 0.3s;
}
.team-modal.show .team-modal-content { transform: scale(1); }
.team-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
}
[dir="rtl"] .team-modal-close { right: auto; left: 16px; }
.team-modal-close:hover { background: var(--gold); color: #000; }
.team-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
}
.team-modal-image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-lg, 20px) 0 0 var(--radius-lg, 20px);
}
[dir="rtl"] .team-modal-image { border-radius: 0 var(--radius-lg, 20px) var(--radius-lg, 20px) 0; }
.team-modal-image img { width: 100%; height: 100%; object-fit: cover; }
.team-modal-info { padding: 40px; }
.team-modal-info h3 { font-size: 32px; margin-bottom: 8px; color: var(--text, #fff); }
.team-modal-position {
    font-size: 13px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 24px;
}
.team-modal-bio {
    color: var(--text-muted, #aaa);
    line-height: 1.8;
    margin-bottom: 28px;
    font-size: 15px;
}
.team-modal-contact > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}
.team-modal-contact a { color: var(--text); text-decoration: none; }
.team-modal-contact a:hover { color: var(--gold); }
.team-modal-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.team-modal-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
}
.team-modal-social a:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
@media (max-width: 768px) {
    .team-modal-grid { grid-template-columns: 1fr; }
    .team-modal-image { aspect-ratio: 16/10; border-radius: var(--radius-lg, 20px) var(--radius-lg, 20px) 0 0; }
    [dir="rtl"] .team-modal-image { border-radius: var(--radius-lg, 20px) var(--radius-lg, 20px) 0 0; }
    .team-modal-info { padding: 28px 24px; }
    .team-modal-info h3 { font-size: 26px; }
}

/* ============================================
   AUTOCOMPLETE
   ============================================ */
.autocomplete-wrap { position: relative; }
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #16161d;
    border: 1px solid var(--border);
    border-radius: 10px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    display: none;
}
.autocomplete-dropdown.show { display: block; }
.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-soft, rgba(255,255,255,0.05));
    cursor: pointer;
    transition: background 0.15s;
}
.autocomplete-item:hover, .autocomplete-item.active { background: rgba(201,169,97,0.08); }
.autocomplete-icon { font-size: 18px; }
.autocomplete-content { flex: 1; min-width: 0; }
.autocomplete-label { color: var(--text); font-size: 14px; font-weight: 500; }
.autocomplete-label mark { background: rgba(201,169,97,0.3); color: var(--gold); padding: 0; }
.autocomplete-category { color: var(--gray-500, #888); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* ============================================
   FOOTER NEWSLETTER (v2)
   ============================================ */
.footer-newsletter {
    display: flex;
    margin-top: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}
.footer-newsletter input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: var(--text);
    font-size: 13px;
    outline: none;
}
.footer-newsletter button {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}
.footer-newsletter button:hover { background: var(--gold-bright); }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-muted);
}
.footer-contact li svg { flex-shrink: 0; opacity: 0.7; }
.footer-contact a { color: var(--text-muted); text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.footer-social a:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ============================================
   HEADER STYLES (v2 - dynamic)
   ============================================ */
.header-cta {
    padding: 8px 20px !important;
    font-size: 13px !important;
}
.header-phone {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-right: 12px;
    opacity: 0.85;
}
[dir="rtl"] .header-phone { margin-right: 0; margin-left: 12px; }
.header-phone:hover { opacity: 1; color: var(--gold); }

.site-header.header-solid {
    background: var(--header-bg, #000) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.site-header.header-transparent {
    background: transparent !important;
    border-bottom: none;
}
.site-header.header-boxed .header-inner {
    max-width: 1200px;
    margin: 14px auto;
    border-radius: 16px;
    background: var(--header-bg, rgba(0,0,0,0.85));
    backdrop-filter: blur(20px);
    padding: 12px 24px;
    border: 1px solid var(--border);
}
.site-header.header-minimal { padding: 18px 0; background: transparent; }
.site-header.header-minimal .header-actions .header-cta { display: none; }

@media (max-width: 768px) {
    .header-cta, .header-phone { display: none; }
}

/* HERO SLIDE */
.hero-slide .hero-title { font-size: clamp(2rem, 5.5vw, 4.5rem); line-height: 1.1; margin-bottom: 18px; font-weight: 700; }
.hero-slide .hero-subtitle { font-size: clamp(0.95rem, 1.4vw, 1.15rem); line-height: 1.7; }


/* Mobile header logo center support */
@media (max-width: 768px) {
    .site-header .header-inner {
        position: relative;
        min-height: 56px;
    }
    /* When logo is centered, push menu-toggle to the start */
    body.header-style-transparent_fixed .header-actions .menu-toggle,
    body.header-style-solid .header-actions .menu-toggle,
    body.header-style-transparent .header-actions .menu-toggle {
        z-index: 2;
    }
    .site-header .header-actions { z-index: 2; }
    /* Hide CTA & lang text on mobile, keep menu toggle */
    .site-header .header-cta { display: none; }
}

/* Image filters container helper */
.hero-bg img { transition: transform 0.3s; }


/* ============================================
   HEADER: Single logo (left on desktop, center on mobile)
   ============================================ */
.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}
.site-header .header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.site-header .site-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}
.site-header .main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 28px;
}
.site-header .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

/* Show/hide helpers */
.desktop-only { display: inline-flex; }
.mobile-only { display: none; }

@media (max-width: 1024px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex !important; }
    .site-header .main-nav { display: none; }
    
    /* Mobile: center the logo absolutely */
    .site-header .header-inner { position: relative; min-height: 60px; }
    .site-header .mobile-center-logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        pointer-events: auto;
    }
    [dir="rtl"] .site-header .mobile-center-logo {
        left: auto;
        right: 50%;
        transform: translate(50%, -50%);
    }
    .site-header .header-left,
    .site-header .header-actions {
        position: relative;
        z-index: 2;
        flex: 0 0 auto;
    }
    .site-header .header-left { flex: 1; }
    .site-header .header-actions { margin-inline-start: auto; }
}


/* ============================================
   HERO ANIMATIONS
   ============================================ */
@keyframes heroFadeIn { from{opacity:0} to{opacity:1} }
@keyframes heroFadeUp { from{opacity:0;transform:translateY(40px)} to{opacity:1;transform:translateY(0)} }
@keyframes heroFadeDown { from{opacity:0;transform:translateY(-40px)} to{opacity:1;transform:translateY(0)} }
@keyframes heroFadeLeft { from{opacity:0;transform:translateX(-60px)} to{opacity:1;transform:translateX(0)} }
@keyframes heroFadeRight { from{opacity:0;transform:translateX(60px)} to{opacity:1;transform:translateX(0)} }
@keyframes heroZoomIn { from{opacity:0;transform:scale(0.9)} to{opacity:1;transform:scale(1)} }
@keyframes heroZoomOut { from{opacity:0;transform:scale(1.1)} to{opacity:1;transform:scale(1)} }
@keyframes heroKenBurns { 
    from{transform:scale(1) translate(0,0)} 
    to{transform:scale(1.15) translate(-2%,-1%)} 
}
@keyframes heroParallax {
    from{transform:translateY(0)}
    to{transform:translateY(-30px)}
}

.hero-anim-fade-in { animation: heroFadeIn 1.2s ease both; }
.hero-anim-fade-up { animation: heroFadeUp 1s cubic-bezier(.4,.2,.2,1) both; }
.hero-anim-fade-down { animation: heroFadeDown 1s cubic-bezier(.4,.2,.2,1) both; }
.hero-anim-fade-left { animation: heroFadeLeft 1.1s cubic-bezier(.4,.2,.2,1) both; }
.hero-anim-fade-right { animation: heroFadeRight 1.1s cubic-bezier(.4,.2,.2,1) both; }
.hero-anim-zoom-in { animation: heroZoomIn 1.2s cubic-bezier(.4,.2,.2,1) both; }
.hero-anim-zoom-out { animation: heroZoomOut 1.2s cubic-bezier(.4,.2,.2,1) both; }
.hero-anim-none { animation: none; }

/* === NEW Hero Animations === */
@keyframes heroSlideUp { from{opacity:0;transform:translateY(80px)} 30%{opacity:1} to{opacity:1;transform:translateY(0)} }
@keyframes heroSlideDown { from{opacity:0;transform:translateY(-80px)} 30%{opacity:1} to{opacity:1;transform:translateY(0)} }
@keyframes heroSlideLeft { from{opacity:0;transform:translateX(-100px)} 30%{opacity:1} to{opacity:1;transform:translateX(0)} }
@keyframes heroSlideRight { from{opacity:0;transform:translateX(100px)} 30%{opacity:1} to{opacity:1;transform:translateX(0)} }
@keyframes heroZoomRotate { 
    0%{opacity:0;transform:scale(0.5) rotate(-15deg)} 
    100%{opacity:1;transform:scale(1) rotate(0)} 
}
@keyframes heroBounceIn { 
    0%{opacity:0;transform:scale(0.3)} 
    50%{opacity:1;transform:scale(1.08)} 
    70%{transform:scale(0.95)} 
    100%{opacity:1;transform:scale(1)} 
}
@keyframes heroBounceUp { 
    0%{opacity:0;transform:translateY(100px)} 
    50%{opacity:1;transform:translateY(-15px)} 
    70%{transform:translateY(5px)} 
    100%{opacity:1;transform:translateY(0)} 
}
@keyframes heroElastic { 
    0%{opacity:0;transform:scale(0)} 
    55%{opacity:1;transform:scale(1.15)} 
    75%{transform:scale(0.92)} 
    100%{opacity:1;transform:scale(1)} 
}
@keyframes heroFlipX { 
    0%{opacity:0;transform:perspective(1000px) rotateX(90deg)} 
    100%{opacity:1;transform:perspective(1000px) rotateX(0)} 
}
@keyframes heroFlipY { 
    0%{opacity:0;transform:perspective(1000px) rotateY(90deg)} 
    100%{opacity:1;transform:perspective(1000px) rotateY(0)} 
}
@keyframes heroRotateIn { 
    0%{opacity:0;transform:rotate(-200deg)} 
    100%{opacity:1;transform:rotate(0)} 
}
@keyframes heroPerspectiveTilt { 
    0%{opacity:0;transform:perspective(1000px) rotateX(-30deg) translateY(50px)} 
    100%{opacity:1;transform:perspective(1000px) rotateX(0) translateY(0)} 
}
@keyframes heroBlurIn { 
    0%{opacity:0;filter:blur(20px)} 
    100%{opacity:1;filter:blur(0)} 
}
@keyframes heroGlowPulse { 
    0%{opacity:0;text-shadow:0 0 0 var(--gold,#c9a961)} 
    50%{opacity:1;text-shadow:0 0 40px var(--gold,#c9a961),0 0 80px var(--gold,#c9a961)} 
    100%{opacity:1;text-shadow:0 0 20px rgba(201,169,97,0.5)} 
}
@keyframes heroShineSweep { 
    0%{opacity:0;background-position:200% 0} 
    50%{opacity:1} 
    100%{opacity:1;background-position:-200% 0} 
}

.hero-anim-slide-up { animation: heroSlideUp 1s cubic-bezier(.16,1,.3,1) both; }
.hero-anim-slide-down { animation: heroSlideDown 1s cubic-bezier(.16,1,.3,1) both; }
.hero-anim-slide-left { animation: heroSlideLeft 1.1s cubic-bezier(.16,1,.3,1) both; }
.hero-anim-slide-right { animation: heroSlideRight 1.1s cubic-bezier(.16,1,.3,1) both; }
.hero-anim-zoom-rotate { animation: heroZoomRotate 1s cubic-bezier(.16,1,.3,1) both; }
.hero-anim-bounce-in { animation: heroBounceIn 1.2s cubic-bezier(.68,-0.55,.27,1.55) both; }
.hero-anim-bounce-up { animation: heroBounceUp 1.3s cubic-bezier(.68,-0.55,.27,1.55) both; }
.hero-anim-elastic { animation: heroElastic 1.4s cubic-bezier(.68,-0.55,.27,1.55) both; }
.hero-anim-flip-x { animation: heroFlipX 1.1s cubic-bezier(.16,1,.3,1) both; transform-origin: top center; }
.hero-anim-flip-y { animation: heroFlipY 1.1s cubic-bezier(.16,1,.3,1) both; transform-origin: left center; }
.hero-anim-rotate-in { animation: heroRotateIn 1.2s cubic-bezier(.16,1,.3,1) both; }
.hero-anim-perspective-tilt { animation: heroPerspectiveTilt 1.2s cubic-bezier(.16,1,.3,1) both; }
.hero-anim-blur-in { animation: heroBlurIn 1.5s ease both; }
.hero-anim-glow-pulse .hero-title { animation: heroGlowPulse 2s ease both; }
.hero-anim-shine-sweep .hero-title { 
    background: linear-gradient(90deg, currentColor 0%, currentColor 40%, #fff 50%, currentColor 60%, currentColor 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroShineSweep 2.5s ease both;
}

/* Character animations */
.char-anim-target .char-letter { display: inline-block; opacity: 0; transform: translateY(20px); }
.char-anim-target.typing-done .char-letter, 
.char-anim-target .char-letter.revealed { opacity: 1; transform: translateY(0); transition: all 0.4s cubic-bezier(.16,1,.3,1); }

/* Typing cursor */
.char-anim-target.is-typing::after {
    content: '|';
    color: var(--gold, #c9a961);
    animation: blinkCursor 0.7s step-end infinite;
    margin-inline-start: 4px;
}
@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Wave per letter */
@keyframes waveLetter {
    0% { opacity: 0; transform: translateY(40px) rotate(-15deg); }
    60% { opacity: 1; transform: translateY(-8px) rotate(3deg); }
    100% { opacity: 1; transform: translateY(0) rotate(0); }
}
.char-anim-target[data-mode="wave"] .char-letter {
    animation: waveLetter 0.6s cubic-bezier(.68,-0.55,.27,1.55) both;
}

.hero-bg-ken-burns img {
    animation: heroKenBurns 18s ease-in-out infinite alternate;
}
.hero-bg-parallax {
    transform: translateZ(0);
}


/* ============================================
   PROFESSIONAL SWIPE LIGHTBOX
   ============================================ */
#slbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}
#slbox.show {
    display: block;
    opacity: 1;
    animation: slboxFadeIn 0.3s ease;
}
@keyframes slboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.slbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(8px);
}
.slbox-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 70px 130px;
    overflow: hidden;
}
.slbox-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    user-select: none;
    cursor: grab;
    touch-action: pan-y pinch-zoom;
}
.slbox-track:active { cursor: grabbing; }
.slbox-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
    -webkit-user-drag: none;
    pointer-events: auto;
}
.slbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
    z-index: 10;
}
.slbox-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.08);
}
.slbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.slbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.slbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.slbox-next:hover { transform: translateY(-50%) scale(1.08); }
.slbox-close { top: 20px; right: 20px; }
[dir="rtl"] .slbox-prev { left: auto; right: 24px; }
[dir="rtl"] .slbox-next { right: auto; left: 24px; }
[dir="rtl"] .slbox-close { right: auto; left: 20px; }

.slbox-counter {
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-variant-numeric: tabular-nums;
    z-index: 10;
}

.slbox-thumbs {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 90vw;
    overflow-x: auto;
    scrollbar-width: thin;
    z-index: 10;
}
.slbox-thumbs::-webkit-scrollbar { height: 6px; }
.slbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }
.slbox-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.2s;
    border: 2px solid transparent;
}
.slbox-thumb:hover { opacity: 0.85; }
.slbox-thumb.active {
    opacity: 1;
    border-color: var(--gold, #c9a961);
}
.slbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .slbox-stage { padding: 50px 12px 110px; }
    .slbox-btn { width: 44px; height: 44px; }
    .slbox-prev { left: 10px; }
    .slbox-next { right: 10px; }
    [dir="rtl"] .slbox-prev { right: 10px; }
    [dir="rtl"] .slbox-next { left: 10px; }
    .slbox-close { top: 12px; right: 12px; }
    [dir="rtl"] .slbox-close { left: 12px; right: auto; }
    .slbox-counter { top: 16px; font-size: 13px; }
    .slbox-thumb { width: 56px; height: 40px; }
}

/* Hint user it's draggable on hover */
img[data-gallery] { cursor: zoom-in !important; transition: opacity 0.2s; }
img[data-gallery]:hover { opacity: 0.92; }


/* Footer newsletter — modern */
.footer-newsletter {
    margin-top: 12px;
}
.footer-newsletter input {
    padding: 11px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}
.footer-newsletter input:focus {
    border-color: var(--gold);
}
.footer-newsletter button {
    width: 42px;
    background: var(--gold);
    border: none;
    border-radius: 8px;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.footer-newsletter button:hover {
    background: var(--gold-bright, var(--gold));
    transform: translateY(-1px);
}


/* ============================================
   NEW SERVICES SECTION (with image support)
   ============================================ */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card-new {
    background: var(--card-bg, #16161d);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}
.service-card-new:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(201,169,97,0.15);
}
.service-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.service-card-new:hover .service-card-image img {
    transform: scale(1.08);
}
.service-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0.85) 100%);
}
.service-card-icon-overlay {
    position: absolute;
    bottom: 16px;
    inset-inline-start: 16px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    z-index: 2;
}
.service-card-icon-overlay svg { width: 24px; height: 24px; }
.service-card-icon-only {
    width: 64px;
    height: 64px;
    background: rgba(201,169,97,0.1);
    border: 1px solid rgba(201,169,97,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin: 28px 28px 0;
    transition: all 0.3s;
}
.service-card-icon-only svg { width: 30px; height: 30px; }
.service-card-new:hover .service-card-icon-only {
    background: var(--gold);
    color: #000;
    transform: rotate(-5deg);
}
.service-card-content {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}
.service-card-num {
    position: absolute;
    top: 18px;
    inset-inline-end: 22px;
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    color: rgba(201,169,97,0.08);
    line-height: 1;
}
.service-card-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    z-index: 1;
}
.service-card-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    flex: 1;
}


/* ============================================
   NEW COMPANIES SECTION (with logo support)
   ============================================ */
.companies-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.company-card-new {
    background: var(--card-bg, #16161d);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
}
.company-card-new:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(201,169,97,0.15);
}
.company-card-top {
    background: linear-gradient(135deg, rgba(201,169,97,0.08), rgba(201,169,97,0.02));
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.company-card-logo {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.company-card-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.company-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(201,169,97,0.1);
    border: 1px solid rgba(201,169,97,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.3s;
}
.company-card-icon svg { width: 30px; height: 30px; }
.company-card-new:hover .company-card-icon {
    background: var(--gold);
    color: #000;
    transform: rotate(-5deg);
}
.company-card-body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.company-card-category {
    font-size: 11px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 6px;
}
.company-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.company-card-desc {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 14px;
}
.company-card-link {
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.company-card-new:hover .company-card-link { gap: 12px; }
[dir="rtl"] .company-card-link svg { transform: rotate(180deg); }


/* ============================================
   HERO IMAGE ANIMATIONS
   ============================================ */
.hero-bg { will-change: transform; }
.hero-bg img { will-change: transform; transition: transform 0.3s; }

/* Ken Burns - classic slow zoom + slight pan */
.hero-img-ken-burns img {
    animation: kenBurns 25s ease-out infinite alternate;
}
@keyframes kenBurns {
    0% { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.18) translate(-2%, -2%); }
}

/* Zoom In */
.hero-img-zoom-in img {
    animation: heroZoomIn 18s ease-out infinite alternate;
}
@keyframes heroZoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* Zoom Out */
.hero-img-zoom-out img {
    animation: heroZoomOut 18s ease-out infinite alternate;
}
@keyframes heroZoomOut {
    0% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Pan directions */
.hero-img-pan-left img { animation: heroPanLeft 20s linear infinite alternate; }
.hero-img-pan-right img { animation: heroPanRight 20s linear infinite alternate; }
.hero-img-pan-up img { animation: heroPanUp 20s linear infinite alternate; }
.hero-img-pan-down img { animation: heroPanDown 20s linear infinite alternate; }
@keyframes heroPanLeft { 0%{transform:scale(1.15) translateX(0);} 100%{transform:scale(1.15) translateX(-5%);} }
@keyframes heroPanRight { 0%{transform:scale(1.15) translateX(0);} 100%{transform:scale(1.15) translateX(5%);} }
@keyframes heroPanUp { 0%{transform:scale(1.15) translateY(0);} 100%{transform:scale(1.15) translateY(-5%);} }
@keyframes heroPanDown { 0%{transform:scale(1.15) translateY(0);} 100%{transform:scale(1.15) translateY(5%);} }

/* Parallax (handled by JS scroll) */
.hero-img-parallax img { transform: scale(1.1); }

/* 3D Tilt — perspective with subtle rotation */
.hero-img-3d-tilt {
    perspective: 1200px;
    transform-style: preserve-3d;
}
.hero-img-3d-tilt img {
    animation: hero3dTilt 12s ease-in-out infinite;
    transform-style: preserve-3d;
}
@keyframes hero3dTilt {
    0%, 100% { transform: scale(1.08) rotateY(0deg) rotateX(0deg); }
    25%      { transform: scale(1.08) rotateY(2deg) rotateX(-1deg); }
    50%      { transform: scale(1.08) rotateY(0deg) rotateX(1deg); }
    75%      { transform: scale(1.08) rotateY(-2deg) rotateX(-1deg); }
}

/* 3D Rotate — cinematic camera move */
.hero-img-3d-rotate {
    perspective: 1500px;
    transform-style: preserve-3d;
}
.hero-img-3d-rotate img {
    animation: hero3dRotate 20s ease-in-out infinite;
    transform-origin: center center;
}
@keyframes hero3dRotate {
    0%   { transform: scale(1.12) rotateY(-3deg) translateZ(0); }
    50%  { transform: scale(1.18) rotateY(3deg) translateZ(50px); }
    100% { transform: scale(1.12) rotateY(-3deg) translateZ(0); }
}

/* Floating (waves) */
.hero-img-float img {
    animation: heroFloat 8s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: scale(1.1) translateY(0); }
    50%      { transform: scale(1.1) translateY(-15px); }
}

/* Breathing pulse */
.hero-img-breathe img {
    animation: heroBreathe 6s ease-in-out infinite;
}
@keyframes heroBreathe {
    0%, 100% { transform: scale(1.05); }
    50%      { transform: scale(1.15); }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-img-ken-burns img,
    .hero-img-zoom-in img,
    .hero-img-zoom-out img,
    .hero-img-pan-left img,
    .hero-img-pan-right img,
    .hero-img-pan-up img,
    .hero-img-pan-down img,
    .hero-img-3d-tilt img,
    .hero-img-3d-rotate img,
    .hero-img-float img,
    .hero-img-breathe img {
        animation: none;
        transform: scale(1.05);
    }
}


/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hero-slider .is-slider-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    pointer-events: none;
}
.hero-slider .is-slider-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}
.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}
.hero-slider-arrow:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}
.hero-slider-prev { left: 24px; }
.hero-slider-next { right: 24px; }
[dir="rtl"] .hero-slider-prev { left: auto; right: 24px; }
[dir="rtl"] .hero-slider-next { right: auto; left: 24px; }
[dir="rtl"] .hero-slider-prev svg { transform: rotate(180deg); }
[dir="rtl"] .hero-slider-next svg { transform: rotate(180deg); }

.hero-slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.hero-slider-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    width: 36px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .hero-slider-arrow { width: 42px; height: 42px; }
    .hero-slider-prev { left: 12px; }
    .hero-slider-next { right: 12px; }
}

