/* ==========================================================================
   1. الهوية البصرية والمتغيرات الأساسية (ROOT VARIABLES)
   ========================================================================== */
:root {
    --primary: #0B2A52;          /* الكحلي الأساسي */
    --header-footer: #061B36;    /* الكحلي الداكن للهيدر والفوتر */
    --gold: #C89A4B;             /* الذهبي الرئيسي */
    --light-gold: #DDB65F;       /* الذهبي الفاتح للـ Hover */
    --bg-main: #F8FAFC;          /* خلفية الصفحة الرئيسية */
    --bg-section: #F1F3F5;       /* خلفيات الأقسام الثانوية */
    --card-bg: #FFFFFF;          /* خلفية البطاقات */
    --text-primary: #17202B;     /* النص الأساسي */
    --text-secondary: #68717D;   /* النص الثانوي */
    --border-color: #E2E5E9;     /* لون الحدود */
    --white: #FFFFFF;
    --font-main: 'Cairo', 'Tajawal', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* إعدادات العناصر العامة */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    direction: rtl;
    line-height: 1.6;
}

/* ==========================================================================
   2. تصميم الهيدر الرئيسي (SITE HEADER)
   ========================================================================== */
   /* حاوية القائمة المنسدلة والمحاذاة */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-dropdown-wrapper {
    position: relative;
}

.dropdown-toggle {
    display: flex !important;
    align-items: center;
    gap: 6px;
}

/* سهم القائمة وتدويره بسلاسة */
.dropdown-arrow-svg {
    transition: transform 0.3s ease;
}

.nav-dropdown-wrapper:hover .dropdown-arrow-svg {
    transform: rotate(180deg);
}

/* صندوق القائمة المنسدلة بتصميم متناسق مع الهيدر */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: -20px;
    width: 250px;
    background-color: #0b192c; /* نفس درجة لون الهيدر الغامق أو الأقرب له */
    border: 1px solid rgba(212, 175, 55, 0.2); /* إطار ذهبي خفيف وراقي */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

/* إظهار القائمة عند التمرير عليها */
.nav-dropdown-wrapper:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* تنسيق الروابط داخل القائمة المنسدلة بدون خلفيات مزعجة وبخط سفلي ذهبي ناعم */
.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #ffffff !important;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border-right: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* تأثير المرور بالماوس: تلون النص بالذهبي وإضافة خط ذهبي جانبي خفيف */
.dropdown-menu li a:hover {
    color: #d4af37 !important; /* اللون الذهبي الخاص بالهوية */
    background-color: rgba(255, 255, 255, 0.03);
    border-right-color: #d4af37;
    padding-right: 22px;
}
/* =================================================   تنسيقات القائمة المنسدلة لجوال (Mobile Drawer)   ================================================= */

/* حاوية عنصر الخدمات في الجوال */
.mobile-dropdown-item {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* شريط التبديل يضم الرابط والسهم بجانب بعضهما */
.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
}

/* جعل رابط خدماتنا يأخذ المساحة المتبقية */
.mobile-dropdown-toggle .mobile-link {
    flex-grow: 1;
    text-align: right;
}

