/* ====================================================
   شركة باء البناء
   هوية بصرية جديدة — ذهبي وتراب فاخر
   ==================================================== */

/* === الخطوط المحلية === */
@font-face {
    font-family: 'Bahij';
    src: url('../fonts/Bahij_TheSansArabic-Plain.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Bahij';
    src: url('../fonts/Bahij_TheSansArabic-SemiBold.ttf') format('truetype');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Bahij';
    src: url('../fonts/Bahij_TheSansArabic-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Bahij';
    src: url('../fonts/Bahij_TheSansArabic-ExtraBold.ttf') format('truetype');
    font-weight: 800; font-style: normal; font-display: swap;
}

/* === متغيرات التصميم === */
:root {
    /* لون الذهب */
    --gold:          #C8920A;
    --gold-light:    #E8B84A;
    --gold-pale:     rgba(200, 146, 10, 0.10);
    --gold-border:   rgba(200, 146, 10, 0.28);

    /* الألوان الداكنة الدافئة */
    --dark:   #1A1812;
    --dark-2: #232017;
    --dark-3: #2E2B1F;

    /* خلفية التراب (كما طلب المستخدم) */
    --earth:   #F5F0E8;
    --earth-2: #ECE6D9;
    --earth-3: #FAF8F3;

    /* النصوص */
    --text:       #1A1812;
    --text-2:     #4A3E2C;
    --text-muted: #8A7A65;
    --text-light: #FAF8F2;

    /* نظام التصميم */
    --radius-sm:   8px;
    --radius:      16px;
    --radius-lg:   24px;
    --radius-pill: 100px;

    --shadow-sm:   0 2px 12px rgba(26,24,18,.06);
    --shadow:      0 8px 32px rgba(26,24,18,.10);
    --shadow-lg:   0 16px 64px rgba(26,24,18,.14);
    --shadow-gold: 0 8px 32px rgba(200,146,10,.28);

    --transition:      all .35s cubic-bezier(.4,0,.2,1);
    --transition-fast: all .2s ease;
}

/* === إعادة الضبط === */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Bahij', 'Cairo', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--earth);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}
img, video { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }

/* === أدوات عامة === */
.container { max-width:1240px; margin:0 auto; padding:0 24px; }

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: .03em;
}
.section-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 14px;
}
.section-title em { font-style:normal; color:var(--gold); }

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.75;
}
.section-header { margin-bottom: 56px; }
.section-header.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ====================================================
   NAVBAR — شريط التنقل العائم
   ==================================================== */
.site-header {
    position: absolute;
    top: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1200px;
    z-index: 100;
}
.header-inner {
    background: rgba(26,24,18,.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(200,146,10,.22);
    border-radius: var(--radius-pill);
    padding: 0 18px;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
}

/* الشعار */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo-mark { width:48px; height:48px; }
.logo-mark img { width:100%; height:100%; object-fit:contain; }
.logo-info { display:flex; flex-direction:column; }
.logo-name { font-size:15px; font-weight:700; color:var(--text-light); line-height:1.2; }
.logo-tagline { font-size:11px; color:var(--gold); font-weight:600; letter-spacing:.05em; }

/* قائمة التنقل */
.nav-menu { display:flex; align-items:center; gap:2px; }
.nav-link {
    color: rgba(250,248,242,.72);
    font-size: 13.5px;
    font-weight: 600;
    padding: 7px 11px;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    white-space: nowrap;
}
.nav-link:hover { color:var(--text-light); background:rgba(200,146,10,.14); }
.nav-link.active { color:var(--gold-light); background:rgba(200,146,10,.14); }

/* أزرار الشريط */
.nav-actions { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.btn-nav {
    background: var(--gold);
    color: var(--dark);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 13.5px;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-nav:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* زر القائمة للجوال */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.menu-toggle span {
    width: 22px; height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-fast);
    display: block;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity:0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ====================================================
   HERO — القسم الرئيسي
   ==================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--dark);
    overflow: hidden;
}

/* الفيديو والطبقة */
.hero-media { position:absolute; inset:0; }
.hero-video { width:100%; height:100%; object-fit:cover; }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        155deg,
        rgba(26,24,18,.92) 0%,
        rgba(26,24,18,.70) 55%,
        rgba(26,24,18,.88) 100%
    );
}

