/* ==================================================================
   خط Cairo — مستضاف ذاتياً بدل تحميله من Google Fonts
   السبب: طلب خارجي في <head> كان يعطّل أول رسم للصفحة.
   الملفات في: assets/fonts/  |  المصدر: Google Fonts، رخصة OFL
   ================================================================== */

/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cairo-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cairo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cairo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cairo-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cairo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/cairo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cairo-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cairo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/cairo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* arabic */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/cairo-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/cairo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/cairo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==================================================================
   رابيد لوجيستكس — نظام التصميم
   بناء جديد بلا أطر جاهزة. RTL أولاً، بخصائص منطقية (logical properties).
   ================================================================== */

/* ------------------------------------------------------------------
   1) الرموز — Design tokens
   ------------------------------------------------------------------ */
:root {
    /* ------------------------------------------------------------------
       الألوان — القيم هنا هي السمة الافتراضية (أحمر رابيد).
       كل سمة من السمات العشر تعيد تعريف هذه المتغيّرات وحدها،
       وبقيّة الملف يقرأ منها. تعريفات السمات في القسم 26) آخر الملف.
       ------------------------------------------------------------------ */
    --cream: #fff8f1;
    --cream-2: #fdf1e7;
    --surface: #ffffff;
    --ink: #1a1614;
    --ink-2: #4a403b;
    --muted: #8a7b73;
    --line: #f0e3d8;
    --line-2: #e6d5c7;

    --brand: #e4442c;
    --logo-red: #d00e19;
    --brand-dark: #c4341e;
    /* لون الإبراز فوق سطح أبيض دائماً (زر شريط الدعوة) */
    --brand-on-light: #c4341e;
    --brand-2: #f2833b;
    --brand-tint: #fdece7;
    /* لون النص فوق تعبئة لون العلامة — يقلب إلى داكن في السمات الفاتحة اللون */
    --on-brand: #fff;
    --brand-rgb: 228, 68, 44;
    /* خلفية الترويسة الشفافة */
    --header-bg: rgba(255, 248, 241, .82);
    --brand-2-rgb: 242, 131, 59;

    --sea: #0d6e63;
    --sea-2: #159084;
    --sea-tint: #e4f2f0;
    --sea-rgb: 13, 110, 99;
    --gold: #f0b429;

    --ok: #17853f;
    --err: #cf2f2f;

    /* الأسطح الداكنة التي يُكتب فوقها بالأبيض: الشريط العلوي والتذييل
       والتنبيهات واللوحات الداكنة. لا تُشتق من --ink لأنه لون النصّ،
       وهو يصير فاتحاً في السمتين الداكنتين. */
    --band: #1a1614;
    --panel-dark: #241d19;
    --panel-dark-2: #3a2b23;
    --panel-dark-3: #3d322c;

    /* لون الظل — يغمق في السمات الداكنة */
    --shadow-rgb: 60, 32, 20;

    /* التدرّجات */
    --grad-brand: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
    --grad-warm: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
    --grad-sea: linear-gradient(135deg, var(--sea) 0%, var(--sea-2) 100%);

    /* الظلال — طبقتان: قريبة وبعيدة، لعمق طبيعي */
    --sh-1: 0 1px 2px rgba(var(--shadow-rgb), .06), 0 2px 6px rgba(var(--shadow-rgb), .05);
    --sh-2: 0 2px 4px rgba(var(--shadow-rgb), .05), 0 8px 20px rgba(var(--shadow-rgb), .07);
    --sh-3: 0 4px 8px rgba(var(--shadow-rgb), .06), 0 18px 40px rgba(var(--shadow-rgb), .11);
    --sh-4: 0 8px 16px rgba(var(--shadow-rgb), .08), 0 32px 64px rgba(var(--shadow-rgb), .16);
    --sh-brand: 0 6px 16px rgba(var(--brand-rgb), .28);

    /* الأنصاف */
    --r-xs: 8px;
    --r-sm: 12px;
    --r: 18px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* الحركة */
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-back: cubic-bezier(.34, 1.56, .64, 1);
    --t-fast: .18s var(--ease);
    --t: .32s var(--ease);
    --t-slow: .6s var(--ease);

    /* المقاسات */
    --header-h: 74px;
    --wrap: 1240px;
    --gap: 24px;
}

/* ------------------------------------------------------------------
   2) الأساس — Reset & base
   ------------------------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 74px);
    /* لا نضع overflow-x هنا: يجعل <html> حاوية تمرير فيتعطّل position:sticky
       في الترويسة وشريط الأقسام. الاحتواء على <body> يكفي. */
}

body {
    font-family: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: var(--ink-2);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* clip يقصّ الفائض الأفقي دون أن يجعل <body> حاوية تمرير، فيبقى
       position:sticky في الترويسة وشريط الأقسام سليماً. hidden احتياط
       للمتصفحات القديمة التي لا تعرف clip. */
    overflow-x: hidden;
    overflow-x: clip;
}

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

/* مقاس افتراضي لأيقونات الـsprite — كل مكوّن يتجاوزه بقاعدته الأخصّ */
svg {
    width: 20px;
    height: 20px;
    flex: none;
}

.sprite {
    display: none;
}

.hero-ring,
.hero-ring svg {
    width: 100%;
    height: 100%;
}

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

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

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--ink);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2rem, 1.2rem + 3.2vw, 3.6rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.5rem);
}

h3 {
    font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem);
}

p {
    text-wrap: pretty;
}

::selection {
    background: var(--brand);
    color: var(--on-brand);
}

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: var(--r-xs);
}

/* أرقام لاتينية دائماً داخل الأسعار والكميات مهما كان سياق النص */
.num {
    font-variant-numeric: tabular-nums;
    direction: ltr;
    unicode-bidi: isolate;
}

/* شريط تمرير */
@supports (scrollbar-width: thin) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--line-2) transparent;
    }
}

/* ------------------------------------------------------------------
   3) أدوات عامة — Layout helpers
   ------------------------------------------------------------------ */
.wrap {
    width: min(100% - 40px, var(--wrap));
    margin-inline: auto;
}

@media (max-width: 640px) {
    .wrap {
        width: min(100% - 28px, var(--wrap));
    }
}

.section {
    padding-block: clamp(56px, 7vw, 104px);
}

.section--tight {
    padding-block: clamp(40px, 5vw, 68px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.stack-sm>*+* {
    margin-top: 10px;
}

.center {
    text-align: center;
}

/* عنوان قسم */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--r-pill);
    background: var(--brand-tint);
    color: var(--brand-dark);
    font-size: .8rem;
    font-weight: 800;
}

.eyebrow svg {
    width: 16px;
    height: 16px;
}

.eyebrow--sea {
    background: var(--sea-tint);
    color: var(--sea);
}

.head {
    margin-bottom: clamp(28px, 4vw, 48px);
}

.head h2 {
    margin-top: 14px;
}

.head p {
    max-width: 62ch;
    margin-top: 12px;
    color: var(--muted);
}

.head.center p {
    margin-inline: auto;
}

/* ------------------------------------------------------------------
   4) الأزرار — Buttons
   ------------------------------------------------------------------ */
.btn {
    --btn-bg: var(--grad-brand);
    --btn-fg: var(--on-brand);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--r-pill);
    background-image: var(--btn-bg);
    color: var(--btn-fg);
    font-size: .97rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: var(--sh-brand);
    transition: transform var(--t-fast), box-shadow var(--t), filter var(--t);
    -webkit-tap-highlight-color: transparent;
}

.btn svg {
    width: 19px;
    height: 19px;
    flex: none;
}

.btn:hover {
    filter: brightness(1.05) saturate(1.05);
    box-shadow: 0 10px 26px rgba(var(--brand-rgb), .34);
}

.btn:active {
    transform: translateY(1px) scale(.99);
}

.btn--ghost {
    --btn-bg: none;
    --btn-fg: var(--ink);
    background-color: var(--surface);
    border: 1.5px solid var(--line-2);
    box-shadow: var(--sh-1);
}

.btn--ghost:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
    box-shadow: var(--sh-2);
    filter: none;
}

.btn--dark {
    --btn-bg: linear-gradient(135deg, var(--panel-dark) 0%, var(--panel-dark-3) 100%);
    box-shadow: 0 6px 16px rgba(26, 22, 20, .26);
}

.btn--sea {
    --btn-bg: var(--grad-sea);
    box-shadow: 0 6px 16px rgba(var(--sea-rgb), .28);
}

.btn--wide {
    width: 100%;
}

.btn--lg {
    padding: 17px 34px;
    font-size: 1.05rem;
}

.btn[disabled] {
    opacity: .5;
    pointer-events: none;
}

/* ------------------------------------------------------------------
   5) الترويسة — Header
   ------------------------------------------------------------------ */
.topline {
    background: var(--band);
    color: rgba(255, 255, 255, .82);
    font-size: .82rem;
}

.topline .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    padding-block: 6px;
}

.topline b {
    color: #fff;
}

.topline-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.topline svg {
    width: 15px;
    height: 15px;
    color: var(--brand-2);
    flex: none;
}

.topline-socials {
    display: flex;
    gap: 4px;
}

.topline-socials a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: background var(--t-fast), color var(--t-fast);
}

.topline-socials a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.topline-socials svg {
    color: currentColor;
}