/* زر السهم الخاص بالجوال */
.mobile-sub-toggle {
    background: none;
    border: none;
    color: #ffffff;
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* تنسيق السهم وتدويره */
.mobile-arrow-svg {
    transition: transform 0.3s ease;
}

/* القائمة الفرعية للخدمات (المخفية افتراضياً) */
.mobile-submenu {
    list-style: none;
    padding-right: 20px; /* مسافة إزاحة لتبدو فرعية ومرتبة */
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

/* روابط الخدمات الـ 12 داخل قائمة الجوال */
.mobile-submenu li a {
    display: block;
    padding: 10px 15px;
    font-size: 0.85rem;
    color: #cbd5e1 !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease, padding-right 0.2s ease;
}

.mobile-submenu li a:hover {
    color: #d4af37 !important; /* اللون الذهبي */
    padding-right: 20px;
}

/* كلاس التفعيل (يُضاف بواسطة الجافاسكريبت عند الضغط) لفتح القائمة وتدوير السهم */
.mobile-dropdown-item.active .mobile-submenu {
    max-height: 700px; /* ارتفاع كافي لاحتواء جميع الـ 12 خدمة */
    padding-top: 5px;
    padding-bottom: 5px;
}

.mobile-dropdown-item.active .mobile-arrow-svg {
    transform: rotate(180deg);
}
/* السماح بالتمرير داخل قائمة الجوال وتثبيتها بشكل صحيح */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

/* عند فتح القائمة يصبح محتوى القائمة قابلاً للتمرير عمودياً */
.mobile-drawer.active {
    visibility: visible;
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -100%;

    width: 82%;
    max-width: 320px;
    height: 100%;

    background-color: var(--header-footer);

    display: flex;
    flex-direction: column;

    padding: 1.25rem;

    overflow: hidden;

    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
}

/* منع تحرك الصفحة الخلفية الأساسية عند فتح القائمة */
body.drawer-open {
    overflow: hidden;
}
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-footer);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(200, 154, 75, 0.15);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.header-container {
    padding-top: 1rem;    /* زيادة المسافة العلوية */
    padding-bottom: 1rem; /* زيادة المسافة السفلية */
}

/* --- تنسيق الشعار (الصورة + النص) --- */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}


.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.brand-sub {
    color: var(--gold);
    font-size: 0.62rem;
    font-weight: 500;
    white-space: nowrap;
}

/* --- القائمة الرئيسية للكمبيوتر --- */
.desktop-nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.3rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* --- قسم الأزرار وإجراءات الهيدر --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--header-footer);
}

.btn-primary:hover {
    background-color: var(--light-gold);
}

.btn-block {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
}

/* --- زر القائمة للجوال --- */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* =========================================================
   تعديل عرض القائمة والهمبرغر حسب الشاشة
   ========================================================= */

/* للشاشات الكبيرة (الكمبيوتر) - إظهار القائمة وإخفاء الهمبرغر */
@media (min-width: 992px) {
  .desktop-nav {
    display: block !important; /* إظهار القائمة الرئيسية */
  }

  .mobile-toggle {
    display: none !important; /* إخفاء زر الهمبرغر تماماً في الكمبيوتر */
  }
}

/* لشاشات الجوال والتابلت - إخفاء القائمة العادية وإظهار الهمبرغر */
@media (max-width: 991px) {
  .desktop-nav {
    display: none !important; /* إخفاء القائمة في الجوال لتعمل عبر القائمة الجانبية Drawer */
  }

  .mobile-toggle {
    display: flex !important; /* إظهار زر الهمبرغر في الجوال */
  }
}
/* =========================================================
   MOBILE SERVICES DROPDOWN
   إخفاء خدماتنا بالكامل حتى الضغط على السهم
   ========================================================= */

@media (max-width: 991px) {

    /* عنصر خدماتنا */
    .mobile-dropdown-item {
        width: 100%;
        display: block;
    }

    /* صف خدماتنا + السهم */
    .mobile-dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* القائمة مخفية افتراضياً */
    .mobile-dropdown-item .mobile-submenu {
        display: block;
        max-height: 0 !important;
        height: 0;
        overflow: hidden;
        padding: 0 !important;
        margin: 0;
        opacity: 0;
        visibility: hidden;
        background: transparent;
        border-radius: 0;
        transition:
            max-height 0.35s ease,
            opacity 0.25s ease,
            visibility 0.25s ease;
    }

    /* تظهر فقط عند الضغط */
    .mobile-dropdown-item.active .mobile-submenu {
        max-height: 700px !important;
        height: auto;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        opacity: 1;
        visibility: visible;
        background-color: rgba(0, 0, 0, 0.20);
        border-radius: 6px;
    }

    /* السهم */
    .mobile-arrow-svg {
        transition: transform 0.3s ease;
    }

    /* تدوير السهم عند الفتح */
    .mobile-dropdown-item.active .mobile-arrow-svg {
        transform: rotate(180deg);
    }
}
/* ==========================================================================
   3. قائمة الجوال المنزلقة (MOBILE DRAWER)
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    z-index: 1100;
}

.mobile-drawer.active {
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 27, 54, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.active .drawer-overlay {
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    visibility: hidden;
    z-index: 1100;
}

.mobile-drawer.active {
    visibility: visible;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 27, 54, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer.active .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: 100%;
    background-color: var(--header-footer);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.4);
}

.mobile-drawer.active .drawer-content {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(226, 229, 233, 0.1);
}

.drawer-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav ul {
    list-style: none;
    padding: 5.25rem 0;
}

.mobile-nav li {
    margin-bottom: 0.85rem;
}

.mobile-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    display: block;
    padding: 0.4rem 0;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--gold);
    padding-right: 0.4rem;
}
/* =========================================================
   header STYLES / هيدر الموقع النهاية
   ========================================================= */


   :root {

    --navy: #061B36;
    --navy-2: #0B2A52;

    --gold: #C89A4B;
    --gold-light: #DDB65F;

    --white: #FFFFFF;

    --bg: #F4F5F6;

    --text: #152335;

    --muted: #71808E;

    --border: #DDE2E7;

}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        "Tajawal",
        Arial,
        sans-serif;

    background: var(--bg);

    color: var(--text);

}