/* محتوى الهيرو */
.hero-body {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 160px 0 80px;
}
.hero-content { max-width: 700px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200,146,10,.14);
    border: 1px solid rgba(200,146,10,.32);
    color: var(--gold-light);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:.55; transform:scale(.82); }
}

.hero-title {
    font-size: 70px;
    font-weight: 800;
    line-height: 1.18;
    color: var(--text-light);
    margin-bottom: 22px;
}
.hero-title em { font-style:normal; color:var(--gold); }

.hero-subtitle {
    font-size: 18px;
    color: rgba(250,248,242,.66);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }

.btn-hero-primary {
    background: var(--gold);
    color: var(--dark);
    padding: 16px 38px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition);
}
.btn-hero-primary:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    padding: 15px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(250,248,242,.22);
    transition: var(--transition);
}
.btn-hero-secondary:hover {
    background: rgba(250,248,242,.07);
    border-color: rgba(250,248,242,.38);
}
.play-circle {
    width: 38px; height: 38px;
    background: var(--gold);
    border-radius: 50%;
    display: flex; align-items:center; justify-content:center;
    font-size: 12px;
    color: var(--dark);
    flex-shrink: 0;
}

/* شريط الإحصائيات */
.hero-stats-bar {
    position: relative;
    z-index: 2;
    background: rgba(20,18,10,.72);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(200,146,10,.18);
}
.stats-row {
    display: flex;
    align-items: stretch;
    padding: 0;
}
.stat-item {
    flex: 1;
    text-align: center;
    padding: 26px 16px;
}
.stat-item strong {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat-item span {
    font-size: 13px;
    color: rgba(250,248,242,.55);
    font-weight: 500;
}
.stat-divider {
    width: 1px;
    background: rgba(200,146,10,.2);
    align-self: stretch;
    margin: 16px 0;
}

/* ====================================================
   STUDIO — استديو الأعمال
   ==================================================== */
.studio-section {
    padding: 100px 0 110px;
    background: var(--earth);
}

/* التبويبات */
.studio-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 44px;
    background: rgba(26,24,18,.06);
    padding: 6px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--earth-2);
    width: fit-content;
}
.studio-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: var(--radius);
    border: none;
    background: none;
    color: var(--text-muted);
    font-family: 'Bahij', 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.studio-tab:hover { color:var(--text); background:rgba(26,24,18,.05); }
.studio-tab.active {
    background: var(--dark);
    color: var(--gold-light);
    box-shadow: var(--shadow);
}
.studio-tab.active svg { stroke: var(--gold); }
.tab-count {
    background: rgba(200,146,10,.14);
    color: var(--gold);
    border: 1px solid var(--gold-border);
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
}
.studio-tab.active .tab-count { background: rgba(200,146,10,.22); }

/* لوحات المعرض */
.gallery-panel { display:none; }
.gallery-panel.active {
    display: block;
    animation: fadeSlide .4s ease;
}
@keyframes fadeSlide {
    from { opacity:0; transform:translateY(14px); }
    to   { opacity:1; transform:translateY(0); }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    background: var(--earth-3);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 1;
    border: 1px solid var(--earth-2);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow);
    border-color: var(--gold-border);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 12px;
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,24,18,.68);
    display: flex; align-items:center; justify-content:center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity:1; }
.overlay-icon {
    width: 52px; height: 52px;
    background: rgba(200,146,10,.25);
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items:center; justify-content:center;
}
.overlay-icon svg { stroke: var(--gold-light); }

/* لايت بوكس */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10,8,4,.96);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox.open { display:flex; animation: lbFadeIn .25s ease; }
@keyframes lbFadeIn { from{opacity:0} to{opacity:1} }