@media (max-width: 780px) {
    .topline .wrap>*:not(.topline-hours) {
        display: none;
    }

    .topline .wrap {
        justify-content: center;
    }
}

.header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
}

.header.is-stuck {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 24px rgba(var(--shadow-rgb), .06);
}

.header .wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    height: var(--header-h);
}

/* الشعار */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--grad-brand);
    color: var(--on-brand);
    box-shadow: var(--sh-brand);
    transition: transform var(--t-slow) var(--ease-back);
}

.brand:hover .brand-mark {
    transform: rotate(-8deg) scale(1.05);
}

.brand-mark svg {
    width: 26px;
    height: 26px;
}

/* الشعار الكامل (الكرة + الكلمات) بدل الأيقونة: أكبر قليلاً كي تُقرأ الكلمات،
   وخلفية بيضاء ثابتة كي يبقى واضحاً في كل السمات بما فيها الداكنة */
.brand-mark--img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 62px;
    padding: 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

.brand-mark--img img {
    display: block;
    width: auto;
    height: 62px;
}

.brand:hover .brand-mark--img {
    transform: scale(1.04);
}

/* في التذييل الداكن يحتاج الشعار خلفية بيضاء ليبقى مقروءاً */
.footer .brand-mark--img {
    padding: 5px 8px;
    border-radius: 14px;
    background: #fff;
}

@media (max-width: 430px) {
    .brand-mark.brand-mark--img {
        width: auto;
        height: 52px;
        padding: 0;
        border-radius: 0;
    }

    .brand-mark--img img {
        height: 52px;
    }
}

.brand-name {
    display: block;
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
}

.brand-sub {
    display: block;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand);
    direction: ltr;
}

/* التنقّل — بعرضه الطبيعي وهامش تلقائي على الجهتين، فيقع في الوسط
   والمسافة الفائضة تتوزّع بالتساوي بين الشعار ومبدّل اللغة. */
.nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-inline: auto;
}

.nav a {
    position: relative;
    padding: 9px 18px;
    border-radius: var(--r-pill);
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink-2);
    transition: color var(--t-fast), background var(--t-fast);
}

.nav a:hover {
    color: var(--brand-dark);
    background: var(--brand-tint);
}

.nav a[aria-current="page"] {
    color: var(--brand-dark);
}

.nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    bottom: 2px;
    inset-inline: 18px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--grad-brand);
}

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

/* مبدّل اللغة — رابط واحد ينقلك إلى نفس الصفحة باللغة الأخرى */
.lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 9px 14px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--line-2);
    background: var(--surface);
    font-weight: 800;
    font-size: .88rem;
    color: var(--ink);
    transition: border-color var(--t-fast), box-shadow var(--t-fast), color var(--t-fast);
}

.lang:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
    box-shadow: var(--sh-1);
}

.lang svg {
    width: 17px;
    height: 17px;
    color: var(--brand);
}

/* اسم اللغة الأخرى يُكتب بحروفها، فنعزله عن اتجاه الصفحة */
.lang span {
    unicode-bidi: isolate;
}

/* زر القائمة على الجوال */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    border: 1.5px solid var(--line-2);
    background: var(--surface);
    place-items: center;
    color: var(--ink);
}

.burger svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 980px) {
    .burger {
        display: grid;
    }

    /* القائمة تصير منسدلة ثابتة، فتخرج من صفّ الترويسة ويسقط معها الهامش
       التلقائي الذي كان يدفع الأزرار إلى الطرف — فتلتصق بالشعار. نعيد الدفع
       هنا بخاصية منطقية تعمل في الاتجاهين: يميناً في العربية ويساراً في
       الإنجليزية. */
    .header .wrap {
        gap: 12px;
    }

    .header-actions {
        margin-inline-start: auto;
    }

    /* على الجوال يكفي كوكب اللغة بلا اسمها */
    .lang {
        padding: 11px;
        gap: 0;
    }

    .lang span {
        display: none;
    }

    .nav {
        position: fixed;
        inset-block: var(--header-h) auto;
        inset-inline: 0;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 2px;
        margin: 0;
        padding: 14px;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--sh-3);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: all var(--t);
    }

    .nav.is-open {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .nav a {
        border-radius: var(--r-sm);
        padding: 13px 16px;
    }

    .nav a[aria-current="page"]::after {
        display: none;
    }
}

/* على الشاشات الضيّقة جداً: اسم الشركة أطول في الإنجليزية، فنُضيّق الشعار
   قليلاً كي يبقى بين الشعار والأزرار فراغ حقيقي بدل أن يتلامسا. */
@media (max-width: 430px) {
    .header .wrap {
        gap: 8px;
    }

    .brand {
        gap: 9px;
        min-width: 0;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .brand-mark svg {
        width: 23px;
        height: 23px;
    }

    .brand-name {
        font-size: 1.08rem;
        white-space: nowrap;
    }

    .brand-sub {
        font-size: .56rem;
        letter-spacing: .14em;
        white-space: nowrap;
    }

    .header-actions {
        gap: 8px;
    }

    .lang,
    .burger {
        flex: none;
    }

    .lang {
        padding: 9px;
    }

    .burger {
        width: 40px;
        height: 40px;
    }
}

/* بين انهيار القائمة (980px) وبين العرض الذي يتّسع للترويسة كاملة، كان صفّ
   الترويسة أعرض من الشاشة فيولّد فائضاً أفقياً — وهو ما يزيح الصفحة كلها في
   الوضع من اليمين لليسار. نضغط المسافات هنا ليبقى الصفّ داخل حدوده. */
@media (min-width: 981px) and (max-width: 1060px) {
    .header .wrap {
        gap: 12px;
    }

    .nav {
        gap: 0;
    }

    .nav a {
        padding: 9px 9px;
        white-space: nowrap;
    }

    .nav a[aria-current="page"]::after {
        inset-inline: 9px;
    }

    .lang {
        padding: 11px;
        gap: 0;
    }

    .lang span {
        display: none;
    }
}

/* ------------------------------------------------------------------
   6) البطل — Hero
   ------------------------------------------------------------------ */
.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 90px);
    background: var(--grad-warm);
}

/* لطخات لونية ناعمة في الخلفية */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hero::before {
    width: 460px;
    height: 460px;
    top: -160px;
    inset-inline-start: -140px;
    background: rgba(var(--brand-2-rgb), .22);
}

.hero::after {
    width: 380px;
    height: 380px;
    bottom: -180px;
    inset-inline-end: -100px;
    background: rgba(var(--sea-rgb), .14);
}

.hero .wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}

.hero-copy h1 {
    margin-block: 18px 16px;
}

.hero-copy h1 .hl {
    position: relative;
    color: var(--brand);
    white-space: nowrap;
}

/* خطّ يدوي تحت الكلمة المميّزة */
.hero-copy h1 .hl::after {
    content: "";
    position: absolute;
    inset-inline: -2px;
    bottom: .04em;
    height: .28em;
    border-radius: var(--r-pill);
    background: rgba(var(--brand-2-rgb), .28);
    z-index: -1;
}

.hero-copy>p {
    max-width: 52ch;
    font-size: 1.06rem;
    color: var(--ink-2);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px dashed var(--line-2);
}

.hero-trust div {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink);
}

.hero-trust svg {
    width: 20px;
    height: 20px;
    color: var(--sea);
    flex: none;
}

/* الصورة الدائرية */
.hero-art {
    position: relative;
    aspect-ratio: 1;
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
}

.hero-plate {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--sh-4), 0 0 0 14px var(--surface), 0 0 0 15px var(--line);
    animation: floaty 7s ease-in-out infinite;
}

.hero-plate img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* الحلقة النصّية الدوّارة */
.hero-ring {
    position: absolute;
    inset: 0;
    animation: spin 26s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero-ring text {
    font-size: 8.2px;
    font-weight: 800;
    letter-spacing: .06em;
    fill: var(--brand);
}

/* شارة عائمة */
.hero-badge {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 18px;
    border-radius: var(--r-lg);
    background: var(--surface);
    box-shadow: var(--sh-3);
    animation: floaty 6s ease-in-out infinite;
}

.hero-badge:nth-of-type(2) {
    animation-delay: -3s;
}

.hero-badge b {
    display: block;
    font-size: .95rem;
    color: var(--ink);
    line-height: 1.3;
}

.hero-badge span {
    display: block;
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.4;
}

.hero-badge i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--brand-tint);
    color: var(--brand);
    flex: none;
}

.hero-badge i svg {
    width: 21px;
    height: 21px;
}

.hero-badge--a {
    top: 4%;
    inset-inline-start: -4%;
}

/* لوحة الهيرو لا تنعكس في النسخة الإنجليزية (LTR)، فتُثبَّت بطاقة الأسطول الخاص
   فوق نقطة التسليم (gBrand) على اليمين تمامًا كما تظهر في النسخة العربية */
[dir="ltr"] .hero-badge--a {
    inset-inline-start: auto;
    inset-inline-end: -4%;
}

.hero-badge--b {
    bottom: 8%;
    inset-inline-end: -2%;
}

.hero-badge--d {
    top: 22%;
    inset-inline-end: -7%;
    animation-delay: -4.5s;
}

.hero-badge--d i {
    background: var(--sea-tint);
    color: var(--sea);
}