a {
    text-decoration: none;
}


.finish-container {

    width: min(1180px, 92%);

    margin: auto;

}

/* =========================================================
   NEW FINISHING HERO
   ========================================================= */

.new-finish-hero {

    position: relative;

    min-height: 700px;

    overflow: hidden;

    background: #061B36;

}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.new-finish-hero-image {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center;

    z-index: 0;

    transition: transform 1s ease;

}


.new-finish-hero:hover
.new-finish-hero-image {

    transform: scale(1.025);

}


/* =========================================================
   OVERLAY
   ========================================================= */

.new-finish-hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(6,27,54,0.96) 0%,
            rgba(6,27,54,0.82) 38%,
            rgba(6,27,54,0.48) 70%,
            rgba(6,27,54,0.22) 100%
        );

}


/* =========================================================
   CONTAINER
   ========================================================= */

.new-finish-hero-container {

    position: relative;

    z-index: 2;

    width: min(1180px, 92%);

    min-height: 700px;

    margin: auto;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


/* =========================================================
   BADGE
   ========================================================= */

.new-finish-hero-badge {

    position: absolute;

    top: 38px;

    right: 0;

    display: flex;

    align-items: center;

    gap: 12px;

    color:
        rgba(255,255,255,0.75);

    font-size: 0.68rem;

    letter-spacing: 2px;

    font-weight: 800;

}


.new-finish-hero-badge span {

    width: 30px;

    height: 2px;

    background: #C89A4B;

}


/* =========================================================
   CONTENT CARD
   ========================================================= */

.new-finish-hero-card {

    position: relative;

    width: min(650px, 100%);

    padding: 55px 60px;

    background:
        rgba(6,27,54,0.92);

    border-right: 4px solid #C89A4B;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.25);

    backdrop-filter: blur(5px);

}


/* =========================================================
   NUMBER
   ========================================================= */

.new-finish-hero-card-number {

    position: absolute;

    left: 25px;

    top: 15px;

    color:
        rgba(255,255,255,0.045);

    font-size: 10rem;

    line-height: 1;

    font-weight: 900;

}


/* =========================================================
   CONTENT
   ========================================================= */

.new-finish-hero-content {

    position: relative;

    z-index: 2;

}


.new-finish-hero-content small {

    display: block;

    margin-bottom: 18px;

    color: #DDB65F;

    font-size: 0.78rem;

    font-weight: 800;

}


.new-finish-hero-content h1 {

    margin: 0;

    color: #FFFFFF;

    font-size:
        clamp(3.5rem, 7vw, 6rem);

    line-height: 0.98;

    font-weight: 900;

}


.new-finish-hero-content h1 strong {

    display: block;

    color: #DDB65F;

}


.new-finish-hero-line {

    width: 70px;

    height: 3px;

    margin: 28px 0;

    background: #C89A4B;

}


.new-finish-hero-content p {

    max-width: 500px;

    margin: 0;

    color: #CBD5DF;

    font-size: 0.9rem;

    line-height: 2.1;

}


/* =========================================================
   TAGS
   ========================================================= */

.new-finish-hero-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 28px;

}