.lightbox-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 90vw;
    max-height: 94vh;
}
.lightbox-img-wrap {
    max-width: 88vw;
    max-height: 78vh;
    background: var(--earth-3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(200,146,10,.2);
    display: flex; align-items:center; justify-content:center;
    padding: 20px;
}
#lightboxImg {
    max-width: 80vw;
    max-height: 72vh;
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 46px; height: 46px;
    background: rgba(250,248,242,.1);
    border: 1px solid rgba(250,248,242,.18);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 22px;
    cursor: pointer;
    display: flex; align-items:center; justify-content:center;
    transition: var(--transition-fast);
    z-index: 9001;
}
.lightbox-close:hover { background: rgba(200,146,10,.3); border-color:var(--gold); }

.lightbox-prev, .lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 54px; height: 54px;
    background: rgba(250,248,242,.09);
    border: 1px solid rgba(250,248,242,.18);
    border-radius: 50%;
    color: var(--text-light);
    font-size: 26px;
    cursor: pointer;
    display: flex; align-items:center; justify-content:center;
    transition: var(--transition-fast);
    z-index: 9001;
}
.lightbox-prev { right:24px; }
.lightbox-next { left:24px; }
.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.lightbox-footer {
    display: flex;
    align-items: center;
    gap: 20px;
}
.lightbox-counter {
    color: rgba(250,248,242,.5);
    font-size: 14px;
    font-weight: 600;
}
.lightbox-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--dark);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition-fast);
}
.lightbox-download:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ====================================================
   ABOUT — من نحن
   ==================================================== */
.about-section {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content:'';
    position: absolute;
    top: -120px; right: -80px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(200,146,10,.08) 0%, transparent 70%);
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-text .section-title { color: var(--text-light); }
.about-text .section-desc { color: rgba(250,248,242,.6); }