/* لوحة الهيرو لا تنعكس في النسخة الإنجليزية (LTR)، فتُثبَّت بطاقة الشحن الجوي
   عند بداية مسار الطائرة على اليسار تمامًا كما تظهر في النسخة العربية */
[dir="ltr"] .hero-badge--d {
    inset-inline-end: auto;
    inset-inline-start: -7%;
}


@media (max-width: 980px) {
    .hero .wrap {
        grid-template-columns: 1fr;
    }

    .hero-art {
        order: -1;
        max-width: 380px;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-copy>p {
        margin-inline: auto;
    }

    .hero-cta,
    .hero-trust {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .hero-badge {
        padding: 9px 13px;
        gap: 8px;
    }

    .hero-badge b {
        font-size: .82rem;
    }

    .hero-badge span {
        font-size: .68rem;
    }

    .hero-badge--a {
        inset-inline-start: -2%;
    }

    [dir="ltr"] .hero-badge--a {
        inset-inline-start: auto;
        inset-inline-end: -2%;
    }

    .hero-badge--b {
        inset-inline-end: -2%;
    }

    .hero-badge--d {
        display: none;
    }
}

/* ------------------------------------------------------------------
   6-ب) البطل بخلفية مصوّرة — Cover.jpg كسلايدر (بحري / بري / جوي)
   ------------------------------------------------------------------ */
.hero--cover {
    --hero-navy: 8, 22, 44;
    --hero-interval: 6000ms;
    background: rgb(var(--hero-navy));
    color: #fff;
    isolation: isolate;
    padding-bottom: clamp(84px, 9vw, 120px);
    min-height: min(78vh, 720px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* الطبقة الخلفية */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    transform: scale(1.06);
    will-change: transform;
}

/* كل شريحة لها صورتها الخاصة (Slider1/2/3) وتُعرض متمركزة */
.hero-slide[data-pos="sea"] img {
    object-position: 50% 50%;
    --ken-x: 3%;
}

.hero-slide[data-pos="road"] img {
    object-position: 50% 50%;
    --ken-x: 0%;
}

.hero-slide[data-pos="air"] img {
    object-position: 50% 50%;
    --ken-x: -3%;
}

/* حركة كين بيرنز: تكبير بطيء مع انزياح خفيف */
.hero-slide.is-active img {
    animation: heroKen calc(var(--hero-interval) + 1600ms) ease-out forwards;
}

@keyframes heroKen {
    from {
        transform: scale(1.06) translateX(0);
    }

    to {
        transform: scale(1.18) translateX(var(--ken-x, 0));
    }
}

/* تعتيم متدرّج ليبقى النص مقروءاً — أغمق في المنتصف حيث النص */
.hero-slider-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(var(--hero-navy), .5) 0%, rgba(var(--hero-navy), .1) 30%, rgba(var(--hero-navy), .1) 60%, rgba(var(--hero-navy), .85) 100%),
        linear-gradient(90deg, rgba(var(--hero-navy), .25) 0%, rgba(var(--hero-navy), .72) 28%, rgba(var(--hero-navy), .78) 72%, rgba(var(--hero-navy), .25) 100%);
}

/* لمعة ضوئية تعبر الصورة */
.hero-slider-sweep {
    position: absolute;
    inset: -20% -40%;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .10) 50%, transparent 60%);
    animation: heroSweep 9s ease-in-out infinite;
    mix-blend-mode: screen;
}

@keyframes heroSweep {

    0%,
    55% {
        transform: translateX(-60%);
    }

    100% {
        transform: translateX(60%);
    }
}

/* اللطخات اللونية تتوهّج فوق الصورة بدل أن تختفي خلفها */
.hero--cover::before,
.hero--cover::after {
    z-index: 1;
    mix-blend-mode: screen;
    opacity: .7;
    animation: heroBlob 12s ease-in-out infinite alternate;
}

.hero--cover::after {
    animation-delay: -6s;
}

@keyframes heroBlob {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(40px, 30px, 0) scale(1.15);
    }
}

.hero--cover .wrap {
    z-index: 4;
}

/* ألوان النص فوق الصورة الداكنة — ثابتة بغضّ النظر عن السمة */
.hero--cover .hero-copy h1,
.hero--cover .hero-trust div {
    color: #fff;
}

.hero--cover .hero-copy h1 {
    text-shadow: 0 2px 24px rgba(var(--hero-navy), .55);
}

.hero--cover .hero-copy h1 .hl {
    color: var(--logo-red);
}

.hero--cover .hero-copy h1 .hl::after {
    background: rgba(208, 14, 25, .35);
}

.hero--cover .hero-copy>p {
    color: rgba(255, 255, 255, .84);
}

.hero--cover .eyebrow {
    background: rgba(var(--hero-navy), .55);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
}

.hero--cover .hero-trust {
    border-top-color: rgba(255, 255, 255, .24);
}

.hero--cover .hero-trust svg {
    color: var(--logo-red);
}

.hero--cover .btn--ghost {
    --btn-fg: #fff;
    background-color: rgba(var(--hero-navy), .45);
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
    box-shadow: none;
    transition: transform var(--t-fast), background-color var(--t-fast), border-color var(--t-fast);
}

.hero--cover .btn--ghost:hover {
    background-color: rgba(255, 255, 255, .16);
    border-color: #fff;
    color: #fff;
    box-shadow: none;
    filter: none;
    transform: translateY(-2px);
}

.hero--cover .btn--ghost:active {
    transform: translateY(0);
}

.hero--cover .hero-plate {
    box-shadow: var(--sh-4), 0 0 0 14px rgba(255, 255, 255, .92), 0 0 0 15px rgba(255, 255, 255, .35);
}

.hero--cover .hero-ring circle {
    stroke: rgba(255, 255, 255, .8);
}

/* النص في المنتصف — عمود واحد بلا رسم جانبي */
.hero--cover .wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.hero--cover .hero-copy {
    max-width: 820px;
    text-align: center;
}

.hero--cover .hero-copy h1 {
    font-size: clamp(2.1rem, 5.2vw, 3.6rem);
    margin-block: 18px 14px;
}

.hero--cover .hero-copy>p {
    max-width: 62ch;
    margin-inline: auto;
}

.hero--cover .hero-cta,
.hero--cover .hero-trust {
    justify-content: center;
}

/* سطر وسيلة الشحن الذي يتبدّل مع كل شريحة */
.hero-mode {
    position: relative;
    display: grid;
    justify-items: center;
    margin-bottom: 18px;
    min-height: 44px;
}

.hero-mode-item {
    grid-area: 1 / 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    border-radius: var(--r-pill);
    background: rgba(var(--hero-navy), .55);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-size: .9rem;
    opacity: 0;
    visibility: hidden;
}

[dir="ltr"] .hero-mode-item {
    padding: 8px 10px 8px 16px;
}

.hero-mode-item.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-mode-item i {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--logo-red);
    color: #fff;
    flex: none;
}

.hero-mode-item i svg {
    width: 18px;
    height: 18px;
}

.hero-mode-item b {
    font-weight: 800;
}

.hero-mode-item>span {
    color: rgba(255, 255, 255, .8);
    font-size: .84rem;
}

.hero-mode-item>span::before {
    content: "·";
    margin-inline-end: 8px;
    opacity: .6;
}

/* حركة دخول النص — تُعاد مع كل شريحة، ولكل شريحة حركتها الخاصّة */
.hero-copy.is-in>* {
    animation: heroTextIn .6s cubic-bezier(.2, .8, .2, 1) backwards;
}

.hero-copy.is-in>*:nth-child(2) { animation-delay: .06s; }
.hero-copy.is-in>*:nth-child(3) { animation-delay: .12s; }
.hero-copy.is-in>*:nth-child(4) { animation-delay: .18s; }
.hero-copy.is-in>*:nth-child(5) { animation-delay: .24s; }
.hero-copy.is-in>*:nth-child(6) { animation-delay: .30s; }

@keyframes heroTextIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* بحري: يطفو من الأسفل مع تموّج خفيف كالموج */
.hero--cover[data-mode="sea"] .hero-copy.is-in>* {
    animation-name: heroTextSea;
    animation-duration: .9s;
    animation-timing-function: cubic-bezier(.22, 1, .36, 1);
}