.new-finish-hero-tags span {

    padding: 8px 14px;

    color:
        rgba(255,255,255,0.78);

    border: 1px solid
        rgba(200,154,75,0.55);

    font-size: 0.62rem;

    font-weight: 700;

}


/* =========================================================
   BOTTOM INFO
   ========================================================= */

.new-finish-hero-bottom {

    position: absolute;

    left: 0;

    bottom: 35px;

    display: flex;

    gap: 35px;

}


.new-finish-hero-bottom div {

    display: flex;

    align-items: center;

    gap: 10px;

}


.new-finish-hero-bottom strong {

    color: #C89A4B;

    font-size: 0.7rem;

}


.new-finish-hero-bottom span {

    color:
        rgba(255,255,255,0.6);

    font-size: 0.65rem;

    font-weight: 700;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .new-finish-hero {

        min-height: 650px;

    }


    .new-finish-hero-container {

        min-height: 650px;

        width: 90%;

        justify-content: center;

    }


    .new-finish-hero-badge {

        top: 25px;

        right: 0;

        font-size: 0.58rem;

    }


    .new-finish-hero-card {

        width: 100%;

        padding: 38px 25px;

        border-right-width: 3px;

    }


    .new-finish-hero-card-number {

        left: 10px;

        top: 10px;

        font-size: 7rem;

    }


    .new-finish-hero-content h1 {

        font-size: 3.4rem;

    }


    .new-finish-hero-content p {

        font-size: 0.78rem;

        line-height: 2;

    }


    .new-finish-hero-line {

        width: 50px;

        margin: 22px 0;

    }


    .new-finish-hero-tags {

        margin-top: 22px;

    }


    .new-finish-hero-tags span {

        padding: 7px 11px;

        font-size: 0.55rem;

    }


    .new-finish-hero-bottom {

        position: absolute;

        left: auto;

        right: 0;

        bottom: 22px;

        width: 100%;

        justify-content: space-between;

        gap: 8px;

    }


    .new-finish-hero-bottom div {

        gap: 6px;

    }


    .new-finish-hero-bottom span {

        font-size: 0.5rem;

    }

}


/* =========================================================
   INTRO
   ========================================================= */

.finish-intro {

    padding: 120px 0;

    background: var(--white);

}


.finish-intro .finish-container {

    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 70px;

}


.finish-intro-label span {

    display: block;

    color: var(--gold);

    font-size: 4rem;

    line-height: 1;

    font-weight: 900;

}


.finish-intro-label p {

    margin-top: 10px;

    color: #A3ADB6;

    font-size: 0.6rem;

    letter-spacing: 2px;

}


.finish-intro-content h2 {

    max-width: 800px;

    margin: 0;

    color: var(--navy);

    font-size: clamp(2.8rem, 5vw, 5rem);

    line-height: 1.15;

    font-weight: 900;

}


.finish-intro-content h2 span {

    color: var(--gold);

}


.finish-intro-content p {

    max-width: 700px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 0.95rem;

    line-height: 2.2;

}


/* =========================================================
   SERVICES
   ========================================================= */

.finish-services {

    padding: 55px 0;

    background: var(--bg);

}


.finish-services-head {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 60px;

    margin-bottom: 50px;

}


.finish-services-head > div > span {

    color: var(--gold);

    font-size: 0.65rem;

    letter-spacing: 2px;

    font-weight: 900;

}


.finish-services-head h2 {

    margin: 15px 0 0;

    color: var(--navy);

    font-size: clamp(2.8rem, 5vw, 4.5rem);

    line-height: 1;

    font-weight: 900;

}


.finish-services-head h2 strong {

    color: var(--gold);

}


.finish-services-head > p {

    max-width: 350px;

    margin: 0;

    color: var(--muted);

    font-size: 0.85rem;

    line-height: 2;

}


.finish-services-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

}