.features-list { display:flex; flex-direction:column; gap:20px; margin-top:36px; }
.feature-row { display:flex; align-items:flex-start; gap:16px; }
.feature-icon {
    width: 50px; height: 50px;
    background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-sm);
    display: flex; align-items:center; justify-content:center;
    font-size: 22px;
    flex-shrink: 0;
}
.feature-text h4 { color:var(--text-light); font-size:16px; font-weight:700; margin-bottom:4px; }
.feature-text p { color:rgba(250,248,242,.5); font-size:14px; line-height:1.6; }

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-card {
    background: var(--dark-2);
    border: 1px solid rgba(200,146,10,.14);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
}
.about-card:hover {
    border-color: var(--gold-border);
    background: var(--dark-3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.card-num {
    font-size: 52px;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}
.card-label { color: rgba(250,248,242,.55); font-size:15px; line-height:1.5; }

/* ====================================================
   PARTNERS — شركاؤنا
   ==================================================== */
.partners-section {
    padding: 80px 0;
    background: var(--earth-3);
    overflow: hidden;
}

.partners-track-wrap {
    position: relative;
    overflow: hidden;
}
.partners-track-wrap::before,
.partners-track-wrap::after {
    content:'';
    position: absolute; top:0; bottom:0; width:120px; z-index:2; pointer-events:none;
}
.partners-track-wrap::before { right:0; background:linear-gradient(to left, var(--earth-3), transparent); }
.partners-track-wrap::after  { left:0;  background:linear-gradient(to right, var(--earth-3), transparent); }

.partners-track {
    display: flex;
    gap: 32px;
    animation: scrollRTL 28s linear infinite;
    width: max-content;
}
.partners-track:hover { animation-play-state: paused; }

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

.partner-item {
    width: 160px; height: 84px;
    background: var(--earth-3);
    border: 1px solid var(--earth-2);
    border-radius: var(--radius);
    display: flex; align-items:center; justify-content:center;
    padding: 16px;
    flex-shrink: 0;
    transition: var(--transition);
    filter: grayscale(35%) opacity(.85);
    box-shadow: var(--shadow-sm);
}
.partner-item:hover {
    filter: grayscale(0%) opacity(1);
    border-color: var(--gold-border);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}
.partner-item img { width:100%; height:100%; object-fit:contain; }

/* ====================================================
   CTA — دعوة للتواصل
   ==================================================== */
.cta-section {
    padding: 120px 0;
    background: var(--dark-2);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::after {
    content:'';
    position: absolute;
    bottom: -100px; left:50%; transform:translateX(-50%);
    width: 700px; height: 350px;
    background: radial-gradient(ellipse, rgba(200,146,10,.1) 0%, transparent 68%);
    pointer-events: none;
}
.cta-eyebrow {
    display: inline-block;
    font-size: 13px; font-weight:700;
    color: var(--gold);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.cta-title {
    font-size: 56px; font-weight:800;
    color: var(--text-light);
    line-height: 1.22;
    margin-bottom: 18px;
}
.cta-title em { font-style:normal; color:var(--gold); }
.cta-subtitle {
    font-size: 18px;
    color: rgba(250,248,242,.55);
    margin-bottom: 48px;
    max-width: 560px;
    margin-left: auto; margin-right: auto;
}
.cta-btns {
    display: flex; align-items:center; justify-content:center;
    gap: 16px; flex-wrap:wrap;
    position: relative; z-index:1;
}
.btn-cta-solid {
    background: var(--gold);
    color: var(--dark);
    padding: 17px 46px;
    border-radius: var(--radius-pill);
    font-size: 17px; font-weight:700;
    transition: var(--transition);
}
.btn-cta-solid:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
.btn-cta-ghost {
    color: var(--text-light);
    padding: 17px 46px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(250,248,242,.22);
    font-size: 17px; font-weight:600;
    transition: var(--transition);
}
.btn-cta-ghost:hover {
    background: rgba(250,248,242,.07);
    border-color: rgba(250,248,242,.38);
}

/* ====================================================
   FOOTER — تذييل الصفحة
   ==================================================== */
.footer {
    background: var(--dark);
    color: var(--text-light);
    border-top: 1px solid rgba(200,146,10,.14);
}
.footer-main {
    padding: 72px 0 56px;
    border-bottom: 1px solid rgba(250,248,242,.07);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 56px;
}

/* عمود الشركة */
.footer-brand {}
.footer-logo { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.footer-logo-mark { width:48px; height:48px; }
.footer-logo-mark img { width:100%; height:100%; object-fit:contain; }
.footer-brand-name { font-size:16px; font-weight:700; color:var(--text-light); display:block; }
.footer-brand-sub  { font-size:11px; color:var(--gold); display:block; font-weight:600; letter-spacing:.04em; }
.footer-brand p {
    color: rgba(250,248,242,.58);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 24px;
}
.footer-socials { display:flex; gap:10px; }
.social-btn {
    width: 40px; height: 40px;
    border: 1px solid rgba(200,146,10,.24);
    border-radius: 50%;
    display: flex; align-items:center; justify-content:center;
    color: rgba(250,248,242,.55);
    transition: var(--transition-fast);
}
.social-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

/* أعمدة الروابط */
.footer-links-col {}
.footer-col-title {
    font-size: 15px; font-weight:700;
    color: var(--text-light);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(200,146,10,.18);
}
.footer-link-list { display:flex; flex-direction:column; gap:10px; }
.footer-link-list a {
    color: rgba(250,248,242,.55);
    font-size: 14px;
    transition: var(--transition-fast);
    display: inline-block;
}
.footer-link-list a:hover { color:var(--gold); padding-right:5px; }

/* النشرة البريدية */
.footer-newsletter {}
.footer-newsletter .footer-col-title { border-bottom-color: rgba(200,146,10,.18); }
.footer-newsletter p { color:rgba(250,248,242,.48); font-size:13px; margin-bottom:16px; line-height:1.6; }
.newsletter-form {
    display: flex;
    gap: 8px;
    background: rgba(250,248,242,.07);
    border: 1px solid rgba(200,146,10,.2);
    border-radius: var(--radius-pill);
    padding: 5px;
}
.newsletter-form input {
    flex:1;
    background: none; border: none;
    color: var(--text-light);
    font-family: 'Bahij', 'Cairo', sans-serif;
    font-size: 14px;
    padding: 8px 14px;
    outline: none;
    direction: rtl;
}
.newsletter-form input::placeholder { color:rgba(250,248,242,.3); }
.newsletter-form button {
    width:40px; height:40px;
    background: var(--gold); border:none; border-radius:50%;
    cursor:pointer; display:flex; align-items:center; justify-content:center;
    flex-shrink:0; transition:var(--transition-fast);
    color: var(--dark);
}
.newsletter-form button:hover { background:var(--gold-light); transform:rotate(-45deg); }

/* الشريط السفلي */
.footer-bottom {
    padding: 22px 0;
    border-top: 1px solid rgba(250,248,242,.05);
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.copyright { color:rgba(250,248,242,.36); font-size:13px; }
.footer-bottom-links { display:flex; gap:24px; }
.footer-bottom-links a {
    color: rgba(250,248,242,.36);
    font-size: 13px;
    transition: var(--transition-fast);
}
.footer-bottom-links a:hover { color:var(--gold); }

/* ====================================================
   OVERLAY — طبقة القائمة للجوال
   ==================================================== */
.nav-overlay {
    position: fixed; inset:0;
    background: rgba(0,0,0,.55);
    z-index: 98; display:none;
}
.nav-overlay.show { display:block; }

/* ====================================================
   RESPONSIVE — التجاوبية
   ==================================================== */
@media (max-width: 1100px) {
    .site-header { width: calc(100% - 48px); }
    .hero-title { font-size: 56px; }
    .gallery-grid { grid-template-columns: repeat(4,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap:40px; }
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns:1fr; gap:48px; }
    .gallery-grid { grid-template-columns: repeat(3,1fr); }
    .section-title { font-size:38px; }
    .cta-title { font-size:40px; }
    .studio-tabs { flex-wrap:wrap; width:100%; }
    .studio-tab { flex:1; justify-content:center; }
}

@media (max-width: 768px) {
    .site-header { top:14px; width:calc(100% - 28px); }
    .header-inner { border-radius:20px; padding:0 18px; }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0; right: 0;
        width: 280px; height:100vh;
        background: var(--dark);
        border-left: 1px solid rgba(200,146,10,.2);
        padding: 80px 24px 32px;
        flex-direction: column;
        gap: 4px;
        z-index: 99;
        overflow-y: auto;
    }
    .nav-menu.open {
        display: flex;
        animation: menuSlide .3s ease;
    }
    @keyframes menuSlide {
        from { transform:translateX(100%); }
        to   { transform:translateX(0); }
    }
    .nav-menu.open .nav-link { font-size:17px; padding:13px 16px; }

    .menu-toggle { display:flex; }
    .btn-nav { display:none; }

    .hero-title { font-size:38px; }
    .hero-body { padding:130px 0 56px; }
    .hero-subtitle { font-size:16px; }

    .stats-row { flex-wrap:wrap; }
    .stat-divider { display:none; }
    .stat-item { width:48%; border-bottom:1px solid rgba(200,146,10,.12); }

    .gallery-grid { grid-template-columns:repeat(2,1fr); gap:12px; }
    .about-cards { grid-template-columns:1fr 1fr; }
    .footer-grid { grid-template-columns:1fr; gap:36px; }
    .footer-bottom .container { flex-direction:column; text-align:center; }
    .footer-bottom-links { justify-content:center; }
    .cta-title { font-size:32px; }
}

@media (max-width: 480px) {
    .hero-title { font-size:30px; }
    .gallery-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
    .about-cards { grid-template-columns:1fr; }
    .cta-title { font-size:26px; }
    .hero-badge { font-size:13px; padding:6px 14px; }
}

/* ====================================================
   STUDIO PAGE — صفحة الاستديو المستقلة
   ==================================================== */

/* الشريط العلوي ثابت في الأعلى (ليس داخل هيرو) */
.studio-header {
    position: fixed;
    top: 16px;
}

/* مساحة علوية لتعويض الشريط الثابت */
.studio-page-hero {
    padding: 130px 0 60px;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.studio-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(200,146,10,.06) 0%, transparent 60%);
    pointer-events: none;
}
.studio-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.studio-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 16px;
}
.studio-hero-title em { font-style: normal; color: var(--gold); }
.studio-hero-desc {
    font-size: 18px;
    color: rgba(250,248,242,.6);
    max-width: 580px;
    line-height: 1.75;
}

/* تعديل الاستديو في الصفحة المستقلة */
.studio-page-gallery {
    padding-top: 60px;
}

/* ====================================================
   زر تبديل اللغة
   ==================================================== */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(250,248,242,.72);
    font-size: 12.5px;
    font-weight: 700;
    padding: 7px 13px;
    border: 1px solid rgba(200,146,10,.3);
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    white-space: nowrap;
    letter-spacing: .02em;
}
.lang-switch:hover {
    color: var(--gold-light);
    border-color: var(--gold);
    background: rgba(200,146,10,.1);
}
.lang-switch svg { flex-shrink: 0; }

/* ====================================================
   LTR — تخطيط الإنجليزية من اليسار
   ==================================================== */
[dir="ltr"] body {
    font-family: 'Inter', 'Cairo', sans-serif;
}

/* القائمة المتحركة — تنزلق من اليسار في LTR */
[dir="ltr"] .nav-menu.open {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid rgba(200,146,10,.2);
    border-radius: 0 20px 20px 0;
    animation: menuSlideLTR .3s ease;
}
@keyframes menuSlideLTR {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0); }
}