@keyframes heroTextSea {
    0% {
        opacity: 0;
        transform: translateY(34px) rotate(-1.2deg);
    }

    60% {
        opacity: 1;
        transform: translateY(-6px) rotate(.6deg);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

/* بري: ينزلق أفقياً كأنه يسير على الطريق ثم يتوقّف */
.hero--cover[data-mode="road"] .hero-copy.is-in>* {
    animation-name: heroTextRoad;
    animation-duration: .7s;
    animation-timing-function: cubic-bezier(.16, .9, .3, 1);
}

.hero--cover[data-mode="road"] .hero-copy.is-in>*:nth-child(2) { animation-delay: .08s; }
.hero--cover[data-mode="road"] .hero-copy.is-in>*:nth-child(3) { animation-delay: .16s; }
.hero--cover[data-mode="road"] .hero-copy.is-in>*:nth-child(4) { animation-delay: .24s; }
.hero--cover[data-mode="road"] .hero-copy.is-in>*:nth-child(5) { animation-delay: .32s; }
.hero--cover[data-mode="road"] .hero-copy.is-in>*:nth-child(6) { animation-delay: .40s; }

@keyframes heroTextRoad {
    0% {
        opacity: 0;
        transform: translateX(var(--road-from, 72px)) skewX(-6deg);
    }

    70% {
        opacity: 1;
        transform: translateX(-4px) skewX(1deg);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

[dir="ltr"] .hero--cover[data-mode="road"] .hero-copy.is-in>* {
    --road-from: -72px;
}

/* جوي: يهبط من الأعلى بتكبير خفيف ثم يستقرّ كالهبوط */
.hero--cover[data-mode="air"] .hero-copy.is-in>* {
    animation-name: heroTextAir;
    animation-duration: .8s;
    animation-timing-function: cubic-bezier(.2, .8, .2, 1);
}

.hero--cover[data-mode="air"] .hero-copy.is-in>*:nth-child(2) { animation-delay: .1s; }
.hero--cover[data-mode="air"] .hero-copy.is-in>*:nth-child(3) { animation-delay: .2s; }
.hero--cover[data-mode="air"] .hero-copy.is-in>*:nth-child(4) { animation-delay: .3s; }
.hero--cover[data-mode="air"] .hero-copy.is-in>*:nth-child(5) { animation-delay: .4s; }
.hero--cover[data-mode="air"] .hero-copy.is-in>*:nth-child(6) { animation-delay: .5s; }

@keyframes heroTextAir {
    0% {
        opacity: 0;
        transform: translateY(-40px) scale(1.08);
    }

    65% {
        opacity: 1;
        transform: translateY(3px) scale(.995);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

/* الرسم الدائري خارج البطل */
.hero-art--standalone {
    margin-block: 8px 24px;
}

/* أزرار الشرائح */
.hero-dots {
    position: absolute;
    inset-inline: 0;
    bottom: clamp(18px, 3vw, 30px);
    z-index: 5;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-inline: 16px;
}

.hero-dot {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(var(--hero-navy), .45);
    color: rgba(255, 255, 255, .78);
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background .3s, color .3s, border-color .3s, transform .3s;
}

.hero-dot svg {
    width: 16px;
    height: 16px;
    flex: none;
}

.hero-dot:hover,
.hero-dot:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, .6);
    transform: translateY(-2px);
    outline: none;
}

.hero-dot.is-active {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    border-color: rgba(255, 255, 255, .55);
}

/* شريط تقدّم داخل الزر النشط يمتلئ خلال مدّة الشريحة */
.hero-dot::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    background: var(--logo-red);
    transform: scaleX(0);
    transform-origin: 100% 50%;
}

[dir="ltr"] .hero-dot::after {
    transform-origin: 0 50%;
}

.hero-dot.is-active::after {
    animation: heroDotFill var(--hero-interval) linear forwards;
}

@keyframes heroDotFill {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (max-width: 980px) {
    .hero--cover {
        min-height: 0;
    }

    /* النص في المنتصف على الشاشات الصغيرة، فالتعتيم موحّد وأقوى */
    .hero-slider-shade {
        background:
            linear-gradient(180deg, rgba(var(--hero-navy), .55) 0%, rgba(var(--hero-navy), .62) 45%, rgba(var(--hero-navy), .9) 100%);
    }
}

@media (max-width: 560px) {
    .hero-dot {
        padding: 9px 12px;
    }

    .hero-dot span {
        display: none;
    }

    .hero-mode-item {
        flex-wrap: wrap;
        justify-content: center;
        padding: 8px 14px;
        font-size: .84rem;
    }

    .hero-mode-item>span {
        flex-basis: 100%;
        font-size: .78rem;
    }

    .hero-mode-item>span::before {
        content: none;
    }

    .hero-dot.is-active span {
        display: inline;
    }

    .hero-slide img {
        transform: scale(1.02);
    }
}

/* ------------------------------------------------------------------
   6-ج) صفحة طلب عرض السعر — Quote
   ------------------------------------------------------------------ */
.quote-grid {
    display: grid;
    grid-template-columns: .85fr 1.35fr;
    gap: var(--gap);
    align-items: start;
}

/* البطاقة الجانبية الداكنة */
.quote-side {
    position: sticky;
    top: 96px;
    padding: 34px 30px;
    border-radius: var(--r-lg);
    background: linear-gradient(165deg, var(--panel-dark) 0%, var(--panel-dark-3) 100%);
    color: #fff;
    box-shadow: var(--sh-3);
}

.quote-side h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: #fff;
}

.quote-side>p {
    font-size: .92rem;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 22px;
}

.quote-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.quote-list li {
    position: relative;
    padding-inline-start: 20px;
    font-size: .88rem;
    color: rgba(255, 255, 255, .9);
}

.quote-list li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-2);
}

.quote-contact {
    display: grid;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.quote-contact a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: .9rem;
    text-decoration: none;
    word-break: break-all;
}

.quote-contact a:hover {
    color: var(--brand-2);
}

.quote-contact svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--brand-2);
}

/* النموذج */
.quote-form {
    padding: clamp(22px, 3vw, 36px);
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
}

.quote-form .f-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
}

.quote-form .field.full {
    grid-column: 1 / -1;
}

.quote-honey {
    position: absolute;
    inset-inline-start: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* اختيارات نوع الشحن كرقائق */
.quote-radios {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quote-radios label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--line-2);
    background: var(--surface);
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.quote-radios input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--brand);
}

.quote-radios label:hover {
    border-color: var(--brand);
}

.quote-radios label:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-tint);
    color: var(--brand-dark);
}

.quote-radios label:has(input:focus-visible) {
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12);
}

/* حقل غير صالح بعد محاولة الإرسال */
.quote-form.was-validated .field :invalid {
    border-color: var(--err);
}

.quote-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}

.quote-submit .btn[disabled] {
    opacity: .7;
    cursor: progress;
    pointer-events: none;
}

.quote-note {
    font-size: .82rem;
    color: var(--muted);
}

/* رسالة النجاح */
.quote-success {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 20px 22px;
    border-radius: var(--r);
    background: color-mix(in srgb, var(--ok) 10%, var(--surface));
    border: 1.5px solid color-mix(in srgb, var(--ok) 35%, transparent);
    animation: quoteIn .4s var(--ease-back);
}

.quote-success[hidden] {
    display: none;
}

.quote-success i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ok);
    color: #fff;
    flex: none;
}

.quote-success i svg {
    width: 18px;
    height: 18px;
}

.quote-success h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--ok);
}

.quote-success p {
    font-size: .88rem;
    color: var(--ink-2);
}

@keyframes quoteIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

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

    .quote-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .quote-form .f-grid {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------------
   7) شريط المزايا — Perks
   ------------------------------------------------------------------ */
.perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.perk:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: var(--sh-2);
}

.perk i {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--brand-tint);
    color: var(--brand);
    flex: none;
}

.perk:nth-child(2n) i {
    background: var(--sea-tint);
    color: var(--sea);
}

.perk i svg {
    width: 24px;
    height: 24px;
}

.perk b {
    display: block;
    color: var(--ink);
    font-size: .98rem;
    line-height: 1.4;
}

.perk span {
    display: block;
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.6;
}

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

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

/* ------------------------------------------------------------------
   8) بطاقات أقسام الخدمات على الرئيسية — Category cards
   ------------------------------------------------------------------ */
.cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 24px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.cat:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: var(--sh-2);
}

.cat-ic {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 16px;
    background: var(--brand-tint);
    color: var(--brand);
}

/* نغمتان متبادلتان تمنحان الشبكة إيقاعاً بلا صور */
.cat:nth-child(4n+2) .cat-ic,
.cat:nth-child(4n+3) .cat-ic {
    background: var(--sea-tint);
    color: var(--sea);
}

.cat-ic svg {
    width: 26px;
    height: 26px;
}

.cat b {
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.45;
}

.cat>span {
    flex: 1 1 auto;
    font-size: .86rem;
    color: var(--muted);
}

.cat em {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-style: normal;
    font-size: .84rem;
    font-weight: 800;
    color: var(--brand-dark);
}

.cat em svg {
    width: 15px;
    height: 15px;
    transition: transform var(--t-fast);
}

/* السهم يتقدّم في اتجاه القراءة */
.cat:hover em svg {
    transform: translateX(-4px);
}

[dir="ltr"] .cat:hover em svg {
    transform: translateX(4px);
}

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

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

/* ------------------------------------------------------------------
   8ب) لوحتا المقارنة — Comparison panels
   ------------------------------------------------------------------ */
.compare {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    align-items: start;
}

.cmp {
    padding: 32px 30px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--sh-1);
}

.cmp--us {
    border-color: var(--brand);
    box-shadow: var(--sh-2);
}

.cmp--them {
    background: var(--cream-2);
}

.cmp h4 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
}

.cmp h4 svg {
    width: 24px;
    height: 24px;
}

.cmp--us h4 svg {
    color: var(--brand);
}

.cmp--them h4 svg {
    color: var(--muted);
}

.cmp ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.cmp li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: .92rem;
    line-height: 1.7;
}

.cmp li svg {
    width: 19px;
    height: 19px;
    margin-top: 5px;
    flex: none;
}

.cmp--us li svg {
    color: var(--ok);
}

.cmp--them li {
    color: var(--muted);
}

.cmp--them li svg {
    color: var(--err);
}

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

/* ------------------------------------------------------------------
   9) بطاقات الأطباق — Dish cards
   ------------------------------------------------------------------ */