.finish-service-card {

    position: relative;

    min-height: 330px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 30px;

    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border);

    transition:
        transform 0.35s ease,
        background 0.35s ease;

}


.finish-service-card.card-wide {

    grid-column: span 2;

}


.finish-service-card:hover {

    transform: translateY(-7px);

    background: #c89a4b;

}


.dark-card {

    color: var(--white);

    background: var(--navy);

}





.card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.card-top span {

    color: var(--gold);

    font-size: 0.7rem;

    font-weight: 900;

}


.card-top b {

    color: #E1E5E8;

    font-size: 3rem;

    font-weight: 900;

}


.dark-card .card-top b {

    color:
        rgba(255,255,255,0.08);

}


.finish-service-card h3 {

    max-width: 400px;

    margin: 0 0 15px;

    color: var(--navy);

    font-size: 1.45rem;

    font-weight: 900;

}


.finish-service-card p {

    max-width: 470px;

    margin: 0;

    color: var(--muted);

    font-size: 0.8rem;

    line-height: 2;

}


.dark-card h3 {

    color: var(--white);

}


.dark-card p {

    color: #B7C2CD;

}


.finish-service-card:hover h3 {

    color: var(--white);

}


.finish-service-card:hover p {

    color: #B6C2CC;

}


.card-arrow {

    position: absolute;

    left: 25px;

    bottom: 25px;

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--navy);

    border: 1px solid var(--gold);

    border-radius: 50%;

}


.finish-service-card:hover .card-arrow {

    color: var(--navy);

    background: var(--gold);

}


/* =========================================================
   PROCESS
   ========================================================= */

.finish-process {

    padding: 110px 0;

    background: var(--white);

}


.finish-process-title {

    max-width: 700px;

}


.finish-process-title > span {

    color: var(--gold);

    font-size: 0.65rem;

    letter-spacing: 2px;

    font-weight: 900;

}


.finish-process-title h2 {

    margin: 18px 0 60px;

    color: var(--navy);

    font-size: clamp(2.5rem, 5vw, 4rem);

    line-height: 1.2;

    font-weight: 900;

}


.finish-process-title h2 strong {

    color: var(--gold);

}


.finish-process-list {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border);

}


.process-item {

    min-height: 230px;

    padding: 30px;

    border-left: 1px solid var(--border);

}


.process-item:last-child {

    border-left: 0;

}


.process-item > span {

    color: var(--gold);

    font-size: 2rem;

    font-weight: 900;

}


.process-item h3 {

    margin: 25px 0 10px;

    color: var(--navy);

    font-size: 1.15rem;

    font-weight: 900;

}


.process-item p {

    margin: 0;

    color: var(--muted);

    font-size: 0.78rem;

    line-height: 2;

}


/* =========================================================
   CTA
   ========================================================= */

.finish-cta {

    padding: 20px 0 100px;

    background: var(--white);

}


.finish-cta-box {

    position: relative;

    display: grid;

    grid-template-columns: 120px 1fr auto;

    align-items: center;

    gap: 40px;

    padding: 55px;

    overflow: hidden;

    background: var(--navy);

    border-bottom: 4px solid var(--gold);

}


.cta-number {

    color:
        rgba(255,255,255,0.07);

    font-size: 6rem;

    line-height: 1;

    font-weight: 900;

}


.cta-content > span {

    color: var(--gold-light);

    font-size: 0.65rem;

    letter-spacing: 2px;

    font-weight: 900;

}


.cta-content h2 {

    margin: 12px 0;

    color: var(--white);

    font-size: clamp(2rem, 4vw, 3.5rem);

    line-height: 1.15;

    font-weight: 900;

}


.cta-content h2 strong {

    color: var(--gold-light);

}


.cta-content p {

    margin: 0;

    color: #AEBAC6;

    font-size: 0.8rem;

}


.finish-cta-box > a {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 17px 25px;

    color: var(--navy);

    background: var(--gold);

    font-size: 0.8rem;

    font-weight: 900;

    transition: 0.3s ease;

}


.finish-cta-box > a:hover {

    background: var(--gold-light);

    transform: translateY(-3px);

}