/* اتجاه النص */
[dir="ltr"] .section-title,
[dir="ltr"] .section-desc,
[dir="ltr"] .hero-title,
[dir="ltr"] .hero-subtitle,
[dir="ltr"] .hero-badge,
[dir="ltr"] .cta-title,
[dir="ltr"] .cta-subtitle,
[dir="ltr"] .studio-hero-title,
[dir="ltr"] .studio-hero-desc { text-align: left; }

[dir="ltr"] .section-header.center,
[dir="ltr"] .cta-section { text-align: center; }
[dir="ltr"] .section-header.center .section-title,
[dir="ltr"] .section-header.center .section-desc { text-align: center; }

/* روابط الفوتر عند التمرير */
[dir="ltr"] .footer-link-list a:hover {
    padding-left: 5px;
    padding-right: 0;
}

/* اللايت بوكس — عكس موضع الأسهم */
[dir="ltr"] .lightbox-prev { right: 24px; left: auto; }
[dir="ltr"] .lightbox-next { left: 24px;  right: auto; }

/* إغلاق اللايت بوكس */
[dir="ltr"] .lightbox-close { left: auto; right: 20px; }

/* الفوتر — محاذاة الروابط السفلية */
[dir="ltr"] .footer-bottom-links { flex-direction: row; }