.group {
    scroll-margin-top: calc(var(--header-h) + 80px);
    padding-block: clamp(30px, 4vw, 48px);
}

.group-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 26px;
}

.group-head i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--grad-brand);
    color: var(--on-brand);
    box-shadow: var(--sh-brand);
    flex: none;
}

.group-head i svg {
    width: 27px;
    height: 27px;
}

.group-head h3 {
    line-height: 1.3;
}

.group-head p {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.6;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
    gap: var(--gap);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--line-2);
    box-shadow: var(--sh-3);
}

.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--cream-2);
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.card:hover .card-media img {
    transform: scale(1.06);
}

.card-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: var(--r-pill);
    background: var(--grad-brand);
    color: var(--on-brand);
    font-size: .73rem;
    font-weight: 800;
    box-shadow: var(--sh-brand);
}

.card-badge svg {
    width: 13px;
    height: 13px;
}

.card-badge--sea {
    background: var(--grad-sea);
    box-shadow: 0 6px 16px rgba(var(--sea-rgb), .3);
}

.card-badge--gold {
    background: linear-gradient(135deg, #e09a10, #f6c453);
    box-shadow: 0 6px 16px rgba(224, 154, 16, .3);
}

.card-rate {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .93);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    font-size: .78rem;
    font-weight: 800;
    color: var(--ink);
}

.card-rate svg {
    width: 13px;
    height: 13px;
    color: var(--gold);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
}

.card-body h4 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.5;
}

.card-body p {
    margin-top: 6px;
    font-size: .85rem;
    line-height: 1.8;
    color: var(--muted);
    /* سطران ثابتان: يمنع تفاوت ارتفاع البطاقات داخل الصف */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag {
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: var(--cream-2);
    border: 1px solid var(--line);
    font-size: .72rem;
    font-weight: 700;
    color: var(--ink-2);
}

.tag--sea {
    background: var(--sea-tint);
    border-color: transparent;
    color: var(--sea);
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
}

/* البطاقة ضيّقة على السعر والزرّ معاً، فيأخذ زرّ واتساب سطره كاملاً تحته */
.card-action {
    flex: 1 1 100%;
}

.card-action .card-wa {
    display: flex;
    justify-content: center;
}

.price {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: var(--brand-dark);
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1;
}

.price small {
    font-size: .72rem;
    font-weight: 700;
    opacity: .8;
}

/* زر التواصل عبر واتساب داخل بطاقة الخدمة أو الباقة */
.card-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--r-pill);
    background: #25d366;
    color: #fff;
    font-size: .88rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .3);
    transition: transform var(--t-fast), box-shadow var(--t);
}

.card-wa svg {
    width: 17px;
    height: 17px;
}

.card-wa:hover {
    box-shadow: 0 10px 22px rgba(37, 211, 102, .42);
}

.card-wa:active {
    transform: scale(.95);
}

/* حالة عدم وجود نتائج */
.empty {
    grid-column: 1 / -1;
    padding: 60px 24px;
    text-align: center;
    color: var(--muted);
}

.empty svg {
    width: 56px;
    height: 56px;
    margin-inline: auto;
    margin-bottom: 16px;
    color: var(--line-2);
}

.empty b {
    display: block;
    color: var(--ink);
    font-size: 1.15rem;
    margin-bottom: 6px;
}

/* ------------------------------------------------------------------
   10) شريط العرض المميّز — Featured banner
   ------------------------------------------------------------------ */
.feature {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--panel-dark) 0%, var(--panel-dark-2) 100%);
    color: rgba(255, 255, 255, .8);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
}

.feature::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -180px;
    inset-inline-start: -120px;
    border-radius: 50%;
    background: rgba(var(--brand-2-rgb), .22);
    filter: blur(60px);
}

.feature-body {
    position: relative;
    z-index: 1;
    padding: clamp(30px, 4vw, 52px);
}

.feature-body h3 {
    color: #fff;
    margin-block: 14px 12px;
    font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2.1rem);
}

.feature-body .eyebrow {
    background: rgba(255, 255, 255, .1);
    color: #ffb98a;
}

.feature-price {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 20px 0 24px;
}

.feature-now {
    color: #ff9166;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.feature-now small {
    font-size: .9rem;
}

.feature-was {
    color: rgba(255, 255, 255, .4);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: line-through;
}

.feature-img {
    position: relative;
    align-self: stretch;
    min-height: 300px;
}

.feature-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

    .feature-img {
        order: -1;
        min-height: 220px;
    }
}

/* ------------------------------------------------------------------
   10ب) بطاقات العروض — Offers
   ------------------------------------------------------------------ */
.offers {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--gap);
}

.offer {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.offer:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--brand-rgb), .35);
    box-shadow: var(--sh-3);
}

.offer-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cream-2);
}

.offer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.offer:hover .offer-media img {
    transform: scale(1.06);
}

/* شارة التوفير — الأبرز في البطاقة */
.offer-save {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: var(--r-pill);
    background: var(--grad-brand);
    color: var(--on-brand);
    font-size: .82rem;
    font-weight: 800;
    box-shadow: var(--sh-brand);
}

.offer-save svg {
    width: 15px;
    height: 15px;
}

.offer-badge {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(26, 22, 20, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
}

.offer-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}

.offer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.offer-top h3 {
    font-size: 1.25rem;
    line-height: 1.4;
}

.offer-serves {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: var(--sea-tint);
    color: var(--sea);
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}

.offer-serves svg {
    width: 14px;
    height: 14px;
}

.offer-body>p {
    font-size: .89rem;
    color: var(--muted);
}

.offer-items {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: grid;
    gap: 7px;
}

.offer-items li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .87rem;
    color: var(--ink-2);
    line-height: 1.7;
}

.offer-items svg {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 5px;
    color: var(--ok);
}

.offer-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 13px;
    border-radius: var(--r-sm);
    background: #fff6e8;
    border: 1px solid #f8e0b8;
    font-size: .79rem;
    line-height: 1.6;
    color: #8a5a10;
}

.offer-note svg {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 3px;
}

.offer-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 18px;
}

.offer-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.offer-now {
    color: var(--brand-dark);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.offer-now small {
    font-size: .72rem;
    font-weight: 700;
}

.offer-was {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 700;
    text-decoration: line-through;
}

.offer-pct {
    flex-basis: 100%;
    color: var(--ok);
    font-size: .78rem;
    font-weight: 800;
}

/* عرض مميّز في رأس الصفحة */
.offer-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--panel-dark) 0%, var(--panel-dark-2) 100%);
    color: rgba(255, 255, 255, .82);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.offer-hero::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    top: -190px;
    inset-inline-start: -130px;
    border-radius: 50%;
    background: rgba(var(--brand-2-rgb), .24);
    filter: blur(65px);
}

.offer-hero-body {
    position: relative;
    z-index: 1;
    padding: clamp(28px, 4vw, 50px);
}

.offer-hero-body h2 {
    color: #fff;
    margin: 14px 0 12px;
}

.offer-hero-body .eyebrow {
    background: rgba(255, 255, 255, .1);
    color: #ffb98a;
}

.offer-hero-img {
    position: relative;
    align-self: stretch;
    min-height: 300px;
}

.offer-hero-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 860px) {
    .offer-hero {
        grid-template-columns: 1fr;
    }

    .offer-hero-img {
        order: -1;
        min-height: 210px;
    }
}

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

    .offer-top {
        flex-direction: column;
        gap: 8px;
    }
}

/* ------------------------------------------------------------------
   11) خطوات الطلب — Steps
   ------------------------------------------------------------------ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.step {
    position: relative;
    padding: 30px 26px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-2);
}

.step-num {
    position: absolute;
    top: 18px;
    inset-inline-end: 22px;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--cream-2);
    z-index: 0;
}

.step>* {
    position: relative;
    z-index: 1;
}

.step i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: var(--grad-brand);
    color: var(--on-brand);
    box-shadow: var(--sh-brand);
}

.step i svg {
    width: 27px;
    height: 27px;
}

.step h4 {
    font-size: 1.12rem;
    margin-bottom: 6px;
}

.step p {
    font-size: .89rem;
    color: var(--muted);
}

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

/* ------------------------------------------------------------------
   12) آراء الزوّار — Reviews
   ------------------------------------------------------------------ */
.reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.review {
    padding: 28px 26px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t);
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-2);
}

.stars {
    display: flex;
    gap: 2px;
    color: var(--gold);
    margin-bottom: 12px;
}

.stars svg {
    width: 17px;
    height: 17px;
}

.review p {
    font-size: .92rem;
    color: var(--ink-2);
}

.review-by {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.avatar {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: var(--on-brand);
    font-weight: 800;
    font-size: 1rem;
    flex: none;
}

.review-by b {
    display: block;
    color: var(--ink);
    font-size: .92rem;
    line-height: 1.4;
}

.review-by span {
    display: block;
    font-size: .78rem;
    color: var(--muted);
}

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

/* ------------------------------------------------------------------
   13) الحقول وشريط الخيارات — Fields
   ------------------------------------------------------------------ */
.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink);
}

.field label i {
    color: var(--brand);
    font-style: normal;
}

.field .opt {
    color: var(--muted);
    font-weight: 400;
    font-size: .78rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--line-2);
    background: var(--surface);
    font-size: .93rem;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.field textarea {
    resize: vertical;
    min-height: 80px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12);
}