.finish-cta-box > a span {

    font-size: 1.2rem;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .finish-hero-main {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .finish-hero-description {

        padding-right: 0;

    }


    .finish-services-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .finish-service-card.card-wide {

        grid-column: span 2;

    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .finish-container {

        width: 90%;

    }


    /* HERO */

    .finish-hero {

        min-height: 650px;

    }


    .finish-hero::before {

        right: 10%;

    }


    .finish-hero::after {

        right: 10%;

    }


    .finish-hero-number {

        left: -20px;

        bottom: -20px;

        font-size: 11rem;

    }


    .finish-hero-top {

        padding-top: 25px;

        font-size: 0.55rem;

    }


    .finish-hero-main {

        min-height: 540px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 35px;

    }


    .finish-hero-title h1 {

        font-size: 3.5rem;

    }


    .finish-hero-description p {

        font-size: 0.82rem;

        line-height: 2;

    }


    .finish-hero-bottom {

        right: 5%;

        gap: 12px;

        font-size: 0.5rem;

    }


    .finish-hero-bottom span:not(:last-child)::after {

        margin-right: 12px;

    }


    /* INTRO */

    .finish-intro {

        padding: 75px 0;

    }


    .finish-intro .finish-container {

        display: block;

    }


    .finish-intro-label {

        margin-bottom: 25px;

    }


    .finish-intro-label span {

        font-size: 3rem;

    }


    .finish-intro-content h2 {

        font-size: 2.6rem;

    }


    .finish-intro-content p {

        font-size: 0.84rem;

        line-height: 2;

    }


    /* SERVICES */

    .finish-services {

        padding: 10px 0;

    }


    .finish-services-head {

        display: block;

        margin-bottom: 35px;

    }


    .finish-services-head h2 {

        font-size: 2.7rem;

    }


    .finish-services-head > p {

        margin-top: 20px;

    }


    .finish-services-grid {

        grid-template-columns: 1fr;

    }


    .finish-service-card,

    .finish-service-card.card-wide {

        grid-column: span 1;

        min-height: 270px;

    }


    .finish-service-card h3 {

        font-size: 1.25rem;

    }


    /* PROCESS */

    .finish-process {

        padding: 75px 0;

    }


    .finish-process-title h2 {

        margin-bottom: 40px;

        font-size: 2.5rem;

    }


    .finish-process-list {

        grid-template-columns: 1fr;

    }


    .process-item {

        min-height: auto;

        padding: 25px 0;

        border-left: 0;

        border-bottom: 1px solid var(--border);

    }


    .process-item:last-child {

        border-bottom: 0;

    }


    /* CTA */

    .finish-cta {

        padding-bottom: 60px;

    }


    .finish-cta-box {

        display: block;

        padding: 35px 25px;

        text-align: center;

    }


    .cta-number {

        margin-bottom: 15px;

        font-size: 4rem;

    }


    .cta-content h2 {

        font-size: 2.1rem;

    }


    .finish-cta-box > a {

        justify-content: center;

        margin-top: 25px;

    }

}
/* =========================================================
   OUR WORK
   ========================================================= */

.finish-work {

    padding: 70px 0;

    background: #F4F5F6;

}


.finish-work-head {

    margin-bottom: 45px;

}


.finish-work-head > span {

    color: #C89A4B;

    font-size: 0.65rem;

    letter-spacing: 2px;

    font-weight: 900;

}


.finish-work-head h2 {

    margin: 12px 0;

    color: #061B36;

    font-size: clamp(2.7rem, 5vw, 4.5rem);

    line-height: 1;

    font-weight: 900;

}


.finish-work-head h2 strong {

    color: #C89A4B;

}


.finish-work-head p {

    max-width: 500px;

    margin: 20px 0 0;

    color: #71808E;

    font-size: 0.85rem;

    line-height: 2;

}


/* =========================================================
   GRID
   ========================================================= */

.finish-work-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;

}


/* =========================================================
   IMAGE
   ========================================================= */

.finish-work-item {

    position: relative;

    height: 300px;

    overflow: hidden;

    cursor: zoom-in;

    background: #061B36;

}


.finish-work-item img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.5s ease;

}