/* === التحديد === */
::selection { background:var(--gold); color:var(--dark); }


/* ====================================================
   الإضافات الجديدة
   ==================================================== */

/* --- زر واتساب العائم --- */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 6px 24px rgba(37,211,102,.45);
    transition: var(--transition);
}
.whatsapp-float:hover {
    background: #1EBE57;
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 10px 32px rgba(37,211,102,.55);
}

/* --- زر دخول الموظفين --- */
.btn-employee-login {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border: 1.5px solid var(--gold-border);
    border-radius: var(--radius-pill);
    color: var(--gold);
    font-size: 12.5px;
    font-weight: 600;
    background: transparent;
    transition: var(--transition-fast);
    white-space: nowrap;
}
.btn-employee-login:hover {
    background: var(--gold-pale);
    border-color: var(--gold);
    color: var(--gold);
}

/* --- الفوتر: قائمة التواصل --- */
.footer-contact-list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-contact-list a svg {
    flex-shrink: 0;
    color: var(--gold);
}

/* ====================================================
   صفحة التواصل
   ==================================================== */
.contact-page-hero { /* امتداد للهيرو القائم */ }

.contact-page {
    padding: 80px 0 100px;
    background: var(--earth-3);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 16px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--earth-2);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.contact-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
    border-color: var(--gold-border);
}
.contact-card--whatsapp .contact-card-icon {
    color: #25D366;
}
.contact-card--whatsapp .contact-card-action {
    color: #25D366;
}
.contact-card--whatsapp .contact-card-action:hover {
    color: #1EBE57;
}

.contact-card-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.contact-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.contact-card-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin: 0;
}