/* شريط الخيارات المجزّأ — يستخدمه حاسبة الشحن */
.seg {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    padding: 3px;
    border-radius: var(--r-pill);
    background: var(--cream-2);
    border: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}

.seg label {
    position: relative;
    margin: 0;
    min-width: 0;
}

/* الزر المخفي يبقى محصوراً داخل خانته. بلا position:relative على الأب
   ومقاس صريح هنا كان يرث width:100% من «.field input» وتصير حاويته
   إطار الصفحة كلّه، فيخرج بعرض 1200px+ خارج حدود الشاشة — وفي الوضع
   من اليمين لليسار يتسبّب ذلك في إزاحة الصفحة كاملة أثناء التمرير. */
.seg input {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.seg span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 10px;
    border-radius: var(--r-pill);
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink-2);
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all var(--t-fast);
}

.seg span svg {
    flex: none;
    width: 18px;
    height: 18px;
}

.seg input:checked+span {
    background-image: var(--grad-brand);
    color: var(--on-brand);
    box-shadow: var(--sh-brand);
}

.seg input:focus-visible+span {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
}

/* ------------------------------------------------------------------
   14) التنبيهات — Toast
   ------------------------------------------------------------------ */
.toasts {
    position: fixed;
    inset-block-end: 24px;
    inset-inline-start: 24px;
    z-index: 120;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 20px;
    border-radius: var(--r-pill);
    background: var(--band);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    box-shadow: var(--sh-4);
    animation: toastIn .35s var(--ease-back);
}

.toast.is-out {
    animation: toastOut .3s var(--ease) forwards;
}

.toast i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ok);
    flex: none;
}

.toast i svg {
    width: 15px;
    height: 15px;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.94);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateY(12px) scale(.96);
    }
}

@media (max-width: 560px) {
    .toasts {
        inset-inline: 16px;
        inset-block-end: 16px;
    }

    .toast {
        justify-content: center;
    }
}

/* ------------------------------------------------------------------
   15) زر واتساب عائم
   ------------------------------------------------------------------ */
.wa-float {
    position: fixed;
    inset-block-end: 24px;
    inset-inline-end: 24px;
    z-index: 55;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
    transition: transform var(--t), box-shadow var(--t);
}

.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37, 211, 102, .5);
}

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

/* نبضة خفيفة تلفت الانتباه دون إزعاج */
.wa-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: ripple 2.6s var(--ease) infinite;
}

@keyframes ripple {
    to {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 560px) {
    .wa-float {
        width: 50px;
        height: 50px;
        inset-block-end: 18px;
        inset-inline-end: 18px;
    }

    .wa-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ------------------------------------------------------------------
   16ب) زر العودة إلى الأعلى
   ------------------------------------------------------------------ */
.to-top {
    position: fixed;
    inset-block-end: 24px;
    inset-inline-start: 24px;
    z-index: 55;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface);
    border: 1.5px solid var(--line-2);
    color: var(--brand-dark);
    box-shadow: var(--sh-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.9);
    transition: opacity var(--t), transform var(--t), visibility var(--t),
        background var(--t-fast), color var(--t-fast);
}

.to-top.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background-image: var(--grad-brand);
    border-color: transparent;
    color: var(--on-brand);
    transform: translateY(-3px);
}

.to-top svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 760px) {
    .to-top {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 560px) {
    .to-top {
        inset-inline-start: 18px;
    }
}

/* ------------------------------------------------------------------
   16) الصفحات الداخلية
   ------------------------------------------------------------------ */
.pagehead {
    position: relative;
    padding-block: clamp(48px, 6vw, 84px);
    background: var(--grad-warm);
    overflow: hidden;
    text-align: center;
}

.pagehead::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -220px;
    inset-inline-start: 50%;
    transform: translateX(50%);
    border-radius: 50%;
    background: rgba(var(--brand-2-rgb), .16);
    filter: blur(70px);
}

.pagehead .wrap {
    position: relative;
    z-index: 1;
}

.pagehead p {
    max-width: 60ch;
    margin: 12px auto 0;
    color: var(--muted);
}

/* ترويسة بصورة كاملة بلا نصّ — صفحة «عن الشركة» */
.pagehead--image {
    /* width صريح حتى لا ينتقل max-height عبر aspect-ratio إلى عرض أضيق من الشاشة */
    width: 100%;
    padding-block: 0;
    background: var(--cream);
    aspect-ratio: 2000 / 600;
    min-height: 220px;
    max-height: 560px;
    isolation: isolate;
}

.pagehead--image::before {
    display: none;
}

.pagehead--image .pagehead-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* تدرّج خفيف أسفل الصورة ليندمج طرفها مع خلفية الصفحة */
.pagehead--image::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 28%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, var(--cream) 100%);
    pointer-events: none;
}

@media (max-width: 640px) {
    .pagehead--image {
        aspect-ratio: 16 / 9;
        min-height: 200px;
    }
}

.crumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: .84rem;
    color: var(--muted);
}

.crumbs a:hover {
    color: var(--brand-dark);
}

.crumbs svg {
    width: 13px;
    height: 13px;
    opacity: .6;
}

/* شبكة نصّ + صورة */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(28px, 5vw, 64px);
}

.split--flip .split-media {
    order: 2;
}

.split-media {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--sh-3);
    aspect-ratio: 4 / 3;
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-stat {
    position: absolute;
    inset-block-end: 22px;
    inset-inline-start: 22px;
    padding: 16px 22px;
    border-radius: var(--r);
    background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: var(--sh-2);
}

.split-stat b {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1;
}

.split-stat span {
    font-size: .8rem;
    color: var(--muted);
}

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

    .split--flip .split-media {
        order: -1;
    }
}

/* بطاقات القيم */
.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.value {
    padding: 28px 26px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.value:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: var(--sh-2);
}

.value i {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    border-radius: 15px;
    background: var(--brand-tint);
    color: var(--brand);
}

.value:nth-child(3n+2) i {
    background: var(--sea-tint);
    color: var(--sea);
}

.value i svg {
    width: 26px;
    height: 26px;
}

.value h4 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.value p {
    font-size: .88rem;
    color: var(--muted);
}

/* رؤيتنا ورسالتنا وقيمنا — بطاقتان جنباً إلى جنب ثم بطاقة عريضة للقيم */
.values--2 {
    grid-template-columns: repeat(2, 1fr);
}

.values--2 .value p {
    font-size: .95rem;
    color: var(--ink-2);
}

.value--wide {
    grid-column: 1 / -1;
}

.value--wide p {
    max-width: 88ch;
}

.commit-title {
    display: block;
    margin-top: 20px;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--muted);
}

.commit {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 1;
}

.commit li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border-radius: var(--r);
    background: var(--brand-tint);
    border: 1px solid transparent;
    color: var(--brand-dark);
    font-weight: 800;
    font-size: .92rem;
    line-height: 1.4;
    transition: border-color var(--t), transform var(--t);
}

.commit li:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.commit li svg {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--sea);
}

@media (max-width: 900px) {
    .values--2 {
        grid-template-columns: 1fr;
    }

    .commit {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

/* بطاقات الفروع */
.branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.branch {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t);
}

.branch:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-3);
}

.branch-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.branch-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--t-slow);
}

.branch:hover .branch-media img {
    transform: scale(1.06);
}

.branch-tag {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    padding: 6px 13px;
    border-radius: var(--r-pill);
    background: rgba(26, 22, 20, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
}

.branch-body {
    padding: 22px 24px 24px;
}

.branch-body h4 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.info-line {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 10px;
    font-size: .88rem;
    color: var(--ink-2);
}

.info-line:last-child {
    margin-bottom: 0;
}

.info-line svg {
    width: 18px;
    height: 18px;
    color: var(--brand);
    flex: none;
    margin-top: 5px;
}

.info-line a:hover {
    color: var(--brand-dark);
}

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

/* الأسئلة الشائعة */
.faq {
    max-width: 800px;
    margin-inline: auto;
}

.qa {
    margin-bottom: 12px;
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t);
}

.qa[open],
.qa:hover {
    border-color: var(--line-2);
    box-shadow: var(--sh-2);
}

.qa summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    font-weight: 800;
    font-size: 1rem;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    transition: color var(--t-fast);
}

.qa summary::-webkit-details-marker {
    display: none;
}

.qa summary::marker {
    content: "";
}

.qa summary:hover {
    color: var(--brand-dark);
}

.qa summary::after {
    content: "";
    flex: none;
    width: 28px;
    height: 28px;
    margin-inline-start: auto;
    border-radius: 50%;
    background:
        linear-gradient(var(--brand), var(--brand)) center / 11px 2px no-repeat,
        linear-gradient(var(--brand), var(--brand)) center / 2px 11px no-repeat,
        var(--brand-tint);
    transition: transform var(--t), background var(--t);
}

.qa[open] summary::after {
    transform: rotate(135deg);
    background:
        linear-gradient(#fff, #fff) center / 11px 2px no-repeat,
        linear-gradient(#fff, #fff) center / 2px 11px no-repeat,
        var(--brand);
}

.qa[open] summary {
    color: var(--brand-dark);
}

.qa-body {
    padding: 0 22px 20px;
    font-size: .92rem;
    color: var(--muted);
    animation: fadeDown .3s var(--ease);
}

.qa-body a {
    color: var(--brand-dark);
    font-weight: 700;
    text-decoration: underline;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
}

/* خريطة */
.map {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--sh-2);
    line-height: 0;
}

.map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    filter: saturate(.9);
}