.finish-work-item:hover img {

    transform: scale(1.07);

}


/* =========================================================
   OVERLAY
   ========================================================= */

.finish-work-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    padding: 20px;

    opacity: 0;

    background:
        linear-gradient(
            to top,
            rgba(6,27,54,0.85),
            transparent 55%
        );

    transition: opacity 0.3s ease;

}


.finish-work-item:hover
.finish-work-overlay {

    opacity: 1;

}


.finish-work-overlay span {

    color: #DDB65F;

    font-size: 1.8rem;

    font-weight: 900;

}


.finish-work-overlay b {

    color: #fff;

    font-size: 0.65rem;

    font-weight: 700;

}


/* =========================================================
   LIGHTBOX / MAGNIFIER
   ========================================================= */

.finish-lightbox {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background:
        rgba(3,13,27,0.94);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;

}


.finish-lightbox.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


.finish-lightbox img {

    max-width: 92vw;

    max-height: 88vh;

    width: auto;

    height: auto;

    object-fit: contain;

    border-radius: 4px;

    box-shadow:
        0 25px 80px rgba(0,0,0,0.45);

}


.finish-lightbox-close {

    position: absolute;

    top: 25px;

    left: 30px;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #fff;

    background: transparent;

    border: 1px solid #C89A4B;

    border-radius: 50%;

    cursor: pointer;

    font-size: 1.8rem;

    line-height: 1;

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .finish-work {

        padding: 75px 0;

    }


    .finish-work-head {

        margin-bottom: 30px;

    }


    .finish-work-head h2 {

        font-size: 2.7rem;

    }


    .finish-work-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;

    }


    .finish-work-item {

        height: 190px;

    }


    .finish-work-overlay {

        opacity: 1;

        padding: 12px;

    }


    .finish-work-overlay span {

        font-size: 1.2rem;

    }


    .finish-work-overlay b {

        font-size: 0.55rem;

    }


    .finish-lightbox {

        padding: 15px;

    }


    .finish-lightbox img {

        max-width: 96vw;

        max-height: 80vh;

    }


    .finish-lightbox-close {

        top: 15px;

        left: 15px;

        width: 40px;

        height: 40px;

    }

}
/* =========================================================
   SERVICES — 3 × 2
   ========================================================= */

.finish-services-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
}


/* كل كرت بنفس الحجم */

.finish-services-grid .finish-service-card {
    grid-column: auto !important;
    width: 100% !important;
    min-height: 340px;
}


/* إلغاء card-wide */

.finish-services-grid .finish-service-card.card-wide {
    grid-column: auto !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .finish-services-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .finish-services-grid .finish-service-card,
    .finish-services-grid .finish-service-card.card-wide {
        grid-column: auto !important;
        min-height: 300px;
    }

}

/* =========================================================
   زر "اطلب الخدمة الآن" - الجوال والتابلت
   ========================================================= */

@media (max-width: 992px) {

    .drawer-content {
        display: flex !important;
        flex-direction: column !important;
        height: 90vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
    }

    .mobile-nav {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
    }



        .drawer-footer .btn-block {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 84% !important;
        min-height: 47px !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 11px !important;
    }
}
/* =========================================================
   HEADER - TABLET / MOBILE
   من 0 إلى 1024px
   ========================================================= */

@media (max-width: 1024px) {

    /* إخفاء القائمة الرئيسية */
    .desktop-nav {
        display: none !important;
    }

    /* إظهار زر الهامبرغر */
    .mobile-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
        z-index: 10001 !important;
    }

    /* أشرطة الهامبرغر */
    .mobile-toggle .hamburger-bar {
        display: block !important;
        width: 25px !important;
        height: 2px !important;
        margin: 3px 0 !important;
    }

    /* منطقة الأزرار */
    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin: 0 !important;
    }

    /* زر تواصل معنا المكتبي لا يظهر على التابلت */
    .header-actions .btn-cta {
        display: none !important;
    }

    /* ضبط الهيدر */
    .header-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

}
/* =========================================================
   FOOTER STYLES / تذييل الموقع
   ========================================================= */