.contact-card-value {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    word-break: break-all;
    transition: var(--transition-fast);
}
.contact-card-value--email {
    font-size: 14px;
}
.contact-card-value:hover {
    color: var(--gold);
}

.contact-card-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-top: 4px;
    transition: var(--transition-fast);
}
.contact-card-action:hover {
    gap: 8px;
    color: var(--dark);
}

/* ====================================================
   صفحات السياسة (الخصوصية / الشروط)
   ==================================================== */
.policy-page {
    padding: 72px 0 100px;
    background: var(--earth-3);
}

.policy-article {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--earth-2);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    box-shadow: var(--shadow-sm);
}

.policy-intro {
    font-size: 16px;
    line-height: 1.85;
    color: var(--text-2);
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--earth-2);
}

.policy-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--earth-2);
}
.policy-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.policy-section h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.policy-section p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-2);
}

.policy-contact-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 36px;
    padding: 20px 24px;
    background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.75;
}
.policy-contact-note svg {
    flex-shrink: 0;
    color: var(--gold);
    margin-top: 2px;
}

/* ====================================================
   صفحة الخدمات (قائمة)
   ==================================================== */
.services-page {
    padding: 80px 0 100px;
    background: var(--earth-3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    display: block;
    background: #fff;
    border: 1px solid var(--earth-2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    color: inherit;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
    border-color: var(--gold-border);
}

.service-card-inner {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.service-card-icon {
    width: 68px;
    height: 68px;
    background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.service-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.service-card-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
    flex: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold);
    margin-top: auto;
    transition: var(--transition-fast);
}
.service-card:hover .service-card-link {
    gap: 10px;
}

/* ====================================================
   صفحة تفاصيل الخدمة
   ==================================================== */
.service-detail-page {
    padding: 72px 0 100px;
    background: var(--earth-3);
}

.service-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 16px;
    transition: var(--transition-fast);
}
.service-detail-back:hover { gap: 10px; color: var(--dark); }

.service-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.service-sub-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-sub-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--earth-2);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.5;
}
.service-sub-item:last-child { border-bottom: none; }

.service-sub-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-top: 2px;
}

/* صندوق CTA الجانبي */
.service-detail-aside { position: sticky; top: 110px; }

.service-aside-card {
    background: var(--dark);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    align-items: center;
}

.service-aside-icon {
    width: 72px;
    height: 72px;
    background: var(--gold-pale);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.service-aside-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-light);
    margin: 0;
}
.service-aside-card p {
    font-size: 13px;
    color: rgba(250,248,242,.65);
    line-height: 1.7;
}

.btn-aside-cta {
    display: block;
    width: 100%;
    padding: 13px 20px;
    background: var(--gold);
    color: var(--dark);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: var(--transition-fast);
}
.btn-aside-cta:hover { background: var(--gold-light); }

.btn-aside-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: #25D366;
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition-fast);
    width: 100%;
    justify-content: center;
}
.btn-aside-whatsapp:hover { background: #1EBE57; }

/* ====================================================
   متجاوب — شاشات صغيرة
   ==================================================== */
@media (max-width: 900px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }
    .service-detail-aside { position: static; }
}

@media (max-width: 600px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .policy-article {
        padding: 32px 20px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 48px;
        height: 48px;
    }
    .btn-employee-login {
        display: none;
    }
}

/* ====================================================
   دعم LTR للصفحات الجديدة
   ==================================================== */
[dir="ltr"] .whatsapp-float {
    left: auto;
    right: 32px;
}
[dir="ltr"] .service-detail-back svg {
    transform: scaleX(-1);
}
[dir="ltr"] .contact-card-action svg {
    transform: scaleX(-1);
}
[dir="ltr"] .service-card-link svg {
    transform: scaleX(-1);
}
[dir="ltr"] .footer-contact-list a {
    direction: ltr;
}


/* البيانات النظامية في الفوتر */
.footer-legal { display:flex; flex-direction:column; gap:6px; margin-top:-8px; }
.footer-legal li { color: rgba(250,248,242,.62); font-size: 13px; }
.footer-legal span { color: var(--gold); font-weight: 600; }