@media (max-width: 760px) {
    .map iframe {
        height: 300px;
    }
}

/* شريط دعوة */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    padding: clamp(30px, 4vw, 48px);
    background-image: var(--grad-brand);
    color: var(--on-brand);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
}

.cta-band::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -140px;
    inset-inline-end: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .13);
}

.cta-band>* {
    position: relative;
    z-index: 1;
}

.cta-band h3 {
    color: #fff;
    max-width: 34ch;
}

.cta-band p {
    margin-top: 6px;
    color: rgba(255, 255, 255, .85);
    font-size: .93rem;
}

.cta-band .btn {
    --btn-bg: none;
    --btn-fg: var(--brand-on-light);
    background-color: #fff;
    box-shadow: 0 8px 22px rgba(120, 30, 10, .28);
}

/* ------------------------------------------------------------------
   17ب) صفحة الخطأ 404
   ------------------------------------------------------------------ */
.err-page {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    min-height: calc(100vh - var(--header-h) - 40px);
    padding-block: clamp(50px, 8vw, 100px);
    background: var(--grad-warm);
    text-align: center;
}

.err-page::before,
.err-page::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.err-page::before {
    width: 420px;
    height: 420px;
    top: -150px;
    inset-inline-start: -110px;
    background: rgba(var(--brand-2-rgb), .24);
}

.err-page::after {
    width: 360px;
    height: 360px;
    bottom: -160px;
    inset-inline-end: -90px;
    background: rgba(var(--sea-rgb), .16);
}

.err-page .wrap {
    position: relative;
    z-index: 1;
}

.err-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1;
    margin-bottom: 18px;
}

.err-code span {
    font-size: clamp(5rem, 16vw, 11rem);
    font-weight: 800;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.err-code i {
    display: grid;
    place-items: center;
    color: var(--brand);
    animation: swim 4.5s ease-in-out infinite;
}

.err-code i svg {
    width: clamp(3.6rem, 11vw, 7.5rem);
    height: clamp(3.6rem, 11vw, 7.5rem);
}

@keyframes swim {

    0%,
    100% {
        transform: rotate(-8deg) translateY(0);
    }

    50% {
        transform: rotate(8deg) translateY(-10px);
    }
}

.err-page h1 {
    font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.9rem);
    margin-bottom: 14px;
}

.err-text {
    max-width: 56ch;
    margin: 0 auto 30px;
    color: var(--muted);
}

.err-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 38px;
}

.err-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 22px;
    padding-top: 26px;
    border-top: 1px dashed var(--line-2);
    font-size: .9rem;
}

.err-links>span {
    color: var(--muted);
}

.err-links a {
    position: relative;
    font-weight: 700;
    color: var(--ink);
    transition: color var(--t-fast);
}

.err-links a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad-brand);
    transform: scaleX(0);
    transition: transform var(--t);
}

.err-links a:hover {
    color: var(--brand-dark);
}

.err-links a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 520px) {
    .err-actions .btn {
        width: 100%;
    }
}

/* ------------------------------------------------------------------
   17) التذييل — Footer
   ------------------------------------------------------------------ */
.footer {
    position: relative;
    margin-top: clamp(40px, 6vw, 80px);
    padding-block: clamp(44px, 5vw, 70px) 0;
    background: var(--band);
    color: rgba(255, 255, 255, .68);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    top: -220px;
    inset-inline-start: -120px;
    border-radius: 50%;
    background: rgba(var(--brand-rgb), .16);
    filter: blur(80px);
}

.footer .wrap {
    position: relative;
    z-index: 1;
}

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

.footer h5 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.footer h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background-image: var(--grad-brand);
}

.footer .brand-name {
    color: #fff;
}

.footer p {
    font-size: .88rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer li {
    margin-bottom: 9px;
}

.footer li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    transition: color var(--t-fast), padding-inline-start var(--t-fast);
}

.footer li a:hover {
    color: #fff;
    padding-inline-start: 4px;
}

.footer li a svg {
    width: 13px;
    height: 13px;
    color: var(--brand-2);
}

.footer .info-line {
    color: rgba(255, 255, 255, .72);
    font-size: .88rem;
}

.footer .info-line svg {
    color: var(--brand-2);
}

.footer .info-line a:hover {
    color: #fff;
}

.hours li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .12);
    font-size: .85rem;
    margin: 0;
}

.hours li:last-child {
    border-bottom: 0;
}

.hours b {
    color: #fff;
    font-weight: 700;
}

.hours .open {
    color: #4ade80;
    font-weight: 700;
}

.socials {
    display: flex;
    gap: 9px;
    margin-top: 18px;
}

.socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: transform var(--t-fast), background var(--t-fast);
}

.socials a:hover {
    transform: scale(1.12);
    background-image: var(--grad-brand);
}

.socials svg {
    width: 18px;
    height: 18px;
}

.subfooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
}

.subfooter a:hover {
    color: #fff;
}

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

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .subfooter {
        justify-content: center;
        text-align: center;
    }
}

/* ------------------------------------------------------------------
   18) الظهور التدريجي — Reveal
   ------------------------------------------------------------------ */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ==================================================================
   19) مكوّنات الشحن واللوجستيات
   ================================================================== */

/* ------------------------------------------------------------------
   19-1) النغمات اللونية — تمنح البطاقات إيقاعاً بصرياً بلا صور
   ------------------------------------------------------------------ */
.tone-1 {
    --tone: var(--brand);
    --tone-2: var(--brand-2);
    --tone-tint: var(--brand-tint);
}

.tone-2 {
    --tone: var(--sea);
    --tone-2: var(--sea-2);
    --tone-tint: var(--sea-tint);
}

.tone-3 {
    --tone: var(--sea);
    --tone-2: var(--sea-2);
    --tone-tint: var(--sea-tint);
}

.tone-4 {
    --tone: var(--neutral, #3d322c);
    --tone-2: var(--neutral-2, #6b5a50);
    --tone-tint: var(--neutral-tint, #f3ece6);
}

/* ------------------------------------------------------------------
   19-2) بطاقة الخدمة — أيقونة متدرّجة بدل الصورة
   ------------------------------------------------------------------ */
.card--svc::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 120px;
    background: linear-gradient(180deg, var(--tone-tint), transparent);
    pointer-events: none;
}

.card--svc::after {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tone), var(--tone-2));
    transform: scaleX(0);
    transition: transform var(--t);
}

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

.card--svc:hover {
    border-color: var(--tone);
}

.card--svc>* {
    position: relative;
}

.svc-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 0;
}

.svc-ic {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--tone), var(--tone-2));
    color: #fff;
    box-shadow: var(--sh-2);
    flex: none;
    transition: transform var(--t-slow) var(--ease-back);
}

.card--svc:hover .svc-ic {
    transform: rotate(-8deg) scale(1.06);
}

.svc-ic svg {
    width: 29px;
    height: 29px;
}

.svc-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.svc-meta .card-badge {
    position: static;
    box-shadow: none;
}

.svc-rate {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--line);
    font-size: .78rem;
    font-weight: 800;
    color: var(--ink);
}

.svc-rate svg {
    width: 13px;
    height: 13px;
    color: var(--gold);
}

/* السعر مع وحدة التسعير */
.price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.price-row {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.price .from {
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
}

.price em {
    font-style: normal;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--muted);
}

/* ------------------------------------------------------------------
   19-3) بطاقة الباقة
   ------------------------------------------------------------------ */
.pkg-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 24px 24px 4px;
    background: linear-gradient(180deg, var(--tone-tint), transparent);
}

.pkg-ic {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-inline-end: auto;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--tone), var(--tone-2));
    color: #fff;
    box-shadow: var(--sh-2);
    flex: none;
    transition: transform var(--t-slow) var(--ease-back);
}

.offer:hover .pkg-ic {
    transform: rotate(-8deg) scale(1.06);
}

.pkg-ic svg {
    width: 32px;
    height: 32px;
}

.pkg-top .offer-save,
.pkg-top .offer-badge {
    position: static;
}

.offer-now small {
    white-space: nowrap;
}

/* ------------------------------------------------------------------
   19-4) لوحة البطل — مشهد الطريق
   ------------------------------------------------------------------ */
.hero-plate {
    background: linear-gradient(150deg, var(--surface) 0%, var(--cream-2) 55%, var(--brand-tint) 100%);
}

.hero-plate>svg {
    width: 100%;
    height: 100%;
}

.hero-badge--c {
    bottom: 30%;
    inset-inline-start: -8%;
    animation-delay: -1.5s;
}

.hero-badge--c i {
    background: #fdf3dd;
    color: #c98a08;
}

@media (max-width: 560px) {
    .hero-badge--c {
        display: none;
    }
}

/* ------------------------------------------------------------------
   19-5) شريط الأرقام
   ------------------------------------------------------------------ */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat {
    position: relative;
    overflow: hidden;
    padding: 28px 22px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    text-align: center;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: var(--sh-2);
}

.stat i {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 15px;
    background: var(--brand-tint);
    color: var(--brand);
}

.stat:nth-child(2n) i {
    background: var(--sea-tint);
    color: var(--sea);
}