.main-footer {
  background-color: #081B35;
  color: #94A3B8;
  padding: 70px 4% 20px;
  direction: rtl;
  font-family: 'Tajawal', sans-serif !important;
  border-top: 3px solid #C89A4B;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}
/* بولت روابط خدماتنا */
.footer-col:nth-child(3) .footer-links a {
  position: relative;
  padding-right: 14px;
}

.footer-col:nth-child(3) .footer-links a::before {
  content: "•";
  position: absolute;
  right: 0;
  color: #C89A4B;
  font-size: 1rem;
  line-height: 1;
  font-weight: 1000;
}

/* بولت روابط خدماتنا */
.footer-col:nth-child(3) .footer-links a {
  position: relative;
  padding-right: 14px;
}

.footer-col:nth-child(3) .footer-links a::before {
  content: "•";
  position: absolute;
  right: 0;
  color: #C89A4B;
  font-size: 1rem;
  line-height: 1;
  font-weight: 1000;
}
/* بولت روابط سريعة */

.links-col .footer-links a {
  position: relative;
  padding-right: 14px;
}

.links-col .footer-links a::before {
  content: "•";
  position: absolute;
  right: 0;
  color: #C89A4B;
  font-size: 1rem;
  line-height: 1;
  font-weight: 1000;
}
/* شعار الشركة وتفاصيلها */
.footer-logo {
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 16px 0;
}

.footer-logo span {
  color: #C89A4B;
}

.company-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0 0 24px 0;
  color: #94A3B8;
}

/* شبكات التواصل الاجتماعي */
.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 154, 75, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C89A4B;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #C89A4B;
  color: #081B35;
  transform: translateY(-3px);
}

/* عناوين الأعمدة */
.col-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  position: relative;
  padding-bottom: 8px;
}

.col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background-color: #C89A4B;
}

/* قائمة الروابط */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #C89A4B;
  transform: translateX(-5px);
}

/* قائمة الاتصال */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
}

.contact-list .icon {
  font-size: 1rem;
}

.contact-list a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-list a:hover {
  color: #C89A4B;
}

/* الشريط السفلي للحقوق */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.88rem;
  color: #64748B;
}

.footer-bottom strong {
  color: #C89A4B;
}

/* التجاوب مع مختلف الشاشات */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .main-footer {
    padding-top: 50px;
  }
}
/* تنسيق زر الواتساب العائم */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  left: 25px; /* لجعل الزر في اليسار (إذا أردته في اليمين، احذف هذا السطر وأضف right: 25px;) */
  background-color: #25D366;
  color: #FFFFFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
/* =========================================================
   GLOBAL SCROLL ANIMATION
   ========================================================= */

section {
    opacity: 0;
    transform: translateY(45px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* القسم ظاهر */
section.saif-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   HERO - يظهر مباشرة
   ========================================================= */

section:first-of-type {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   HEADER / FOOTER بدون Animation
   ========================================================= */

header,
footer {
    opacity: 1;
    transform: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    section {
        transform: translateY(30px);
        transition-duration: 0.7s;
    }

}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    section {
        opacity: 1;
        transform: none;
        transition: none;
    }

}
/* =========================================================
   PAGE TRANSITION
   ========================================================= */

.saif-page-transition {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: #081B35;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.45s ease,
        visibility 0.45s ease;
}


/* الصورة */

.saif-page-transition img {
    width: 180px;
    max-width: 35vw;
    height: auto;
    object-fit: contain;

    opacity: 0;
    transform: scale(0.85);

    animation: saifLogoIn 0.65s ease forwards;
}


/* عند انتهاء التحميل */

.saif-page-transition.saif-transition-hide {
    opacity: 0;
    visibility: hidden;
}


/* حركة اللوجو */

@keyframes saifLogoIn {

    0% {
        opacity: 0;
        transform: scale(0.85);
    }

    60% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


/* الجوال */

@media (max-width: 768px) {

    .saif-page-transition img {
        width: 130px;
        max-width: 45vw;
    }

}