.stat i svg {
    width: 24px;
    height: 24px;
}

.stat b {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.5rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
}

.stat b span {
    display: inline;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.stat b small {
    font-size: .5em;
    color: var(--brand);
}

.stat>span {
    display: block;
    margin-top: 6px;
    font-size: .86rem;
    color: var(--muted);
}

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

/* ------------------------------------------------------------------
   19-6) الشريط المتحرّك للتغطية
   ------------------------------------------------------------------ */
.marquee {
    position: relative;
    overflow: hidden;
    padding-block: 16px;
    border-block: 1px dashed var(--line-2);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.mq-track {
    display: flex;
    gap: 34px;
    width: max-content;
    animation: mq var(--mq-dur, 55s) linear infinite;
    will-change: transform;
}

/* كل نسخة من المدن مجموعة مستقلّة، فتكون مسافة الدورة دقيقة بلا قفزة */
.mq-run {
    display: flex;
    gap: inherit;
}

@keyframes mq {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(var(--mq-shift, 50%) * -1));
    }
}

/* في الاتجاه من اليمين لليسار يمتدّ الشريط ناحية اليسار، فتكون الحركة للجهة المقابلة */
[dir="rtl"] .mq-track {
    animation-name: mq-rtl;
}

@keyframes mq-rtl {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--mq-shift, 50%));
    }
}

.mq-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    font-weight: 700;
    color: var(--ink-2);
    white-space: nowrap;
}

.mq-item svg {
    width: 16px;
    height: 16px;
    color: var(--brand);
}

.mq-item:nth-child(3n) svg {
    color: var(--sea);
}

/* قوائم التغطية */
.coverage {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cov-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-1);
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink-2);
    transition: transform var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.cov-chip:hover {
    transform: translateY(-2px);
    border-color: var(--brand);
    color: var(--brand-dark);
}

.cov-chip svg {
    width: 15px;
    height: 15px;
    color: var(--brand);
}

.cov-chip:nth-child(3n) svg {
    color: var(--sea);
}

.cov-chip:nth-child(3n+1) svg {
    color: var(--gold);
}

/* ------------------------------------------------------------------
   19-7) حاسبة الشحن
   ------------------------------------------------------------------ */
.calc {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(20px, 3vw, 38px);
    padding: clamp(22px, 3vw, 36px);
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--sh-2);
}

.calc .field {
    margin-bottom: 14px;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: var(--r-sm);
    background: var(--cream);
    border: 1px solid var(--line);
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    transition: border-color var(--t-fast), background var(--t-fast);
}

.check:hover {
    border-color: var(--brand);
}

.check input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
    flex: none;
}

.calc-panel {
    align-self: start;
    padding: clamp(20px, 2.4vw, 28px);
    border-radius: var(--r-lg);
    background: var(--cream);
    border: 1px solid var(--line);
}

.calc-panel h4 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.calc-panel h4 svg {
    width: 20px;
    height: 20px;
    color: var(--brand);
}

.calc-rows div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 11px;
    border-bottom: 1px dashed var(--line-2);
    font-size: .9rem;
}

.calc-rows div span:first-child {
    color: var(--muted);
}

.calc-rows div span:last-child {
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
}

.calc-grand {
    border-bottom: 0 !important;
    margin-top: 4px;
    padding-top: 14px !important;
    font-size: 1.05rem !important;
}

.calc-grand span:first-child {
    color: var(--ink) !important;
    font-weight: 800;
}

.calc-grand span:last-child {
    color: var(--brand-dark) !important;
    font-size: 1.2rem;
}

.calc-eta {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    margin-block: 14px;
    border-radius: var(--r-sm);
    background: var(--sea-tint);
    color: var(--sea);
    font-size: .88rem;
    font-weight: 700;
}

.calc-eta svg {
    width: 18px;
    height: 18px;
}

.calc-note {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    font-size: .78rem;
    line-height: 1.7;
    color: var(--muted);
}

.calc-note svg {
    width: 15px;
    height: 15px;
    flex: none;
    margin-top: 4px;
    color: var(--brand);
}

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

/* ------------------------------------------------------------------
   19-8) لمسات على الصفحات الداخلية
   ------------------------------------------------------------------ */
/* رسوم توضيحية بدل الصور */
.split-media {
    background: linear-gradient(150deg, var(--cream) 0%, var(--cream-2) 100%);
    border: 1px solid var(--line);
}

.split-media>svg,
.feature-img>svg,
.offer-hero-img>svg {
    width: 100%;
    height: 100%;
    display: block;
}

.offer-hero-img {
    background: linear-gradient(150deg, var(--surface) 0%, var(--cream-2) 100%);
}

.feature-img {
    background: linear-gradient(150deg, var(--surface) 0%, var(--cream-2) 100%);
}

/* الفروع — لوحة أيقونة بدل الصورة */
.branches {
    grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
}

.branch-media--ic {
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, var(--tone-tint), var(--surface));
}

.branch-media--ic::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(var(--shadow-rgb), .09) 1.2px, transparent 1.2px);
    background-size: 18px 18px;
}

.branch-ic {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--tone), var(--tone-2));
    color: #fff;
    box-shadow: var(--sh-3);
    transition: transform var(--t-slow) var(--ease-back);
}

.branch:hover .branch-ic {
    transform: rotate(-8deg) scale(1.07);
}

.branch-ic svg {
    width: 36px;
    height: 36px;
}

/* شبكة نقطية خفيفة خلف الأقسام المهمّة */
.dots {
    position: relative;
}

.dots>.wrap {
    position: relative;
    z-index: 1;
}

.dots::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(var(--brand-rgb), .16) 1.3px, transparent 1.3px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
    mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent);
    pointer-events: none;
}

/* بطاقات «لماذا نحن» بخطوط متدرّجة */
.value {
    position: relative;
    overflow: hidden;
}

.value::after {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--brand-tint);
    filter: blur(28px);
    opacity: .8;
    pointer-events: none;
}

.value:nth-child(3n+2)::after {
    background: var(--sea-tint);
}

/* ------------------------------------------------------------------
   20) شاشة التحميل — Preloader
   الغلاف يُحقن من assets/js/preloader.js في أول <body>
   ------------------------------------------------------------------ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: var(--cream);
}

.preloader.is-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility 0s linear .45s;
}

/* منع التمرير خلف الشاشة ريثما يكتمل التحميل */
body.is-loading {
    overflow: hidden;
}

/* From Uiverse.io by satyamchaudharydev */
.loading {
    --speed-of-animation: 0.9s;
    --gap: 6px;
    --first-color: #4c86f9;
    --second-color: #49a84c;
    --third-color: #f6bb02;
    --fourth-color: #f6bb02;
    --fifth-color: #2196f3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    gap: 6px;
    height: 100px;
}

.loading span {
    width: 4px;
    height: 50px;
    background: var(--first-color);
    animation: scale var(--speed-of-animation) ease-in-out infinite;
}

.loading span:nth-child(2) {
    background: var(--second-color);
    animation-delay: -0.8s;
}

.loading span:nth-child(3) {
    background: var(--third-color);
    animation-delay: -0.7s;
}

.loading span:nth-child(4) {
    background: var(--fourth-color);
    animation-delay: -0.6s;
}

.loading span:nth-child(5) {
    background: var(--fifth-color);
    animation-delay: -0.5s;
}

@keyframes scale {

    0%,
    40%,
    100% {
        transform: scaleY(0.05);
    }

    20% {
        transform: scaleY(1);
    }
}

/* ------------------------------------------------------------------
   21) احترام تقليل الحركة
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==================================================================
   22) ألوان الموقع — سمة الشعار (ثابتة لكل الصفحات)
   مأخوذة من LOGO.jpeg مباشرة: الكحلي #022149 هو اللون الغالب،
   والأحمر #d10e19 لون السهم، والخلفية بيضاء مائلة للبرودة.
   ================================================================== */
:root {
    --band: #022149;
    --panel-dark: #032a5a;
    --panel-dark-2: #0d4183;
    --panel-dark-3: #10488f;
    --on-brand: #fff;
    --cream: #fafcff;
    --cream-2: #eaf1fa;
    --surface: #ffffff;
    --ink: #0b1524;
    --ink-2: #37445c;
    --muted: #6f7c93;
    --line: #dde5f0;
    --line-2: #c5d2e4;
    --brand: #022149;
    --brand-dark: #022149;
    --brand-on-light: #022149;
    --brand-2: #1c56a8;
    --brand-tint: #e8eef7;
    --brand-rgb: 2, 33, 73;
    --brand-2-rgb: 28, 86, 168;
    --header-bg: rgba(250, 252, 255, .85);
    /* الأحمر هو اللون الثانوي هنا، كما يعبر السهم الكرة في الشعار */
    --sea: #c00d17;
    --sea-2: #d10e19;
    --sea-tint: #fdeaec;
    --sea-rgb: 192, 13, 23;
    --gold: #c8890a;
    --shadow-rgb: 2, 21, 45;
}

/* لوحات الرسوم بيضاء باردة بدل الدافئة */
.hero-plate {
    background: linear-gradient(150deg, #ffffff 0%, #f5f8fc 55%, #e9eff8 100%);
}

.offer-hero-img,
.feature-img,
.branch-plate {
    background: linear-gradient(150deg, #ffffff 0%, #eef2f8 100%);
}
