/* ═══════════════════════════════════════════════════════ */
/* RESET */
/* ═══════════════════════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
    --primary:#D4A574;
    --accent:#E07A3F;
    --accent-dark:#C96A30;
    --dark:#1A2332;
    --dark-2:#243044;
    --sand:#F5EDE0;
    --sand-2:#EBE0CC;
    --green:#4A7C59;
    --white:#fff;
    --gray:#6B7280;
    --border:#E5E7EB;

    --font-h:'Playfair Display', serif;
    --font-b:'Inter', system-ui, -apple-system, sans-serif;

    --shadow-sm:0 1px 2px rgba(0,0,0,.05);
    --shadow:0 4px 12px rgba(0,0,0,.08);
    --shadow-md:0 8px 24px rgba(0,0,0,.10);
    --shadow-lg:0 16px 40px rgba(0,0,0,.14);
    --shadow-xl:0 24px 60px rgba(0,0,0,.22);

    --r-sm:8px;
    --r-md:12px;
    --r-lg:16px;
    --r-full:9999px;

    --t:.28s cubic-bezier(.4,0,.2,1);
    --container:1200px;
    --gutter:20px;
}

html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body {
    font-family:var(--font-b);
    font-size:15px;
    line-height:1.6;
    color:var(--dark);
    background:var(--white);
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
}

img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }

.container {
    width:100%;
    max-width:var(--container);
    margin:0 auto;
    padding:0 var(--gutter);
}

.section { padding:72px 0; }
.section--dark { background:var(--dark); color:var(--white); }
.section--sand { background:var(--sand); }

/* ═══════════════════════════════════════════════════════ */
/* BUTTONS */
/* ═══════════════════════════════════════════════════════ */
.btn {
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:11px 22px;
    border-radius:var(--r-full);
    font-size:14px; font-weight:600; letter-spacing:.2px;
    transition:var(--t);
    white-space:nowrap; line-height:1.4;
}
.btn-sm { padding:8px 16px; font-size:13px; }
.btn-lg { padding:14px 28px; font-size:15px; }

.btn-primary {
    background:var(--accent);
    color:#fff;
    box-shadow:0 4px 14px rgba(224,122,63,.28);
}
.btn-primary:hover {
    background:var(--accent-dark);
    transform:translateY(-2px);
    box-shadow:0 6px 20px rgba(224,122,63,.4);
}
.btn-ghost {
    background:rgba(255,255,255,.12);
    color:#fff;
    border:1.5px solid rgba(255,255,255,.35);
    backdrop-filter:blur(10px);
}
.btn-ghost:hover { background:rgba(255,255,255,.22); }
.btn-outline {
    background:transparent;
    color:var(--dark);
    border:1.5px solid var(--dark);
}
.btn-outline:hover { background:var(--dark); color:#fff; }
.btn-block { width:100%; }

/* ═══════════════════════════════════════════════════════ */
/* TOPBAR */
/* ═══════════════════════════════════════════════════════ */
.topbar {
    background:var(--dark);
    color:rgba(255,255,255,.85);
    font-size:12.5px;
    padding:8px 0;
}
.topbar__inner {
    display:flex; justify-content:space-between;
    align-items:center; gap:12px; flex-wrap:wrap;
}
.topbar__left, .topbar__right {
    display:flex; align-items:center; gap:16px; flex-wrap:wrap;
}
.topbar i { color:var(--primary); margin-right:5px; font-size:11px; }
.topbar a { transition:var(--t); }
.topbar a:hover { color:var(--primary); }
.topbar__wa { color:#25D366 !important; }

.lang {
    display:flex; gap:2px;
    background:rgba(255,255,255,.08);
    border-radius:var(--r-full); padding:2px;
}
.lang__btn {
    padding:3px 9px; border-radius:var(--r-full);
    color:#fff; font-size:11px; font-weight:600;
    transition:var(--t);
}
.lang__btn.active { background:var(--primary); color:var(--dark); }
.lang__btn:hover:not(.active) { background:rgba(255,255,255,.15); }

/* ═══════════════════════════════════════════════════════ */
/* NAVBAR */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* ✅ NAVBAR DESERT OVERRIDE — شفاف + ظل سفلي             */
/* ═══════════════════════════════════════════════════════ */
.navbar {
    /* ✅ شفافية أعلى (0.72) لإظهار ما يمر خلفه */
    background: rgba(245, 237, 224, .72) !important;
    border-bottom: 1px solid rgba(212, 165, 116, .25) !important;
    /* ✅ blur أقوى لتعويض الشفافية */
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    /* ✅ ظل ناعم أسفل الـ navbar دائماً */
    box-shadow:
        0 4px 16px rgba(212, 165, 116, .12),
        0 1px 4px rgba(0, 0, 0, .05);
}

.navbar--scrolled {
    /* ✅ عند التمرير: شفافية متوسطة (0.85) */
    background: rgba(235, 224, 204, .85) !important;
    /* ✅ ظل أقوى عند التمرير */
    box-shadow:
        0 6px 24px rgba(212, 165, 116, .22),
        0 2px 8px rgba(0, 0, 0, .08),
        0 1px 0 rgba(212, 165, 116, .15) !important;
}


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

.brand { display:flex; align-items:center; gap:10px; }
.brand__icon {
    width:40px; height:40px;
    background:linear-gradient(135deg, var(--accent), var(--primary));
    border-radius:10px;
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:18px; flex-shrink:0;
}
.brand__text { display:flex; flex-direction:column; line-height:1.15; }
.brand__text strong {
    font-family:var(--font-h);
    font-size:16px; font-weight:700; color:var(--dark);
}
.brand__text small {
    font-size:10px; color:var(--gray);
    letter-spacing:.6px; text-transform:uppercase; font-weight:500;
}

.nav { display:flex; gap:26px; }
.nav a {
    font-size:14px; font-weight:500; color:var(--dark);
    position:relative; padding:6px 0; transition:var(--t);
}
.nav a::after {
    content:''; position:absolute; left:0; bottom:0;
    width:0; height:2px; background:var(--accent); transition:var(--t);
}
.nav a:hover { color:var(--accent); }
.nav a:hover::after { width:100%; }

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

.burger {
    display:none; flex-direction:column; gap:5px;
    padding:6px; width:36px; height:36px;
    justify-content:center; align-items:center;
    border-radius:var(--r-sm);
    transition:var(--t);
}
.burger span {
    width:20px; height:2px; background:var(--dark);
    border-radius:2px; transition:var(--t);
}
.burger.active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity:0; }
.burger.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }




/* ═══════════════════════════════════════════════════════ */
/* LANGUAGE DROPDOWN */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* LANGUAGE DROPDOWN */
/* ═══════════════════════════════════════════════════════ */
.lang-menu {
    position:relative;
    display:inline-block;
    z-index:1001;
}

.lang-menu__btn {
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:5px 10px;
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.18);
    border-radius:var(--r-full);
    color:#fff;
    font-size:12px;
    font-weight:600;
    font-family:inherit;
    cursor:pointer;
    transition:var(--t);
    line-height:1;
}
.lang-menu__btn:hover {
    background:rgba(255,255,255,.18);
    border-color:rgba(255,255,255,.3);
}
.lang-menu__btn i.fa-globe {
    font-size:13px;
    color:var(--primary);
}
.lang-menu__current {
    font-size:11.5px;
    font-weight:700;
    letter-spacing:.5px;
}
.lang-menu__arrow {
    font-size:9px;
    color:rgba(255,255,255,.6);
    transition:transform .25s ease;
}
.lang-menu.open .lang-menu__arrow {
    transform:rotate(180deg);
}

.lang-menu__dropdown {
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    min-width:220px;
    background:#fff;
    border-radius:var(--r-md);
    box-shadow:0 12px 40px rgba(0,0,0,.18);
    border:1px solid var(--border);
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    transition:opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index:2000;
}
.lang-menu.open .lang-menu__dropdown {
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.lang-menu__list {
    list-style:none;
    margin:0;
    padding:6px;
    max-height:340px;
    overflow-y:auto;
}
.lang-menu__list::-webkit-scrollbar { width:6px; }
.lang-menu__list::-webkit-scrollbar-thumb {
    background:var(--sand-2);
    border-radius:3px;
}

.lang-menu__item {
    width:100%;
    display:flex;
    align-items:center;
    gap:10px;
    padding:9px 12px;
    border:none;
    background:transparent;
    border-radius:var(--r-sm);
    cursor:pointer;
    font-family:inherit;
    text-align:left;
    transition:background .15s ease;
    color:var(--dark);
}
.lang-menu__item:hover { background:var(--sand); }
.lang-menu__item.active { background:rgba(224,122,63,.08); }

.lang-menu__flag {
    font-size:20px;
    line-height:1;
    flex-shrink:0;
    width:24px;
    text-align:center;
}
.lang-menu__info {
    flex:1;
    display:flex;
    flex-direction:column;
    gap:1px;
    min-width:0;
}
.lang-menu__native {
    font-size:13px;
    font-weight:600;
    color:var(--dark);
    line-height:1.2;
}
.lang-menu__english {
    font-size:10.5px;
    color:var(--gray);
    text-transform:uppercase;
    letter-spacing:.4px;
    font-weight:500;
    line-height:1.2;
}
.lang-menu__check {
    font-size:12px;
    color:var(--accent);
    opacity:0;
    transition:opacity .15s ease;
    flex-shrink:0;
}
.lang-menu__item.active .lang-menu__check { opacity:1; }

/* RTL support */
[dir="rtl"] .lang-menu__dropdown { right:auto; left:0; }
[dir="rtl"] .lang-menu__item { text-align:right; flex-direction:row-reverse; }
[dir="rtl"] .lang-menu__info { align-items:flex-end; }

@media (max-width: 640px) {
    .lang-menu__btn { padding:5px 8px; font-size:11px; }
    .lang-menu__btn i.fa-globe { font-size:12px; }
    .lang-menu__current { display:none; }
    .lang-menu__arrow { font-size:8px; }
    .lang-menu__dropdown { min-width:200px; right:0; }
    .lang-menu__item { padding:8px 10px; gap:8px; }
    .lang-menu__flag { font-size:18px; width:22px; }
    .lang-menu__native { font-size:12.5px; }
    .lang-menu__english { font-size:10px; }
}

/* ═══════════════════════════════════════════════════════ */
/* MOBILE DRAWER — SLIDES FROM RIGHT */
/* ═══════════════════════════════════════════════════════ */
.drawer-overlay {
    position:fixed; inset:0;
    background:rgba(0,0,0,.5);
    backdrop-filter:blur(4px);
    opacity:0; visibility:hidden;
    transition:opacity .3s ease, visibility .3s ease;
    z-index:998;
}
.drawer-overlay.active { opacity:1; visibility:visible; }

.drawer {
    position:fixed;
    top:0; right:0; bottom:0;
    width:min(320px, 85vw);
    background:#fff;
    box-shadow:var(--shadow-xl);
    transform:translateX(100%);
    transition:transform .35s cubic-bezier(.4,0,.2,1);
    z-index:999;
    display:flex; flex-direction:column;
    overflow-y:auto;
    overscroll-behavior:contain;
}
.drawer.active { transform:translateX(0); }

.drawer__header {
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 20px;
    border-bottom:1px solid var(--border);
    background:var(--dark);
    color:#fff;
    flex-shrink:0;
}
.drawer__header .brand__text strong { color:#fff; }
.drawer__header .brand__text small { color:rgba(255,255,255,.5); }

.drawer__header .brand__icon {
    background: transparent;
    color: var(--primary, #D4A574);
}

.drawer__close {
    width:36px; height:36px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-size:16px;
    transition:var(--t);
}
.drawer__close:hover { background:var(--accent); transform:rotate(90deg); }

.drawer__body {
    flex:1;
    padding:20px;
    display:flex; flex-direction:column;
    gap:6px;
}

.drawer__link {
    display:flex; align-items:center; gap:12px;
    padding:14px 16px;
    border-radius:var(--r-md);
    font-size:15px; font-weight:500;
    color:var(--dark);
    transition:var(--t);
    border:1px solid transparent;
}
.drawer__link i {
    width:20px;
    color:var(--accent);
    font-size:14px;
    text-align:center;
}
.drawer__link:hover {
    background:var(--sand);
    border-color:var(--border);
    color:var(--accent);
    transform:translateX(-4px);
}

.drawer__divider {
    height:1px;
    background:var(--border);
    margin:12px 0;
}

.drawer__cta {
    margin-top:auto;
    padding-top:16px;
}
.drawer__cta .btn {
    width:100%;
    padding:14px;
    font-size:15px;
}

.drawer__contact {
    display:flex; flex-direction:column; gap:8px;
    padding-top:16px;
}
.drawer__contact a {
    display:flex; align-items:center; gap:10px;
    padding:10px 14px;
    border-radius:var(--r-sm);
    font-size:13px;
    color:var(--gray);
    background:var(--sand);
    transition:var(--t);
}
.drawer__contact a:hover { color:var(--accent); background:var(--sand-2); }
.drawer__contact a i { color:var(--accent); }

/* Show burger only on tablet/mobile */
@media (max-width: 992px) {
    .nav { display:none; }
    .burger { display:flex; }
}




/* ═══════════════════════════════════════════════════════ */
/* HERO BRAND — Morocco Teals (Premium Tourism Identity)  */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* HERO BRAND — Morocco Teals                             */
/* ═══════════════════════════════════════════════════════ */
.hero__brand {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
}

.hero__brand-text {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3.5vw, 38px);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    background: linear-gradient(
        135deg,
        #F5EDE0 0%,
        #D4A574 35%,
        #E07A3F 65%,
        #F5EDE0 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding: 0 6px;
    animation: brandShimmer 6s ease-in-out infinite;
}

/* Decorative lines on both sides */
.hero__brand-text::before,
.hero__brand-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 1px;
}

.hero__brand-text::before {
    right: 100%;
    margin-right: 12px;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.7));
}

.hero__brand-text::after {
    left: 100%;
    margin-left: 12px;
    background: linear-gradient(90deg, rgba(212, 165, 116, 0.7), transparent);
}

/* Soft underline accent */
.hero__brand::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    margin: 7px auto 0;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
    opacity: 0.8;
}

@keyframes brandShimmer {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

/* ═══════════════════════════════════════════════════════ */
/* HERO                                                    */
/* ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero__slides {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero__slide.active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: kenBurns 8s ease-out infinite alternate;
}

@keyframes kenBurns {
    from { transform: scale(1.05); }
    to   { transform: scale(1.15); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(26,35,50,.9) 0%, rgba(26,35,50,.55) 55%, rgba(224,122,63,.3) 100%);
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* مسافة كافية تحت البراند بدون فراغ كبير */
.hero__content {
    max-width: 640px;
    padding: 78px 0 60px;
    transition: opacity .4s ease;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(212,165,116,.15);
    border: 1px solid rgba(212,165,116,.4);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--r-full);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
}

.hero__title {
    font-family: var(--font-h);
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -.02em;
}

.hero__title > span {
    display: block;
}

.hero__accent {
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__sub {
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(255,255,255,.82);
    margin-bottom: 22px;
    max-width: 540px;
}

.hero__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero__rating .stars {
    color: #FFB800;
    font-size: 15px;
    letter-spacing: 2px;
}

.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════ */
/* HERO PILLS — Single Row on All Devices                 */
/* ═══════════════════════════════════════════════════════ */
 /* ✅ الـ Pills تتكيف مع المساحة المتاحة */
/* ═══════════════════════════════════════════════════════ */
/* HERO PILLS — Dynamic Shrink-to-Fit (No Cutting)       */
/* ═══════════════════════════════════════════════════════ */
.hero__pills {
    display: flex;
    flex-wrap: nowrap;        /* يمنع النزول لسطر جديد */
    gap: clamp(4px, 1.5vw, 10px); /* تقلص المسافة ديناميكياً */
    align-items: center;
    justify-content: center;  /* توسيط دائم */
    overflow: visible;        /* إلغاء القص */
    max-width: 100%;
    padding-bottom: 2px;
    width: 100%;
}

/* إلغاء شريط التمرير تماماً */
.hero__pills::-webkit-scrollbar {
    display: none;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: clamp(3px, 1vw, 6px);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    /* الحشو يتقلص من 14px إلى 6px حسب عرض الشاشة */
    padding: clamp(4px, 1.2vw, 6px) clamp(6px, 2vw, 14px);
    /* حجم الخط يتقلص من 12.5px إلى 9px */
    font-size: clamp(9px, 2.2vw, 12.5px);
    font-weight: 500;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    flex-shrink: 1;           /* يسمح للعنصر بالانضغاط */
    min-width: 0;             /* يسمح بالانضغاط داخل flex */
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.pill i {
    color: var(--primary);
    font-size: clamp(8px, 1.8vw, 11px); /* الأيقونة تصغر أيضاً */
    flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════ */
/* TABLET (≤ 992px)                                       */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .hero__pills {
        gap: 8px;
    }
    .pill {
        padding: 5px 12px;
        font-size: 12px;
        gap: 5px;
    }
    .pill i {
        font-size: 10px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* MOBILE (≤ 640px) — كل شيء في الوسط                     */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {

    /* البراند */
    .hero__brand {
        top: 10px;
        white-space: nowrap;
    }

    .hero__brand-text {
        font-size: 17px;
        letter-spacing: 0.1em;
        white-space: nowrap;
    }

    .hero__brand-text::before,
    .hero__brand-text::after {
        width: 10px;
        margin-right: 6px;
        margin-left: 6px;
    }

    .hero__brand::after {
        width: 28px;
        margin-top: 5px;
    }

    /* المحتوى في الوسط */
    .hero__content {
        padding: 58px 0 40px;
        text-align: center;
        margin: 0 auto;
    }

    /* الـ Badge في الوسط */
    .hero__badge {
        display: inline-flex;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* العنوان في الوسط */
    .hero__title {
        text-align: center;
    }

    /* الوصف في الوسط */
    .hero__sub {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    /* التقييم في الوسط */
    .hero__rating {
        justify-content: center;
    }

    /* الأزرار في الوسط */
    .hero__cta {
        justify-content: center;
    }

    /* الـ Pills في الوسط */
    .hero__pills {
        flex-wrap: nowrap !important;
        gap: 5px !important;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 2px;
        width: 100%;
    }

    .hero__pills::-webkit-scrollbar {
        display: none;
    }

    .pill {
        padding: 4px 9px !important;
        font-size: 10.5px !important;
        gap: 4px !important;
        border-radius: 9999px !important;
        flex-shrink: 0 !important;
    }

    .pill i {
        font-size: 9px !important;
    }
}

/* ─── شاشات صغيرة جداً ─── */
@media (max-width: 380px) {
    .hero__brand-text {
        font-size: 15px;
        letter-spacing: 0.08em;
    }
    .hero__brand-text::before,
    .hero__brand-text::after {
        width: 8px;
        margin-right: 5px;
        margin-left: 5px;
    }
}
/* ═══════════════════════════════════════════════════════ */
/* VERY SMALL MOBILE (≤ 380px) — أقصى تقليص               */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 380px) {

    .hero__pills {
        gap: clamp(2px, 1vw, 5px) !important;
    }

    .pill {
        padding: clamp(2px, 1vw, 4px) clamp(4px, 1.8vw, 8px) !important;
        font-size: clamp(7.5px, 2.2vw, 9.5px) !important;
        gap: clamp(2px, 0.8vw, 4px) !important;
    }

    .pill i {
        font-size: clamp(6px, 1.8vw, 8.5px) !important;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* EXTRA SMALL (≤ 340px) — أقصى ضغط                       */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 340px) {

    .hero__pills {
        gap: 2px !important;
    }

    .pill {
        padding: 2px 5px !important;
        font-size: 7px !important;
        gap: 2px !important;
    }

    .pill i {
        font-size: 6px !important;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* RTL SUPPORT                                            */
/* ═══════════════════════════════════════════════════════ */
[dir="rtl"] .hero__pills {
    flex-direction: row-reverse;
}

.hero__dots {
    position:absolute;
    bottom:32px; left:50%; transform:translateX(-50%);
    display:flex; gap:10px;
    z-index:3;
}
.hero__dot {
    width:32px; height:4px;
    background:rgba(255,255,255,.3);
    border-radius:2px;
    transition:var(--t);
    overflow:hidden;
    position:relative;
}
.hero__dot.active { background:rgba(255,255,255,.3); }
.hero__dot.active::after {
    content:'';
    position:absolute; top:0; left:0; bottom:0;
    background:var(--accent);
    border-radius:2px;
    animation:dotProgress 5s linear;
}
@keyframes dotProgress {
    from { width:0; }
    to { width:100%; }
}

/* ═══════════════════════════════════════════════════════ */
/* SEARCH */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* SEARCH                                                 */
/* ═══════════════════════════════════════════════════════ */
.search { 
    margin-top: -42px; 
    position: relative; 
    z-index: 10; 
}

.search__box {
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 14px;
    align-items: end;
}

.search__field {
    min-width: 0;              /* ✅ مهم جداً لمنع التمدد */
    display: flex;
    flex-direction: column;
}

.search__field label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 6px;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;        /* ✅ منع كسر النص */
    overflow: hidden;
    text-overflow: ellipsis;
}

.search__field label i { 
    color: var(--accent); 
    margin-right: 5px; 
    font-size: 11px; 
}

.search__field select {
    width: 100%;
    min-width: 0;              /* ✅ مهم */
    padding: 10px 34px 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 14px;
    color: var(--dark);
    background: #fff;
    transition: var(--t);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    text-overflow: ellipsis;   /* ✅ منع تجاوز النص */
}

.search__field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(224,122,63,.12);
}

.search__btn {
    height: 35px;
    padding: 0 26px;
    border-radius: var(--r-sm);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════ */
/* SEARCH — TABLET (≤992px) : عمودان                      */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .search__box {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .search__btn {
        grid-column: 1 / -1;
        height: 35px;
        justify-self: center;      /* ✅ يتوسط أفقياً بحجمه الطبيعي */
        width: auto;               /* ✅ لا يمتد */
        padding: 0 30px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* SEARCH — MOBILE (≤640px) : عمودان × 3 صفوف             */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .search { 
        margin-top: -30px; 
    }
    
    .search__box {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;   /* ✅ عمودان متساويان */
        gap: 10px 8px;
        padding: 14px;
    }
    
    /* ✅ كل حقل يأخذ عمود واحد فقط */
    .search__field {
        grid-column: span 1 !important;
        min-width: 0;
    }
    
    .search__field label {
        font-size: 10px;
        letter-spacing: .2px;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .search__field label i {
        font-size: 9px;
        margin-right: 3px;
    }
    
    .search__field select {
        padding: 9px 26px 9px 9px;
        font-size: 12.5px;
        background-position: right 7px center;
        background-size: 9px;
        width: 100%;
        min-width: 0;
    }
    
    /* ✅ زر البحث يأخذ الصف كاملاً */
    .search__btn {
        grid-column: 1 / -1 !important;
        height: 35px;
        font-size: 13px;
        width: 100%;
    }
}

/* ─── شاشات صغيرة جداً (≤380px) ─── */
@media (max-width: 380px) {
    .search__box {
        gap: 8px 6px;
        padding: 12px;
    }
    
    .search__field label {
        font-size: 9px;
        letter-spacing: 0;
    }
    
    .search__field label i {
        font-size: 8px;
        margin-right: 2px;
    }
    
    .search__field select {
        padding: 8px 22px 8px 7px;
        font-size: 11.5px;
        background-position: right 5px center;
        background-size: 8px;
    }
    
    .search__btn {
        height: 35px;
        font-size: 12px;
    }
}
/* ═══════════════════════════════════════════════════════ */
/* STATS */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* STATS — 4 Separate Compact Cards                       */
/* ═══════════════════════════════════════════════════════ */
.stats {
    padding: 20px 0 28px;
    background: transparent;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 820px;
    margin: 0 auto;
}

/* ─── البطاقة الفردية ─── */
.stat {
    position: relative;
    background: #fff;
    border: 1px solid rgba(224,122,63,.12);
    border-radius: 14px;
    padding: 16px 10px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2,.9,.3,1),
                box-shadow .3s ease,
                border-color .3s ease;
    box-shadow:
        0 2px 8px rgba(26,35,50,.04),
        0 1px 2px rgba(26,35,50,.03);
}

/* شريط علوي ملون رفيع */
.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    opacity: .9;
    border-radius: 2px 2px 0 0;
}

/* Hover احترافي (Desktop only) */
.stat:hover {
    transform: translateY(-3px);
    border-color: rgba(224,122,63,.3);
    box-shadow:
        0 12px 24px rgba(26,35,50,.08),
        0 3px 8px rgba(224,122,63,.1);
}

/* ─── الأيقونة ─── */
.stat__icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(224,122,63,.12), rgba(212,165,116,.16));
    border: 1px solid rgba(224,122,63,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--accent);
    flex-shrink: 0;
    transition: all .35s cubic-bezier(.2,.9,.3,1);
}

.stat:hover .stat__icon {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    border-color: transparent;
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 4px 10px rgba(224,122,63,.3);
}

/* ─── الرقم ─── */
.stat__num {
    font-family: var(--font-h);
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -.02em;
    transition: color .3s ease;
}

.stat:hover .stat__num {
    color: var(--accent);
}

/* ─── التسمية ─── */
.stat__label {
    font-size: 9px;
    color: var(--gray);
    font-weight: 600;
    letter-spacing: .9px;
    text-transform: uppercase;
    line-height: 1.2;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE                                             */
/* ═══════════════════════════════════════════════════════ */

/* ─── Tablet ≤ 992px : 4 → 2 columns ─── */
@media (max-width: 992px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 440px;
    }

    .stat {
        padding: 14px 10px 12px;
        gap: 5px;
    }

    .stat__num { font-size: 18px; }
    .stat__icon { width: 28px; height: 28px; font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════ */
/* Mobile ≤ 640px — صغير جداً، 4 في صف واحد               */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .stats {
        padding: 12px 0 16px;
    }

    .stats__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        max-width: 100%;
        padding: 0 10px;
    }

    .stat {
        padding: 8px 4px 7px;
        gap: 3px;
        border-radius: 9px;
        min-height: auto;
    }

    .stat::before {
        height: 1.5px;
        border-radius: 1px 1px 0 0;
    }

    .stat__icon {
        width: 20px;
        height: 20px;
        font-size: 9px;
        border-radius: 5px;
    }

    .stat__num {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: -.01em;
    }

    .stat__label {
        font-size: 6px;
        letter-spacing: .2px;
        line-height: 1.1;
        /* السماح بسطرين إذا لزم الأمر */
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        padding: 0 1px;
        max-width: 100%;
    }

    /* إلغاء hover على الهاتف — نستخدم :active فقط */
    .stat:hover {
        transform: none;
        border-color: rgba(224,122,63,.12);
        box-shadow:
            0 2px 8px rgba(26,35,50,.04),
            0 1px 2px rgba(26,35,50,.03);
    }

    .stat:hover .stat__icon {
        transform: none;
        background: linear-gradient(135deg, rgba(224,122,63,.12), rgba(212,165,116,.16));
        color: var(--accent);
        border-color: rgba(224,122,63,.15);
        box-shadow: none;
    }

    .stat:hover .stat__num {
        color: var(--dark);
    }

    .stat:active {
        transform: scale(.96);
        border-color: rgba(224,122,63,.35);
    }
}

/* ═══════════════════════════════════════════════════════ */
/* Small Mobile ≤ 380px — الأصغر                          */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    .stats {
        padding: 10px 0 14px;
    }

    .stats__grid {
        gap: 5px;
        padding: 0 8px;
    }

    .stat {
        padding: 7px 3px 6px;
        gap: 2px;
        border-radius: 8px;
    }

    /* ✅ الأيقونة — الأصغر */
    .stat__icon {
        width: 14px;
        height: 14px;
        font-size: 6px;
        border-radius: 3.5px;
        border-width: .7px;
    }

    .stat__num {
        font-size: 11px;
    }

    .stat__label {
        font-size: 5.5px;
        letter-spacing: .15px;
    }
}

/* ─── Very Small Mobile ≤ 320px ─── */
/* ─── Very Small Mobile ≤ 320px ─── */
@media (max-width: 320px) {
    .stats__grid {
        gap: 4px;
        padding: 0 6px;
    }

    .stat {
        padding: 6px 2px 5px;
        gap: 2px;
    }

    /* ✅ الأيقونة — أصغر ما يمكن */
    .stat__icon {
        width: 12px;
        height: 12px;
        font-size: 5px;
        border-radius: 3px;
        border-width: .6px;
    }

    .stat__num {
        font-size: 10px;
    }

    .stat__label {
        font-size: 5px;
        letter-spacing: .1px;
    }
}

/* ─── RTL ─── */
[dir="rtl"] .stat:hover .stat__icon {
    transform: scale(1.08) rotate(3deg);
}

/* ═══════════════════════════════════════════════════════ */
/* Mobile ≤ 640px — أيقونات أصغر                          */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .stats {
        padding: 12px 0 16px;
    }

    .stats__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        max-width: 100%;
        padding: 0 10px;
    }

    .stat {
        padding: 8px 4px 7px;
        gap: 3px;
        border-radius: 9px;
        min-height: auto;
    }

    .stat::before {
        height: 1.5px;
        border-radius: 1px 1px 0 0;
    }

    /* ✅ الأيقونة — أصغر بكثير */
    .stat__icon {
        width: 16px;
        height: 16px;
        font-size: 7px;
        border-radius: 4px;
        border-width: .8px;
    }

    .stat__num {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: -.01em;
    }

    .stat__label {
        font-size: 6px;
        letter-spacing: .2px;
        line-height: 1.1;
        white-space: normal;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        padding: 0 1px;
        max-width: 100%;
    }

    /* إلغاء hover على الهاتف */
    .stat:hover {
        transform: none;
        border-color: rgba(224,122,63,.12);
        box-shadow:
            0 2px 8px rgba(26,35,50,.04),
            0 1px 2px rgba(26,35,50,.03);
    }

    .stat:hover .stat__icon {
        transform: none;
        background: linear-gradient(135deg, rgba(224,122,63,.12), rgba(212,165,116,.16));
        color: var(--accent);
        border-color: rgba(224,122,63,.15);
        box-shadow: none;
    }

    .stat:hover .stat__num {
        color: var(--dark);
    }

    .stat:active {
        transform: scale(.96);
        border-color: rgba(224,122,63,.35);
    }
}
/* ═══════════════════════════════════════════════════════ */
/* SECTION HEAD */
/* ═══════════════════════════════════════════════════════ */
.section-head {
    text-align:center;
    max-width:600px;
    margin:0 auto 40px;
}
.section-head--light h2 { color:#fff; }
.section-head--light p { color:rgba(255,255,255,.7); }
.section-head__eyebrow {
    display:inline-block;
    font-size:11.5px; font-weight:700;
    color:var(--accent);
    text-transform:uppercase;
    letter-spacing:1.8px;
    margin-bottom:10px;
}
.section-head h2 {
    font-family:var(--font-h);
    font-size:clamp(22px, 3.2vw, 32px);
    font-weight:700; line-height:1.2;
    margin-bottom:12px;
    letter-spacing:-.01em;
}
.section-head p {
    font-size:14.5px; color:var(--gray);
    line-height:1.65;
}

/* ═══════════════════════════════════════════════════════ */
/* FILTERS */
/* ═══════════════════════════════════════════════════════ */
.filters {
    display:flex; justify-content:center;
    gap:8px; flex-wrap:wrap; margin-bottom:32px;
}
.filter {
    padding:8px 18px;
    border-radius:var(--r-full);
    background:var(--sand);
    color:var(--dark);
    font-size:13px; font-weight:600;
    transition:var(--t);
    border:1.5px solid transparent;
}
.filter:hover { background:var(--sand-2); }
.filter.active { background:var(--dark); color:#fff; border-color:var(--dark); }

/* ═══════════════════════════════════════════════════════ */
/* TOUR CARDS */
/* ═══════════════════════════════════════════════════════ */
.tours__grid {
    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
    gap:22px;
}
.card {
    background:#fff;
    border-radius:var(--r-lg);
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:var(--t);
    display:flex; flex-direction:column;
    border:1px solid var(--border);
    cursor:pointer;
}
.card:hover {
    transform:translateY(-4px);
    box-shadow:var(--shadow-lg);
    border-color:transparent;
}
.card__img {
    position:relative;
    aspect-ratio:16/10;
    overflow:hidden;
    background:var(--sand);
}
.card__img img {
    width:100%; height:100%;
    object-fit:cover;
    transition:transform .6s ease;
}
.card:hover .card__img img { transform:scale(1.06); }
.card__badge {
    position:absolute; top:12px; left:12px;
    padding:5px 11px; border-radius:var(--r-full);
    font-size:10.5px; font-weight:700;
    letter-spacing:.5px; text-transform:uppercase;
    color:#fff; backdrop-filter:blur(8px);
}
.card__badge--hot { background:var(--accent); }
.card__badge--value { background:var(--green); }
.card__badge--new { background:var(--primary); color:var(--dark); }
.card__fav {
    position:absolute; top:12px; right:12px;
    width:32px; height:32px;
    border-radius:50%;
    background:rgba(255,255,255,.92);
    display:flex; align-items:center; justify-content:center;
    color:var(--dark); font-size:13px;
    transition:var(--t);
    backdrop-filter:blur(8px);
}
.card__fav:hover { background:var(--accent); color:#fff; }
.card__body {
    padding:16px;
    display:flex; flex-direction:column;
    flex:1; gap:10px;
}
.card__meta {
    display:flex; justify-content:space-between;
    align-items:center;
    font-size:12px; color:var(--gray);
}
.card__rating { color:#F59E0B; font-weight:600; }
.card__rating i { margin-right:3px; font-size:11px; }
.card__title {
    font-family:var(--font-h);
    font-size:16px; font-weight:700;
    line-height:1.3; color:var(--dark);
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.card__desc {
    font-size:13px; color:var(--gray);
    line-height:1.55;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    flex:1;
}
.card__tags { display:flex; flex-wrap:wrap; gap:5px; }
.card__tags span {
    font-size:10.5px; font-weight:500;
    color:var(--green);
    background:rgba(74,124,89,.1);
    padding:3px 9px; border-radius:var(--r-full);
}
.card__foot {
    display:flex; justify-content:space-between;
    align-items:center;
    padding-top:12px;
    border-top:1px solid var(--border);
    margin-top:4px;
}
.card__price { display:flex; align-items:baseline; gap:3px; line-height:1; }
.card__price small { font-size:11px; color:var(--gray); font-weight:500; }
.card__price strong {
    font-family:var(--font-h);
    font-size:22px; font-weight:700;
    color:var(--accent);
}
.tours__more { text-align:center; margin-top:40px; }




/* ═══════════════════════════════════════════════════════ */
/* COMPARE */
/* ═══════════════════════════════════════════════════════ */
.compare__wrap {
    overflow-x:auto;
    border-radius:var(--r-lg);
    box-shadow:var(--shadow-md);
    -webkit-overflow-scrolling:touch;
}
.compare__table {
    width:100%; border-collapse:collapse;
    background:#fff; min-width:600px; font-size:13.5px;
}
.compare__table th {
    background:var(--dark-2); color:#fff;
    padding:14px 18px; text-align:left;
    font-family:var(--font-h); font-size:14px; font-weight:600;
}
.compare__table th:first-child { background:var(--dark); color:var(--primary); }
.compare__table td {
    padding:12px 18px;
    border-bottom:1px solid var(--border);
    color:var(--dark);
}
.compare__table tbody tr:nth-child(even) { background:var(--sand); }
.compare__table tbody tr:hover { background:rgba(212,165,116,.14); }
.compare__table .highlight {
    background:linear-gradient(90deg, rgba(224,122,63,.1), transparent) !important;
    font-weight:600;
}
.compare__table .highlight td { color:var(--accent); }

/* ═══════════════════════════════════════════════════════ */
/* WHY */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* WHY — Professional Cards Grid                          */
/* ═══════════════════════════════════════════════════════ */
.why {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF6F0 100%);
    position: relative;
    overflow: hidden;
}

.why::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(224,122,63,.06), transparent 70%);
    pointer-events: none;
}

.why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
    z-index: 1;
}

.why__item {
    position: relative;
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(224,122,63,.1);
    overflow: hidden;
    transition: all .4s cubic-bezier(.2,.9,.3,1);
    isolation: isolate;
}

/* شريط علوي ملون يظهر عند hover */
.why__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    background-size: 200% 100%;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s cubic-bezier(.2,.9,.3,1);
    z-index: 2;
}

.why__item:hover {
    transform: translateY(-6px);
    border-color: rgba(224,122,63,.3);
    box-shadow:
        0 20px 40px rgba(26,35,50,.10),
        0 4px 12px rgba(224,122,63,.08);
}

.why__item:hover::before {
    transform: scaleX(1);
    animation: whyRibbonShift 2s linear infinite;
}
@keyframes whyRibbonShift {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* خلفية زخرفية داخلية عند hover */
.why__item::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(224,122,63,.06), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity .5s ease, transform .6s ease;
    z-index: 0;
    pointer-events: none;
}
.why__item:hover::after {
    opacity: 1;
    transform: scale(1.3);
}

.why__icon {
    position: relative;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow:
        0 8px 20px rgba(224,122,63,.28),
        inset 0 1px 0 rgba(255,255,255,.25);
    transition: all .45s cubic-bezier(.2,.9,.3,1);
    z-index: 1;
}

/* حلقة متوهجة حول الأيقونة */
.why__icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    opacity: 0;
    filter: blur(10px);
    z-index: -1;
    transition: opacity .4s ease;
}

.why__item:hover .why__icon {
    transform: translateY(-3px) rotate(-4deg) scale(1.05);
    box-shadow:
        0 14px 28px rgba(224,122,63,.4),
        inset 0 1px 0 rgba(255,255,255,.3);
}
.why__item:hover .why__icon::before {
    opacity: .6;
}

.why__item h3 {
    font-family: var(--font-h);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: -.01em;
    position: relative;
    z-index: 1;
}

.why__item p {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════ */
/* REVIEWS */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   REVIEWS — PREMIUM TRAVEL TESTIMONIALS
   Compact • Elegant • High-End
   ═══════════════════════════════════════════════════════ */

.reviews.section {
    position: relative;
    padding: 54px 0 48px;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(224, 122, 63, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(224, 122, 63, 0.06),
            transparent 30%
        ),
        #f7f5f0;
    overflow: hidden;
}

/* subtle decorative glow */
.reviews.section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -180px;
    right: -120px;
    border-radius: 50%;
    background: rgba(224, 122, 63, 0.06);
    filter: blur(10px);
    pointer-events: none;
}

.reviews.section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    bottom: -170px;
    left: -100px;
    border-radius: 50%;
    background: rgba(26, 35, 50, 0.035);
    pointer-events: none;
}


/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */

.reviews .section-head {
    position: relative;
    z-index: 2;

    max-width: 720px;
    margin: 0 auto 30px;

    text-align: center;
}

.reviews .section-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 8px;

    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.reviews .section-head__eyebrow::before,
.reviews .section-head__eyebrow::after {
    content: "";
    width: 22px;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
}

.reviews .section-head h2 {
    margin: 0 0 8px;

    color: var(--dark);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.8px;
}

.reviews .section-head p {
    max-width: 520px;
    margin: 0 auto;

    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════
   SLIDER
   ═══════════════════════════════════════════════════════ */

.reviews__slider {
    position: relative;
    z-index: 2;

    width: 100%;
    padding: 8px 4px 38px !important;
}

.reviews__slider .swiper-wrapper {
    align-items: stretch;
}

.reviews__slider .swiper-slide {
    height: auto;
    display: flex;
}


/* ═══════════════════════════════════════════════════════
   REVIEW CARD
   ═══════════════════════════════════════════════════════ */

.review {
    position: relative;

    width: 100%;
    min-height: 245px;

    display: flex;
    flex-direction: column;

    padding: 24px 24px 20px;

    background: rgba(255, 255, 255, 0.94);

    border: 1px solid rgba(26, 35, 50, 0.07);
    border-radius: 20px;

    box-shadow:
        0 8px 30px rgba(26, 35, 50, 0.055),
        0 2px 6px rgba(26, 35, 50, 0.025);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* elegant orange line */
.review::before {
    content: "";

    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;

    height: 3px;

    background: linear-gradient(
        90deg,
        var(--accent),
        var(--primary)
    );

    border-radius: 0 0 10px 10px;

    opacity: 0.9;
}


/* giant quotation mark */
.review::after {
    content: "“";

    position: absolute;
    top: 3px;
    right: 18px;

    color: var(--accent);

    font-family: Georgia, serif;
    font-size: 82px;
    font-weight: 700;
    line-height: 1;

    opacity: 0.075;

    pointer-events: none;
}


.review:hover {
    transform: translateY(-6px);

    border-color: rgba(224, 122, 63, 0.18);

    box-shadow:
        0 18px 45px rgba(26, 35, 50, 0.10),
        0 5px 12px rgba(26, 35, 50, 0.035);
}


/* ═══════════════════════════════════════════════════════
   STARS
   ═══════════════════════════════════════════════════════ */

.review__stars {
    position: relative;
    z-index: 2;

    margin: 0 0 13px;

    color: #f5ad24;

    font-size: 13px;
    letter-spacing: 2px;
    line-height: 1;
}


/* ═══════════════════════════════════════════════════════
   TITLE
   ═══════════════════════════════════════════════════════ */

.review__title {
    position: relative;
    z-index: 2;

    margin: 0 0 8px;

    color: var(--dark);

    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 750;

    line-height: 1.35;
}


/* ═══════════════════════════════════════════════════════
   REVIEW TEXT
   ═══════════════════════════════════════════════════════ */

.review__text,
.review p {
    position: relative;
    z-index: 2;

    flex: 1;

    margin: 0 0 18px;

    color: #4b5563;

    font-size: 13px;
    line-height: 1.7;

    font-style: normal;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* ═══════════════════════════════════════════════════════
   AUTHOR
   ═══════════════════════════════════════════════════════ */

.review__author {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;

    gap: 11px;

    margin-top: auto;
    padding-top: 14px;

    border-top: 1px solid rgba(26, 35, 50, 0.07);
}


.review__avatar {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--primary)
        );

    color: #fff;

    font-size: 13px;
    font-weight: 800;

    box-shadow:
        0 5px 14px rgba(224, 122, 63, 0.22);
}


.review__info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 2px;
}


.review__info strong,
.review__author strong {
    display: flex;
    align-items: center;
    gap: 5px;

    color: var(--dark);

    font-size: 13px;
    font-weight: 700;

    line-height: 1.25;
}


.review__verified {
    color: #10b981;
    font-size: 11px;
}


.review__country,
.review__author span {
    color: var(--gray);

    font-size: 11px;
    line-height: 1.3;
}


.review__date {
    margin-left: auto;

    color: var(--gray);

    font-size: 10px;
    opacity: 0.65;

    white-space: nowrap;
}


/* ═══════════════════════════════════════════════════════
   FEATURED
   ═══════════════════════════════════════════════════════ */

.review__featured {
    position: absolute;

    top: 18px;
    right: 18px;

    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--accent)
        );

    color: #fff;

    font-size: 11px;

    box-shadow:
        0 5px 13px rgba(224, 122, 63, 0.25);

    z-index: 5;
}


/* ═══════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════ */

.reviews .swiper-pagination {
    bottom: 2px !important;
}


.reviews .swiper-pagination-bullet {
    width: 6px;
    height: 6px;

    margin: 0 4px !important;

    background: rgba(26, 35, 50, 0.20);

    opacity: 1;

    transition:
        width 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.reviews .swiper-pagination-bullet-active {
    width: 24px;

    border-radius: 20px;

    background: var(--accent) !important;
}


/* ═══════════════════════════════════════════════════════
   TABLET
   ═══════════════════════════════════════════════════════ */

@media (max-width: 900px) {

    .reviews.section {
        padding: 46px 0 42px;
    }

    .reviews .section-head {
        margin-bottom: 26px;
    }

    .review {
        min-height: 235px;
        padding: 22px 21px 18px;
    }
}


/* ═══════════════════════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 640px) {

    .reviews.section {
        padding: 38px 0 34px;
    }

    .reviews .section-head {
        margin-bottom: 22px;
    }

    .reviews .section-head__eyebrow {
        font-size: 9.5px;
        letter-spacing: 1.6px;
    }

    .reviews .section-head h2 {
        font-size: 27px;
        letter-spacing: -0.4px;
    }

    .reviews .section-head p {
        font-size: 13px;
    }

    .reviews__slider {
        padding:
            5px
            3px
            34px !important;
    }

    .review {
        min-height: 225px;

        padding:
            21px
            18px
            17px;

        border-radius: 17px;
    }

    .review::before {
        left: 18px;
        right: 18px;
    }

    .review::after {
        right: 12px;
        font-size: 70px;
    }

    .review__stars {
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .review__text,
    .review p {
        font-size: 12.5px;
        line-height: 1.65;
        -webkit-line-clamp: 4;
    }

    .review__avatar {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 12px;
    }

    .review__info strong,
    .review__author strong {
        font-size: 12.5px;
    }

    .review__date {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* FAQ */
/* ═══════════════════════════════════════════════════════ */
.faq__list { max-width:760px; margin:0 auto; }
.faq__item {
    background:#fff;
    border:1.5px solid var(--border);
    border-radius:var(--r-md);
    margin-bottom:10px;
    overflow:hidden;
    transition:var(--t);
}
.faq__item.active { border-color:var(--primary); box-shadow:var(--shadow-sm); }
.faq__q {
    width:100%;
    display:flex; justify-content:space-between;
    align-items:center; gap:14px;
    padding:16px 20px;
    font-size:14.5px; font-weight:600;
    color:var(--dark); text-align:left;
    transition:var(--t);
}
.faq__q:hover { color:var(--accent); }
.faq__q i {
    color:var(--accent); font-size:12px;
    transition:transform .3s ease; flex-shrink:0;
}
.faq__item.active .faq__q i { transform:rotate(180deg); }
.faq__a {
    max-height:0; overflow:hidden;
    transition:max-height .35s ease, padding .35s ease;
    padding:0 20px;
}
.faq__item.active .faq__a {
    max-height:280px;
    padding:0 20px 18px;
}
.faq__a p { font-size:13.5px; color:var(--gray); line-height:1.65; }

/* ═══════════════════════════════════════════════════════ */
/* CTA */
/* ═══════════════════════════════════════════════════════ */
.cta { background:linear-gradient(135deg, var(--dark), var(--dark-2)); }
.cta__inner { text-align:center; max-width:560px; margin:0 auto; }
.cta__inner h2 {
    font-family:var(--font-h);
    font-size:clamp(22px, 3.2vw, 32px);
    font-weight:700; color:#fff; margin-bottom:12px;
}
.cta__inner p {
    font-size:14.5px; color:rgba(255,255,255,.72);
    margin-bottom:26px; line-height:1.65;
}
.cta__form {
    display:flex; gap:10px;
    max-width:460px; margin:0 auto 14px;
}
.cta__form input {
    flex:1; min-width:0;
    padding:13px 20px;
    border:1.5px solid rgba(255,255,255,.2);
    border-radius:var(--r-full);
    background:rgba(255,255,255,.08);
    color:#fff; font-size:14px;
    transition:var(--t);
}
.cta__form input::placeholder { color:rgba(255,255,255,.5); }
.cta__form input:focus {
    outline:none;
    border-color:var(--primary);
    background:rgba(255,255,255,.12);
}
.cta__trust {
    display:flex; justify-content:center;
    gap:20px; flex-wrap:wrap;
    font-size:12px; color:rgba(255,255,255,.5);
}
.cta__trust i { color:var(--primary); margin-right:5px; }

/* ═══════════════════════════════════════════════════════ */
/* CONTACT FORM */
/* ═══════════════════════════════════════════════════════ */
.contact { background:var(--sand); }
.contact__wrap {
    display:grid;
    grid-template-columns:1.5fr 1fr;
    gap:32px;
    max-width:1100px;
    margin:0 auto;
    align-items:start;
}
.contact__form {
    background:#fff;
    border-radius:var(--r-lg);
    padding:28px;
    box-shadow:var(--shadow-md);
    border:1px solid var(--border);
}
.form-row {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}
.form-group { margin-bottom:16px; }
.form-group label {
    display:flex; align-items:center; justify-content:space-between;
    font-size:12.5px; font-weight:600;
    color:var(--dark); margin-bottom:6px;
    letter-spacing:.3px;
}
.form-group .req { color:#DC2626; font-style:normal; font-size:11px; }
.form-group .opt {
    color:var(--gray); font-style:normal;
    font-size:10.5px; font-weight:500;
    text-transform:uppercase; letter-spacing:.4px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width:100%;
    padding:11px 14px;
    border:1.5px solid var(--border);
    border-radius:var(--r-sm);
    font-size:14px; color:var(--dark);
    background:#fff;
    font-family:inherit;
    transition:var(--t);
}
.form-group textarea { resize:vertical; min-height:100px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline:none;
    border-color:var(--accent);
    box-shadow:0 0 0 3px rgba(224,122,63,.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color:#DC2626;
    background:#FEF2F2;
}
.form-msg {
    margin-top:12px;
    padding:12px 16px;
    border-radius:var(--r-sm);
    font-size:13.5px;
    font-weight:500;
    display:none;
}
.form-msg.success {
    display:block;
    background:#ECFDF5;
    color:#065F46;
    border:1px solid #A7F3D0;
}
.form-msg.error {
    display:block;
    background:#FEF2F2;
    color:#991B1B;
    border:1px solid #FECACA;
}

.contact__direct {
    background:linear-gradient(135deg, var(--dark), var(--dark-2));
    border-radius:var(--r-lg);
    padding:28px;
    color:#fff;
    position:sticky;
    top:90px;
}
.contact__direct h3 {
    font-family:var(--font-h);
    font-size:17px; font-weight:600;
    margin-bottom:20px;
    color:#fff;
}
.contact__methods { display:flex; flex-direction:column; gap:12px; }
.contact__method {
    display:flex; align-items:center; gap:14px;
    padding:14px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.1);
    border-radius:var(--r-md);
    transition:var(--t);
    color:#fff;
}
.contact__method:hover {
    background:rgba(255,255,255,.12);
    transform:translateX(4px);
    border-color:var(--primary);
}
.contact__method-icon {
    width:44px; height:44px;
    border-radius:var(--r-sm);
    display:flex; align-items:center; justify-content:center;
    font-size:18px; flex-shrink:0;
}
.contact__method-icon--email { background:rgba(224,122,63,.2); color:var(--accent); }
.contact__method-icon--wa { background:rgba(37,211,102,.2); color:#25D366; }
.contact__method-icon--phone { background:rgba(212,165,116,.2); color:var(--primary); }
.contact__method strong {
    display:block;
    font-size:14px; font-weight:600;
    margin-bottom:2px;
}
.contact__method span {
    font-size:12px;
    color:rgba(255,255,255,.6);
}

/* ═══════════════════════════════════════════════════════ */
/* FOOTER — HORIZONTAL LINKS */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════ */
/* FOOTER — Pro Edition v4.2 FINAL                                 */
/* Desktop: 4 cols · Mobile: Brand full-width centered on top     */
/*                + 3 equal columns in one row below              */
/* ═══════════════════════════════════════════════════════════════ */

/* 1) FOOTER WRAPPER */
.footer {
    position: relative;
    background: #0F1620;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 26px;
    font-size: 13.5px;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(224, 122, 63, 0.08), transparent 70%);
    pointer-events: none;
    filter: blur(60px);
}
.footer::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.06), transparent 70%);
    pointer-events: none;
    filter: blur(60px);
}
.footer .container {
    position: relative;
    z-index: 1;
}

/* 2) GRID */
.footer__grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 44px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* 3) BRAND COLUMN */
.footer .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 16px;
}
.footer .brand__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent, #E07A3F), var(--primary, #D4A574));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;

}
.footer .brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.footer .brand__text strong {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.footer .brand__text small {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 500;
}
.footer__about {
    margin: 0 0 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    max-width: 340px;
}

/* 4) APP DOWNLOAD */
.footer__app {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}
.footer__app-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.footer__app-label i {
    color: var(--accent, #E07A3F);
    font-size: 11px;
}
.footer__app-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px 8px 11px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    max-width: 180px;
    transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.footer__app-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.7s ease;
    pointer-events: none;
}
.footer__app-btn:hover::before {
    left: 100%;
}
.footer__app-btn:hover {
    background: #0a0a0a;
    border-color: rgba(224, 122, 63, 0.5);
    box-shadow: 0 8px 24px rgba(224, 122, 63, 0.2);
}
.footer__app-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: #fff;
    transition: fill 0.2s ease;
}
.footer__app-btn:hover .footer__app-icon {
    fill: #E07A3F;
}
.footer__app-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}
.footer__app-text small {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1px;
}
.footer__app-text strong {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

/* 5) SOCIAL */
.footer__social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__social a:hover {
    background: var(--accent, #E07A3F);
    color: #fff;
    border-color: var(--accent, #E07A3F);
}

/* 6) LINK COLUMNS */
.footer__col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    padding-bottom: 12px;
    position: relative;
    letter-spacing: 0.01em;
}
.footer__col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent, #E07A3F), var(--primary, #D4A574));
    border-radius: 2px;
}
.footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.footer__col ul li {
    margin: 0;
}
.footer__col ul a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
    line-height: 1.5;
    position: relative;
}
.footer__col ul a i {
    font-size: 9px;
    color: var(--accent, #E07A3F);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}
.footer__col ul a:hover {
    color: var(--primary, #D4A574);
}
.footer__col ul a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* 7) BOTTOM BAR */
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 4px;
}
.footer__bottom p {
    margin: 0;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}
.footer__pay {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
}
.footer__pay i {
    transition: color 0.2s ease;
    cursor: default;
}
.footer__pay i:hover {
    color: rgba(255, 255, 255, 0.75);
}




/* 8) TABLET ≤ 992px */
@media (max-width: 992px) {
    .footer {
        padding: 50px 0 22px;
    }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        margin-bottom: 36px;
        padding-bottom: 32px;
    }
    .footer__col--brand {
        grid-column: 1 / -1;
    }
    .footer__about {
        max-width: 100%;
    }
}

/* 9) MOBILE ≤ 640px  — Brand full-width centered + 3 columns */
@media (max-width: 640px) {
    .footer {
        padding: 42px 0 20px;
        font-size: 13px;
    }

    .footer__grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0 12px;
        margin-bottom: 24px;
        padding-bottom: 22px;
    }

    /* ═══════════════════════════════════════════════════════════ */
    /* BRAND — Full width + perfectly centered                    */
    /* ═══════════════════════════════════════════════════════════ */
    .footer__col--brand {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding-bottom: 22px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
        margin-bottom: 20px;
    }

    .footer__col--brand .brand {
        justify-content: center !important;
        margin: 0 auto 14px !important;
    }

    .footer__col--brand .footer__about {
        text-align: center !important;
        margin: 0 auto 18px !important;
        max-width: 320px;
        font-size: 12.5px;
    }

    .footer__col--brand .footer__app {
        align-items: center !important;
        width: 100%;
        margin-bottom: 18px;
    }
    .footer__col--brand .footer__app-label {
        justify-content: center !important;
    }
    .footer__col--brand .footer__app-btn {
        margin: 0 auto !important;
        max-width: 170px;
        justify-content: center;
    }

    .footer__col--brand .footer__social {
        justify-content: center !important;
        gap: 10px;
    }

    /* Force the three link columns into one row */
    .footer__col:nth-child(2) { grid-column: 1 / 2; }
    .footer__col:nth-child(3) { grid-column: 2 / 3; }
    .footer__col:nth-child(4) { grid-column: 3 / 4; }

    /* Column headings */
    .footer__col h4 {
        font-size: 11.5px;
        font-weight: 700;
        margin-bottom: 10px;
        padding-bottom: 7px;
        letter-spacing: 0;
        line-height: 1.25;
        white-space: normal;
        word-break: break-word;
    }
    .footer__col h4::after {
        width: 18px;
        height: 2px;
    }

    /* Links tighter */
    .footer__col ul {
        gap: 1px;
    }
    .footer__col ul a {
        display: flex;
        align-items: center;
        gap: 4px;
        font-size: 10.5px;
        padding: 3px 0;
        line-height: 1.35;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    .footer__col ul a i {
        font-size: 6px;
        opacity: 0.7;
        transform: translateX(0);
        flex-shrink: 0;
    }
    .footer__col ul a:hover i {
        opacity: 1;
    }

    /* Bottom bar */
    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer__bottom p {
        font-size: 11px;
        line-height: 1.55;
    }
    .footer__pay {
        gap: 12px;
        font-size: 20px;
    }
}

/* 10) SMALL MOBILE ≤ 400px */
@media (max-width: 400px) {
    .footer {
        padding: 36px 0 18px;
    }
    .footer__grid {
        gap: 0 8px;
        margin-bottom: 20px;
        padding-bottom: 18px;
    }
    .footer__col--brand {
        padding-bottom: 16px;
        margin-bottom: 14px;
    }
    .footer .brand__icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    .footer .brand__text strong {
        font-size: 14px;
    }
    .footer__about {
        font-size: 11.5px;
        margin-bottom: 14px;
    }
    .footer__app-btn {
        padding: 6px 10px 6px 8px;
        gap: 7px;
        max-width: 150px;
        border-radius: 8px;
    }
    .footer__app-icon {
        width: 18px;
        height: 18px;
    }
    .footer__app-text small {
        font-size: 7px;
    }
    .footer__app-text strong {
        font-size: 11px;
    }
    .footer__social a {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .footer__col h4 {
        font-size: 10.5px;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
    .footer__col h4::after {
        width: 14px;
    }
    .footer__col ul a {
        font-size: 9.5px;
        padding: 2.5px 0;
        gap: 3px;
    }
    .footer__col ul a i {
        font-size: 5.5px;
    }
    .footer__bottom p {
        font-size: 10px;
    }
    .footer__pay {
        font-size: 18px;
        gap: 10px;
    }
}

/* 11) VERY SMALL ≤ 340px */
@media (max-width: 340px) {
    .footer__grid {
        gap: 0 6px;
    }
    .footer__col h4 {
        font-size: 10px;
    }
    .footer__col ul a {
        font-size: 9px;
    }
    .footer__app-btn {
        max-width: 140px;
        padding: 5px 9px 5px 7px;
    }
    .footer__app-icon {
        width: 16px;
        height: 16px;
    }
    .footer__app-text strong {
        font-size: 10.5px;
    }
}

/* 12) RTL */
[dir="rtl"] .footer__col h4::after {
    left: auto;
    right: 0;
}
[dir="rtl"] .footer__col ul a i {
    transform: translateX(6px) rotate(180deg);
}
[dir="rtl"] .footer__col ul a:hover i {
    transform: translateX(0) rotate(180deg);
}
[dir="rtl"] .footer__app-text {
    text-align: right;
}
[dir="rtl"] .footer__app-btn::before {
    background: linear-gradient(-90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}
@media (max-width: 640px) {
    [dir="rtl"] .footer__col ul a i {
        transform: translateX(0) rotate(180deg);
    }
}

/* 13) REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .footer__app-btn,
    .footer__app-btn::before,
    .footer__app-icon,
    .footer__social a,
    .footer__col ul a,
    .footer__col ul a i {
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* FLOATING WHATSAPP */
/* ═══════════════════════════════════════════════════════ */
.wa-float {
    position:fixed;
    bottom:22px; right:22px;
    width:52px; height:52px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-size:24px;
    box-shadow:0 6px 20px rgba(37,211,102,.4);
    z-index:800;
    transition:var(--t);
}
.wa-float:hover { transform:scale(1.1); }

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE - TABLET */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    :root { --gutter:18px; }
    .section { padding:60px 0; }

    .hero { min-height:560px; }
    .hero__content { padding:50px 0; }

    .search__box { grid-template-columns:1fr 1fr; gap:12px; }
    .search__btn { grid-column:span 2; height:35px; }

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


    .contact__wrap { grid-template-columns:1fr; gap:24px; }
    .contact__direct { position:static; }
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE - MOBILE */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* ✅ TOPBAR MOBILE — إظهار الوقت + الطقس + المدينة       */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* ✅ TOPBAR MOBILE — توسيط العناصر في المنتصف            */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {

    /* إخفاء العناصر الثابتة (review count + license) */
    .topbar__left { display: none !important; }

    /* الشريط العلوي: عمودي لتوسيط كل شيء */
    .topbar__inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        padding: 8px 0 !important;
    }

    /* ✅ عنصر الوقت والطقس - يتوسط في المنتصف */
    .topbar__mw {
        display: inline-block !important;
        order: 1;
        flex-shrink: 0;
    }

    /* ✅ عنصر الاتصال (الهاتف + واتساب + اللغة) - يتوسط في المنتصف */
    .topbar__right {
        order: 2;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important; /* ✅ توسيط المحتوى */
        gap: 12px !important;
        font-size: 11.5px !important;
        flex-shrink: 0;
        width: 100%; /* ✅ يأخذ كامل العرض ليتوسط محتواه */
    }

    .topbar__right a { 
        font-size: 11.5px !important;
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
}
/* ─── شاشات صغيرة جداً (≤ 380px) ─── */
@media (max-width: 380px) {
    .topbar__mw-btn {
        padding: 3px 6px !important;
        font-size: 10px !important;
        gap: 4px !important;
    }

    .topbar__mw-time,
    .topbar__mw-temp { font-size: 10px !important; }

    .topbar__mw-pin,
    .topbar__mw-icon { font-size: 9px !important; }

    .topbar__mw-caret { display: none !important; }

    .topbar__right { gap: 6px !important; font-size: 10.5px !important; }
    .topbar__right a { font-size: 10.5px !important; }
}

@media (max-width: 380px) {
    .hero__title { font-size:24px; }
    .stat__num { font-size:22px; }
    .section-head h2 { font-size:19px; }
    .btn { padding:10px 18px; font-size:13px; }
}

/* ═══════════════════════════════════════════════════════ */
/* SKELETON LOADING */
/* ═══════════════════════════════════════════════════════ */
.card-skeleton {
    background: linear-gradient(
        90deg,
        var(--sand) 25%,
        var(--sand-2) 50%,
        var(--sand) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: var(--r-lg);
    aspect-ratio: 16/12;
    min-height: 380px;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.tours__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}
.tours__empty i {
    font-size: 48px;
    color: var(--sand-2);
    margin-bottom: 16px;
    display: block;
}
.tours__empty h3 {
    font-family: var(--font-h);
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 8px;
}
.tours__empty p {
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════ */
/* JUSTIFY TEXT — نصوص احترافية (جميع الأجهزة)            */
/* ═══════════════════════════════════════════════════════ */

/* ─── Overview / Long descriptions ─── */
.tour-block__text,
.tour-block__text p {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    line-break: auto;
    text-rendering: optimizeLegibility;
}

/* ─── Itinerary day descriptions ─── */
.itin-day__content p {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: normal;
    line-break: auto;
}

/* ─── Highlights — لا نطبّق justify (نقاط قصيرة) ─── */
.tour-highlights li {
    text-align: left;
}

/* ─── Included / Not Included — لا نطبّق ─── */
.tour-list li {
    text-align: left;
}

/* ─── AEO answers — نص طويل ─── */
.tour-aeo__a {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}

/* ─── FAQ answers ─── */
.tour-faq__a p {
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: normal;
}

/* ─── GEO items — نصوص قصيرة ─── */
.tour-geo__item {
    text-align: left;
}

/* ═══════════════════════════════════════════════════════ */
/* MOBILE — تطبيق justify مع تحسينات خاصة للهاتف          */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* WHY — Mobile: 2 cards per row, elegant card style      */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {

    /* ✅ حذف المسافات الخارجية من القسم */
    .why,
    .why.section {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* ✅ حذف padding من الحاوية (نُعيد هامش صغير للكروت فقط) */
    .why .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* ✅ العنوان: مسافة صغيرة معقولة */
    .why .section-head {
        margin: 24px 14px 18px !important;
        padding: 0 !important;
    }

    /* ═══ الشبكة: 2 أعمدة مع فراغ صغير بين الكروت ═══ */
    .why__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px !important;
        padding: 0 10px 12px !important;   /* هامش صغير جداً حول الكروت */
        margin: 0 !important;
        width: 100% !important;
    }

    /* ═══ البطاقة: كارد أنيق بحواف دائرية وظل ═══ */
    .why__item {
        position: relative;
        padding: 16px 10px 14px;
        border-radius: 14px !important;      /* زوايا دائرية */
        border: 1px solid rgba(224,122,63,.12) !important;
        margin: 0 !important;
        min-height: 100%;
        background: #fff;
        box-shadow:
            0 4px 12px rgba(26,35,50,.06),
            0 1px 3px rgba(224,122,63,.04) !important;
        transition: transform .25s ease, box-shadow .25s ease;
        overflow: hidden;
    }

    /* ✅ شريط علوي رقيق متدرج */
    .why__item::before {
        display: block !important;
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2.5px;
        background: linear-gradient(90deg, var(--accent), var(--primary));
        opacity: .85;
        transform: none;
        z-index: 2;
    }

    /* إخفاء الزخرفة الدائرية (غير ضرورية على الهاتف) */
    .why__item::after {
        display: none !important;
    }

    /* تأثير اللمس */
    .why__item:active {
        transform: translateY(-2px);
        box-shadow:
            0 10px 22px rgba(26,35,50,.10),
            0 3px 8px rgba(224,122,63,.12) !important;
    }

    /* ═══ الأيقونة ═══ */
    .why__icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        font-size: 16px;
        margin: 0 auto 10px;
        box-shadow:
            0 5px 12px rgba(224,122,63,.25),
            inset 0 1px 0 rgba(255,255,255,.25);
    }

    /* إخفاء الحلقة المتوهجة على الهاتف (لتفادي البطء) */
    .why__icon::before {
        display: none !important;
    }

    /* ═══ العنوان ═══ */
    .why__item h3 {
        font-size: 12.5px;
        font-weight: 700;
        margin: 0 0 5px;
        line-height: 1.25;
        letter-spacing: -.005em;
        color: var(--dark);
    }

    /* ═══ الوصف ═══ */
    .why__item p {
        font-size: 10.5px;
        line-height: 1.5;
        color: #6B7280;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
    }

    /* إزالة hover effect على الهاتف (يعتمد على active) */
    .why__item:hover {
        transform: none;
        box-shadow:
            0 4px 12px rgba(26,35,50,.06),
            0 1px 3px rgba(224,122,63,.04);
    }

    .why__item:hover .why__icon {
        transform: none;
    }

    /* إزالة الزخرفة الخارجية للقسم */
    .why::before {
        display: none;
    }
}

/* ─── شاشات صغيرة جداً (≤ 380px) ─── */
@media (max-width: 380px) {
    .why .section-head {
        margin: 20px 12px 14px !important;
    }

    .why__grid {
        gap: 8px !important;
        padding: 0 8px 10px !important;
    }

    .why__item {
        padding: 14px 9px 12px;
        border-radius: 12px !important;
    }

    .why__icon {
        width: 38px;
        height: 38px;
        font-size: 14px;
        border-radius: 10px;
        margin-bottom: 8px;
    }

    .why__item h3 {
        font-size: 11.5px;
        margin-bottom: 4px;
    }

    .why__item p {
        font-size: 10px;
        line-height: 1.45;
        -webkit-line-clamp: 3;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* EXTRA SMALL (< 380px) — تحسينات إضافية                 */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    .tour-block__text,
    .tour-block__text p,
    .itin-day__content p,
    .tour-aeo__a,
    .tour-faq__a p {
        text-align: justify;
        text-justify: inter-word;
        hyphens: none;
        -webkit-hyphens: none;
        word-spacing: -0.03em;
        line-height: 1.65;
        font-size: 14px;
    }

    [dir="rtl"] .tour-block__text,
    [dir="rtl"] .tour-block__text p,
    [dir="rtl"] .itin-day__content p,
    [dir="rtl"] .tour-aeo__a,
    [dir="rtl"] .tour-faq__a p {
        text-align: justify;
        text-justify: inter-word;
        word-spacing: 0.02em;
        font-size: 14px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* RTL — التبرير في العربية                                */
/* ═══════════════════════════════════════════════════════ */
[dir="rtl"] .tour-block__text,
[dir="rtl"] .tour-block__text p,
[dir="rtl"] .itin-day__content p,
[dir="rtl"] .tour-aeo__a,
[dir="rtl"] .tour-faq__a p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    word-spacing: 0.02em;
    line-height: 1.85;
}


/* ═══════════════════════════════════════════════════════ */
/* CONTACT FORM — حجم مناسب + هاتف اختياري                */
/* ═══════════════════════════════════════════════════════ */

.contact { background: var(--sand); }

.contact__wrap {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}

.contact__form {
    background: #fff;
    border-radius: var(--r-md);
    padding: 22px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

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

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

.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
    letter-spacing: .2px;
}

.form-group .req {
    color: #DC2626;
    font-style: normal;
    font-size: 11px;
}

.form-group .opt {
    color: var(--gray);
    font-style: normal;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 13.5px;
    color: var(--dark);
    background: #fff;
    font-family: inherit;
    transition: var(--t);
    line-height: 1.4;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(224, 122, 63, .12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444 !important;
    background: #fef2f2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12) !important;
}

.contact__form .btn {
    margin-top: 4px;
    padding: 11px 20px;
    font-size: 14px;
}

/* Loading */
.contact__form.is-loading #cf-submit {
    pointer-events: none;
    opacity: .75;
}
.contact__form.is-loading #cf-submit i {
    animation: spin .8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* رسالة الخطأ */
.form-msg {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    display: none;
}
.form-msg.error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.form-msg.success {
    display: block;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

/* Success Flip — ثابت */

.form-success-flip {
    margin-top: 12px;
    perspective: 1000px;
}
.flip-card {
    width: 100%;
    height: 150px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform .65s cubic-bezier(.4, .2, .2, 1);
    transform-style: preserve-3d;
}
.flip-card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, .25);
}
.flip-card-front i {
    font-size: 2.2rem;
    margin-bottom: .5rem;
}
.flip-card-front h3 {
    margin: 0 0 .3rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.flip-card-front p {
    margin: 0;
    opacity: .95;
    font-size: .88rem;
}

/* إخفاء الحقول بعد النجاح */
.contact__form.success-mode .form-row,
.contact__form.success-mode .form-group:not(.form-success-flip),
.contact__form.success-mode #cf-submit {
    display: none !important;
}

/* العمود الجانبي */
.contact__direct {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    border-radius: var(--r-md);
    padding: 22px;
    color: #fff;
    position: sticky;
    top: 90px;
}
.contact__direct h3 {
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}
.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact__method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-sm);
    transition: var(--t);
    color: #fff;
}
.contact__method:hover {
    background: rgba(255,255,255,.12);
    transform: translateX(3px);
    border-color: var(--primary);
}
.contact__method-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.contact__method-icon--email { background: rgba(224,122,63,.2); color: var(--accent); }
.contact__method-icon--wa    { background: rgba(37,211,102,.2); color: #25D366; }
.contact__method-icon--phone { background: rgba(212,165,116,.2); color: var(--primary); }
.contact__method strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1px;
}
.contact__method span {
    font-size: 11.5px;
    color: rgba(255,255,255,.6);
}

/* Responsive */
@media (max-width: 992px) {
    .contact__wrap {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 520px;
    }
    .contact__direct { position: static; }
}

/* ═══════════════════════════════════════════════════════ */
/* CONTACT FORM — Mobile: 2 fields per row                */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {

    .contact {
        padding: 44px 0 48px;
    }

    .contact__form {
        padding: 18px 14px;
        border-radius: 14px;
    }

    /* ✅ حقلان في كل سطر على الهاتف */
    .form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* ✅ ضبط الحقول لتناسب العمودين */
    .form-group {
        margin-bottom: 10px;
        min-width: 0;                 /* منع تجاوز العرض */
    }

    .form-group label {
        font-size: 11px;
        margin-bottom: 4px;
        letter-spacing: .1px;
        gap: 4px;
    }

    .form-group .req {
        font-size: 10px;
    }

    .form-group .opt {
        font-size: 9px;
        letter-spacing: .2px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 10px;
        font-size: 13px;
        border-radius: 8px;
        min-width: 0;
        width: 100%;
    }

    /* ✅ الـ select يصبح أنحف قليلاً */
    .form-group select {
        font-size: 12.5px;
        padding-right: 26px;         /* مساحة للسهم */
        background-position: right 8px center;
    }

    /* ✅ textarea يأخذ عرض كامل (في form-group مستقل) */
    .form-group textarea {
        min-height: 90px;
        font-size: 13px;
        padding: 10px 12px;
    }

    /* ✅ زر الإرسال */
    .contact__form .btn {
        padding: 12px 18px;
        font-size: 14px;
        margin-top: 6px;
    }

    /* Flip card */
    .flip-card { height: 150px; }
    .flip-card-front i { font-size: 1.8rem; margin-bottom: .4rem; }
    .flip-card-front h3 { font-size: 1rem; }
    .flip-card-front p { font-size: .82rem; }

    .btn-send-again {
        padding: 7px 14px;
        font-size: 12px;
        margin-top: 10px;
    }

    /* العمود الجانبي */
    .contact__direct {
        padding: 18px;
        border-radius: 14px;
    }

    .contact__direct h3 {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .contact__method {
        padding: 10px 12px;
        gap: 10px;
    }

    .contact__method-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 8px;
    }

    .contact__method strong {
        font-size: 12.5px;
    }

    .contact__method span {
        font-size: 11px;
    }
}

/* ─── شاشات صغيرة جداً (≤ 380px) ─── */
@media (max-width: 380px) {

    .contact__form {
        padding: 16px 12px;
    }

    .form-row {
        gap: 8px;
    }

    .form-group label {
        font-size: 10.5px;
        letter-spacing: 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 9px 8px;
        font-size: 12px;
    }

    .form-group select {
        font-size: 11.5px;
        padding-right: 24px;
    }

    .form-group .opt {
        display: none;                /* إخفاء "optional" على الشاشات الضيقة */
    }
}

/* زر إرسال مجدداً */
.btn-send-again {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: rgba(255,255,255,.2);
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: .25s ease;
}
.btn-send-again:hover {
    background: rgba(255,255,255,.32);
    transform: translateY(-1px);
}
.flip-card {
    height: 190px; /* مساحة كافية للزر */
}


/* ═══════════════════════════════════════════════════════ */
/* REVIEWS — DB VERSION                                   */
/* ═══════════════════════════════════════════════════════ */

.review {
    position: relative;
    min-height: 240px;
}

.review__title {
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.review__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--dark);
    font-style: italic;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.review__info strong {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--dark);
}

.review__verified {
    color: #10b981;
    font-size: 12px;
}

.review__country {
    font-size: 12px;
    color: var(--gray);
    line-height: 1.3;
}

.review__date {
    font-size: 11px;
    color: var(--gray);
    opacity: .8;
}

.review__featured {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 3px 10px rgba(224,122,63,.35);
}

/* Skeleton */
.review--skeleton {
    pointer-events: none;
}

.skel {
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: skel-shimmer 1.4s infinite;
    border-radius: 6px;
    margin-bottom: 10px;
}

.skel--stars    { height: 16px; width: 100px; }
.skel--line     { height: 12px; width: 100%; }
.skel--line.short { width: 60%; }
.skel--avatar   { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; }

@keyframes skel-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Empty state */
.reviews__empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--gray);
}
.reviews__empty i {
    font-size: 42px;
    color: var(--sand-2);
    display: block;
    margin-bottom: 14px;
}
.reviews__empty p {
    font-size: 14px;
}

/* RTL */
[dir="rtl"] .review__featured {
    right: auto;
    left: 12px;
}
[dir="rtl"] .review__author {
    flex-direction: row-reverse;
}
[dir="rtl"] .review__info {
    text-align: right;
}


/* ═══════════════════════════════════════════════════════ */
/* CUSTOM TOUR CTA — خلفية ملونة + حجم مناسب + إطار بارز  */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* CUSTOM TOUR CTA — 3D · Compact · Stunning              */
/* ═══════════════════════════════════════════════════════ */

.custom-cta {
    padding: 50px 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(224,122,63,.14) 0%, transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(212,165,116,.10) 0%, transparent 45%),
        linear-gradient(135deg, #0F1620 0%, #1A2332 40%, #243044 70%, #1A2332 100%);
    position: relative;
    overflow: hidden;
    perspective: 1400px;         /* ✅ أساس التأثير 3D */
}

/* خط زخرفي علوي */
.custom-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--primary), transparent);
    border-radius: 100px;
    opacity: .7;
}

/* ─── البطاقة — 3D ─── */
.custom-cta__card {
    position: relative;
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 30px 36px;
    border: 1px solid rgba(212, 165, 116, 0.18);
    box-shadow:
        /* ظل عميق */
        0 30px 60px rgba(0, 0, 0, .45),
        0 12px 24px rgba(0, 0, 0, .3),
        /* توهج دافئ */
        0 0 40px rgba(224, 122, 63, .08),
        /* حافة داخلية لامعة */
        inset 0 1px 0 rgba(255, 255, 255, .12),
        inset 0 -1px 0 rgba(0, 0, 0, .2);
    overflow: hidden;
    max-width: 720px;
    margin: 0 auto;
    z-index: 2;

    /* ✅ 3D */
    transform-style: preserve-3d;
    transform: rotateX(2deg) rotateY(0deg);
    transition:
        transform .5s cubic-bezier(.2,.9,.3,1),
        box-shadow .5s ease,
        border-color .4s ease;
}

.custom-cta__card:hover {
    transform: rotateX(0deg) rotateY(-1.5deg) translateY(-4px);
    border-color: rgba(212, 165, 116, 0.35);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, .5),
        0 16px 32px rgba(0, 0, 0, .35),
        0 0 60px rgba(224, 122, 63, .14),
        inset 0 1px 0 rgba(255, 255, 255, .18),
        inset 0 -1px 0 rgba(0, 0, 0, .25);
}

/* ─── شريط علوي ملون ─── */
.custom-cta__ribbon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    background-size: 200% 100%;
    animation: ribbonMove 4s linear infinite;
    transform: translateZ(20px);  /* ✅ يرتفع عن البطاقة في 3D */
    box-shadow: 0 2px 12px rgba(224, 122, 63, .5);
}

@keyframes ribbonMove {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* ─── زخرفة دائرية ─── */
.custom-cta__card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(224, 122, 63, .12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translateZ(1px);
}

/* ─── المحتوى ─── */
.custom-cta__inner {
    position: relative;
    z-index: 2;
    transform: translateZ(30px);   /* ✅ المحتوى يطفو فوق الخلفية */
}

/* ─── Eyebrow ─── */
.custom-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
    padding: 4px 11px;
    background: rgba(212, 165, 116, .1);
    border-radius: var(--r-full);
    border: 1px solid rgba(212, 165, 116, .22);
    backdrop-filter: blur(10px);
    transform: translateZ(15px);   /* ✅ يطفو أكثر */
    box-shadow:
        0 4px 12px rgba(0, 0, 0, .2),
        inset 0 1px 0 rgba(255,255,255,.1);
}

.custom-cta__eyebrow i {
    font-size: 9px;
    color: var(--accent);
}

/* ─── العنوان ─── */
.custom-cta__title {
    font-family: var(--font-h);
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
    transform: translateZ(25px);   /* ✅ العنوان بارز */
}

/* ─── النص ─── */
.custom-cta__text {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .68);
    margin-bottom: 20px;
    max-width: 580px;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
    transform: translateZ(10px);
}

/* ─── الزر ─── */
.custom-cta__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    transform: translateZ(20px);
}

.custom-cta__btn {
    padding: 11px 24px;
    font-size: 13px;
    font-weight: 700;
    box-shadow:
        0 8px 20px rgba(224, 122, 63, .35),
        0 2px 6px rgba(0, 0, 0, .2);
    transition: all .3s ease;
}

.custom-cta__btn:hover {
    box-shadow:
        0 14px 30px rgba(224, 122, 63, .5),
        0 4px 10px rgba(0, 0, 0, .3);
    transform: translateY(-3px) scale(1.02);
}

/* ═══════════════════════════════════════════════════════ */
/* نقاط الثقة — 3 في سطر واحد دائماً                      */
/* ═══════════════════════════════════════════════════════ */

.custom-cta__trust {
    display: flex;
    flex-wrap: nowrap;                /* ✅ لا يكسر السطر */
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    transform: translateZ(12px);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.custom-cta__trust::-webkit-scrollbar {
    display: none;
}

.custom-cta__trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .6);
    white-space: nowrap;
    flex-shrink: 0;
}

.custom-cta__trust i {
    color: #10b981;
    font-size: 10px;
    filter: drop-shadow(0 1px 3px rgba(16, 185, 129, .4));
}

/* ─── أيقونة زخرفية ─── */
.custom-cta__deco {
    position: absolute;
    bottom: 24px;
    right: 32px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 165, 116, .08), rgba(224, 122, 63, .04));
    border: 1.5px dashed rgba(224, 122, 63, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    opacity: .5;
    animation: decoRotate 30s linear infinite;
    pointer-events: none;
    z-index: 1;
    transform: translateZ(5px);
}

@keyframes decoRotate {
    from { transform: translateZ(5px) rotate(0deg); }
    to   { transform: translateZ(5px) rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — TABLET                                    */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .custom-cta {
        padding: 40px 0;
        perspective: 1200px;
    }

    .custom-cta__card {
        padding: 26px 28px;
        max-width: 100%;
        transform: rotateX(1.5deg);
    }

    .custom-cta__deco {
        width: 60px;
        height: 60px;
        font-size: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — MOBILE (نفس السطر · موسّط · 3D)           */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .custom-cta {
        padding: 28px 0;
        perspective: 1000px;
    }

    .custom-cta__card {
        padding: 22px 18px 20px;
        border-radius: 16px;
        transform: rotateX(2deg);
    }

    .custom-cta__card:hover {
        transform: rotateX(0deg) translateY(-2px);
    }

    /* ✅ كل النصوص في الوسط */
    .custom-cta__inner {
        text-align: center;
        transform: translateZ(20px);
    }

    .custom-cta__eyebrow {
        display: inline-flex;
        margin-left: auto;
        margin-right: auto;
        font-size: 9.5px;
        padding: 4px 10px;
        margin-bottom: 10px;
        transform: translateZ(12px);
    }

    .custom-cta__title {
        font-size: 19px;
        text-align: center;
        margin-bottom: 10px;
        transform: translateZ(20px);
    }

    .custom-cta__text {
        font-size: 12.5px;
        line-height: 1.6;
        text-align: center;
        text-justify: auto;
        -webkit-hyphens: none;
        hyphens: none;
        margin-bottom: 18px;
        transform: translateZ(8px);
    }

    .custom-cta__actions {
        justify-content: center;
        transform: translateZ(15px);
    }

    .custom-cta__btn {
        width: 100%;
        justify-content: center;
        padding: 11px 18px;
        font-size: 13px;
    }

    /* ═══════════════════════════════════════════════════ */
    /* ✅ نقاط الثقة — 3 في سطر واحد على الهاتف            */
    /* ═══════════════════════════════════════════════════ */
    .custom-cta__trust {
        flex-wrap: nowrap !important;
        justify-content: space-between;     /* توزيع متساوٍ */
        gap: 6px;
        padding-top: 14px;
        transform: translateZ(10px);
        overflow-x: visible;                /* لا حاجة للتمرير */
    }

    .custom-cta__trust span {
        font-size: 9.5px;                   /* ✅ أصغر لتناسب السطر */
        gap: 3px;
        flex-shrink: 1;
        white-space: nowrap;
        letter-spacing: -0.01em;
    }

    .custom-cta__trust i {
        font-size: 9px;                     /* ✅ أيقونة أصغر */
    }

    .custom-cta__deco {
        display: none;
    }
}

/* ─── Small Mobile ─── */
@media (max-width: 380px) {
    .custom-cta {
        padding: 22px 0;
        perspective: 900px;
    }

    .custom-cta__card {
        padding: 18px 14px 16px;
        border-radius: 14px;
        transform: rotateX(2.5deg);
    }

    .custom-cta__title {
        font-size: 17px;
    }

    .custom-cta__text {
        font-size: 11.5px;
        line-height: 1.55;
    }

    .custom-cta__btn {
        padding: 10px 14px;
        font-size: 12px;
    }

    /* ✅ 3 نقاط في السطر — أصغر */
    .custom-cta__trust {
        gap: 4px;
    }

    .custom-cta__trust span {
        font-size: 8.5px;
        gap: 2px;
    }

    .custom-cta__trust i {
        font-size: 8px;
    }
}

/* ─── Very Small (≤ 340px) ─── */
@media (max-width: 340px) {
    .custom-cta__trust span {
        font-size: 7.5px;
    }

    .custom-cta__trust i {
        font-size: 7px;
    }

    .custom-cta__trust {
        gap: 3px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* RTL                                                    */
/* ═══════════════════════════════════════════════════════ */
[dir="rtl"] .custom-cta__deco {
    right: auto;
    left: 32px;
}

[dir="rtl"] .custom-cta__card::before {
    right: auto;
    left: -60px;
}

@media (max-width: 992px) {
    [dir="rtl"] .custom-cta__deco {
        left: 20px;
        right: auto;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* REDUCED MOTION                                         */
/* ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .custom-cta__ribbon,
    .custom-cta__deco {
        animation: none !important;
    }

    .custom-cta__card,
    .custom-cta__btn,
    .custom-cta__inner,
    .custom-cta__eyebrow,
    .custom-cta__title,
    .custom-cta__text {
        transition: none !important;
        transform: none !important;
    }
}


/* ═══════════════════════════════════════════════════════ */
/* MOROCCOTALES — MODERN ABOUT (Balanced Sizing)          */
/* ═══════════════════════════════════════════════════════ */

.mt {
    position: relative;
    padding: 56px 0 52px;
    background: #FBFAF7;
    overflow: hidden;
    isolation: isolate;
}

/* ═══ Mesh Gradient Background ═══ */
.mt__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mt__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .5;
    will-change: transform;
}

.mt__blob--1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(224, 122, 63, .3), transparent 70%);
    top: -80px;
    left: -60px;
    animation: blobFloat 20s ease-in-out infinite;
}
.mt__blob--2 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(212, 165, 116, .3), transparent 70%);
    top: 40%;
    right: -100px;
    animation: blobFloat 25s ease-in-out infinite reverse;
}
.mt__blob--3 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(74, 124, 89, .15), transparent 70%);
    bottom: -60px;
    left: 30%;
    animation: blobFloat 22s ease-in-out infinite;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(24px, -16px) scale(1.06); }
    66%      { transform: translate(-16px, 24px) scale(.96); }
}

/* الحاوية — أضيق على الحاسوب */
.mt__container {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════ */
/* BLOCK 1: INTRO                                         */
/* ═══════════════════════════════════════════════════════ */
.mt__intro {
    max-width: 520px;
    margin: 0 auto 40px;
    text-align: center;
}

.mt__tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 9px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--dark);
    background: rgba(255, 255, 255, .7);
    border: 1px solid rgba(212, 165, 116, .35);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    margin-bottom: 16px;
}

.mt__tag-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(224, 122, 63, .2);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(224, 122, 63, .2); }
    50%      { box-shadow: 0 0 0 6px rgba(224, 122, 63, .05); }
}

.mt__headline {
    font-family: var(--font-h);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--dark);
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mt__headline-em {
    position: relative;
    display: inline-block;
    background: linear-gradient(120deg, var(--accent) 0%, var(--primary) 60%, var(--accent) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

.mt__headline-em::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    background-size: 200% auto;
    border-radius: 2px;
    transform-origin: left;
    transform: scaleX(0);
    animation: lineGrow 1s ease .6s forwards, gradientShift 6s ease infinite;
    opacity: .35;
}
@keyframes lineGrow {
    to { transform: scaleX(1); }
}

.mt__sub {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--gray);
    max-width: 420px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════ */
/* BLOCK 2: SPLIT — Small Image + Narrative               */
/* ═══════════════════════════════════════════════════════ */
.mt__split {
    display: grid;
    grid-template-columns: 260px 1fr;      /* ✅ عمود الصورة ثابت */
    gap: 36px;
    align-items: start;
    margin-bottom: 44px;
}

/* ═══ الصورة — صغيرة وأنيقة ═══ */
.mt__visual {
    position: sticky;
    top: 90px;
    padding-bottom: 20px;
    width: 100%;
    max-width: 240px;                      /* ✅ صغيرة جداً */
    margin: 0 auto;
}

.mt__visual-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;                   /* ✅ مربعة */
    box-shadow:
        0 14px 30px rgba(26, 35, 50, .12),
        0 4px 12px rgba(26, 35, 50, .05);
}

.mt__visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(.19, 1, .22, 1);
}
.mt__visual:hover .mt__visual-frame img {
    transform: scale(1.06);
}

.mt__visual-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 36px 12px 10px;
    background: linear-gradient(180deg, transparent, rgba(26, 35, 50, .7));
    display: flex;
    align-items: flex-end;
}

.mt__visual-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .9);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mt__visual-label::before {
    content: '';
    width: 10px;
    height: 1px;
    background: var(--primary);
}

/* الصورة الصغيرة المتراكبة */
.mt__visual-mini {
    position: absolute;
    bottom: 0;
    right: -12px;
    width: 42%;
    aspect-ratio: 1/1;
    border-radius: 10px;
    overflow: hidden;
    border: 3px solid #FBFAF7;
    box-shadow: 0 8px 18px rgba(26, 35, 50, .18);
    margin: 0;
    transition: transform .5s cubic-bezier(.19, 1, .22, 1);
}
.mt__visual:hover .mt__visual-mini {
    transform: translateY(-4px) rotate(-2deg);
}
.mt__visual-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badge سنوات — صغير وأنيق */
.mt__visual-badge {
    position: absolute;
    top: 10px;
    left: -10px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    background: rgba(26, 35, 50, .92);
    backdrop-filter: blur(12px);
    border-radius: 8px;
    color: #fff;
    box-shadow:
        0 6px 16px rgba(26, 35, 50, .28),
        0 0 0 1px rgba(212, 165, 116, .3);
    z-index: 3;
}
.mt__visual-badge i {
    font-size: 10px;
    color: var(--primary);
}
.mt__visual-badge strong {
    display: block;
    font-family: var(--font-h);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}
.mt__visual-badge span {
    display: block;
    font-size: 7.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .65);
    margin-top: 1px;
}

/* ═══ Narrative (Chapters) ═══ */
.mt__narrative {
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.mt__chapter {
    position: relative;
    padding-left: 40px;
    transition: transform .4s ease;
}
.mt__chapter:hover {
    transform: translateX(3px);
}

.mt__chapter-num {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid rgba(212, 165, 116, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-size: 10.5px;
    font-weight: 800;
    color: var(--accent);
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    z-index: 2;
}
.mt__chapter:hover .mt__chapter-num {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    border-color: transparent;
    transform: scale(1.1) rotate(-6deg);
    box-shadow: 0 6px 14px rgba(224, 122, 63, .35);
}

.mt__chapter::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 13px;
    bottom: -26px;
    width: 1px;
    background: linear-gradient(180deg, rgba(212, 165, 116, .35), transparent);
}
.mt__chapter:last-child::before {
    display: none;
}

.mt__chapter-body h3 {
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin: 3px 0 6px;
    line-height: 1.3;
}

.mt__chapter-body p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--gray);
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* ═══════════════════════════════════════════════════════ */
/* BLOCK 3: STATS BAR                                     */
/* ═══════════════════════════════════════════════════════ */
.mt__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(229, 231, 235, .8);
    box-shadow:
        0 4px 16px rgba(26, 35, 50, .04),
        0 1px 3px rgba(26, 35, 50, .03);
    overflow: hidden;
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.mt__stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    background-size: 200% auto;
    animation: gradientShift 6s ease infinite;
}

.mt__stat {
    padding: 20px 12px;
    text-align: center;
    position: relative;
    transition: background .35s ease;
}

.mt__stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 24%;
    bottom: 24%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
}

.mt__stat:hover {
    background: linear-gradient(180deg, transparent, rgba(212, 165, 116, .06));
}

.mt__stat-num {
    display: block;
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -.02em;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--dark), #3a4a63);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mt__stat-label {
    display: block;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--gray);
}

/* ═══════════════════════════════════════════════════════ */
/* شاشات كبيرة جداً (≥ 1440px)                            */
/* ═══════════════════════════════════════════════════════ */
@media (min-width: 1440px) {
    .mt__container {
        max-width: 1120px;
    }
    .mt__headline {
        font-size: 34px;
    }
    .mt__split {
        grid-template-columns: 280px 1fr;
    }
     .mt__visual {
        max-width: 260px;              /* كان 180px → الآن 260px */
        margin: 0 auto;
        padding-bottom: 18px;
    }
    .mt__stats {
        max-width: 760px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — TABLET (≤ 992px)                          */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .mt {
        padding: 60px 0 52px;
    }

    .mt__intro {
        margin-bottom: 40px;
    }

    .mt__split {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 44px;
    }

    .mt__visual {
        position: relative;
        top: auto;
        max-width: 220px;                  /* ✅ صغيرة على التابلت */
        margin: 0 auto;
    }

.mt__visual-mini {
        width: 40%;                    /* كان 38% → الآن 40% */
        right: -10px;
        border-width: 3px;
        border-radius: 10px;
    }

    .mt__stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 560px;
    }
    .mt__stat:nth-child(2)::after {
        display: none;
    }
    .mt__stat:nth-child(1),
    .mt__stat:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — MOBILE (≤ 640px)                          */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .mt {
        padding: 48px 0 40px;
    }

    .mt__blob--1,
    .mt__blob--2,
    .mt__blob--3 {
        filter: blur(60px);
        opacity: .4;
    }
    .mt__blob--1 { width: 220px; height: 220px; }
    .mt__blob--2 { width: 240px; height: 240px; }
    .mt__blob--3 { width: 200px; height: 200px; }

    .mt__container {
        padding: 0 18px;
    }

    .mt__intro {
        margin-bottom: 32px;
    }

    .mt__tag {
        font-size: 9.5px;
        padding: 4px 10px 4px 7px;
        letter-spacing: .9px;
    }

    .mt__headline {
        font-size: clamp(22px, 6.5vw, 28px);
        gap: 2px;
        margin-bottom: 12px;
    }
    .mt__headline-em::after {
        height: 2px;
        bottom: -4px;
    }

    .mt__sub {
        font-size: 13px;
        line-height: 1.6;
    }

    .mt__split {
        gap: 24px;
        margin-bottom: 32px;
    }

    /* ✅ الصورة صغيرة جداً على الهاتف */
    .mt__visual {
        max-width: 180px;
        margin: 0 auto;
        padding-bottom: 14px;
    }

    .mt__visual-frame {
        border-radius: 10px;
    }

    .mt__visual-mini {
        width: 38%;
        right: -8px;
        border-width: 3px;
        border-radius: 9px;
    }

      .mt__visual-badge {
        padding: 7px 10px;             /* أكبر قليلاً */
        top: 10px;
        left: -8px;
        border-radius: 8px;
        gap: 6px;
    }
     .mt__visual-badge i { font-size: 10px; }
    .mt__visual-badge strong { font-size: 13px; }   /* كان 11px */
    .mt__visual-badge span { font-size: 7.5px; letter-spacing: 1px; }

    .mt__narrative {
        gap: 22px;
    }

    .mt__chapter {
        padding-left: 36px;
    }

    .mt__chapter-num {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    .mt__chapter::before {
        top: 26px;
        left: 12px;
        bottom: -22px;
    }

    .mt__chapter-body h3 {
        font-size: 14px;
        margin: 2px 0 5px;
    }

    .mt__chapter-body p {
        font-size: 12.5px;
        line-height: 1.65;
        text-align: justify;
        text-justify: inter-word;
        hyphens: none;
        -webkit-hyphens: none;
        word-spacing: -0.02em;
    }

    .mt__stats {
        grid-template-columns: 1fr 1fr;
        border-radius: 12px;
        max-width: 100%;
    }

    .mt__stat {
        padding: 16px 8px;
    }

    .mt__stat-num {
        font-size: 19px;
        margin-bottom: 3px;
    }

    .mt__stat-label {
        font-size: 8.5px;
        letter-spacing: 1px;
    }

    .mt__stat:not(:last-child)::after {
        display: none;
    }
    .mt__stat:nth-child(odd) {
        border-right: 1px solid var(--border);
    }
    .mt__stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — SMALL (≤ 380px)                           */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    .mt { padding: 40px 0 32px; }

    .mt__headline {
        font-size: 20px;
    }

    .mt__visual {
      max-width: 250px;                   /* ✅ أصغر */
    }

    .mt__chapter {
        padding-left: 32px;
    }
    .mt__chapter-num {
        width: 24px;
        height: 24px;
        font-size: 9.5px;
    }
    .mt__chapter::before {
        top: 24px;
        left: 11px;
    }

    .mt__stat-num {
        font-size: 17px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* RTL                                                    */
/* ═══════════════════════════════════════════════════════ */
[dir="rtl"] .mt__chapter {
    padding-left: 0;
    padding-right: 40px;
    text-align: right;
}
[dir="rtl"] .mt__chapter-num {
    left: auto;
    right: 0;
}
[dir="rtl"] .mt__chapter::before {
    left: auto;
    right: 13px;
}
[dir="rtl"] .mt__chapter:hover {
    transform: translateX(-3px);
}

[dir="rtl"] .mt__visual-badge {
    left: auto;
    right: -10px;
}
[dir="rtl"] .mt__visual-mini {
    right: auto;
    left: -12px;
}

[dir="rtl"] .mt__chapter-body p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
    word-spacing: 0.02em;
}

@media (max-width: 992px) {
    [dir="rtl"] .mt__visual-mini {
        left: -10px;
        right: auto;
    }
}
@media (max-width: 640px) {
    [dir="rtl"] .mt__visual-badge {
        right: -6px;
        left: auto;
    }
    [dir="rtl"] .mt__visual-mini {
        left: -8px;
        right: auto;
    }
    [dir="rtl"] .mt__chapter {
        padding-right: 36px;
        padding-left: 0;
    }
    [dir="rtl"] .mt__chapter-num {
        right: 0;
        left: auto;
    }
    [dir="rtl"] .mt__chapter::before {
        right: 12px;
        left: auto;
    }
}
@media (max-width: 380px) {
    [dir="rtl"] .mt__chapter {
        padding-right: 32px;
    }
    [dir="rtl"] .mt__chapter-num {
        right: 0;
    }
    [dir="rtl"] .mt__chapter::before {
        right: 11px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* REDUCED MOTION                                         */
/* ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .mt__blob,
    .mt__headline-em,
    .mt__tag-dot,
    .mt__stats::before {
        animation: none !important;
    }
    .mt__visual-frame img,
    .mt__visual-mini,
    .mt__chapter,
    .mt__chapter-num {
        transition: none !important;
    }
}

/* ═══════════ PAGE HERO (tours-all) ═══════════ */
.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 80px 0 60px;
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero__bg img {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(.45);
}
.page-hero__inner { position: relative; z-index: 1; }

.breadcrumb {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; margin-bottom: 20px;
    color: rgba(255,255,255,.75);
}
.breadcrumb a { color: rgba(255,255,255,.9); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 10px; opacity: .6; }

.page-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px);
    margin: 0 0 12px;
    line-height: 1.15;
}
.page-hero__sub {
    font-size: 16px; opacity: .85; max-width: 600px;
    margin: 0 0 24px;
}
.page-hero__count {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
}
.page-hero__count i { color: #E07A3F; }

/* ═══════════ TOURS ALL — bar ═══════════ */
.tours-all__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.tours-all__sort {
    display: flex; align-items: center; gap: 10px;
    background: #fff;
    border: 1px solid #E5E0D8;
    border-radius: 10px;
    padding: 6px 14px;
}
.tours-all__sort i { color: #E07A3F; }
.tours-all__sort select {
    border: none; outline: none;
    background: transparent;
    font-size: 14px; font-weight: 500;
    color: #1A2332;
    cursor: pointer;
    padding: 6px 4px;
}

/* ═══════════ Tours More — badge ═══════════ */
.tours__more-count {
    font-weight: 700;
    color: #E07A3F;
    margin: 0 4px;
}


/* ═══════════════════════════════════════════════════════ */
/* OUR RECOMMENDED — Compact Responsive Grid              */
/* ═══════════════════════════════════════════════════════ */

.recommended {
    background: #FAF6F0;
    padding: 25px 0 20px;   /* ✅ صغير ومتناسق */
    position: relative;
    overflow: hidden;
}

/* خلفية زخرفية خفيفة */
.recommended::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(224,122,63,.08), transparent 70%);
    pointer-events: none;
}

/* ─── Section Head Compact ─── */
.section-head--compact {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 22px;   /* ✅ بدل 36px */
}
.section-head--compact h2 {
    font-size: clamp(22px, 2.8vw, 30px);
    margin: 8px 0 6px;   /* ✅ أصغر */
}
.section-head--compact p {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}
.section-head--compact .section-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224,122,63,.1);
    color: #E07A3F;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.section-head--compact .section-head__eyebrow i {
    font-size: 10px;
}

/* ═══════════════════════════════════════════════════════ */
/* GRID — Responsive                                       */
/* ═══════════════════════════════════════════════════════ */
.recommended__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);   /* 📱 Mobile: 2 */
}

@media (min-width: 640px) {
    .recommended__grid {
        grid-template-columns: repeat(3, 1fr); /* 📱 Tablet: 3 */
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .recommended__grid {
        grid-template-columns: repeat(4, 1fr); /* 💻 Desktop: 4 */
        gap: 22px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* REC CARD — Compact Elegant                              */
/* ═══════════════════════════════════════════════════════ */
.rec-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rec-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26,35,50,.12);
    border-color: rgba(224,122,63,.3);
}

/* ─── Image ─── */
.rec-card__img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    flex-shrink: 0;
    background: #F5EDE0;
}
.rec-card__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.rec-card:hover .rec-card__img img {
    transform: scale(1.06);
}

.rec-card__img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35) 100%);
    pointer-events: none;
}

/* ─── Recommended badge ─── */
.rec-card__badge {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    background: linear-gradient(135deg, #E07A3F, #C25A2A);
    color: #fff;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 8px rgba(224,122,63,.35);
}
.rec-card__badge i { font-size: 8px; }

/* ─── Price tag ─── */
.rec-card__price {
    position: absolute;
    bottom: 10px; right: 10px;
    z-index: 2;
    background: rgba(255,255,255,.15);          /* شفاف جداً */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;                                  /* نص أبيض ليظهر على الشفافية */
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 11px;
    border: 1px solid rgba(255,255,255,.35);     /* حدود رقيقة أنيقة */
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.rec-card__price i {
    color: #7FDB8F;                               /* لون أخضر للأيقونة ✓ */
    font-size: 10px;
}
.rec-card__price small {
    font-size: 8px;
    font-weight: 500;
    opacity: .55;
    margin-right: 3px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ─── Body ─── */
.rec-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.rec-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    color: #6B7280;
    flex-wrap: wrap;
}
.rec-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}
.rec-card__meta i {
    color: #E07A3F;
    font-size: 9px;
}
.rec-card__meta .rating-star {
    color: #F59E0B;
}

.rec-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    color: #1A2332;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.rec-card__desc {
    font-size: 11px;
    line-height: 1.5;
    color: #6B7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rec-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
    padding-top: 6px;
}
.rec-card__tags span {
    background: rgba(224,122,63,.08);
    color: #C25A2A;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 12px;
    background: #1A2332;
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s ease, gap .25s ease;
}
.rec-card:hover .rec-card__cta {
    background: #E07A3F;
    gap: 10px;
}
.rec-card__cta i {
    font-size: 10px;
    transition: transform .3s ease;
}
.rec-card:hover .rec-card__cta i {
    transform: translateX(2px);
}

/* ═══════════════════════════════════════════════════════ */
/* SKELETON                                                */
/* ═══════════════════════════════════════════════════════ */
.rec-skeleton {
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    background: linear-gradient(90deg, #F0EBE3 25%, #FAF6F0 50%, #F0EBE3 75%);
    background-size: 200% 100%;
    animation: recShimmer 1.4s infinite;
}
@keyframes recShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — Tiny Screens                               */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    .rec-card__title { font-size: 13px; min-height: 34px; }
    .rec-card__desc  { font-size: 10px; }
    .rec-card__cta   { font-size: 10px; padding: 7px 10px; }
    .recommended__grid { gap: 12px; }
}


/* ═══════════════════════════════════════════════════════ */
/* FEATURED IN — Press Logos                              */
/* ═══════════════════════════════════════════════════════ */

.featured-in {
    padding: 40px 0 50px;        /* ← بدل 70px، صغّرناه */
    margin-top: 0;
}

.featured-in__head {
    text-align: center;
    margin-bottom: 32px;         /* ← بدل 44px */
}

.featured-in__eyebrow {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1A2332;
    letter-spacing: -.01em;
    margin-bottom: 5px;
}

.featured-in__sub {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

/* ─── Logos Row ─── */
.featured-in__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    padding: 0 20px;
}

.featured-in__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    opacity: .55;
    filter: grayscale(100%);
    transition: all .35s ease;
}

.featured-in__item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-3px);
}

.featured-in__item img {
    max-height: 100%;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .featured-in { padding: 55px 0; }
    .featured-in__logos { gap: 32px; }
    .featured-in__item { height: 36px; }
    .featured-in__item img { max-width: 105px; }
}

@media (max-width: 640px) {
    .featured-in { padding: 45px 0; }
    .featured-in__head { margin-bottom: 32px; }
    .featured-in__eyebrow { font-size: 18px; }
    .featured-in__sub { font-size: 13px; }

    .featured-in__logos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 16px;
    }

    .featured-in__item { height: 30px; }
    .featured-in__item img { max-width: 100%; }
}

@media (max-width: 380px) {
    .featured-in__logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 12px;
    }
}
/* ═══════════════════════════════════════════════════════ */
/* PROMOTIONS — Slim Professional Cards                   */
/* ═══════════════════════════════════════════════════════ */

.promos {
    background: #FFF8F0;
    padding: 24px 0;                /* ← مسافة أعلى/أسفل أقل */
    position: relative;
    overflow: hidden;
}

.promos::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(224,122,63,.10), transparent 70%);
    pointer-events: none;
}

/* ─── Head — مضغوط ─── */
.promos__head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 18px;             /* ← مسافة أقل تحت العنوان */
}

.promos__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #E07A3F, #C25A2A);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    box-shadow: 0 3px 10px rgba(224,122,63,.3);
}
.promos__eyebrow i { font-size: 9px; }

.promos__head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 2.6vw, 26px);   /* ← أصغر */
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 4px;
    line-height: 1.2;
}

.promos__head p {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
}

/* ─── Grid ─── */
.promos__grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .promos__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .promos__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* PROMO CARD — SLIM & CLICKABLE                          */
/* ═══════════════════════════════════════════════════════ */

.promo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(26,35,50,.08);
    transition: transform .35s ease, box-shadow .35s ease;
    background: #1A2332;
    display: block;                  /* ← يجعل الرابط يملأ البطاقة */
    text-decoration: none;
    color: inherit;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(26,35,50,.18);
}

/* ─── Image (fills entire card) ─── */
.promo-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;           /* ← Slim مريح للعين */
    overflow: hidden;
}

.promo-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

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

/* ─── Dark gradient overlay ─── */
.promo-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,.05) 35%,
        rgba(0,0,0,.55) 75%,
        rgba(0,0,0,.85) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ─── Discount Badge (top-left) ─── */
.promo-card__discount {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 3;
    background: linear-gradient(135deg, #FF4D4D, #C22020);
    color: #fff;
    padding: 6px 11px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .02em;
    box-shadow: 0 4px 12px rgba(194,32,32,.45);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}
.promo-card__discount small {
    font-size: 9px;
    font-weight: 600;
    opacity: .9;
    margin-left: 1px;
}

/* ─── Countdown (top-right) ─── */
.promo-card__countdown {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 3;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.15);
}
.promo-card__countdown i {
    color: #FFD166;
    font-size: 10px;
}
.promo-card__countdown strong {
    font-weight: 800;
    color: #FFD166;
    letter-spacing: .03em;
}

/* ─── Content (bottom overlay) ─── */
.promo-card__content {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 2;
    padding: 14px 16px 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ─── Badge row ─── */
.promo-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(224,122,63,.9);
    color: #fff;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    width: fit-content;
    backdrop-filter: blur(6px);
}
.promo-card__badge i { font-size: 8px; }

/* ─── Title ─── */
.promo-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Subtitle ─── */
.promo-card__sub {
    font-size: 11px;
    color: rgba(255,255,255,.85);
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Footer (code + arrow) ─── */
.promo-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

.promo-card__code {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    border: 1px dashed rgba(255,255,255,.35);
    transition: background .2s ease;
}
.promo-card__code:hover {
    background: rgba(255,255,255,.25);
}
.promo-card__code i {
    font-size: 8px;
    color: #FFD166;
    font-family: 'Inter', sans-serif;
}

/* ─── Arrow CTA ─── */
.promo-card__arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    transition: all .3s ease;
    border: 1px solid rgba(255,255,255,.2);
    flex-shrink: 0;
}
.promo-card:hover .promo-card__arrow {
    background: #E07A3F;
    border-color: #E07A3F;
    transform: translateX(3px) scale(1.05);
    box-shadow: 0 4px 14px rgba(224,122,63,.5);
}

/* ─── No-image fallback ─── */
.promo-card__img--empty {
    background: linear-gradient(135deg, #E07A3F, #C25A2A);
}
.promo-card__img--empty::after {
    content: '\f0d6';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: rgba(255,255,255,.35);
    z-index: 0;
}

/* ─── Skeleton ─── */
.promo-skeleton {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    background: linear-gradient(90deg, #F5EDE0 25%, #FAF6F0 50%, #F5EDE0 75%);
    background-size: 200% 100%;
    animation: promoShimmer 1.4s infinite;
}
@keyframes promoShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── Mobile tweaks ─── */
@media (max-width: 640px) {
    .promos { padding: 20px 0; }
    .promos__head { margin-bottom: 14px; }
    .promos__head h2 { font-size: 18px; }
    .promos__head p { font-size: 11px; }

    .promo-card__img { aspect-ratio: 16 / 11; }
    .promo-card__content { padding: 12px 14px 14px; gap: 5px; }
    .promo-card__title { font-size: 14px; }
    .promo-card__sub { font-size: 10px; }
    .promo-card__discount {
        top: 10px; left: 10px;
        padding: 5px 9px;
        font-size: 11px;
    }
    .promo-card__countdown {
        top: 10px; right: 10px;
        padding: 5px 8px;
        font-size: 9px;
    }
    .promo-card__badge { font-size: 8px; padding: 3px 8px; }
    .promo-card__code { font-size: 9px; padding: 3px 8px; }
    .promo-card__arrow { width: 28px; height: 28px; font-size: 10px; }
}



/* ═══════════════════════════════════════════════════════ */
/* GALLERY — Horizontal Scroll + Torn Paper + Info Visible */
/* Version: 2.0                                            */
/* ═══════════════════════════════════════════════════════ */

.gallery {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(224,122,63,.10) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 100%, rgba(194,90,42,.08) 0%, transparent 45%),
        linear-gradient(180deg, #FBF5EC 0%, #F7EFE2 50%, #F5EDE0 100%);
}

.gallery::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(224,122,63,.04) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(194,90,42,.04) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(224,122,63,.03) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px, 100px 100px;
    pointer-events: none;
    opacity: .6;
}

.gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #E07A3F, transparent);
    border-radius: 100px;
}

.gallery .container {
    position: relative;
    z-index: 1;
    padding-top: 56px;
    padding-bottom: 0;
}

/* ─── Section Head ─── */
.gallery .section-head--compact {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 28px;
}

.gallery .section-head__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #E07A3F, #C25A2A);
    color: #fff;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(224,122,63,.3);
}
.gallery .section-head__eyebrow i { font-size: 10px; }

.gallery .section-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3.2vw, 34px);
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 8px;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.gallery .section-head p {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════ */
/* HORIZONTAL TRACK                                       */
/* ═══════════════════════════════════════════════════════ */

.gallery__wrap {
    position: relative;
    margin: 0;
    padding: 0;
    min-width: 0;
    max-width: 100%;
}

.gallery__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    /* ✅ بدون scroll-behavior:smooth (يتعارض مع rAF loop) */
    scroll-behavior: auto;
    scroll-snap-type: none;
    -webkit-scroll-snap-type: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 24px 6px 16px 6px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    will-change: scroll-position;
}

.gallery__track:active {
    cursor: grabbing;
}

.gallery__track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Spacers للتوسيط (اختياري) */
.gallery__track::before,
.gallery__track::after {
    content: '';
    flex: 0 0 auto;
    width: 1px;
    height: 1px;
    margin: auto 0;
    pointer-events: none;
    visibility: hidden;
}

/* ═══════════════════════════════════════════════════════ */
/* GALLERY ITEM — Torn Paper Effect                       */
/* ═══════════════════════════════════════════════════════ */

.gallery-item {
    flex: 0 0 auto;
    width: calc((100% - 3 * 16px) / 4);   /* 4 items — Desktop */
    max-width: 300px;
    min-width: 200px;
    scroll-snap-align: none;

    position: relative;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    display: block;
    text-decoration: none;
    margin: 0;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
    transition: transform .4s cubic-bezier(.2,.9,.3,1);
}

.gallery-item:hover {
    transform: translateY(-6px) rotate(-1deg);
    z-index: 2;
}

/* ─── Inner container with torn paper mask ─── */
.gallery-item__inner {
    position: absolute;
    inset: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;

    box-shadow:
        0 4px 12px rgba(26,35,50,.12),
        0 1px 3px rgba(26,35,50,.08);

    transition: box-shadow .4s ease;

    /* ✅ Torn paper mask */
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260' preserveAspectRatio='none'%3E%3Cpath d='M3,8 L14,2 L32,9 L49,3 L68,10 L85,4 L104,11 L122,3 L140,9 L158,2 L176,8 L192,4 L197,12 L192,28 L196,48 L191,68 L197,88 L192,108 L196,128 L191,148 L197,168 L192,188 L196,208 L191,228 L196,248 L188,254 L174,248 L158,253 L142,247 L124,254 L108,248 L90,253 L72,247 L56,254 L40,248 L22,253 L8,248 L2,242 L6,224 L2,204 L7,184 L2,164 L7,144 L2,124 L7,104 L2,84 L7,64 L2,44 L7,24 Z' fill='%23000'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 260' preserveAspectRatio='none'%3E%3Cpath d='M3,8 L14,2 L32,9 L49,3 L68,10 L85,4 L104,11 L122,3 L140,9 L158,2 L176,8 L192,4 L197,12 L192,28 L196,48 L191,68 L197,88 L192,108 L196,128 L191,148 L197,168 L192,188 L196,208 L191,228 L196,248 L188,254 L174,248 L158,253 L142,247 L124,254 L108,248 L90,253 L72,247 L56,254 L40,248 L22,253 L8,248 L2,242 L6,224 L2,204 L7,184 L2,164 L7,144 L2,124 L7,104 L2,84 L7,64 L2,44 L7,24 Z' fill='%23000'/%3E%3C/svg%3E");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center;
}

.gallery-item:hover .gallery-item__inner {
    box-shadow:
        0 20px 50px rgba(26,35,50,.22),
        0 6px 16px rgba(224,122,63,.12);
}

/* ─── Image ─── */
.gallery-item__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.9,.3,1);
    will-change: transform;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.gallery-item:hover .gallery-item__img {
    transform: scale(1.08);
}

/* ─── Overlay — ظاهر دائماً ─── */
.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0) 45%,
        rgba(0,0,0,.55) 80%,
        rgba(0,0,0,.85) 100%
    );
    opacity: 1;
    transition: background .35s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-item:hover .gallery-item__overlay {
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.05) 0%,
        rgba(0,0,0,.15) 40%,
        rgba(0,0,0,.65) 80%,
        rgba(0,0,0,.92) 100%
    );
}

/* ─── Featured Badge ─── */
.gallery-item__featured {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    background: linear-gradient(135deg, #FFD166, #E0A800);
    color: #1A2332;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 10px rgba(224,168,0,.4);
}
.gallery-item__featured i { font-size: 8px; }

/* ─── Category Chip — ظاهر دائماً ─── */
.gallery-item__category {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: rgba(224,122,63,.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 4px 9px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.2);
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* ─── Content — ظاهر دائماً ─── */
.gallery-item__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 16px 14px 18px;
    color: #fff;
    transform: translateY(0);
    opacity: 1;
    transition: transform .4s cubic-bezier(.2,.9,.3,1);
    pointer-events: none;
}

.gallery-item:hover .gallery-item__content {
    transform: translateY(-4px);
}

.gallery-item__title {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 4px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gallery-item__caption {
    font-size: 10px;
    color: rgba(255,255,255,.9);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

.gallery-item__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 9px;
    color: rgba(255,255,255,.85);
}

.gallery-item__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gallery-item__meta i {
    font-size: 9px;
    color: #FFD166;
}

/* ─── Zoom Icon — يظهر عند hover فقط ─── */
.gallery-item__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.7);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(224,122,63,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    opacity: 0;
    transition: all .35s cubic-bezier(.2,.9,.3,1);
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(224,122,63,.4);
}

.gallery-item:hover .gallery-item__zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ═══════════════════════════════════════════════════════ */
/* VIEW FULL GALLERY — Centered                           */
/* ═══════════════════════════════════════════════════════ */

.gallery__more {
    display: flex;
    justify-content: center;
    padding: 28px 16px 48px;
}

.gallery__more .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 100px;
    border: 1.5px solid #1A2332;
    background: transparent;
    color: #1A2332;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: all .3s cubic-bezier(.2,.9,.3,1);
    cursor: pointer;
    text-decoration: none;
}

.gallery__more .btn-outline:hover {
    background: #1A2332;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26,35,50,.2);
}

.gallery__count {
    font-weight: 800;
    color: #E07A3F;
    margin-left: 3px;
}

.gallery__more .btn-outline:hover .gallery__count {
    color: #FFD166;
}

/* ═══════════════════════════════════════════════════════ */
/* SKELETON                                               */
/* ═══════════════════════════════════════════════════════ */

.gallery-skeleton {
    flex: 0 0 auto;
    width: calc((100% - 3 * 16px) / 4);
    max-width: 300px;
    min-width: 200px;
    aspect-ratio: 3 / 4;
    border-radius: 4px;
    background: linear-gradient(90deg, #EDE3D4 25%, #F5EDE0 50%, #EDE3D4 75%);
    background-size: 200% 100%;
    animation: galleryShimmer 1.4s infinite;
}

@keyframes galleryShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════ */
/* LIGHTBOX                                               */
/* ═══════════════════════════════════════════════════════ */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10,15,22,.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.gallery-lightbox__img {
    max-width: 92vw;
    max-height: 82vh;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    object-fit: contain;
    animation: lbZoom .4s cubic-bezier(.2,.9,.3,1);
}

@keyframes lbZoom {
    from { transform: scale(.9); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.gallery-lightbox__info {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 24px;
    border-radius: 100px;
    color: #fff;
    text-align: center;
    border: 1px solid rgba(255,255,255,.15);
    max-width: 90vw;
}

.gallery-lightbox__title {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 3px;
}

.gallery-lightbox__caption {
    font-size: 11px;
    color: rgba(255,255,255,.7);
    margin: 0;
}

.gallery-lightbox__close,
.gallery-lightbox__prev,
.gallery-lightbox__next {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .3s ease;
    z-index: 2;
}

.gallery-lightbox__close { top: 24px; right: 24px; }
.gallery-lightbox__prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox__next  { right: 24px; top: 50%; transform: translateY(-50%); }

.gallery-lightbox__close:hover,
.gallery-lightbox__prev:hover,
.gallery-lightbox__next:hover {
    background: #E07A3F;
    border-color: #E07A3F;
}

/* ═══════════════════════════════════════════════════════ */
/* GALLERY MODAL — Full Gallery Viewer                    */
/* ═══════════════════════════════════════════════════════ */

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: gmFadeIn .3s ease;
}

.gallery-modal[hidden] { display: none; }

@keyframes gmFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,15,22,.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
}

.gallery-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    max-height: 92vh;
    background: #FBF5EC;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    animation: gmSlideUp .4s cubic-bezier(.2,.9,.3,1);
}

@keyframes gmSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.gallery-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    border-bottom: 1px solid rgba(224,122,63,.15);
    background: linear-gradient(135deg, #FBF5EC, #F5EDE0);
    flex-shrink: 0;
}

.gallery-modal__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gallery-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #C25A2A;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.gallery-modal__eyebrow i { font-size: 10px; }

.gallery-modal__title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1A2332;
    margin: 0;
    line-height: 1.2;
}

.gallery-modal__count {
    font-size: 11px;
    color: #6B7280;
    font-weight: 500;
}

.gallery-modal__close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(26,35,50,.08);
    border: none;
    color: #1A2332;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .25s ease;
    flex-shrink: 0;
}

.gallery-modal__close:hover {
    background: #E07A3F;
    color: #fff;
    transform: rotate(90deg);
}

.gallery-modal__filters {
    display: flex;
    gap: 8px;
    padding: 12px 26px;
    overflow-x: auto;
    border-bottom: 1px solid rgba(224,122,63,.1);
    background: #FBF5EC;
    flex-shrink: 0;
    scrollbar-width: none;
}

.gallery-modal__filters::-webkit-scrollbar { display: none; }

.gm-filter {
    padding: 6px 14px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid rgba(26,35,50,.08);
    color: #4B5563;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
    letter-spacing: .02em;
}

.gm-filter:hover {
    border-color: rgba(224,122,63,.4);
    color: #C25A2A;
}

.gm-filter.active {
    background: linear-gradient(135deg, #E07A3F, #C25A2A);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(224,122,63,.3);
}

.gallery-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 26px 26px;
    background: #FAF6F0;
}

.gallery-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 640px) {
    .gallery-modal__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 1024px) {
    .gallery-modal__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.gm-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background: #E5DDD0;
    transition: transform .35s ease, box-shadow .35s ease;
    border: none;
    padding: 0;
    display: block;
    width: 100%;
}

.gm-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(26,35,50,.18);
}

.gm-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

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

.gm-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.75) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.gm-card:hover .gm-card__overlay { opacity: 1; }

.gm-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    color: #fff;
    text-align: left;
    transform: translateY(10px);
    opacity: 0;
    transition: all .35s ease;
    pointer-events: none;
}

.gm-card:hover .gm-card__content {
    transform: translateY(0);
    opacity: 1;
}

.gm-card__title {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gm-card__cat {
    font-size: 9px;
    color: #FFD166;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 2px;
}

.gm-card__featured {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #FFD166, #E0A800);
    color: #1A2332;
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gallery-modal-skeleton {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: linear-gradient(90deg, #EDE3D4 25%, #F5EDE0 50%, #EDE3D4 75%);
    background-size: 200% 100%;
    animation: gmShimmer 1.4s infinite;
}

@keyframes gmShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════ */
/* GALLERY DETAIL — Deep Modal                            */
/* ═══════════════════════════════════════════════════════ */

.gallery-detail {
    position: fixed;
    inset: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-detail[hidden] { display: none; }

.gallery-detail__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10,15,22,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
}

.gallery-detail__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    max-height: 92vh;
    background: #FBF5EC;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,.6);
    animation: gmSlideUp .4s cubic-bezier(.2,.9,.3,1);
}

.gallery-detail__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .25s ease;
}

.gallery-detail__close:hover {
    background: #E07A3F;
    transform: rotate(90deg);
}

.gallery-detail__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .25s ease;
}

.gallery-detail__nav:hover {
    background: #E07A3F;
}

.gallery-detail__nav--prev { left: 16px; }
.gallery-detail__nav--next { right: 16px; }

.gallery-detail__layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    max-height: 92vh;
}

.gallery-detail__media {
    position: relative;
    background: #0A0F16;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.gallery-detail__media img {
    max-width: 100%;
    max-height: 92vh;
    object-fit: contain;
    display: block;
}

.gallery-detail__badges {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.gallery-detail__info {
    background: #FBF5EC;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gallery-detail__scroll {
    padding: 30px 26px 26px;
    overflow-y: auto;
    flex: 1;
}

.gallery-detail__category {
    display: inline-flex;
    align-items: center;
    background: rgba(224,122,63,.12);
    color: #C25A2A;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.gallery-detail__title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 10px;
    line-height: 1.25;
}

.gallery-detail__caption {
    font-size: 14px;
    line-height: 1.6;
    color: #4B5563;
    font-style: italic;
    margin: 0 0 16px;
}

.gallery-detail__desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: #374151;
    margin: 0 0 16px;
    text-align: justify;
    text-justify: inter-word;
}

.gallery-detail__desc p { margin: 0; }

.gallery-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.gallery-detail__tags span {
    background: rgba(224,122,63,.08);
    color: #C25A2A;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
}

.gallery-detail__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.06);
    margin-bottom: 18px;
}

.gallery-detail__meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #6B7280;
}

.gallery-detail__meta-row i {
    color: #E07A3F;
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.gallery-detail__meta-row strong {
    margin-left: auto;
    color: #1A2332;
    font-weight: 700;
}

.gallery-detail__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-detail__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
    border: none;
}

.gallery-detail__btn--primary {
    background: linear-gradient(135deg, #E07A3F, #C25A2A);
    color: #fff;
    box-shadow: 0 6px 16px rgba(224,122,63,.3);
    flex: 1;
}

.gallery-detail__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(224,122,63,.4);
}

.gallery-detail__btn--ghost {
    background: #fff;
    color: #1A2332;
    border: 1.5px solid rgba(26,35,50,.1);
}

.gallery-detail__btn--ghost:hover {
    background: #1A2332;
    color: #fff;
    border-color: #1A2332;
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — TABLET (≤992px)                           */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    .gallery-item,
    .gallery-skeleton {
        width: calc((100% - 2 * 14px) / 3);   /* 3 items — Tablet */
        max-width: 280px;
        min-width: 180px;
    }

    .gallery__track {
        gap: 14px;
        padding: 22px 6px 14px 6px;
    }

    .gallery-detail__layout {
        grid-template-columns: 1fr;
        max-height: 92vh;
        overflow-y: auto;
    }

    .gallery-detail__media {
        min-height: 300px;
        max-height: 50vh;
    }

    .gallery-detail__media img {
        max-height: 50vh;
    }

    .gallery-detail__scroll {
        padding: 20px 18px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — MOBILE (≤640px)                           */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .gallery .container {
        padding-top: 42px;
    }

    .gallery .section-head--compact { margin-bottom: 22px; }
    .gallery .section-head h2 { font-size: 22px; }

    .gallery-item,
    .gallery-skeleton {
        width: calc((100% - 1 * 12px) / 2);   /* 2 items — Mobile */
        max-width: none;
        min-width: 140px;
    }

    .gallery__track {
        gap: 12px;
        padding: 20px 4px 12px 4px;
    }

    .gallery-item__title   { font-size: 12px; }
    .gallery-item__caption { font-size: 9.5px; }
    .gallery-item__zoom    { width: 38px; height: 38px; font-size: 12px; }
    .gallery-item__featured,
    .gallery-item__category { font-size: 8px; padding: 3px 8px; }

    .gallery__more {
        padding: 22px 12px 36px;
    }

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

    .gallery-lightbox__close { top: 16px; right: 16px; }
    .gallery-lightbox__prev  { left: 12px; }
    .gallery-lightbox__next  { right: 12px; }

    .gallery-modal { padding: 0; }
    .gallery-modal__panel { border-radius: 0; max-height: 100vh; height: 100vh; }
    .gallery-modal__header { padding: 16px 18px; }
    .gallery-modal__title  { font-size: 18px; }
    .gallery-modal__filters { padding: 10px 18px; }
    .gallery-modal__body   { padding: 14px 18px 20px; }
    .gallery-modal__grid   { gap: 10px; }

    .gallery-detail { padding: 0; }
    .gallery-detail__panel { border-radius: 0; max-height: 100vh; height: 100vh; }
    .gallery-detail__close { top: 12px; right: 12px; width: 36px; height: 36px; }
    .gallery-detail__nav   { width: 38px; height: 38px; font-size: 12px; }
    .gallery-detail__nav--prev { left: 10px; }
    .gallery-detail__nav--next { right: 10px; }
    .gallery-detail__title { font-size: 19px; }
    .gallery-detail__caption { font-size: 13px; }
    .gallery-detail__desc { font-size: 12.5px; }

    /* ✅ إيقاف auto-scroll على الجوال اختياري — نتركه يعمل */
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — SMALL MOBILE (≤380px)                     */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 380px) {
    .gallery-item,
    .gallery-skeleton {
        width: calc((100% - 1 * 10px) / 2);
        min-width: 130px;
    }

    .gallery__track {
        gap: 10px;
        padding: 18px 4px 10px 4px;
    }

    .gallery-item__title    { font-size: 11px; }
    .gallery-item__caption  { display: none; }
    .gallery-item__meta     { display: none; }
}

/* ═══════════════════════════════════════════════════════ */
/* RTL SUPPORT                                            */
/* ═══════════════════════════════════════════════════════ */

[dir="rtl"] .gallery__track {
    flex-direction: row-reverse;
}

[dir="rtl"] .gallery-item__featured {
    left: auto;
    right: 12px;
}

[dir="rtl"] .gallery-item__category {
    right: auto;
    left: 12px;
}

[dir="rtl"] .gallery-item:hover {
    transform: translateY(-6px) rotate(1deg);
}

[dir="rtl"] .gallery-detail__close { right: auto; left: 16px; }
[dir="rtl"] .gallery-detail__nav--prev { left: auto; right: 16px; }
[dir="rtl"] .gallery-detail__nav--next { right: auto; left: 16px; }
[dir="rtl"] .gallery-detail__meta-row strong { margin-left: 0; margin-right: auto; }
[dir="rtl"] .gallery-detail__desc { text-align: justify; text-justify: inter-word; }

/* ═══════════════════════════════════════════════════════ */
/* REDUCED MOTION                                         */
/* ═══════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .gallery-item,
    .gallery-item__img,
    .gallery-item__inner,
    .gallery-item__content {
        transition: none !important;
    }
    .gallery-item:hover {
        transform: none !important;
    }
    .gallery-item:hover .gallery-item__content {
        transform: none !important;
    }
    .gallery-skeleton,
    .gallery-modal-skeleton {
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* CATEGORIES — Explore Morocco Tour Categories           */
/* ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════ */
/* CATEGORIES — Home Slider + Detail Page                 */
/* Version: 6.0 — Clean Design + Performance Optimized    */
/* ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════ */
/* 1) CATEGORIES HOME SECTION                              */
/* ═══════════════════════════════════════════════════════ */

.categories {
    background: #FFFBF5;
    padding: 32px 0 28px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.categories.section {
    padding: 32px 0 28px;
}

.categories::before {
    content: '';
    position: absolute;
    top: -100px; left: -100px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(224,122,63,.08), transparent 70%);
    pointer-events: none;
}

.categories::after {
    content: '';
    position: absolute;
    bottom: -100px; right: -100px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(212,165,116,.08), transparent 70%);
    pointer-events: none;
}

.categories__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.categories__eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    color: #E07A3F;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    margin-bottom: 10px;
    padding: 5px 12px;
    background: rgba(224,122,63,.08);
    border-radius: 100px;
    border: 1px solid rgba(224,122,63,.15);
}

.categories__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 10px;
    line-height: 1.15;
    letter-spacing: -.015em;
}

.categories__sub {
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
    margin: 0 auto;
    max-width: 580px;
}

/* ─── Slider Wrap ─── */
.categories__wrap {
    position: relative;
    margin: 0;
    padding: 0;
    min-width: 0;
    max-width: 100%;
}

/* ═══════════════════════════════════════════════════════ */
/* 2) TRACK — Smart Centering + Overflow Space            */
/* ═══════════════════════════════════════════════════════ */

.categories__track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;      /* ✅ يمنع تمدد البطاقات */
    gap: 16px;

    overflow-x: auto;
    overflow-y: visible;          /* ✅ مهم: للسماح بالـ Badge بالظهور */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-behavior: smooth;

    scroll-snap-type: x proximity;
    -webkit-scroll-snap-type: x proximity;

    scrollbar-width: none;
    -ms-overflow-style: none;

    /* ✅ padding علوي كبير لمنع قص Badge */
    padding: 28px 6px 12px 6px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.categories__track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* ✅ Spacers للتوسيط الصحيح */
.categories__track::before,
.categories__track::after {
    content: '';
    flex: 0 0 auto;
    width: 1px;
    height: 1px;
    margin: auto 0;
    pointer-events: none;
    visibility: hidden;
}

/* ═══════════════════════════════════════════════════════ */
/* 3) CAT-CARD — LARGER + CLEAN                           */
/* ═══════════════════════════════════════════════════════ */

.cat-card {
    flex: 0 0 auto;
    width: calc((100% - 5 * 16px) / 5.5);
    max-width: 260px;
    min-width: 200px;
    scroll-snap-align: center;
    scroll-snap-stop: normal;

    position: relative;
    border-radius: 18px;
    overflow: visible;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    text-decoration: none;
    display: block;
    margin: 0;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
}

/* ─── الحاوية الداخلية (خلفية + ظل) ─── */
.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: #1A2332;
    box-shadow: 0 4px 14px rgba(26,35,50,.10);
    transition: box-shadow .3s ease;
    z-index: 0;
    will-change: box-shadow;
}

.cat-card:hover::before {
    box-shadow: 0 16px 36px rgba(26,35,50,.20);
}

/* ═══════════════════════════════════════════════════════ */
/* 4) IMAGE + OVERLAY                                     */
/* ═══════════════════════════════════════════════════════ */

.cat-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    transition: transform .7s cubic-bezier(.2,.9,.3,1);
    z-index: 1;
    will-change: transform;
}

.cat-card:hover .cat-card__img {
    transform: scale(1.06);
}

.cat-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,.05) 35%,
        rgba(13,27,42,.55) 65%,
        rgba(13,27,42,.92) 100%
    );
    border-radius: 18px;
    z-index: 2;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════ */
/* 5) 🎯 COUNT BADGE — 3D OUTSIDE DESIGN (بدون shadow)   */
/* ═══════════════════════════════════════════════════════ */

.cat-card__count-badge {
    position: absolute;
    top: -14px;
    right: -10px;
    z-index: 10;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 9px 15px;

    /* ✅ خلفية صلبة — لا شفافية */
    background: linear-gradient(135deg, #1A2332 0%, #2D3E52 50%, #1A2332 100%);
    color: #fff;

    border-radius: 13px;
    border: 2px solid #D4A574;

    /* ✅ لا ظل — نظيف تماماً */
    box-shadow: none;

    transform: rotate(-3deg);
    transform-origin: center center;

    transition: transform 0.3s ease, border-color 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    will-change: transform;
}

/* ─── خط ذهبي علوي (زخرفة) ─── */
.cat-card__count-badge::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 10px;
    right: 10px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 165, 116, 0.6),
        transparent
    );
    border-radius: 1px;
    pointer-events: none;
}

/* ─── سهم صغير أسفل ─── */
.cat-card__count-badge::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 18px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #1A2332;
    pointer-events: none;
}

/* ─── الرقم ─── */
.cat-card__count-num {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
    color: #FFD166;
    letter-spacing: -0.02em;
    display: block;
}

/* ─── التسمية ─── */
.cat-card__count-label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    display: block;
}

/* ─── Hover — بدون shadow ─── */
.cat-card:hover .cat-card__count-badge {
    transform: rotate(-3deg) translateY(-3px) scale(1.04);
    border-color: #E07A3F;
}

.cat-card:hover .cat-card__count-num {
    color: #FFE08A;
}

/* ═══════════════════════════════════════════════════════ */
/* 6) FEATURED STAR BADGE                                 */
/* ═══════════════════════════════════════════════════════ */

.cat-card__featured {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 8;

    width: 32px;
    height: 32px;
    border-radius: 50%;

    background: linear-gradient(135deg, #FFD166, #E0A800);
    color: #1A2332;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;

    /* ✅ ظل خفيف فقط */
    box-shadow: 0 2px 8px rgba(224, 168, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════════════════ */
/* 7) CARD CONTENT — NAME + SUBTITLE                      */
/* ═══════════════════════════════════════════════════════ */

.cat-card__content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 5;
    padding: 16px 14px 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 0 0 18px 18px;
    pointer-events: none;
}

.cat-card__name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0,0,0,.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card__name::after {
    content: '';
    display: block;
    width: 26px;
    height: 2px;
    background: #E07A3F;
    border-radius: 2px;
    margin-top: 6px;
    transition: width .3s ease;
}

.cat-card:hover .cat-card__name::after {
    width: 46px;
}

.cat-card__sub {
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(255,255,255,.88);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ═══════════════════════════════════════════════════════ */
/* 8) NAV BUTTONS — DESKTOP ONLY                          */
/* ═══════════════════════════════════════════════════════ */

.categories__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;

    width: 42px;
    height: 42px;
    border-radius: 50%;

    background: #fff;
    border: 1px solid rgba(26,35,50,.08);
    color: #1A2332;
    font-size: 14px;
    cursor: pointer;

    display: none;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 14px rgba(26,35,50,.12);
    transition: all .25s ease;
}

.categories__nav:hover {
    background: #E07A3F;
    color: #fff;
    border-color: #E07A3F;
    transform: translateY(-50%) scale(1.08);
}

.categories__nav--prev { left: 8px; }
.categories__nav--next { right: 8px; }

.categories__nav:disabled {
    opacity: 0;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════ */
/* 9) VIEW ALL CATEGORIES BUTTON                          */
/* ═══════════════════════════════════════════════════════ */

.categories__more {
    display: flex;
    justify-content: center;
    padding: 24px 16px 8px;
    position: relative;
    z-index: 1;
}

/* ─── الزر الأساسي — حجم مضغوط ─── */
.categories__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 16px 8px 8px;

    background: linear-gradient(135deg, #1A2332 0%, #243044 100%);
    color: #fff;

    border-radius: 100px;
    text-decoration: none;

    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.01em;

    box-shadow: 0 4px 12px rgba(26, 35, 50, 0.15);

    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
}

/* ─── تأثير لمعان ─── */
.categories__more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: left 0.6s ease;
    pointer-events: none;
}
.categories__more-btn:hover::before {
    left: 100%;
}

/* ─── الأيقونة — أصغر ─── */
.categories__more-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 26px;
    height: 26px;

    background: linear-gradient(135deg, #E07A3F, #D4A574);
    border-radius: 50%;

    font-size: 11px;
    color: #fff;

    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* ─── النص ─── */
.categories__more-text {
    display: flex;
    align-items: center;
    gap: 5px;
}

.categories__more-label {
    white-space: nowrap;
}

.categories__more-count {
    font-size: 12px;
    font-weight: 700;
    color: #E07A3F;
    opacity: 0.95;
}

/* ─── السهم — أصغر ─── */
.categories__more-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;

    font-size: 9px;
    color: #fff;

    transition: all 0.3s ease;
    flex-shrink: 0;
}

.categories__more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 35, 50, 0.22);
    background: linear-gradient(135deg, #243044 0%, #1A2332 100%);
}

.categories__more-btn:hover .categories__more-icon {
    transform: rotate(-8deg) scale(1.06);
}

.categories__more-btn:hover .categories__more-arrow {
    background: #E07A3F;
    transform: translateX(4px);
}

.categories__more-btn:active {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════ */
/* 10) SKELETON LOADING                                   */
/* ═══════════════════════════════════════════════════════ */

.cat-skeleton {
    flex: 0 0 auto;
    width: calc((100% - 5 * 16px) / 5.5);
    max-width: 260px;
    min-width: 200px;
    aspect-ratio: 3 / 4;
    border-radius: 18px;
    background: linear-gradient(90deg, #F0EBE3 25%, #FAF6F0 50%, #F0EBE3 75%);
    background-size: 200% 100%;
    animation: catShimmer 1.4s infinite;
}

@keyframes catShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════ */
/* 11) RESPONSIVE — TABLET (≤1024px)                      */
/* ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════ */
/* 11) RESPONSIVE — TABLET (≤1024px)                      */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .categories,
    .categories.section {
        padding: 28px 0 24px;
    }

    .categories__head {
        margin: 0 auto 20px;
    }

    .cat-card,
    .cat-skeleton {
        width: calc((100% - 2 * 14px) / 3);
        max-width: 280px;
        min-width: 190px;
    }

    .categories__track {
        gap: 14px;
        padding: 26px 6px 10px 6px;
    }

    .cat-card::before,
    .cat-card__img,
    .cat-card__overlay {
        border-radius: 16px;
    }

    .cat-card__content {
        border-radius: 0 0 16px 16px;
    }

    .cat-card__count-badge {
        top: -12px;
        right: -8px;
        padding: 8px 13px;
        border-radius: 12px;
    }

    .cat-card__count-num { font-size: 17px; }
    .cat-card__count-label { font-size: 8.5px; }

    .cat-card__featured {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .cat-card__name { font-size: 15px; }
    .cat-card__sub { font-size: 10.5px; }

    /* ─── View All Categories Button — Tablet ─── */
    .categories__more {
        padding: 22px 14px 6px;
    }

    .categories__more-btn {
        padding: 7px 14px 7px 7px;
        font-size: 12px;
        gap: 7px;
        box-shadow: 0 4px 12px rgba(26, 35, 50, 0.15);
    }

    .categories__more-icon {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .categories__more-arrow {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }

    .categories__more-count { font-size: 11.5px; }
}

/* ═══════════════════════════════════════════════════════ */
/* 12) RESPONSIVE — MOBILE (≤640px)                       */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .categories,
    .categories.section {
        padding: 24px 0 20px;
    }

    .categories__head {
        margin: 0 auto 16px;
    }

    .categories__eyebrow {
        font-size: 9.5px;
        letter-spacing: 1.6px;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    .categories__title {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .categories__sub {
        font-size: 12.5px;
        line-height: 1.55;
    }

    .cat-card,
    .cat-skeleton {
        width: calc((100% - 1 * 12px) / 2);
        max-width: none;
        min-width: 150px;
    }

    .categories__track {
        gap: 12px;
        padding: 22px 4px 8px 4px;
    }

    .cat-card::before,
    .cat-card__img,
    .cat-card__overlay {
        border-radius: 14px;
    }

    .cat-card__content {
        padding: 12px 12px 14px;
        border-radius: 0 0 14px 14px;
    }

    .cat-card__count-badge {
        top: -10px;
        right: -6px;
        padding: 7px 11px;
        border-radius: 11px;
        gap: 4px;
        border-width: 1.5px;
    }

    .cat-card__count-badge::after {
        bottom: -5px;
        right: 14px;
        border-left-width: 6px;
        border-right-width: 6px;
        border-top-width: 6px;
    }

    .cat-card__count-num { font-size: 15px; }
    .cat-card__count-label { font-size: 7.5px; letter-spacing: 0.06em; }

    .cat-card__featured {
        top: 10px;
        left: 10px;
        width: 26px;
        height: 26px;
        font-size: 10px;
    }

    .cat-card__name { font-size: 13.5px; }
    .cat-card__name::after { width: 18px; margin-top: 5px; }
    .cat-card__sub { font-size: 10px; }

    .categories__nav { display: none !important; }

    /* ─── View All Categories Button — Mobile ─── */
    .categories__more {
        padding: 20px 12px 6px;
    }

    .categories__more-btn {
        padding: 7px 12px 7px 6px;
        font-size: 11.5px;
        gap: 6px;
        box-shadow: 0 3px 10px rgba(26, 35, 50, 0.15);
    }

    .categories__more-icon {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }

    .categories__more-arrow {
        width: 18px;
        height: 18px;
        font-size: 8px;
    }

    .categories__more-count { font-size: 11px; }
}

/* ═══════════════════════════════════════════════════════ */
/* 13) RESPONSIVE — SMALL MOBILE (≤380px)                 */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 380px) {
    .categories,
    .categories.section {
        padding: 20px 0 16px;
    }

    .cat-card,
    .cat-skeleton {
        width: calc((100% - 1 * 10px) / 2);
        min-width: 130px;
    }

    .categories__track {
        gap: 10px;
        padding: 20px 4px 6px 4px;
    }

    .cat-card::before,
    .cat-card__img,
    .cat-card__overlay {
        border-radius: 12px;
    }

    .cat-card__content {
        padding: 10px 10px 12px;
        border-radius: 0 0 12px 12px;
    }

    .cat-card__count-badge {
        top: -9px;
        right: -5px;
        padding: 6px 9px;
        border-radius: 10px;
        gap: 3px;
        border-width: 1.5px;
    }

    .cat-card__count-badge::after {
        bottom: -4px;
        right: 12px;
        border-left-width: 5px;
        border-right-width: 5px;
        border-top-width: 5px;
    }

    .cat-card__count-num { font-size: 13px; }
    .cat-card__count-label { font-size: 6.5px; }

    .cat-card__featured {
        top: 8px;
        left: 8px;
        width: 22px;
        height: 22px;
        font-size: 9px;
    }

    .cat-card__name { font-size: 12px; }
    .cat-card__sub  { font-size: 9px; }

    /* ─── View All Categories Button — Small Mobile ─── */
    .categories__more {
        padding: 16px 10px 4px;
    }

    .categories__more-btn {
        padding: 6px 10px 6px 5px;
        font-size: 11px;
        gap: 5px;
        box-shadow: 0 3px 8px rgba(26, 35, 50, 0.15);
    }

    .categories__more-icon {
        width: 20px;
        height: 20px;
        font-size: 8.5px;
    }

    .categories__more-arrow {
        width: 17px;
        height: 17px;
        font-size: 7px;
    }

    .categories__more-label { font-size: 10.5px; }
    .categories__more-count { font-size: 10px; }
}
/* ═══════════════════════════════════════════════════════ */
/* 14) CATEGORY DETAIL PAGE                               */
/* ═══════════════════════════════════════════════════════ */

.cat-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    padding: 80px 0 48px;
    overflow: hidden;
}

.cat-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cat-hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    from { transform: scale(1.05); }
    to   { transform: scale(1.15); }
}

.cat-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,27,42,.4) 0%,
        rgba(13,27,42,.65) 50%,
        rgba(13,27,42,.92) 100%
    );
}

.cat-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.cat-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.7);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cat-hero__breadcrumb a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .25s;
}

.cat-hero__breadcrumb a:hover { color: #fff; }
.cat-hero__breadcrumb i { font-size: 9px; opacity: .6; }
.cat-hero__breadcrumb span { color: #FFD166; font-weight: 600; }

.cat-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(224,122,63,.9);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cat-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.cat-hero__subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255,255,255,.9);
    margin: 0 0 12px;
    max-width: 700px;
    font-style: italic;
}

.cat-hero__short {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.8);
    margin: 0;
    max-width: 720px;
    text-align: justify;
    text-justify: inter-word;
}

.cat-about {
    background: #fff;
    padding: 0;
    margin-top: -1px;
}

.cat-about__box {
    background: #fff;
    border-radius: 18px;
    padding: 36px 40px;
    margin-top: -32px;
    position: relative;
    z-index: 3;
    box-shadow: 0 20px 50px rgba(26,35,50,.10);
    border: 1px solid rgba(224,122,63,.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cat-about__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #E07A3F;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding: 5px 12px;
    background: rgba(224,122,63,.08);
    border-radius: 100px;
    border: 1px solid rgba(224,122,63,.15);
}

.cat-about__text {
    font-size: 15px;
    line-height: 1.85;
    color: #374151;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.cat-about__text p { margin: 0 0 14px; }
.cat-about__text p:last-child { margin-bottom: 0; }

.cat-about__text h2,
.cat-about__text h3,
.cat-about__text h4 {
    font-family: 'Playfair Display', serif;
    color: #1A2332;
    margin: 22px 0 10px;
    line-height: 1.3;
}

.cat-about__text h2 { font-size: 22px; }
.cat-about__text h3 { font-size: 18px; }
.cat-about__text h4 { font-size: 16px; }

.cat-about__text ul,
.cat-about__text ol {
    padding-left: 22px;
    margin: 10px 0 14px;
}

.cat-about__text li {
    margin-bottom: 6px;
    line-height: 1.7;
}

.cat-tours {
    padding: 48px 0 60px;
    background: #fff;
}

.cat-tours__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
}

.cat-tours__head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 32px);
    color: #1A2332;
    margin: 8px 0 0;
}

.cat-related {
    padding: 56px 0 60px;
}

.cat-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.cat-related__card {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 14px rgba(26,35,50,.08);
}

.cat-related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(26,35,50,.16);
}

.cat-related__card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.cat-related__card:hover img { transform: scale(1.06); }

.cat-related__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(13,27,42,.9) 100%);
    z-index: 1;
}

.cat-related__content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 14px 14px 16px;
}

.cat-related__content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.25;
}

.cat-related__content p {
    font-size: 10.5px;
    color: rgba(255,255,255,.8);
    margin: 0 0 8px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-related__count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #FFD166;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cat-related__count::before {
    content: '●';
    color: #E07A3F;
    font-size: 7px;
}

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

@media (max-width: 768px) {
    .cat-hero { min-height: 400px; padding: 70px 0 40px; }
    .cat-hero__title { font-size: 26px; }
    .cat-hero__subtitle { font-size: 14px; }
    .cat-hero__short { font-size: 13px; }

    .cat-about__box {
        padding: 26px 22px;
        margin-top: -24px;
        border-radius: 14px;
    }
    .cat-about__text { font-size: 14px; line-height: 1.75; }

    .cat-related__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat-related__card { aspect-ratio: 1 / 1.15; }
    .cat-related__content h3 { font-size: 13px; }
}

@media (max-width: 480px) {
    .cat-hero { min-height: 360px; padding: 60px 0 36px; }
    .cat-hero__title { font-size: 22px; }
    .cat-hero__badge { font-size: 10px; padding: 5px 11px; }

    .cat-about__box { padding: 22px 18px; }
    .cat-about__text { font-size: 13.5px; }

    .cat-related__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cat-related__content { padding: 10px 10px 12px; }
    .cat-related__content p { display: none; }
}

/* ═══════════════════════════════════════════════════════ */
/* 15) RTL SUPPORT                                        */
/* ═══════════════════════════════════════════════════════ */

[dir="rtl"] .cat-card__count-badge {
    right: auto;
    left: -10px;
    transform: rotate(3deg);
}

[dir="rtl"] .cat-card:hover .cat-card__count-badge {
    transform: rotate(3deg) translateY(-3px) scale(1.04);
}

[dir="rtl"] .cat-card__count-badge::after {
    right: auto;
    left: 18px;
}

[dir="rtl"] .cat-card__featured {
    left: auto;
    right: 12px;
}

[dir="rtl"] .cat-card__name::after {
    margin-left: auto;
    margin-right: 0;
}

[dir="rtl"] .categories__more-btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .categories__more-btn:hover .categories__more-arrow {
    transform: translateX(-4px) rotate(180deg);
}

[dir="rtl"] .categories__more-arrow i {
    transform: scaleX(-1);
}

[dir="rtl"] .cat-related__content h3 {
    text-align: right;
}

@media (max-width: 1024px) {
    [dir="rtl"] .cat-card__count-badge {
        left: -8px;
        right: auto;
    }
}

@media (max-width: 640px) {
    [dir="rtl"] .cat-card__count-badge {
        left: -6px;
        right: auto;
    }

    [dir="rtl"] .cat-card__count-badge::after {
        left: 14px;
        right: auto;
    }

    [dir="rtl"] .cat-card__featured {
        right: 10px;
        left: auto;
    }
}

@media (max-width: 380px) {
    [dir="rtl"] .cat-card__count-badge {
        left: -5px;
        right: auto;
    }

    [dir="rtl"] .cat-card__count-badge::after {
        left: 12px;
        right: auto;
    }

    [dir="rtl"] .cat-card__featured {
        right: 8px;
        left: auto;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* 16) REDUCED MOTION                                     */
/* ═══════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .cat-card__count-badge,
    .cat-card__featured,
    .categories__more-btn,
    .categories__more-icon,
    .categories__more-arrow,
    .cat-card__img,
    .cat-card::before {
        transition: none !important;
        animation: none !important;
    }

    .categories__more-btn::before {
        display: none !important;
    }
}
/* ═══════════════════════════════════════════════════════ */
/* CATEGORY DETAIL PAGE                                   */
/* ═══════════════════════════════════════════════════════ */

/* ─── Hero ─── */
.cat-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    padding: 80px 0 48px;
    overflow: hidden;
}

.cat-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cat-hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: kenBurns 20s ease-in-out infinite alternate;
}
.cat-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(13,27,42,.4) 0%,
        rgba(13,27,42,.65) 50%,
        rgba(13,27,42,.92) 100%
    );
}

.cat-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.cat-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.7);
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.cat-hero__breadcrumb a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    transition: color .25s;
}
.cat-hero__breadcrumb a:hover { color: #fff; }
.cat-hero__breadcrumb i { font-size: 9px; opacity: .6; }
.cat-hero__breadcrumb span { color: #FFD166; font-weight: 600; }

.cat-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(224,122,63,.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(224,122,63,.4);
}

.cat-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.cat-hero__subtitle {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255,255,255,.9);
    margin: 0 0 12px;
    max-width: 700px;
    font-style: italic;
}

.cat-hero__short {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,.8);
    margin: 0;
    max-width: 720px;
    text-align: justify;
    text-justify: inter-word;
}

/* ─── About Box ─── */
.cat-about {
    background: #fff;
    padding: 0;
    margin-top: -1px;
}

.cat-about__box {
    background: #fff;
    border-radius: 18px;
    padding: 36px 40px;
    margin-top: -32px;
    position: relative;
    z-index: 3;
    box-shadow: 0 20px 50px rgba(26,35,50,.10);
    border: 1px solid rgba(224,122,63,.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cat-about__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #E07A3F;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding: 5px 12px;
    background: rgba(224,122,63,.08);
    border-radius: 100px;
    border: 1px solid rgba(224,122,63,.15);
}

.cat-about__text {
    font-size: 15px;
    line-height: 1.85;
    color: #374151;
    text-align: justify;
    text-justify: inter-word;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.cat-about__text p {
    margin: 0 0 14px;
}
.cat-about__text p:last-child { margin-bottom: 0; }

.cat-about__text h2,
.cat-about__text h3,
.cat-about__text h4 {
    font-family: 'Playfair Display', serif;
    color: #1A2332;
    margin: 22px 0 10px;
    line-height: 1.3;
}
.cat-about__text h2 { font-size: 22px; }
.cat-about__text h3 { font-size: 18px; }
.cat-about__text h4 { font-size: 16px; }

.cat-about__text ul,
.cat-about__text ol {
    padding-left: 22px;
    margin: 10px 0 14px;
}
.cat-about__text li {
    margin-bottom: 6px;
    line-height: 1.7;
}

/* ─── Tours Head ─── */
.cat-tours {
    padding: 48px 0 60px;
    background: #fff;
}
.cat-tours__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
}
.cat-tours__head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 32px);
    color: #1A2332;
    margin: 8px 0 0;
}

/* ─── Related Categories ─── */
.cat-related {
    padding: 56px 0 60px;
}
.cat-related__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.cat-related__card {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: block;
    transition: transform .4s cubic-bezier(.2,.9,.3,1),
                box-shadow .4s ease;
    box-shadow: 0 4px 14px rgba(26,35,50,.08);
}
.cat-related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(26,35,50,.18);
}

.cat-related__card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}
.cat-related__card:hover img { transform: scale(1.08); }

.cat-related__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(13,27,42,.9) 100%);
    z-index: 1;
}

.cat-related__content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 14px 14px 16px;
}

.cat-related__content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.25;
}

.cat-related__content p {
    font-size: 10.5px;
    color: rgba(255,255,255,.8);
    margin: 0 0 8px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-related__count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #FFD166;
    text-transform: uppercase;
    letter-spacing: .5em;
    letter-spacing: .04em;
}
.cat-related__count::before {
    content: '●';
    color: #E07A3F;
    font-size: 7px;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .cat-related__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .cat-hero { min-height: 400px; padding: 70px 0 40px; }
    .cat-hero__title { font-size: 26px; }
    .cat-hero__subtitle { font-size: 14px; }
    .cat-hero__short { font-size: 13px; }

    .cat-about__box {
        padding: 26px 22px;
        margin-top: -24px;
        border-radius: 14px;
    }
    .cat-about__text { font-size: 14px; line-height: 1.75; }

    .cat-related__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat-related__card { aspect-ratio: 1 / 1.15; }
    .cat-related__content h3 { font-size: 13px; }
}

@media (max-width: 480px) {
    .cat-hero { min-height: 360px; padding: 60px 0 36px; }
    .cat-hero__title { font-size: 22px; }
    .cat-hero__badge { font-size: 10px; padding: 5px 11px; }

    .cat-about__box { padding: 22px 18px; }
    .cat-about__text { font-size: 13.5px; }

    .cat-related__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .cat-related__content { padding: 10px 10px 12px; }
    .cat-related__content p { display: none; }
}


/* ═══════════════════════════════════════════════════════ */
/* ARTICLES — Travel Journal Section                       */
/* ═══════════════════════════════════════════════════════ */

.articles {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF6F0 100%);
    padding: 56px 0 60px;
    position: relative;
    overflow: hidden;
}

.articles::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(224,122,63,.06), transparent 70%);
    pointer-events: none;
}

/* ─── Head ─── */
.articles__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px;
    position: relative;
    z-index: 1;
}

.articles__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #E07A3F;
    padding: 5px 14px;
    background: rgba(224,122,63,.08);
    border: 1px solid rgba(224,122,63,.15);
    border-radius: 100px;
    margin-bottom: 14px;
}
.articles__eyebrow i { font-size: 10px; }

.articles__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3.4vw, 36px);
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 10px;
    line-height: 1.15;
    letter-spacing: -.015em;
}

.articles__sub {
    font-size: 14px;
    line-height: 1.65;
    color: #6B7280;
    max-width: 520px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════ */
/* GRID — Responsive                                      */
/* ═══════════════════════════════════════════════════════ */
.articles__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;   /* 📱 Mobile: 1 */
    margin-bottom: 40px;
}

@media (min-width: 560px) {
    .articles__grid {
        grid-template-columns: repeat(2, 1fr);  /* 📱 Mobile large: 2 */
        gap: 20px;
    }
}

@media (min-width: 900px) {
    .articles__grid {
        grid-template-columns: repeat(3, 1fr);  /* 💻 Tablet: 3 */
        gap: 22px;
    }
}

@media (min-width: 1200px) {
    .articles__grid {
        grid-template-columns: repeat(5, 1fr);  /* 🖥️ Desktop: 5 */
        gap: 18px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* ARTICLE CARD — Compact Elegant                          */
/* ═══════════════════════════════════════════════════════ */
.article-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: transform .3s ease,
                box-shadow .3s ease,
                border-color .3s ease;
}

.article-card:hover,
.article-card:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(26,35,50,.14);
    border-color: rgba(224,122,63,.3);
    outline: none;
}

/* ─── Image ─── */
.article-card__img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F5EDE0;
    flex-shrink: 0;
}

.article-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.9,.3,1);
}

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

.article-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(13,27,42,.7) 100%);
    pointer-events: none;
}

/* Featured badge */
.article-card__featured {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    background: linear-gradient(135deg, #FFD166, #E0A800);
    color: #1A2332;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 8px rgba(224,168,0,.35);
}
.article-card__featured i { font-size: 8px; }

/* Pinned badge */
.article-card__pinned {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(224,122,63,.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    box-shadow: 0 2px 8px rgba(224,122,63,.4);
}

/* Category chip */
.article-card__cat {
    position: absolute;
    bottom: 10px; left: 10px;
    z-index: 2;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    color: #1A2332;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    transition: background .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.article-card__cat:hover {
    background: #E07A3F;
    color: #fff;
}

/* ─── Body ─── */
.article-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

/* Meta row */
.article-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 10px;
    color: #9CA3AF;
    font-weight: 500;
}
.article-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.article-card__meta i {
    font-size: 9px;
    color: #E07A3F;
}

/* Title */
.article-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    color: #1A2332;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    transition: color .25s;
}
.article-card:hover .article-card__title {
    color: #E07A3F;
}

/* Excerpt */
.article-card__excerpt {
    font-size: 11.5px;
    line-height: 1.55;
    color: #6B7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Footer */
.article-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 10px;
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,.06);
}

.article-card__author {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.article-card__avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E07A3F, #C25A2A);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    flex-shrink: 0;
    letter-spacing: .02em;
}

.article-card__author-name {
    font-size: 10.5px;
    font-weight: 600;
    color: #4B5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

.article-card__arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(224,122,63,.08);
    color: #E07A3F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    transition: all .3s ease;
    flex-shrink: 0;
}
.article-card:hover .article-card__arrow {
    background: #E07A3F;
    color: #fff;
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════ */
/* SKELETON                                               */
/* ═══════════════════════════════════════════════════════ */
.article-skeleton {
    aspect-ratio: 3 / 4.2;
    border-radius: 14px;
    background: linear-gradient(90deg, #F5EDE0 25%, #FAF6F0 50%, #F5EDE0 75%);
    background-size: 200% 100%;
    animation: articleShimmer 1.4s infinite;
}
@keyframes articleShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════ */
/* VIEW ALL BUTTON                                        */
/* ═══════════════════════════════════════════════════════ */
.articles__more {
    text-align: center;
}
.articles__more-count {
    font-weight: 800;
    color: #E07A3F;
    margin: 0 2px;
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — Mobile                                    */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 560px) {
    .articles { padding: 44px 0 48px; }
    .articles__head { margin-bottom: 26px; }
    .articles__title { font-size: 22px; }

    /* على الهاتف: عمودان لعرض آخر 5 مقالات بشكل مرتب */
    .articles__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* البطاقة الأولى تاخذ عرض كامل لتمييز المقال الأحدث */
    .articles__grid > .article-card:first-child {
        grid-column: 1 / -1;
    }
    .articles__grid > .article-card:first-child .article-card__img {
        aspect-ratio: 16 / 9;
    }

    .article-card__title { font-size: 12.5px; min-height: 32px; }
    .article-card__excerpt { -webkit-line-clamp: 2; font-size: 10.5px; }
    .article-card__author-name { max-width: 70px; font-size: 10px; }
    .article-card__body { padding: 10px 11px 12px; gap: 6px; }
}

@media (max-width: 380px) {
    .articles__grid { gap: 10px; }
    .article-card__title { font-size: 12px; }
    .article-card__avatar { width: 22px; height: 22px; font-size: 8px; }
}

/* RTL */
[dir="rtl"] .article-card__cat { left: auto; right: 10px; }
[dir="rtl"] .article-card__featured { left: auto; right: 10px; }
[dir="rtl"] .article-card__pinned { right: auto; left: 10px; }
[dir="rtl"] .article-card:hover .article-card__arrow {
    transform: translateX(-3px);
}
[dir="rtl"] .article-card__arrow i { transform: scaleX(-1); }



/* ═══════════════════════════════════════════════════════ */
/* SCROLL TO TOP — أيقونة شفافة أنيقة                     */
/* ═══════════════════════════════════════════════════════ */

.scroll-top {
    position: fixed;
    bottom: 86px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;

    /* ✅ خلفية شفافة جداً — زجاجية خفيفة */
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    /* حدود رقيقة شفافة */
    border: 1.5px solid rgba(255, 255, 255, .35);

    /* أيقونة ذهبية واضحة */
    color: var(--primary);
    font-size: 17px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    /* ظل ناعم جداً */
    box-shadow:
        0 4px 14px rgba(0, 0, 0, .12),
        inset 0 1px 0 rgba(255, 255, 255, .3);

    /* مخفي افتراضياً */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(.8);

    transition:
        opacity .35s cubic-bezier(.4, 0, .2, 1),
        transform .35s cubic-bezier(.4, 0, .2, 1),
        visibility .35s,
        background .3s ease,
        border-color .3s ease,
        color .3s ease,
        box-shadow .3s ease;

    z-index: 799;
}

/* عند الظهور */
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Hover — يصبح أكثر وضوحاً قليلاً */
.scroll-top:hover {
    background: rgba(224, 122, 63, .25);
    border-color: rgba(224, 122, 63, .6);
    color: #fff;
    transform: translateY(-3px) scale(1.08);
    box-shadow:
        0 10px 24px rgba(224, 122, 63, .3),
        inset 0 1px 0 rgba(255, 255, 255, .4);
}

/* Active (ضغط) */
.scroll-top:active {
    transform: translateY(-1px) scale(1.02);
}

/* حلقة تقدم القراءة حول الأيقونة */
.scroll-top::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(
        var(--accent) var(--scroll-progress, 0%),
        transparent var(--scroll-progress, 0%)
    );
    z-index: -1;
    opacity: 0;
    transition: opacity .3s ease;
    /* قناع لجعلها حلقة رقيقة فقط */
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2.5px));
}
.scroll-top.visible::before {
    opacity: .85;
}

/* ─── Mobile ─── */
@media (max-width: 640px) {
    .scroll-top {
        bottom: 74px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
}

/* ─── RTL ─── */
[dir="rtl"] .scroll-top {
    right: auto;
    left: 22px;
}
@media (max-width: 640px) {
    [dir="rtl"] .scroll-top {
        left: 16px;
        right: auto;
    }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    .scroll-top {
        transition: opacity .2s ease, visibility .2s ease;
        transform: none !important;
    }
    .scroll-top.visible {
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* CONTACT DIRECT — Mobile: horizontal 3 cards            */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {

    /* ✅ الحاوية الرئيسية */
    .contact__direct {
        padding: 16px 12px;
        border-radius: 14px;
    }

    /* ✅ العنوان: تصغير + توسيط */
    .contact__direct h3 {
        font-size: 13px;
        margin: 0 0 12px;
        text-align: center;
        letter-spacing: .2px;
        opacity: .95;
    }

    /* ✅ الشبكة: 3 بطاقات أفقياً */
    .contact__methods {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        flex-direction: row;             /* إلغاء العمودي */
    }

    /* ═══ البطاقة: عمودية داخلية (أيقونة فوق النص) ═══ */
    .contact__method {
        display: flex;
        flex-direction: column;          /* أيقونة فوق، نص تحت */
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 6px;
        padding: 12px 6px;
        border-radius: 10px;
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.12);
        transition: background .25s ease, transform .25s ease, border-color .25s ease;
        min-height: 90px;
    }

    .contact__method:active {
        background: rgba(255,255,255,.14);
        border-color: var(--primary);
        transform: scale(.97);
    }

    /* ═══ الأيقونة ═══ */
    .contact__method-icon {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 14px;
        flex-shrink: 0;
    }

    /* ═══ النص ═══ */
    .contact__method strong {
        display: block;
        font-size: 10.5px;
        font-weight: 600;
        margin: 0;
        line-height: 1.2;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* ═══ البريد/الرقم — تصغير + قص ═══ */
    .contact__method span {
        font-size: 8.5px;
        color: rgba(255,255,255,.55);
        line-height: 1.2;
        word-break: break-all;
        display: -webkit-box;
        -webkit-line-clamp: 2;           /* سطرين كحد أقصى */
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: 100%;
    }
}

/* ─── شاشات صغيرة جداً (≤ 380px) ─── */
@media (max-width: 380px) {

    .contact__direct {
        padding: 14px 10px;
    }

    .contact__direct h3 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .contact__methods {
        gap: 6px;
    }

    .contact__method {
        padding: 10px 4px;
        min-height: 82px;
        gap: 5px;
    }

    .contact__method-icon {
        width: 30px;
        height: 30px;
        font-size: 13px;
        border-radius: 8px;
    }

    .contact__method strong {
        font-size: 9.5px;
    }

    .contact__method span {
        font-size: 8px;
        -webkit-line-clamp: 2;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* CONTACT PAGE — HERO                                     */
/* ═══════════════════════════════════════════════════════ */
.contact-page { background: #FAF6F0; }

.ct-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 70px 0 60px;
    overflow: hidden;
}
.ct-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ct-hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: kenBurns 20s ease-in-out infinite alternate;
}
.ct-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(13,27,42,.92) 0%,
        rgba(13,27,42,.72) 45%,
        rgba(224,122,63,.35) 100%
    );
}
.ct-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.ct-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.7);
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.ct-hero__breadcrumb a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    transition: color .25s;
}
.ct-hero__breadcrumb a:hover { color: #FFD166; }
.ct-hero__breadcrumb i { font-size: 9px; opacity: .55; }
.ct-hero__breadcrumb span { color: #FFD166; font-weight: 600; }

.ct-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(224,122,63,.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(224,122,63,.4);
}
.ct-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.ct-hero__sub {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255,255,255,.9);
    margin: 0 0 22px;
    max-width: 560px;
}
.ct-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.15);
}
.ct-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255,255,255,.85);
    font-weight: 500;
}
.ct-hero__trust i {
    color: #FFD166;
    font-size: 11px;
}

/* ═══════════════════════════════════════════════════════ */
/* CONTACT PAGE — MAIN                                     */
/* ═══════════════════════════════════════════════════════ */
.ct-main {
    padding: 56px 0 60px;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(224,122,63,.05) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 100%, rgba(212,165,116,.06) 0%, transparent 50%),
        #FAF6F0;
}
.ct-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* ─── CARD ─── */
.ct-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 20px 50px rgba(26,35,50,.08),
        0 4px 12px rgba(26,35,50,.04);
    border: 1px solid rgba(224,122,63,.08);
    overflow: hidden;
}
.ct-card__ribbon {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    background-size: 200% 100%;
    animation: ribbonMove 4s linear infinite;
}
@keyframes ribbonMove {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}
.ct-card__inner { padding: 36px 40px 32px; }

.ct-card__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}
.ct-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(224,122,63,.3);
}
.ct-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 4px;
    line-height: 1.2;
}
.ct-card__sub {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* ─── FORM ─── */
.ct-form { display: flex; flex-direction: column; gap: 16px; }
.ct-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.ct-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.ct-form__group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: .2px;
}
.ct-form__group .req {
    color: #DC2626;
    font-style: normal;
    font-size: 11px;
}
.ct-form__group .opt {
    color: var(--gray);
    font-style: normal;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.ct-form__group input,
.ct-form__group select,
.ct-form__group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 13.5px;
    color: var(--dark);
    background: #fff;
    font-family: inherit;
    transition: all .25s ease;
    line-height: 1.4;
}
.ct-form__group textarea {
    resize: vertical;
    min-height: 110px;
}
.ct-form__group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
    cursor: pointer;
}
.ct-form__group input:focus,
.ct-form__group select:focus,
.ct-form__group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(224,122,63,.12);
}
.ct-form__group input.error,
.ct-form__group select.error,
.ct-form__group textarea.error {
    border-color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}

.ct-form__submit {
    width: 100%;
    padding: 13px 22px;
    font-size: 14.5px;
    margin-top: 6px;
    justify-content: center;
}
.ct-form__submit i { font-size: 13px; }

.ct-form.is-loading .ct-form__submit {
    pointer-events: none;
    opacity: .8;
}
.ct-form.is-loading .ct-form__submit i {
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ct-form__msg {
    margin-top: 4px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    display: none;
}
.ct-form__msg.is-error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* ═══════════════════════════════════════════════════════ */
/* SUCCESS 3D FLIP — احترافية                              */
/* ═══════════════════════════════════════════════════════ */
.ct-form.success-mode .ct-form__row,
.ct-form.success-mode .ct-form__group,
.ct-form.success-mode .ct-form__submit {
    display: none !important;
}

.ct-success {
    margin-top: 8px;
    perspective: 1400px;
    animation: ctSuccessReveal .8s cubic-bezier(.2,.9,.3,1);
}
@keyframes ctSuccessReveal {
    from { opacity: 0; transform: translateY(20px) scale(.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.ct-success__cube {
    width: 100%;
    transform-style: preserve-3d;
    animation: ctCubeFlip 1.1s cubic-bezier(.2,.9,.3,1);
}
@keyframes ctCubeFlip {
    0%   { transform: rotateY(90deg) rotateX(-15deg) scale(.85); opacity: 0; }
    60%  { transform: rotateY(-8deg) rotateX(4deg) scale(1.02); opacity: 1; }
    100% { transform: rotateY(0deg) rotateX(0) scale(1); opacity: 1; }
}

.ct-success__face {
    position: relative;
    background: linear-gradient(135deg, #10b981 0%, #059669 55%, #047857 100%);
    color: #fff;
    border-radius: 18px;
    padding: 34px 28px 28px;
    text-align: center;
    box-shadow:
        0 20px 45px rgba(16,185,129,.35),
        inset 0 1px 0 rgba(255,255,255,.2),
        inset 0 -2px 0 rgba(0,0,0,.08);
    overflow: hidden;
}
.ct-success__face::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(255,255,255,.2), transparent 45%),
        radial-gradient(circle at 80% 100%, rgba(255,255,255,.12), transparent 45%);
    pointer-events: none;
}
.ct-success__face::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255,255,255,.25) 50%,
        transparent 70%
    );
    animation: ctShine 2.5s ease-in-out .5s infinite;
    pointer-events: none;
}
@keyframes ctShine {
    0%   { transform: translateX(-100%) rotate(15deg); }
    60%  { transform: translateX(100%) rotate(15deg); }
    100% { transform: translateX(100%) rotate(15deg); }
}

/* ─── Checkmark SVG ─── */
.ct-success__check {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    position: relative;
    z-index: 2;
}
.ct-success__checkmark {
    width: 100%;
    height: 100%;
}
.ct-success__checkmark-circle {
    stroke: rgba(255,255,255,.35);
    stroke-width: 2.5;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: ctStroke .7s cubic-bezier(.65,0,.45,1) .25s forwards;
}
.ct-success__checkmark-check {
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: ctStroke .4s cubic-bezier(.65,0,.45,1) .9s forwards;
}
@keyframes ctStroke {
    100% { stroke-dashoffset: 0; }
}

.ct-success__face h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 6px;
    position: relative;
    z-index: 2;
    letter-spacing: -.01em;
}
.ct-success__face p {
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0 0 18px;
    color: rgba(255,255,255,.92);
    position: relative;
    z-index: 2;
}

.ct-success__again {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,.45);
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
    z-index: 2;
}
.ct-success__again:hover {
    background: rgba(255,255,255,.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.ct-success__again i { font-size: 11px; }

/* ═══════════════════════════════════════════════════════ */
/* SIDE CARDS                                              */
/* ═══════════════════════════════════════════════════════ */
.ct-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 90px;
}
.ct-side__card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow:
        0 8px 24px rgba(26,35,50,.06),
        0 2px 6px rgba(26,35,50,.03);
    border: 1px solid rgba(224,122,63,.08);
}
.ct-side__card--dark {
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    border-color: transparent;
    color: #fff;
}
.ct-side__title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 16px;
    line-height: 1.3;
}
.ct-side__title i {
    color: var(--accent);
    font-size: 13px;
}
.ct-side__title--light { color: #fff; }
.ct-side__title--light i { color: var(--primary); }

/* ─── Methods ─── */
.ct-side__methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ct-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--sand);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all .28s ease;
    color: var(--dark);
    text-decoration: none;
}
.ct-method:hover {
    background: #fff;
    border-color: rgba(224,122,63,.3);
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(224,122,63,.15);
}
.ct-method--wa:hover { border-color: rgba(37,211,102,.4); box-shadow: 0 6px 18px rgba(37,211,102,.15); }

.ct-method__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.ct-method__icon--email { background: rgba(224,122,63,.12); color: var(--accent); }
.ct-method__icon--wa    { background: rgba(37,211,102,.15); color: #25D366; }
.ct-method__icon--phone { background: rgba(212,165,116,.18); color: var(--primary); }

.ct-method__body {
    flex: 1;
    min-width: 0;
}
.ct-method__body strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
    line-height: 1.2;
}
.ct-method__body span {
    display: block;
    font-size: 11.5px;
    color: var(--gray);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ct-method__arrow {
    color: var(--accent);
    font-size: 11px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all .25s ease;
}
.ct-method:hover .ct-method__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ─── Why list ─── */
.ct-side__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ct-side__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.9);
    line-height: 1.4;
}
.ct-side__list i {
    color: #10b981;
    font-size: 12px;
    flex-shrink: 0;
}

/* ─── Hours ─── */
.ct-side__hours {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ct-side__hours li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    background: var(--sand);
    border-radius: 8px;
    font-size: 12.5px;
}
.ct-side__hours span { color: var(--gray); }
.ct-side__hours strong {
    color: var(--dark);
    font-weight: 700;
    font-size: 12px;
}

/* ═══════════════════════════════════════════════════════ */
/* MINI FAQ (AEO)                                          */
/* ═══════════════════════════════════════════════════════ */
.ct-faq {
    padding: 56px 0 60px;
    background: #fff;
}
.ct-faq__head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 32px;
}
.ct-faq__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 5px 14px;
    background: rgba(224,122,63,.08);
    border: 1px solid rgba(224,122,63,.15);
    border-radius: 100px;
    margin-bottom: 12px;
}
.ct-faq__eyebrow i { font-size: 11px; }
.ct-faq__head h2 {
    font-family: var(--font-h);
    font-size: clamp(22px, 3vw, 30px);
    color: var(--dark);
    margin: 0;
    line-height: 1.2;
}
.ct-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.ct-faq__item {
    background: #FAF6F0;
    border-radius: 14px;
    padding: 20px 22px;
    border: 1px solid rgba(224,122,63,.08);
    transition: all .3s ease;
}
.ct-faq__item:hover {
    background: #fff;
    border-color: rgba(224,122,63,.25);
    box-shadow: 0 10px 26px rgba(224,122,63,.1);
    transform: translateY(-2px);
}
.ct-faq__item h3 {
    font-family: var(--font-h);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px;
    line-height: 1.35;
}
.ct-faq__item p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--gray);
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* ═══════════════════════════════════════════════════════ */
/* FINAL CTA                                              */
/* ═══════════════════════════════════════════════════════ */
.ct-final {
    padding: 40px 0 56px;
    background: #FAF6F0;
}
.ct-final__card {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1A2332 0%, #243044 100%);
    border-radius: 20px;
    padding: 40px 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(26,35,50,.25);
}
.ct-final__content { position: relative; z-index: 2; flex: 1; }
.ct-final__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--primary);
    padding: 5px 12px;
    background: rgba(212,165,116,.15);
    border: 1px solid rgba(212,165,116,.3);
    border-radius: 100px;
    margin-bottom: 12px;
}
.ct-final__eyebrow i { font-size: 10px; }
.ct-final__card h2 {
    font-family: var(--font-h);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.2;
}
.ct-final__card p {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,.8);
    margin: 0 0 22px;
    max-width: 520px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.ct-final__deco {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px dashed rgba(212,165,116,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
    opacity: .6;
    animation: decoRotate 30s linear infinite;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — TABLET                                    */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
    .ct-main__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .ct-side {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .ct-side__card:first-child {
        grid-column: 1 / -1;
    }
    .ct-final__card {
        padding: 32px 32px;
        flex-direction: column;
        text-align: center;
    }
    .ct-final__deco { display: none; }
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE — MOBILE                                    */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .ct-hero {
        min-height: 360px;
        padding: 60px 0 44px;
    }
    .ct-hero__title { font-size: 26px; }
    .ct-hero__sub { font-size: 14px; }
    .ct-hero__trust { gap: 10px 14px; }
    .ct-hero__trust span { font-size: 11.5px; }

    .ct-main { padding: 36px 0 40px; }
    .ct-card { border-radius: 16px; }
    .ct-card__inner { padding: 24px 20px 22px; }
    .ct-card__head { gap: 12px; margin-bottom: 20px; padding-bottom: 18px; }
    .ct-card__icon { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
    .ct-card__title { font-size: 19px; }
    .ct-card__sub { font-size: 12px; }

    .ct-form__row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .ct-form { gap: 12px; }
    .ct-form__group input,
    .ct-form__group select,
    .ct-form__group textarea {
        padding: 10px 12px;
        font-size: 13px;
        border-radius: 9px;
    }
    .ct-form__group label { font-size: 11.5px; }
    .ct-form__group .opt { display: none; }
    .ct-form__group textarea { min-height: 100px; }
    .ct-form__submit { padding: 12px 18px; font-size: 14px; }

    .ct-success__face {
        padding: 28px 20px 22px;
        border-radius: 16px;
    }
    .ct-success__check { width: 58px; height: 58px; margin-bottom: 14px; }
    .ct-success__face h3 { font-size: 18px; }
    .ct-success__face p { font-size: 12.5px; margin-bottom: 16px; }

    .ct-side {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .ct-side__card { padding: 18px; border-radius: 14px; }
    .ct-side__title { font-size: 14px; margin-bottom: 14px; }

    .ct-method { padding: 10px 12px; gap: 10px; border-radius: 10px; }
    .ct-method__icon { width: 36px; height: 36px; font-size: 14px; border-radius: 9px; }
    .ct-method__body strong { font-size: 12.5px; }
    .ct-method__body span { font-size: 10.5px; }
    .ct-method__arrow { display: none; }

    .ct-faq { padding: 40px 0 44px; }
    .ct-faq__grid { grid-template-columns: 1fr; gap: 12px; }
    .ct-faq__item { padding: 16px 18px; border-radius: 12px; }
    .ct-faq__item h3 { font-size: 13.5px; }
    .ct-faq__item p { font-size: 12.5px; }

    .ct-final { padding: 30px 0 44px; }
    .ct-final__card { padding: 28px 22px; border-radius: 16px; }
    .ct-final__card h2 { font-size: 20px; }
    .ct-final__card p { font-size: 13px; text-align: left; }
    .ct-final__card .btn { width: 100%; justify-content: center; }
}

/* ─── Tiny screens ─── */
@media (max-width: 380px) {
    .ct-form__row { grid-template-columns: 1fr; gap: 10px; }
    .ct-card__inner { padding: 20px 16px; }
    .ct-hero__title { font-size: 23px; }
}

/* ═══════════════════════════════════════════════════════ */
/* RTL                                                    */
/* ═══════════════════════════════════════════════════════ */
[dir="rtl"] .ct-method:hover { transform: translateX(-4px); }
[dir="rtl"] .ct-method__arrow {
    transform: translateX(6px) rotate(180deg);
}
[dir="rtl"] .ct-method:hover .ct-method__arrow {
    transform: translateX(0) rotate(180deg);
}
[dir="rtl"] .ct-form__group select {
    background-position: left 12px center;
    padding-right: 14px;
    padding-left: 34px;
}
[dir="rtl"] .ct-faq__item p,
[dir="rtl"] .ct-final__card p {
    text-align: justify;
    text-justify: inter-word;
}

/* ═══════════════════════════════════════════════════════ */
/* REDUCED MOTION                                         */
/* ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .ct-card__ribbon,
    .ct-final__deco,
    .ct-hero__bg img,
    .ct-success__cube,
    .ct-success__face::after {
        animation: none !important;
    }
}












/* ═══════════════════════════════════════════════════════ */
/* TOURS SECTION — Zero Top/Bottom Gap                    */
/* Badges Transparent 30%                                 */
/* ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════ */
/* 1) إزالة الفراغات الكبيرة أعلى/أسفل                    */
/* ═══════════════════════════════════════════════════════ */

.tours,
.tours.section,
section.tours {
    /* ✅ تصفير كل المسافات */
    padding: 12px 0 16px !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF6F0 100%);
    position: relative;
    overflow: hidden;
}

/* إزالة أي padding من الحاوية الداخلية */
.tours > .container,
.tours.section > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* إزالة أي فراغ قبل/بعد القسم */
.tours::before,
.tours::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.tours::before {
    top: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(224,122,63,.06), transparent 70%);
}

.tours::after {
    bottom: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(212,165,116,.06), transparent 70%);
}

.tours .container {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════ */
/* 2) Section Head — مضغوط جداً                            */
/* ═══════════════════════════════════════════════════════ */

.tours .section-head,
.tours .section-head--compact {
    margin: 0 auto 14px !important;
    padding: 0 !important;
    text-align: center;
    max-width: 620px;
}

.tours .section-head__eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    color: #E07A3F;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin: 0 0 6px !important;
    padding: 4px 11px;
    background: rgba(224,122,63,.08);
    border: 1px solid rgba(224,122,63,.15);
    border-radius: 100px;
    line-height: 1;
}

.tours .section-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 700;
    color: #1A2332;
    margin: 4px 0 4px !important;
    line-height: 1.2;
    letter-spacing: -.015em;
}

.tours .section-head p {
    font-size: 12.5px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0 !important;
}

/* ═══════════════════════════════════════════════════════ */
/* 3) FILTERS — مسافة صغيرة                                */
/* ═══════════════════════════════════════════════════════ */

.filters--dynamic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px !important;
    padding: 0 10px;
}

.filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    background: #fff;
    border: 1.5px solid rgba(224,122,63,.12);
    border-radius: 100px;
    color: #4B5563;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: all .25s cubic-bezier(.2,.9,.3,1);
    white-space: nowrap;
}

.filter i {
    font-size: 10.5px;
    color: #E07A3F;
    transition: all .25s ease;
}

.filter:hover {
    border-color: rgba(224,122,63,.4);
    color: #1A2332;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224,122,63,.12);
}

.filter.active {
    background: linear-gradient(135deg, #1A2332 0%, #243044 100%);
    border-color: #1A2332;
    color: #fff;
    box-shadow: 0 6px 18px rgba(26,35,50,.25);
}

.filter.active i {
    color: #FFD166;
}

.filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 15px;
    padding: 0 5px;
    background: rgba(224,122,63,.12);
    color: #C25A2A;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    transition: all .25s ease;
}

.filter.active .filter__count {
    background: rgba(255,209,102,.2);
    color: #FFD166;
}

/* ═══════════════════════════════════════════════════════ */
/* 4) TOURS GRID                                          */
/* ═══════════════════════════════════════════════════════ */

.tours__grid,
.tours__grid--compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 0 16px !important;
    padding: 0;
    width: 100%;
}

@media (min-width: 560px) {
    .tours__grid,
    .tours__grid--compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (min-width: 900px) {
    .tours__grid,
    .tours__grid--compact {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        max-width: 1000px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* 5) CARD                                                */
/* ═══════════════════════════════════════════════════════ */

.card,
.card--compact {
    position: relative;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition:
        transform .35s cubic-bezier(.2,.9,.3,1),
        box-shadow .35s ease,
        border-color .35s ease;
    will-change: transform;
}

.card:hover,
.card--compact:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 42px rgba(26,35,50,.14),
        0 6px 14px rgba(224,122,63,.08);
    border-color: rgba(224,122,63,.25);
}

/* ─── Image ─── */
.card__img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F5EDE0;
    flex-shrink: 0;
}

.card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2,.9,.3,1);
    will-change: transform;
}

.card:hover .card__img img {
    transform: scale(1.07);
}

.card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(13,27,42,.35) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════ */
/* 6) BADGES — شفافية 30%                                 */
/* ═══════════════════════════════════════════════════════ */

/* ─── Main Badge (top-left) ─── */
.card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.4);
    text-shadow:
        0 1px 3px rgba(0,0,0,.9),
        0 0 8px rgba(0,0,0,.6),
        0 0 1px rgba(0,0,0,1);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    white-space: nowrap;
}

.card__badge i {
    font-size: 8px;
    text-shadow: 0 1px 3px rgba(0,0,0,.9);
}

.card__badge--featured {
    background: rgba(255, 209, 102, 0.3);
    border-color: rgba(255,209,102,.5);
}

.card__badge--discount {
    background: rgba(220, 38, 38, 0.3);
    border-color: rgba(220,38,38,.5);
}

.card__badge--hot {
    background: rgba(224, 122, 63, 0.3);
    border-color: rgba(224,122,63,.5);
}

/* ─── Category Badge (top-right) ─── */
.card__cat-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 9px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.4);
    text-shadow:
        0 1px 3px rgba(0,0,0,.9),
        0 0 8px rgba(0,0,0,.6),
        0 0 1px rgba(0,0,0,1);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    max-width: 105px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card__cat-badge i {
    font-size: 7.5px;
    flex-shrink: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,.9);
}

/* ─── Type Badge (bottom-left) ─── */
.card__type-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .03em;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.4);
    text-shadow:
        0 1px 3px rgba(0,0,0,.9),
        0 0 8px rgba(0,0,0,.6),
        0 0 1px rgba(0,0,0,1);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    max-width: calc(100% - 75px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card__type-badge i {
    font-size: 8px;
    flex-shrink: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,.9);
}

/* ─── Views Counter (bottom-right) ─── */
.card__views {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: .02em;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.4);
    text-shadow:
        0 1px 3px rgba(0,0,0,.9),
        0 0 8px rgba(0,0,0,.6),
        0 0 1px rgba(0,0,0,1);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.card__views i {
    font-size: 8px;
    color: #FFD166;
    text-shadow: 0 1px 3px rgba(0,0,0,.9);
}

/* ─── Favorite Button ─── */
.card__fav {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.5);
    color: #1A2332;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .28s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    opacity: 0;
    transform: scale(.8);
}

.card:hover .card__fav {
    opacity: 1;
    transform: scale(1);
}

.card__fav:hover {
    background: #E07A3F;
    color: #fff;
    transform: scale(1.1) rotate(-8deg);
}

.card__img:has(.card__cat-badge) .card__fav {
    top: 42px;
}

/* ═══════════════════════════════════════════════════════ */
/* 7) CARD BODY                                           */
/* ═══════════════════════════════════════════════════════ */

.card__body {
    padding: 11px 13px 13px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 11px;
    color: #6B7280;
    font-weight: 500;
    flex-wrap: nowrap;
}

.card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.card__rating i {
    color: #F59E0B;
    font-size: 10px;
}

.card__rating strong {
    color: #1A2332;
    font-weight: 800;
    font-size: 12px;
}

.card__reviews {
    color: #9CA3AF;
    font-size: 10px;
    font-weight: 500;
}

.card__duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #6B7280;
    white-space: nowrap;
}

.card__duration i {
    color: #E07A3F;
    font-size: 10px;
}

.card__title {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    color: #1A2332;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -.005em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
    transition: color .25s ease;
}

.card:hover .card__title {
    color: #E07A3F;
}

.card__desc {
    font-size: 11.5px;
    line-height: 1.5;
    color: #6B7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
}

.card__tags span {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #4A7C59;
    background: rgba(74,124,89,.09);
    padding: 2px 7px;
    border-radius: 100px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 9px;
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,.06);
}

.card__price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    line-height: 1;
    min-width: 0;
}

.card__price-old {
    font-size: 10px;
    color: #9CA3AF;
    text-decoration: line-through;
    font-weight: 500;
}

.card__price-current {
    display: flex;
    align-items: baseline;
    gap: 3px;
    line-height: 1;
    white-space: nowrap;
}

.card__price-current small {
    font-size: 9px;
    color: #9CA3AF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.card__price-current strong {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 800;
    color: #E07A3F;
    letter-spacing: -.01em;
    line-height: 1;
}

.card__price--request {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #C25A2A;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    background: rgba(224,122,63,.08);
    border-radius: 100px;
    border: 1px dashed rgba(224,122,63,.3);
}

.card__price--request i {
    font-size: 10px;
}

.card__price--empty {
    display: none;
}

.card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 11px;
    background: linear-gradient(135deg, #1A2332, #243044);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: all .28s cubic-bezier(.2,.9,.3,1);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.card__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #E07A3F, #C25A2A);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 0;
}

.card__cta span,
.card__cta i {
    position: relative;
    z-index: 1;
}

.card__cta i {
    font-size: 9px;
    transition: transform .28s cubic-bezier(.2,.9,.3,1);
}

.card:hover .card__cta::before {
    opacity: 1;
}

.card:hover .card__cta {
    box-shadow: 0 6px 18px rgba(224,122,63,.35);
    transform: translateX(2px);
}

.card:hover .card__cta i {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════ */
/* 8) إخفاء info-row + زر View All                        */
/* ═══════════════════════════════════════════════════════ */

.card__info-row {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════ */
/* 9) VIEW ALL BUTTON — مسافة صغيرة                        */
/* ═══════════════════════════════════════════════════════ */

.tours__more {
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
}

.tours__more-count {
    font-weight: 800;
    color: #E07A3F;
    margin: 0 3px;
    font-size: 12px;
}

.tours__more .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 22px;
    border-radius: 100px;
    border: 1.5px solid #1A2332;
    background: transparent;
    color: #1A2332;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: all .3s cubic-bezier(.2,.9,.3,1);
}

.tours__more .btn-outline i:last-child {
    font-size: 10px;
    transition: transform .3s ease;
}

.tours__more .btn-outline:hover {
    background: #1A2332;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26,35,50,.2);
}

.tours__more .btn-outline:hover i:last-child {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════ */
/* 10) EMPTY STATE                                        */
/* ═══════════════════════════════════════════════════════ */

.tours__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 14px;
    border: 1.5px dashed rgba(224,122,63,.2);
    color: #6B7280;
}

.tours__empty i {
    font-size: 40px;
    color: rgba(224,122,63,.35);
    margin-bottom: 14px;
    display: block;
}

.tours__empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 6px;
}

.tours__empty p {
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0;
    color: #6B7280;
}

/* ═══════════════════════════════════════════════════════ */
/* 11) SKELETON                                           */
/* ═══════════════════════════════════════════════════════ */

.card-skeleton,
.card-skeleton--compact {
    border-radius: 14px;
    background: linear-gradient(90deg, #F5EDE0 25%, #FAF6F0 50%, #F5EDE0 75%);
    background-size: 200% 100%;
    animation: cardShimmer 1.5s infinite;
    aspect-ratio: 3 / 4;
    min-height: 340px;
    border: 1px solid rgba(0,0,0,.04);
}

@keyframes cardShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════ */
/* 12) RESPONSIVE — TABLET                                */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    .tours,
    .tours.section {
        padding: 10px 0 14px !important;
    }

    .tours .section-head {
        margin-bottom: 12px !important;
    }

    .tours__grid,
    .tours__grid--compact {
        gap: 14px;
    }

    .card__img {
        aspect-ratio: 16 / 10.5;
    }

    .card__title {
        font-size: 13.5px;
        min-height: 34px;
    }

    .card__price-current strong {
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* 13) RESPONSIVE — MOBILE                                */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .tours,
    .tours.section {
        padding: 8px 0 12px !important;
    }

    .tours .section-head {
        margin-bottom: 10px !important;
    }

    .tours .section-head h2 {
        font-size: 19px;
    }

    .tours .section-head p {
        font-size: 12px;
    }

    .filters--dynamic {
        gap: 5px;
        margin-bottom: 12px !important;
        padding: 0 6px;
    }

    .filter {
        padding: 6px 11px;
        font-size: 11px;
        gap: 5px;
    }

    .filter i {
        font-size: 10px;
    }

    .filter__count {
        font-size: 9px;
        min-width: 16px;
        height: 14px;
        padding: 0 4px;
    }

    .tours__grid,
    .tours__grid--compact {
        gap: 12px;
        margin-bottom: 12px !important;
    }

    .card {
        border-radius: 12px;
    }

    .card__img {
        aspect-ratio: 16 / 11;
    }

    .card__body {
        padding: 10px 11px 12px;
        gap: 5px;
    }

    .card__meta {
        font-size: 10.5px;
    }

    .card__title {
        font-size: 13px;
        min-height: 34px;
    }

    .card__desc {
        font-size: 11px;
    }

    .card__tags span {
        font-size: 9px;
        padding: 2px 6px;
    }

    .card__foot {
        padding-top: 8px;
        margin-top: 2px;
    }

    .card__price-current strong {
        font-size: 15px;
    }

    .card__price-current small {
        font-size: 8.5px;
    }

    .card__cta {
        padding: 5px 10px;
        font-size: 10.5px;
    }

    .card__cta i {
        font-size: 8px;
    }

    .card__badge {
        top: 7px;
        left: 7px;
        padding: 3px 8px;
        font-size: 8.5px;
    }

    .card__cat-badge {
        top: 7px;
        right: 7px;
        padding: 3px 7px;
        font-size: 8px;
        max-width: 88px;
    }

    .card__type-badge {
        bottom: 7px;
        left: 7px;
        padding: 3px 7px;
        font-size: 8.5px;
        max-width: calc(100% - 70px);
    }

    .card__views {
        bottom: 7px;
        right: 7px;
        padding: 2px 6px;
        font-size: 8.5px;
    }

    .card__fav {
        width: 26px;
        height: 26px;
        font-size: 10px;
        top: 7px;
        right: 7px;
    }

    .card__img:has(.card__cat-badge) .card__fav {
        top: 40px;
    }

    .tours__more .btn-outline {
        padding: 9px 18px;
        font-size: 11.5px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* 14) RESPONSIVE — SMALL MOBILE                          */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 380px) {
    .tours,
    .tours.section {
        padding: 6px 0 10px !important;
    }

    .tours .section-head {
        margin-bottom: 8px !important;
    }

    .tours .section-head h2 {
        font-size: 17px;
    }

    .filters--dynamic {
        gap: 4px;
    }

    .filter {
        padding: 5px 10px;
        font-size: 10.5px;
    }

    .filter__count {
        display: none;
    }

    .tours__grid,
    .tours__grid--compact {
        gap: 10px;
    }

    .card__body {
        padding: 9px 10px 11px;
    }

    .card__title {
        font-size: 12.5px;
        min-height: 32px;
    }

    .card__desc {
        font-size: 10.5px;
    }

   
    .card__type-badge {
        max-width: calc(100% - 62px);
        font-size: 8px;
    }

    .card__price-current strong {
        font-size: 14px;
    }

    .card__cta {
        padding: 5px 9px;
        font-size: 10px;
    }

    .card__cta span {
        display: none;
    }

    .card__cta i {
        font-size: 11px;
    }

    .card__cta i::before {
        content: '\f061';
    }
}

/* ═══════════════════════════════════════════════════════ */
/* 15) RTL SUPPORT                                        */
/* ═══════════════════════════════════════════════════════ */

[dir="rtl"] .card__badge {
    left: auto;
    right: 8px;
}

[dir="rtl"] .card__cat-badge {
    right: auto;
    left: 8px;
}

[dir="rtl"] .card__type-badge {
    left: auto;
    right: 8px;
}

[dir="rtl"] .card__views {
    right: auto;
    left: 8px;
}

[dir="rtl"] .card__fav {
    right: auto;
    left: 8px;
}

[dir="rtl"] .card:hover .card__cta i {
    transform: translateX(-3px) scaleX(-1);
}

[dir="rtl"] .card:hover .card__cta {
    transform: translateX(-2px);
}

[dir="rtl"] .tours__more .btn-outline i:last-child {
    transform: scaleX(-1);
}

[dir="rtl"] .tours__more .btn-outline:hover i:last-child {
    transform: translateX(-4px) scaleX(-1);
}

/* ═══════════════════════════════════════════════════════ */
/* 16) REDUCED MOTION                                     */
/* ═══════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .card,
    .card__img img,
    .card__cta,
    .card__cta::before,
    .card__fav,
    .filter {
        transition: none !important;
    }

    .card:hover {
        transform: none !important;
    }

    .card-skeleton,
    .card-skeleton--compact {
        animation: none !important;
    }
}


/* ═══════════════════════════════════════════════════════ */
/* TOURS ALL PAGE — Hero + Toolbar + Grid                 */
/* ═══════════════════════════════════════════════════════ */

/* ─── Page Hero ─── */
.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 70px 0 50px;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.45);
    transform: scale(1.05);
    animation: kenBurns 20s ease-in-out infinite alternate;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(13,27,42,.92) 0%,
        rgba(13,27,42,.72) 50%,
        rgba(224,122,63,.35) 100%
    );
    z-index: 1;
}

.page-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,.75);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.page-hero__breadcrumb a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    transition: color .25s;
}

.page-hero__breadcrumb a:hover { color: #FFD166; }
.page-hero__breadcrumb i { font-size: 9px; opacity: .55; }
.page-hero__breadcrumb span { color: #FFD166; font-weight: 600; }

.page-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 12px;
    letter-spacing: -.02em;
    text-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.page-hero__sub {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255,255,255,.9);
    margin: 0 0 22px;
    max-width: 620px;
}

.page-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.15);
}

.page-hero__trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255,255,255,.85);
    font-weight: 500;
}

.page-hero__trust i {
    color: #FFD166;
    font-size: 11px;
}

/* ─── Toolbar (Search + Sort) ─── */
.tours-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(26,35,50,.05);
}

.tours-toolbar__search {
    position: relative;
    flex: 1;
    min-width: 240px;
    display: flex;
    align-items: center;
    background: #FAF6F0;
    border: 1.5px solid rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 0 12px;
    transition: border-color .25s, box-shadow .25s;
}

.tours-toolbar__search:focus-within {
    border-color: #E07A3F;
    box-shadow: 0 0 0 3px rgba(224,122,63,.12);
    background: #fff;
}

.tours-toolbar__search > i {
    color: #E07A3F;
    font-size: 13px;
    flex-shrink: 0;
}

.tours-toolbar__search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #1A2332;
}

.tours-toolbar__search input::placeholder {
    color: #9CA3AF;
}

.tours-toolbar__clear {
    background: rgba(0,0,0,.06);
    border: none;
    color: #6B7280;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all .2s;
    flex-shrink: 0;
}

.tours-toolbar__clear:hover {
    background: #E07A3F;
    color: #fff;
}

.tours-toolbar__sort {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FAF6F0;
    border: 1.5px solid rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 0 12px;
    transition: border-color .25s;
}

.tours-toolbar__sort:focus-within {
    border-color: #E07A3F;
    background: #fff;
}

.tours-toolbar__sort > i {
    color: #E07A3F;
    font-size: 12px;
    flex-shrink: 0;
}

.tours-toolbar__sort select {
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 4px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1A2332;
    cursor: pointer;
    min-width: 160px;
}

/* ─── Results Info ─── */
.tours-info {
    text-align: center;
    font-size: 12.5px;
    color: #6B7280;
    margin: 0 0 16px;
    font-weight: 500;
}

.tours-info span:first-child {
    color: #E07A3F;
    font-weight: 800;
    font-size: 14px;
}

/* ─── Filters (same as index) ─── */
.filters--dynamic {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0 0 14px !important;
    padding: 0 10px;
}

.filter {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    background: #fff;
    border: 1.5px solid rgba(224,122,63,.12);
    border-radius: 100px;
    color: #4B5563;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .01em;
    cursor: pointer;
    transition: all .25s cubic-bezier(.2,.9,.3,1);
    white-space: nowrap;
}

.filter i {
    font-size: 10.5px;
    color: #E07A3F;
    transition: all .25s ease;
}

.filter:hover {
    border-color: rgba(224,122,63,.4);
    color: #1A2332;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(224,122,63,.12);
}

.filter.active {
    background: linear-gradient(135deg, #1A2332 0%, #243044 100%);
    border-color: #1A2332;
    color: #fff;
    box-shadow: 0 6px 18px rgba(26,35,50,.25);
}

.filter.active i { color: #FFD166; }

.filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 15px;
    padding: 0 5px;
    background: rgba(224,122,63,.12);
    color: #C25A2A;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    transition: all .25s ease;
}

.filter.active .filter__count {
    background: rgba(255,209,102,.2);
    color: #FFD166;
}

/* ─── Empty State ─── */
.tours__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 14px;
    border: 1.5px dashed rgba(224,122,63,.2);
    color: #6B7280;
}

.tours__empty i {
    font-size: 42px;
    color: rgba(224,122,63,.35);
    margin-bottom: 16px;
    display: block;
}

.tours__empty h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 8px;
}

.tours__empty p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 20px;
    color: #6B7280;
}

.tours__empty .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ─── Load More ─── */
.tours__more {
    text-align: center;
    padding-top: 20px;
}

.tours__more .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 22px;
    border-radius: 100px;
    border: 1.5px solid #1A2332;
    background: transparent;
    color: #1A2332;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: all .3s cubic-bezier(.2,.9,.3,1);
}

.tours__more .btn-outline:hover {
    background: #1A2332;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(26,35,50,.2);
}

/* ─── Responsive ─── */
@media (max-width: 640px) {
    .page-hero {
        min-height: 300px;
        padding: 50px 0 40px;
    }

    .page-hero__title { font-size: 26px; }
    .page-hero__sub { font-size: 14px; }
    .page-hero__trust { gap: 10px 14px; }
    .page-hero__trust span { font-size: 11.5px; }

    .tours-toolbar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .tours-toolbar__search,
    .tours-toolbar__sort {
        width: 100%;
        min-width: 0;
    }

    .tours-toolbar__sort select {
        width: 100%;
        min-width: 0;
        font-size: 12.5px;
    }

    .filter {
        padding: 5px 11px;
        font-size: 11px;
    }

    .filter__count {
        font-size: 8.5px;
        min-width: 15px;
        height: 13px;
    }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    .page-hero__bg img { animation: none !important; }
}























/* ═══════════════════════════════════════════════════════════════ */
/* 🌟 MEGA MENU — Sahara Nomad — v5.0 FINAL  OUALGHAZI START                      */
/* Glass Cards · Compact · Fast · Clean Hover (No Movement)       */
/* ═══════════════════════════════════════════════════════════════ */

/* ═══════════ VARIABLES ═══════════ */
:root {
    --mega-accent: #E07A3F;
    --mega-accent-dark: #C96A30;
    --mega-primary: #D4A574;
    --mega-dark: #1A2332;
    --mega-gray: #6B7280;
    --mega-gray-light: #9CA3AF;
    --mega-sand: #F5EDE0;
    --mega-sand-2: #FBF6EE;
    --mega-border: rgba(224, 122, 63, 0.14);
    --mega-border-strong: rgba(224, 122, 63, 0.32);

    /* خلفيات شفافة للكروت */
    --mega-card-bg: rgba(255, 255, 255, 0.72);
    --mega-card-bg-hover: rgba(255, 255, 255, 0.98);
    --mega-card-border: rgba(224, 122, 63, 0.10);

    --mega-radius: 18px;
    --mega-radius-sm: 10px;
    --mega-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --mega-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════ */
/* NAVBAR — المرجع الأساسي                                        */
/* ═══════════════════════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid #E5E7EB;
    transition: box-shadow 0.28s ease;
}

.navbar--scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.navbar__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* NAV LINKS                                                      */
/* ═══════════════════════════════════════════════════════════════ */
.nav {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav__link,
.nav > a {
    font-size: 14px;
    font-weight: 500;
    color: var(--mega-dark);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav__link::after,
.nav > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--mega-accent), var(--mega-primary));
    border-radius: 100px;
    transition: width 0.3s ease;
}

.nav__link:hover,
.nav > a:hover {
    color: var(--mega-accent);
}

.nav__link:hover::after,
.nav > a:hover::after {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════ */
/* DROPDOWN ROOT                                                  */
/* ═══════════════════════════════════════════════════════════════ */
.nav-dropdown {
    position: static;
}

.nav-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--mega-dark);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav-dropdown__trigger::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--mega-accent), var(--mega-primary));
    border-radius: 100px;
    transition: width 0.35s ease;
}

.nav-dropdown__trigger:hover,
.nav-dropdown.open .nav-dropdown__trigger {
    color: var(--mega-accent);
}

.nav-dropdown__trigger:hover::after,
.nav-dropdown.open .nav-dropdown__trigger::after {
    width: 100%;
}

.nav-dropdown__caret {
    font-size: 9px;
    color: var(--mega-accent);
    transition: transform 0.35s var(--mega-ease);
}

.nav-dropdown.open .nav-dropdown__caret {
    transform: rotate(180deg);
}

/* ═══════════════════════════════════════════════════════════════ */
/* MEGA PANEL                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.mega {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(0.985);
    transform-origin: top center;
    width: min(1100px, calc(100vw - 40px));
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(170%);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    border-radius: var(--mega-radius);
    border: 1px solid var(--mega-border);
    box-shadow:
        0 4px 12px rgba(26, 35, 50, 0.05),
        0 20px 50px rgba(26, 35, 50, 0.14),
        0 36px 72px rgba(26, 35, 50, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1200;
    transition:
        opacity 0.28s var(--mega-ease),
        transform 0.36s var(--mega-ease),
        visibility 0.28s;
    will-change: opacity, transform;
}

.mega::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.92);
    border-left: 1px solid var(--mega-border);
    border-top: 1px solid var(--mega-border);
    border-radius: 3px 0 0 0;
    z-index: 2;
}

.mega__glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(224, 122, 63, 0.14), transparent 70%);
    pointer-events: none;
    filter: blur(50px);
    opacity: 0;
    transition: opacity 0.5s var(--mega-ease);
    z-index: 0;
}

.nav-dropdown.open .mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown.open .mega__glow {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════ */
/* GRID — 3 أعمدة                                                 */
/* ═══════════════════════════════════════════════════════════════ */
.mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.95fr;
    gap: 0;
    padding: 18px;
    position: relative;
    z-index: 1;
}

.mega__col {
    padding: 0 16px;
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.mega__col--main {
    padding-left: 2px;
}

.mega__col--main::after,
.mega__col--cats::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 0;
    width: 1px;
    height: calc(100% - 16px);
    background: linear-gradient(180deg,
        transparent,
        var(--mega-border) 20%,
        var(--mega-border) 80%,
        transparent);
}

/* ═══════════════════════════════════════════════════════════════ */
/* COLUMN HEADER                                                  */
/* ═══════════════════════════════════════════════════════════════ */
.mega__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--mega-border);
    flex-shrink: 0;
}

.mega__head-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--mega-accent), var(--mega-primary));
    color: #fff;
    font-size: 14px;
    box-shadow: 0 6px 16px rgba(224, 122, 63, 0.28);
    flex-shrink: 0;
}

.mega__head-icon--alt {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.28);
}

.nav-dropdown.open .mega__head-icon {
    animation: megaIconPop 0.45s var(--mega-ease-spring) both;
}

.nav-dropdown.open .mega__head-icon--alt {
    animation-delay: 0.06s;
}

@keyframes megaIconPop {
    0%   { transform: scale(0.6) rotate(-12deg); opacity: 0; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.mega__head h4 {
    font-size: 12px;
    font-weight: 800;
    color: var(--mega-dark);
    margin: 0 0 1px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.mega__head p {
    font-size: 10.5px;
    color: var(--mega-gray);
    margin: 0;
    opacity: 0.75;
    font-weight: 500;
    line-height: 1.2;
}

/* ═══════════════════════════════════════════════════════════════ */
/* TYPES LIST                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.mega__types {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    margin-right: -4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 122, 63, 0.25) transparent;
    overscroll-behavior: contain;
    flex: 1;
}

.mega__types::-webkit-scrollbar { width: 4px; }
.mega__types::-webkit-scrollbar-track { background: transparent; }
.mega__types::-webkit-scrollbar-thumb {
    background: rgba(224, 122, 63, 0.25);
    border-radius: 100px;
}
.mega__types::-webkit-scrollbar-thumb:hover {
    background: rgba(224, 122, 63, 0.5);
}

/* ═══════════════════════════════════════════════════════════════ */
/* TYPE CARD — hover نظيف (لون فقط، بدون حركة)                    */
/* ═══════════════════════════════════════════════════════════════ */
.mega-type {
    position: relative;
    border-radius: var(--mega-radius-sm);
    background: var(--mega-card-bg);
    border: 1px solid var(--mega-card-border);
    /* ✅ فقط تغييرات خفيفة: background + border (بدون transform) */
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
    overflow: hidden;
}

/* ✅ Hover: خلفية بيضاء أوضح + حدود برتقالية هادئة */
.mega-type:hover {
    background: var(--mega-card-bg-hover);
    border-color: var(--mega-border-strong);
}

.mega-type.open {
    background: var(--mega-card-bg-hover);
    border-color: var(--mega-border-strong);
}

/* ✅ الشريط الجانبي الأيسر — يظهر بدون حركة الأب */
.mega-type::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--mega-accent), var(--mega-primary));
    border-radius: 0 100px 100px 0;
    transform: translateY(-50%);
    transition: height 0.3s var(--mega-ease);
    z-index: 2;
}

.mega-type:hover::before,
.mega-type.open::before {
    height: 60%;
}

/* ═══ Trigger ═══ */
.mega-type__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    position: relative;
}

/* ═══ Icon — يتغير لونه فقط (بدون دوران/تكبير) ═══ */
.mega-type__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(224, 122, 63, 0.14), rgba(224, 122, 63, 0.05));
    color: var(--mega-accent);
    font-size: 12px;
    flex-shrink: 0;
    /* ✅ فقط ألوان — بدون transform */
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.mega-type:hover .mega-type__icon,
.mega-type.open .mega-type__icon {
    background: var(--mega-accent);
    color: #fff;
}

/* ═══ Info ═══ */
.mega-type__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
}

.mega-type__name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--mega-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
    line-height: 1.3;
    letter-spacing: -0.005em;
}

/* ✅ اسم الـ Type يتحول للبرتقالي — كما هو محبوب لديك */
.mega-type:hover .mega-type__name,
.mega-type.open .mega-type__name {
    color: var(--mega-accent);
}

.mega-type__meta {
    font-size: 10px;
    color: var(--mega-gray-light);
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ═══ Count — لون فقط ═══ */
.mega-type__count {
    font-size: 10px;
    font-weight: 800;
    background: rgba(224, 122, 63, 0.14);
    color: var(--mega-accent);
    padding: 2px 7px;
    border-radius: 100px;
    flex-shrink: 0;
    min-width: 22px;
    text-align: center;
    line-height: 1.4;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.mega-type:hover .mega-type__count,
.mega-type.open .mega-type__count {
    background: var(--mega-accent);
    color: #fff;
}

/* ═══ Caret ═══ */
.mega-type__caret {
    font-size: 8px;
    color: var(--mega-gray-light);
    opacity: 0.6;
    transition: transform 0.3s var(--mega-ease),
                color 0.2s ease,
                opacity 0.2s ease;
    flex-shrink: 0;
}

.mega-type:hover .mega-type__caret {
    color: var(--mega-accent);
    opacity: 1;
}

.mega-type.open .mega-type__caret {
    transform: rotate(90deg);
    color: var(--mega-accent);
    opacity: 1;
}

/* ═══ Sub Tours Panel ═══ */
.mega-type__tours {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--mega-ease);
    padding-left: 42px;
    padding-right: 6px;
    background: rgba(255, 255, 255, 0.5);
}

.mega-type.open .mega-type__tours {
    max-height: 300px;
    overflow-y: auto;
    padding-top: 4px;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 122, 63, 0.25) transparent;
}

.mega-type.open .mega-type__tours::-webkit-scrollbar { width: 3px; }
.mega-type.open .mega-type__tours::-webkit-scrollbar-thumb {
    background: rgba(224, 122, 63, 0.25);
    border-radius: 100px;
}

/* ✅ Tours الفرعية — hover نظيف بدون إزاحة */
.mega-type__tour {
    display: block;
    padding: 6px 10px;
    font-size: 11.5px;
    color: var(--mega-gray);
    text-decoration: none;
    border-radius: 6px;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.35;
}

.mega-type__tour:hover {
    background: rgba(224, 122, 63, 0.09);
    color: var(--mega-accent);
}

.mega-type__tour--more {
    color: var(--mega-accent) !important;
    font-weight: 700;
    background: rgba(224, 122, 63, 0.06);
    margin-top: 3px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* CATEGORIES — hover نظيف (لون فقط، بدون حركة)                   */
/* ═══════════════════════════════════════════════════════════════ */
.mega__cats {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    margin-right: -4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 122, 63, 0.25) transparent;
    overscroll-behavior: contain;
    flex: 1;
}

.mega__cats::-webkit-scrollbar { width: 4px; }
.mega__cats::-webkit-scrollbar-thumb {
    background: rgba(224, 122, 63, 0.25);
    border-radius: 100px;
}
.mega__cats::-webkit-scrollbar-thumb:hover {
    background: rgba(224, 122, 63, 0.5);
}

/* ═══ Category Card — بدون translateX ═══ */
.mega-cat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--mega-card-bg);
    border: 1px solid var(--mega-card-border);
    border-radius: var(--mega-radius-sm);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    /* ✅ فقط ألوان — بدون transform */
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

/* ✅ Hover: خلفية بيضاء + حدود برتقالية هادئة */
.mega-cat:hover {
    background: var(--mega-card-bg-hover);
    border-color: var(--mega-border-strong);
}

/* ═══ Icon — لون فقط ═══ */
.mega-cat__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(224, 122, 63, 0.14), rgba(224, 122, 63, 0.05));
    color: var(--mega-accent);
    font-size: 11.5px;
    flex-shrink: 0;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.mega-cat:hover .mega-cat__icon {
    background: var(--mega-accent);
    color: #fff;
}

.mega-cat__name {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: var(--mega-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
    min-width: 0;
    line-height: 1.3;
}

.mega-cat:hover .mega-cat__name {
    color: var(--mega-accent);
}

.mega-cat__count {
    font-size: 10px;
    font-weight: 800;
    color: var(--mega-accent);
    background: rgba(224, 122, 63, 0.12);
    padding: 2px 7px;
    border-radius: 100px;
    flex-shrink: 0;
    min-width: 20px;
    text-align: center;
    line-height: 1.4;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.mega-cat:hover .mega-cat__count {
    background: var(--mega-accent);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════ */
/* HERO (CUSTOM TRIP)                                             */
/* ═══════════════════════════════════════════════════════════════ */
.mega__hero {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    height: 100%;
    min-height: 320px;
    background: linear-gradient(160deg, #1a2332 0%, #2d3a52 50%, #E07A3F 140%);
    isolation: isolate;
    margin: 0 2px;
}

.mega__hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(160deg,
            rgba(26, 35, 50, 0.75) 0%,
            rgba(26, 35, 50, 0.45) 40%,
            rgba(224, 122, 63, 0.55) 100%),
        url('https://images.unsplash.com/photo-1539020140153-e479b8c22e70?w=800&q=80');
    background-size: cover;
    background-position: center;
    transition: transform 0.7s var(--mega-ease);
    will-change: transform;
}

.mega__hero:hover .mega__hero-bg {
    transform: scale(1.06);
}

.mega__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    min-height: 320px;
}

.mega__hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: auto;
    line-height: 1;
}

.mega__hero-badge i {
    color: #ffd966;
    font-size: 9px;
}

.mega__hero h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 6px;
    color: #fff;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.mega__hero p {
    font-size: 11.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 12px;
    max-width: 100%;
}

.mega__hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    color: #1a2332;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
    transition:
        background-color 0.3s var(--mega-ease),
        color 0.3s var(--mega-ease),
        gap 0.3s var(--mega-ease),
        box-shadow 0.3s var(--mega-ease);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.mega__hero:hover .mega__hero-btn {
    background: var(--mega-accent);
    color: #fff;
    gap: 11px;
    box-shadow: 0 10px 24px rgba(224, 122, 63, 0.42);
}

.mega__hero-btn i {
    font-size: 9px;
    transition: transform 0.3s var(--mega-ease);
}

.mega__hero:hover .mega__hero-btn i {
    transform: translateX(3px);
}

.mega__hero-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    transform: skewX(-20deg);
    transition: left 0.85s var(--mega-ease);
    z-index: 1;
    pointer-events: none;
}

.mega__hero:hover .mega__hero-shine {
    left: 150%;
}

/* ═══════════════════════════════════════════════════════════════ */
/* CTA BUTTONS                                                    */
/* ═══════════════════════════════════════════════════════════════ */
.mega__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--mega-accent), var(--mega-primary));
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 6px 16px rgba(224, 122, 63, 0.22);
    position: relative;
    overflow: hidden;
    line-height: 1.2;
    flex-shrink: 0;
}

.mega__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: left 0.65s var(--mega-ease);
}

.mega__cta:hover::before {
    left: 100%;
}

.mega__cta:hover {
    box-shadow: 0 10px 24px rgba(224, 122, 63, 0.35);
}

.mega__cta-arrow {
    font-size: 9px;
    transition: transform 0.28s var(--mega-ease);
}

.mega__cta:hover .mega__cta-arrow {
    transform: translateX(3px);
}

.mega__cta--ghost {
    background: rgba(224, 122, 63, 0.08);
    color: var(--mega-accent);
    box-shadow: none;
    border: 1px dashed rgba(224, 122, 63, 0.3);
}

.mega__cta--ghost:hover {
    background: var(--mega-accent);
    color: #fff;
    border-style: solid;
    box-shadow: 0 6px 16px rgba(224, 122, 63, 0.28);
}

/* ═══════════════════════════════════════════════════════════════ */
/* STAGGER ANIMATION                                              */
/* ═══════════════════════════════════════════════════════════════ */
.nav-dropdown.open .mega__col--main { animation: megaColIn 0.42s var(--mega-ease) 0.04s both; }
.nav-dropdown.open .mega__col--cats { animation: megaColIn 0.42s var(--mega-ease) 0.08s both; }
.nav-dropdown.open .mega__hero     { animation: megaColIn 0.46s var(--mega-ease) 0.12s both; }

@keyframes megaColIn {
    0%   { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

.nav-dropdown.open .mega-type,
.nav-dropdown.open .mega-cat {
    animation: megaItemIn 0.4s var(--mega-ease) both;
}

.nav-dropdown.open .mega-type:nth-child(1),
.nav-dropdown.open .mega-cat:nth-child(1) { animation-delay: 0.06s; }
.nav-dropdown.open .mega-type:nth-child(2),
.nav-dropdown.open .mega-cat:nth-child(2) { animation-delay: 0.10s; }
.nav-dropdown.open .mega-type:nth-child(3),
.nav-dropdown.open .mega-cat:nth-child(3) { animation-delay: 0.14s; }
.nav-dropdown.open .mega-type:nth-child(4),
.nav-dropdown.open .mega-cat:nth-child(4) { animation-delay: 0.18s; }
.nav-dropdown.open .mega-type:nth-child(5),
.nav-dropdown.open .mega-cat:nth-child(5) { animation-delay: 0.22s; }
.nav-dropdown.open .mega-type:nth-child(6),
.nav-dropdown.open .mega-cat:nth-child(6) { animation-delay: 0.26s; }
.nav-dropdown.open .mega-type:nth-child(7),
.nav-dropdown.open .mega-cat:nth-child(7) { animation-delay: 0.30s; }
.nav-dropdown.open .mega-type:nth-child(8),
.nav-dropdown.open .mega-cat:nth-child(8) { animation-delay: 0.34s; }

@keyframes megaItemIn {
    0%   { opacity: 0; transform: translateY(8px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════ */
/* SKELETON                                                       */
/* ═══════════════════════════════════════════════════════════════ */
.mega__skeleton {
    height: 48px;
    border-radius: var(--mega-radius-sm);
    background: linear-gradient(90deg,
        rgba(224, 122, 63, 0.06) 25%,
        rgba(224, 122, 63, 0.14) 50%,
        rgba(224, 122, 63, 0.06) 75%);
    background-size: 200% 100%;
    animation: megaShimmer 1.4s infinite;
}

.mega__skeleton--sm {
    height: 46px;
}

@keyframes megaShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* MOBILE DRAWER ACCORDION                                        */
/* ═══════════════════════════════════════════════════════════════ */
.drawer-acc {
    display: flex;
    flex-direction: column;
}

.drawer-acc__trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--mega-dark);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

.drawer-acc__trigger > i:first-child {
    width: 20px;
    color: var(--mega-accent);
    font-size: 14px;
    text-align: center;
    flex-shrink: 0;
}

.drawer-acc__trigger > span {
    flex: 1;
}

.drawer-acc__caret {
    font-size: 11px;
    color: var(--mega-gray);
    transition: transform 0.3s var(--mega-ease);
    flex-shrink: 0;
}

.drawer-acc.open > .drawer-acc__trigger {
    background: var(--mega-sand);
    border-color: rgba(224, 122, 63, 0.15);
    color: var(--mega-accent);
}

.drawer-acc.open > .drawer-acc__trigger .drawer-acc__caret {
    transform: rotate(180deg);
    color: var(--mega-accent);
}

.drawer-acc__trigger--sub {
    padding: 10px 12px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mega-dark);
}

.drawer-acc__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--mega-ease);
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 6px;
}

.drawer-acc.open > .drawer-acc__panel {
    max-height: 2000px;
    padding-top: 4px;
    padding-bottom: 6px;
}

.drawer-acc__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--mega-gray);
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        padding-left 0.2s ease;
    border-left: 2px solid transparent;
    margin-left: 5px;
}

.drawer-acc__link i {
    font-size: 11px;
    color: var(--mega-accent);
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.drawer-acc__link:hover {
    background: var(--mega-sand);
    color: var(--mega-accent);
    border-left-color: var(--mega-accent);
    padding-left: 16px;
}

.drawer-acc__link--highlight {
    background: linear-gradient(135deg, var(--mega-accent), var(--mega-primary));
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11.5px;
    letter-spacing: 0.05em;
    margin: 6px 0 0;
    justify-content: center;
    border-left: none;
    padding: 10px 14px;
    border-radius: 10px;
}

.drawer-acc__link--highlight i {
    color: #fff;
}

.drawer-acc__link--highlight:hover {
    background: linear-gradient(135deg, var(--mega-accent-dark), var(--mega-accent));
    padding-left: 14px;
    border-left-color: transparent;
}

.drawer-acc__skeleton {
    height: 30px;
    margin: 4px 12px;
    border-radius: 8px;
    background: linear-gradient(90deg,
        var(--mega-sand) 25%,
        var(--mega-sand-2) 50%,
        var(--mega-sand) 75%);
    background-size: 200% 100%;
    animation: megaShimmer 1.4s infinite;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                     */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .mega {
        width: min(960px, calc(100vw - 32px));
    }
    .mega__grid {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
    }
    .mega__hero {
        grid-column: span 2;
        min-height: 200px;
    }
    .mega__hero-content {
        min-height: 200px;
        padding: 18px;
    }
    .mega__hero h3 {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .nav-dropdown {
        display: none;
    }
    .nav {
        display: none;
    }
    .burger {
        display: flex;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* REDUCED MOTION                                                 */
/* ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .mega,
    .mega__hero-bg,
    .mega__hero-btn,
    .mega-type,
    .mega-type__icon,
    .mega-type__tours,
    .mega-cat,
    .mega-cat__icon,
    .mega__cta,
    .drawer-acc__panel {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* PERFORMANCE                                                    */
/* ═══════════════════════════════════════════════════════════════ */
.mega,
.mega-type,
.mega-cat,
.mega__hero {
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 🌟 MEGA MENU — Sahara Nomad — v5.0 FINAL  OUALGHAZI FINISH                     */
/* Glass Cards · Compact · Fast · Clean Hover (No Movement)       */
/* ═══════════════════════════════════════════════════════════════ */




/* ═══════════════════════════════════════════════════════ */
/* BRAND LOGO (Dynamic from DB)                            */
/* ═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════ */
/* BRAND LOGO (Dynamic from DB) — بدون خلفية              */
/* ═══════════════════════════════════════════════════════ */

.brand__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: 8px;
    border-radius: 12px;

    /* ✅ إزالة الخلفية تماماً */
    background: transparent;

    color: var(--accent, #E07A3F);
    font-size: 1.6rem;
    overflow: visible;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

/* عند وجود صورة الشعار — تظهر بدون خلفية */
.brand__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;      /* ✅ contain بدل cover للحفاظ على النسب */
    border-radius: inherit;
    display: block;
    background: transparent;
}

/* Hover effect — بدون ظل */
.brand:hover .brand__icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: none;         /* ✅ إزالة الظل */
    color: var(--accent-dark, #C96A30);
}

/* ═══ Brand Text ═══ */
.brand__text strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark, #1A2332);
}

.brand__text small {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gray, #6B7280);
    margin-top: 2px;
}

/* ═══ Drawer Brand ═══ */
.drawer .brand__icon {
    width: 48px;
    height: 48px;
    font-size: 1.7rem;
}

.drawer .brand__text strong {
    font-size: 1.2rem;
}

/* ═══ Footer Brand ═══ */
.footer .brand__icon {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    background: transparent;
}

/* ═══ Dark Navbar (if scrolled) ═══ */
.navbar--dark .brand__text strong {
    color: #fff;
}

.navbar--dark .brand__text small {
    color: rgba(255, 255, 255, 0.6);
}

/* ═══ Drawer Header (خلفية داكنة) ═══ */
.drawer__header .brand__icon {
    background: transparent;
    color: var(--primary, #D4A574);
}

/* ═══════════════════════════════════════════════════ */
/* SOCIAL MEDIA (Dynamic)                             */
/* ═══════════════════════════════════════════════════ */

.footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ─── Hover Effect ─── */
.footer__social a:hover {
    background: var(--social-color, #E07A3F);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35),
                0 0 0 1px var(--social-color, #E07A3F);
}

/* ─── Glow Effect عند الـ Hover ─── */
.footer__social a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
        rgba(255, 255, 255, 0.25),
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer__social a:hover::before {
    opacity: 1;
}

.footer__social a i {
    position: relative;
    z-index: 1;
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
    .footer__social a {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}



/* ═══════════════════════════════════════════════════════ */
/* FOOTER — "+N More Cities"                               */
/* ═══════════════════════════════════════════════════════ */
.footer__col-more a {
    color: #f5b400 !important; /* ذهبي */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.footer__col-more a:hover {
    color: #ffd25c !important;
}

.footer__col-more a i {
    font-size: 10px;
    width: 12px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 🎬 BRAND CINEMATIC REVEAL — Cinema-Grade Animation             */
/* يبدأ بعد ثانية واحدة · العنوان الرئيسي والفرعي يُكتبان         */
/* ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════ */
/* الحالة الابتدائية — كل شيء مخفي، جاهز للانفجار السينمائي      */
/* ═══════════════════════════════════════════════════════════════ */
.navbar .brand__icon,
.navbar .brand__text strong,
.navbar .brand__text small,
.drawer .brand__icon,
.drawer .brand__text strong,
.drawer .brand__text small,
.footer .brand__icon,
.footer .brand__text strong,
.footer .brand__text small {
    opacity: 0;
    will-change: opacity, transform, filter, clip-path;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 1️⃣  الشعار — "Portal Opening" — يفتح كبوابة سحرية              */
/* ═══════════════════════════════════════════════════════════════ */
@keyframes brandPortalOpen {
    0% {
        opacity: 0;
        transform: scale(0.2) rotate(-45deg);
        filter: blur(20px) brightness(3);
    }
    30% {
        opacity: 1;
        transform: scale(1.3) rotate(15deg);
        filter: blur(2px) brightness(1.8);
    }
    55% {
        transform: scale(0.9) rotate(-8deg);
        filter: blur(0) brightness(1.3);
    }
    75% {
        transform: scale(1.08) rotate(4deg);
        filter: blur(0) brightness(1.1);
    }
    90% {
        transform: scale(0.97) rotate(-1.5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: blur(0) brightness(1);
    }
}

/* ─── Glow برتقالي ذهبي خلف الشعار ─── */
.navbar .brand__icon,
.drawer .brand__icon,
.footer .brand__icon {
    position: relative;
    isolation: isolate;
}

.navbar .brand__icon::before,
.drawer .brand__icon::before,
.footer .brand__icon::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 209, 102, 0.85) 0%,
        rgba(224, 122, 63, 0.55) 30%,
        rgba(224, 122, 63, 0.15) 55%,
        transparent 75%
    );
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    will-change: opacity, transform;
}

/* ─── حلقة ذهبية تنكشف حول الشعار ─── */
.navbar .brand__icon::after,
.drawer .brand__icon::after,
.footer .brand__icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 209, 102, 0.9);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    will-change: opacity, transform;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 2️⃣  العنوان الرئيسي — "Typewriter" — يُكتب حرفاً حرفاً           */
/* ═══════════════════════════════════════════════════════════════ */

/* ─── أنيميشن الكتابة للعنوان الرئيسي ─── */
@keyframes typewriterTitle {
    0% {
        clip-path: inset(0 100% 0 0);
        border-right-color: transparent;
        opacity: 1;
    }
    5% {
        border-right-color: var(--accent, #E07A3F);
    }
    95% {
        clip-path: inset(0 0 0 0);
        border-right-color: var(--accent, #E07A3F);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        border-right-color: transparent;
        opacity: 1;
    }
}

/* ─── أنيميشن المؤشر (Blink) ─── */
@keyframes typewriterCursor {
    0%, 49% {
        border-right-color: var(--accent, #E07A3F);
    }
    50%, 100% {
        border-right-color: transparent;
    }
}

/* ─── خط الضوء يمر عبر العنوان (بعد الكتابة) ─── */
@keyframes brandLightSweep {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 3️⃣  العنوان الفرعي — "Typewriter" — يُكتب حرفاً حرفاً           */
/* ═══════════════════════════════════════════════════════════════ */

/* ─── أنيميشن الكتابة للعنوان الفرعي ─── */
@keyframes typewriterSub {
    0% {
        clip-path: inset(0 100% 0 0);
        border-right-color: transparent;
        opacity: 1;
    }
    5% {
        border-right-color: var(--accent, #E07A3F);
    }
    95% {
        clip-path: inset(0 0 0 0);
        border-right-color: var(--accent, #E07A3F);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        border-right-color: transparent;
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 4️⃣  توهج "الانفجار" — وميض خاطف حول الشعار                     */
/* ═══════════════════════════════════════════════════════════════ */
@keyframes brandBurst {
    0%   { opacity: 0; transform: scale(0.3); }
    30%  { opacity: 1; transform: scale(1.6); }
    60%  { opacity: 0.7; transform: scale(2.4); }
    100% { opacity: 0; transform: scale(3.5); }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 5️⃣  حلقة ذهبية — تنكشف ثم تختفي                                */
/* ═══════════════════════════════════════════════════════════════ */
@keyframes brandRingReveal {
    0% {
        opacity: 0;
        transform: scale(0.4);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
    70% {
        opacity: 0.6;
        transform: scale(1.15);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 6️⃣  نبضة خفيفة على الشعار بعد الاستقرار                         */
/* ═══════════════════════════════════════════════════════════════ */
@keyframes brandHeartbeat {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}

/* ═══════════════════════════════════════════════════════════════ */
/* ⏱️  التطبيق السينمائي — بعد 1 ثانية فقط                        */
/* ═══════════════════════════════════════════════════════════════ */

/* ─── NAVBAR ─── */
.navbar .brand__icon {
    animation:
        brandPortalOpen 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both,
        brandHeartbeat 3s ease-in-out 3.5s infinite;
    transform-origin: center;
}

.navbar .brand__icon::before {
    animation: brandBurst 1.5s cubic-bezier(0.22, 1, 0.36, 1) 1.05s both;
}

.navbar .brand__icon::after {
    animation: brandRingReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both;
}

/* ✨ العنوان الرئيسي — يُكتب حرفاً حرفاً */
.navbar .brand__text strong {
    display: inline-block;
    position: relative;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    border-right: 2px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;

    animation:
        typewriterTitle 1.2s steps(30, end) 1.4s both,
        typewriterCursor 0.8s step-end 1.4s 3;

    /* خط ضوء ذهبي يمر لاحقاً */
    background: linear-gradient(
        90deg,
        currentColor 0%,
        currentColor 40%,
        rgba(255, 209, 102, 1) 50%,
        currentColor 60%,
        currentColor 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: currentColor;
    background-position: -200% center;
}

/* ✨ العنوان الفرعي — يُكتب حرفاً حرفاً (بعد الرئيسي) */
.navbar .brand__text small {
    display: inline-block;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    border-right: 2px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;

    animation:
        typewriterSub 1s steps(25, end) 2.7s both,
        typewriterCursor 0.8s step-end 2.7s 3;
}

/* ─── DRAWER ─── */
.drawer .brand__icon {
    animation: brandPortalOpen 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

.drawer .brand__icon::before {
    animation: brandBurst 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.drawer .brand__icon::after {
    animation: brandRingReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

/* ✨ العنوان الرئيسي في Drawer */
.drawer .brand__text strong {
    display: inline-block;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    border-right: 2px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;

    animation:
        typewriterTitle 1s steps(30, end) 0.55s both,
        typewriterCursor 0.8s step-end 0.55s 3;
}

/* ✨ العنوان الفرعي في Drawer */
.drawer .brand__text small {
    display: inline-block;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    border-right: 2px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;

    animation:
        typewriterSub 0.9s steps(25, end) 1.6s both,
        typewriterCursor 0.8s step-end 1.6s 3;
}

/* ─── FOOTER ─── */
.footer .brand__icon {
    animation: brandPortalOpen 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both;
}

.footer .brand__icon::before {
    animation: brandBurst 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.05s both;
}

.footer .brand__icon::after {
    animation: brandRingReveal 1.5s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both;
}

/* ✨ العنوان الرئيسي في Footer */
.footer .brand__text strong {
    display: inline-block;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    border-right: 2px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;

    animation:
        typewriterTitle 1.3s steps(30, end) 1.45s both,
        typewriterCursor 0.8s step-end 1.45s 3;
}

/* ✨ العنوان الفرعي في Footer */
.footer .brand__text small {
    display: inline-block;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    border-right: 2px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;

    animation:
        typewriterSub 1.1s steps(25, end) 2.85s both,
        typewriterCursor 0.8s step-end 2.85s 3;
}

/* ═══════════════════════════════════════════════════════════════ */
/* RTL SUPPORT — الكتابة من اليمين لليسار في العربية               */
/* ═══════════════════════════════════════════════════════════════ */

/* ─── Navbar RTL ─── */
[dir="rtl"] .navbar .brand__text strong {
    clip-path: inset(0 0 0 100%);
    border-right: none;
    border-left: 2px solid transparent;
    animation-name: typewriterTitleRTL, typewriterCursorRTL;
}

[dir="rtl"] .navbar .brand__text small {
    clip-path: inset(0 0 0 100%);
    border-right: none;
    border-left: 2px solid transparent;
    animation-name: typewriterSubRTL, typewriterCursorRTL;
}

/* ─── Drawer RTL ─── */
[dir="rtl"] .drawer .brand__text strong {
    clip-path: inset(0 0 0 100%);
    border-right: none;
    border-left: 2px solid transparent;
    animation-name: typewriterTitleRTL, typewriterCursorRTL;
}

[dir="rtl"] .drawer .brand__text small {
    clip-path: inset(0 0 0 100%);
    border-right: none;
    border-left: 2px solid transparent;
    animation-name: typewriterSubRTL, typewriterCursorRTL;
}

/* ─── Footer RTL ─── */
[dir="rtl"] .footer .brand__text strong {
    clip-path: inset(0 0 0 100%);
    border-right: none;
    border-left: 2px solid transparent;
    animation-name: typewriterTitleRTL, typewriterCursorRTL;
}

[dir="rtl"] .footer .brand__text small {
    clip-path: inset(0 0 0 100%);
    border-right: none;
    border-left: 2px solid transparent;
    animation-name: typewriterSubRTL, typewriterCursorRTL;
}

@keyframes typewriterTitleRTL {
    0% {
        clip-path: inset(0 0 0 100%);
        border-left-color: transparent;
        opacity: 1;
    }
    5% {
        border-left-color: var(--accent, #E07A3F);
    }
    95% {
        clip-path: inset(0 0 0 0);
        border-left-color: var(--accent, #E07A3F);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        border-left-color: transparent;
        opacity: 1;
    }
}

@keyframes typewriterSubRTL {
    0% {
        clip-path: inset(0 0 0 100%);
        border-left-color: transparent;
        opacity: 1;
    }
    5% {
        border-left-color: var(--accent, #E07A3F);
    }
    95% {
        clip-path: inset(0 0 0 0);
        border-left-color: var(--accent, #E07A3F);
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0 0 0);
        border-left-color: transparent;
        opacity: 1;
    }
}

@keyframes typewriterCursorRTL {
    0%, 49% {
        border-left-color: var(--accent, #E07A3F);
    }
    50%, 100% {
        border-left-color: transparent;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* ACCESSIBILITY — احترام تفضيلات المستخدم                        */
/* ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .navbar .brand__icon,
    .navbar .brand__icon::before,
    .navbar .brand__icon::after,
    .navbar .brand__text strong,
    .navbar .brand__text small,
    .drawer .brand__icon,
    .drawer .brand__icon::before,
    .drawer .brand__icon::after,
    .drawer .brand__text strong,
    .drawer .brand__text small,
    .footer .brand__icon,
    .footer .brand__icon::before,
    .footer .brand__icon::after,
    .footer .brand__text strong,
    .footer .brand__text small {
        animation: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        clip-path: none !important;
        border: none !important;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* VIDEO LIGHTBOX — YouTube Embed                         */
/* ═══════════════════════════════════════════════════════ */

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.video-lightbox[hidden] {
    display: none;
}

.video-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

/* ─── Backdrop ─── */
.video-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

/* ─── Panel ─── */
.video-lightbox__panel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    transform: scale(.92) translateY(20px);
    opacity: 0;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1),
                opacity .3s ease;
    z-index: 1;
}

.video-lightbox.is-open .video-lightbox__panel {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* ─── Close Button ─── */
.video-lightbox__close {
    position: absolute;
    top: -52px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, transform .25s ease;
    z-index: 2;
}

.video-lightbox__close:hover {
    background: #E07A3F;
    border-color: #E07A3F;
    transform: rotate(90deg) scale(1.08);
}

/* ─── Video Frame (16:9) ─── */
.video-lightbox__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6),
                0 0 0 1px rgba(255, 255, 255, .08);
}

.video-lightbox__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ─── Loader ─── */
.video-lightbox__loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}

.video-lightbox__loader.is-active {
    opacity: 1;
}

/* ─── Body lock ─── */
body.has-video-open {
    overflow: hidden;
}

/* ─── Mobile ─── */
@media (max-width: 640px) {
    .video-lightbox {
        padding: 12px;
    }

    .video-lightbox__close {
        top: -48px;
        right: 4px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .video-lightbox__frame {
        border-radius: 10px;
    }
}


/* ═══════════════════════════════════════════════════════ */
/* إخفاء الشريط العلوي من YouTube (العنوان + Share)      */
/* ═══════════════════════════════════════════════════════ */

.video-lightbox__frame {
    position: relative;
}

/* ─── إخفاء الشريط العلوي لليوتيوب ─── */
/* (يعمل لأن yt يعرض الشريط أعلى الفيديو) */
.video-lightbox__frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, .35) 0%,
        transparent 100%
    );
}




/* ═══════════════════════════════════════════════════════ */
/* REVIEWS SLIDER — 3 SLIDES · AUTOPLAY 3s · SMOOTH       */
/* ═══════════════════════════════════════════════════════ */

/* ─── الحاوية ─── */
.reviews__wrap {
    position: relative;
    padding: 0 60px;           /* مساحة للأزرار على الجانبين */
    margin: 0 auto;
    max-width: 1200px;
}

/* ─── السلايدر ─── */
.reviews__slider {
    width: 100%;
    padding: 10px 0 54px;       /* padding-bottom للنقاط */
    overflow: hidden !important;
    /* Swiper يحتاج overflow hidden لعرض 3 فقط */
}

/* ─── الشريحة ─── */
.reviews__slider .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
}

.reviews__slider .swiper-slide > * {
    width: 100%;
}

/* ─── البطاقة ─── */
.review {
    position: relative;
    width: 100%;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 22px;
    background: #ffffff;
    border: 1px solid rgba(26, 35, 50, 0.07);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(26, 35, 50, 0.055);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
}

/* شريط علوي ملون */
.review::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, #E07A3F, #D4A574);
    border-radius: 0 0 10px 10px;
    opacity: 0.9;
}

/* علامة الاقتباس */
.review::after {
    content: "\201C";
    position: absolute;
    top: 3px;
    right: 18px;
    color: #E07A3F;
    font-family: Georgia, serif;
    font-size: 82px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.075;
    pointer-events: none;
}

.review:hover {
    transform: translateY(-6px);
    border-color: rgba(224, 122, 63, 0.18);
    box-shadow: 0 18px 45px rgba(26, 35, 50, 0.1);
}

/* ─── النجوم ─── */
.review__stars {
    color: #f5ad24;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 13px;
    line-height: 1;
}

/* ─── العنوان ─── */
.review__title {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 8px;
    line-height: 1.35;
}

/* ─── النص ─── */
.review__text {
    flex: 1;
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.7;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── المؤلف ─── */
.review__author {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(26, 35, 50, 0.07);
}

.review__avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #E07A3F, #D4A574);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(224, 122, 63, 0.22);
}

.review__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review__info strong {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1A2332;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.review__verified {
    color: #10b981;
    font-size: 11px;
}

.review__country {
    color: #6B7280;
    font-size: 11px;
    line-height: 1.3;
}

.review__date {
    color: #6B7280;
    font-size: 10px;
    opacity: 0.65;
}

.review__featured {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A574, #E07A3F);
    color: #fff;
    font-size: 11px;
    box-shadow: 0 5px 13px rgba(224, 122, 63, 0.25);
    z-index: 5;
}

/* ═══════════════════════════════════════════════════════ */
/* أزرار التنقل — على الجانبين                            */
/* ═══════════════════════════════════════════════════════ */

.reviews__arrow {
    position: absolute;
    top: calc(50% - 27px);          /* توسيط رأسي مع تعويض النقاط */
    transform: translateY(-50%);
    z-index: 20;

    width: 46px;
    height: 46px;
    border-radius: 50%;

    background: #fff;
    border: 1.5px solid rgba(224, 122, 63, 0.2);
    color: #1A2332;
    font-size: 14px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 20px rgba(26, 35, 50, 0.1);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews__arrow:hover {
    background: #E07A3F;
    border-color: #E07A3F;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 28px rgba(224, 122, 63, 0.35);
}

.reviews__arrow:active {
    transform: translateY(-50%) scale(1.02);
}

.reviews__arrow--prev { left: 0; }
.reviews__arrow--next { right: 0; }

/* ═══════════════════════════════════════════════════════ */
/* النقاط                                                 */
/* ═══════════════════════════════════════════════════════ */

.reviews__pagination {
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.reviews__pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(26, 35, 50, 0.2);
    opacity: 1;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 !important;
}

.reviews__pagination .swiper-pagination-bullet:hover {
    background: rgba(224, 122, 63, 0.5);
}

.reviews__pagination .swiper-pagination-bullet-active {
    width: 24px;
    background: #E07A3F;
}

/* ═══════════════════════════════════════════════════════ */
/* SKELETON                                               */
/* ═══════════════════════════════════════════════════════ */

.review--skeleton {
    pointer-events: none;
}

.skel {
    background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
    background-size: 200% 100%;
    animation: skelShimmer 1.4s infinite;
    border-radius: 6px;
    margin-bottom: 10px;
}

.skel--stars  { height: 16px; width: 100px; }
.skel--line   { height: 12px; width: 100%; }
.skel--line.short { width: 60%; }
.skel--avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }

@keyframes skelShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════ */
/* RESPONSIVE                                             */
/* ═══════════════════════════════════════════════════════ */

/* ─── Tablet: عرض 2 ─── */
@media (max-width: 1024px) {
    .reviews__wrap { padding: 0 50px; }
    .reviews__arrow {
        width: 42px;
        height: 42px;
        font-size: 13px;
    }
}

/* ─── Mobile: عرض 1 + جزء من التالية ─── */
@media (max-width: 640px) {
    .reviews__wrap { padding: 0 8px; }

    .reviews__slider {
        padding: 8px 0 48px;
    }

    .reviews__arrow {
        width: 36px;
        height: 36px;
        font-size: 11px;
    }
    .reviews__arrow--prev { left: -4px; }
    .reviews__arrow--next { right: -4px; }

    .review {
        padding: 22px 20px 18px;
        min-height: 250px;
    }

    .reviews__pagination {
        bottom: -2px !important;
    }
}

/* ─── Small Mobile ─── */
@media (max-width: 380px) {
    .reviews__wrap { padding: 0 4px; }

    .reviews__arrow {
        width: 32px;
        height: 32px;
        font-size: 10px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* RTL                                                    */
/* ═══════════════════════════════════════════════════════ */

[dir="rtl"] .reviews__arrow--prev { right: 0; left: auto; }
[dir="rtl"] .reviews__arrow--next { left: 0; right: auto; }
[dir="rtl"] .reviews__arrow i { transform: scaleX(-1); }

/* ═══════════════════════════════════════════════════════ */
/* REDUCED MOTION                                         */
/* ═══════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .reviews__arrow,
    .review,
    .reviews__pagination .swiper-pagination-bullet {
        transition-duration: 0.01ms !important;
    }
}



/* ═══════════════════════════════════════════════════════ */
/* ✨ HERO SAND PARTICLES — جزيئات رملية ذهبية            */
/* ═══════════════════════════════════════════════════════ */

.hero__sand {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* فوق الصور، تحت المحتوى */
    z-index: 1;
    pointer-events: none;
    /* دمج الجزيئات مع الصورة */
    mix-blend-mode: screen;
    opacity: 0.85;
}

/* ✅ على الشاشات الصغيرة - تقليل الشفافية لتحسين الأداء */
@media (max-width: 640px) {
    .hero__sand {
        opacity: 0.6;
    }
}

/* ✅ احترام تفضيلات المستخدم لتقليل الحركة */
@media (prefers-reduced-motion: reduce) {
    .hero__sand {
        display: none;
    }
}






/* ═══════════════════════════════════════════════════════ */
/* ✅ TOPBAR — MARRAKECH LIVE (Time + Weather + Cities)   */
/* ═══════════════════════════════════════════════════════ */

.topbar__mw {
    position: relative;
    display: inline-block;
}

.topbar__mw-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    white-space: nowrap;
}

.topbar__mw-btn:hover {
    background: rgba(212, 165, 116, 0.15);
    border-color: rgba(212, 165, 116, 0.4);
    color: #fff;
    transform: translateY(-1px);
}

.topbar__mw-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.topbar__mw-pin {
    color: var(--primary, #D4A574) !important;
    font-size: 10px !important;
    margin: 0 !important;
}

.topbar__mw-city {
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
}

.topbar__mw-sep {
    opacity: 0.4;
    font-size: 10px;
}

.topbar__mw-time {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: #FFD166;
    letter-spacing: 0.5px;
    min-width: 38px;
    text-align: center;
    display: inline-block;
}

.topbar__mw-temp {
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    min-width: 30px;
    display: inline-block;
    text-align: center;
}

.topbar__mw-icon {
    font-size: 11px !important;
    color: #FFD166 !important;
    margin: 0 !important;
    transition: transform 0.3s ease;
}

.topbar__mw-btn:hover .topbar__mw-icon {
    transform: scale(1.15) rotate(-5deg);
}

.topbar__mw-caret {
    font-size: 8px !important;
    margin: 0 0 0 2px !important;
    opacity: 0.6;
    transition: transform 0.28s ease;
}

.topbar__mw-btn[aria-expanded="true"] .topbar__mw-caret {
    transform: rotate(180deg);
}

/* ─── Dropdown ─── */
.topbar__mw-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 9999;
}

.topbar__mw-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.topbar__mw-dropdown-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1A2332, #243044);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.topbar__mw-dropdown-head i {
    color: var(--primary, #D4A574) !important;
    font-size: 12px;
    margin: 0 !important;
}

.topbar__mw-cities {
    max-height: 340px;
    overflow-y: auto;
    padding: 6px;
}

.topbar__mw-cities::-webkit-scrollbar {
    width: 6px;
}
.topbar__mw-cities::-webkit-scrollbar-thumb {
    background: #EBE0CC;
    border-radius: 3px;
}

.topbar__mw-city-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #1A2332;
    cursor: pointer;
    text-align: left;
    transition: background 0.18s ease, color 0.18s ease;
}

.topbar__mw-city-item:hover {
    background: #F5EDE0;
    color: #E07A3F;
}

.topbar__mw-city-item.is-active {
    background: rgba(224, 122, 63, 0.1);
    color: #E07A3F;
    font-weight: 700;
}

.topbar__mw-city-item i {
    font-size: 12px;
    color: #E07A3F;
    margin: 0 !important;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.topbar__mw-city-item span {
    flex: 1;
}

.topbar__mw-city-item .fa-check {
    color: #10B981;
    opacity: 0;
    transition: opacity 0.2s;
}

.topbar__mw-city-item.is-active .fa-check {
    opacity: 1;
}

/* ─── Responsive ─── */
@media (max-width: 992px) {
    .topbar__mw-city,
    .topbar__mw-sep {
        display: none;
    }
    .topbar__mw-btn {
        padding: 4px 8px;
        font-size: 11px;
        gap: 5px;
    }
}

/* ═══════════════════════════════════════════════════════ */
/* ✅ TOPBAR — MOBILE ADJUSTMENTS                         */
/* ═══════════════════════════════════════════════════════ */

/* ─── على التابلت (≤992px): إخفاء اسم المدينة فقط ─── */
@media (max-width: 992px) {
    .topbar__mw-city,
    .topbar__mw-sep {
        display: none;
    }
    .topbar__mw-btn {
        padding: 4px 8px;
        font-size: 11px;
        gap: 5px;
    }
}

/* ─── على الجوال (≤640px): إظهار الودجت بتصميم مُصغّر ─── */

/* ═══════════════════════════════════════════════════════ */
/* ✅ إظهار الوقت والطقس والمدينة على الهاتف              */
/* ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .topbar__mw {
        display: inline-block !important;
    }

    /* تصغير العنصر ليناسب الشاشة الصغيرة */
    .topbar__mw-btn {
        padding: 3px 7px !important;
        font-size: 10px !important;
        gap: 4px !important;
    }

    /* إخفاء اسم المدينة والفواصل لتوفير المساحة */
    .topbar__mw-city,
    .topbar__mw-sep {
        display: none !important;
    }

    /* تصغير الأيقونات */
    .topbar__mw-pin,
    .topbar__mw-icon,
    .topbar__mw-caret {
        font-size: 9px !important;
    }

    /* تصغير الوقت والحرارة */
    .topbar__mw-time,
    .topbar__mw-temp {
        font-size: 10px !important;
        min-width: auto !important;
    }

    /* جعل الشريط العلوي يلتف بشكل أفضل */
    .topbar__right {
        gap: 6px !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .topbar__inner {
        flex-direction: column;
        gap: 6px;
    }

    /* إخفاء العناصر الثابتة على الشاشات الصغيرة جداً */
    .topbar__left {
        display: none !important;
    }
}

/* ─── شاشات صغيرة جداً (≤ 380px) ─── */
@media (max-width: 380px) {
    .topbar__mw-btn {
        padding: 3px 5px !important;
        font-size: 9px !important;
        gap: 3px !important;
    }

    .topbar__mw-time,
    .topbar__mw-temp {
        font-size: 9px !important;
    }

    .topbar__mw-pin,
    .topbar__mw-icon {
        font-size: 8px !important;
    }

    .topbar__mw-caret {
        display: none !important;
    }
}


/* ─── على شاشات صغيرة جداً (≤380px): الحجم الأدنى ─── */
@media (max-width: 380px) {
    .topbar__mw-btn {
        padding: 3px 6px;
        font-size: 10px;
        gap: 3px;
    }

    .topbar__mw-time {
        font-size: 10px;
        min-width: 30px;
    }

    .topbar__mw-temp {
        font-size: 10px;
        min-width: 24px;
    }

    .topbar__mw-pin,
    .topbar__mw-icon {
        font-size: 9px !important;
    }
}

/* ─── RTL ─── */
[dir="rtl"] .topbar__mw-dropdown {
    left: auto;
    right: 0;
}
[dir="rtl"] .topbar__mw-city-item {
    text-align: right;
}





/* ═══════════════════════════════════════════════════════ */
/* 🗺️ MOROCCO MAP — Section                                */
/* ═══════════════════════════════════════════════════════ */

.map-explorer {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF6F0 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.map-explorer::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(224,122,63,.06), transparent 70%);
    pointer-events: none;
}

.map-explorer__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.map-explorer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(224,122,63,.08);
    border: 1px solid rgba(224,122,63,.18);
    color: #E07A3F;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.map-explorer__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 12px;
    line-height: 1.15;
    letter-spacing: -.015em;
}

.map-explorer__sub {
    font-size: 14.5px;
    line-height: 1.65;
    color: #6B7280;
}

/* Grid */
.map-explorer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* Map */
.map-explorer__map-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(26,35,50,.12),
        0 4px 12px rgba(26,35,50,.06);
    border: 1px solid rgba(224,122,63,.12);
    background: #F5EDE0;
    min-height: 520px;
}

.map-explorer__map {
    width: 100%;
    height: 100%;
    min-height: 520px;
    z-index: 1;
}

/* Legend */
.map-explorer__legend {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 500;
    display: flex;
    gap: 12px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: 100px;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    font-size: 11px;
    font-weight: 600;
    color: #1A2332;
}

.map-explorer__legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.map-explorer__legend .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.dot--start { background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,.25); }
.dot--stop  { background: #E07A3F; box-shadow: 0 0 0 3px rgba(224,122,63,.25); }
.dot--end   { background: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.25); }

/* Info Panel */
.map-explorer__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(224,122,63,.1);
    border-radius: 14px;
    padding: 14px 16px;
    transition: all .3s cubic-bezier(.2,.9,.3,1);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 3px; height: 0;
    background: linear-gradient(180deg, #E07A3F, #D4A574);
    transform: translateY(-50%);
    transition: height .3s ease;
    border-radius: 0 100px 100px 0;
}

.info-card:hover {
    border-color: rgba(224,122,63,.3);
    box-shadow: 0 8px 24px rgba(224,122,63,.1);
    transform: translateX(4px);
}

.info-card:hover::before { height: 60%; }

.info-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    color: #fff;
    background: linear-gradient(135deg, #E07A3F, #D4A574);
    box-shadow: 0 6px 16px rgba(224,122,63,.28);
}

.info-card__icon--from   { background: linear-gradient(135deg, #10B981, #059669); }
.info-card__icon--time   { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.info-card__icon--dest   { background: linear-gradient(135deg, #E07A3F, #C25A2A); }
.info-card__icon--places { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.info-card__icon--dist   { background: linear-gradient(135deg, #F59E0B, #D97706); }

.info-card__body { flex: 1; min-width: 0; }

.info-card__label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #9CA3AF;
    margin-bottom: 3px;
}

.info-card__value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: #1A2332;
    line-height: 1.3;
}

.info-card--accent {
    background: linear-gradient(135deg, #FFF8F0, #FFF);
    border-color: rgba(224,122,63,.2);
}

.info-card--accent .info-card__value { color: #E07A3F; }

.info-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}

.info-card__tags span {
    background: rgba(224,122,63,.1);
    color: #C25A2A;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
}

/* CTA */
.map-explorer__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #1A2332, #243044);
    color: #fff;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
    transition: all .3s cubic-bezier(.2,.9,.3,1);
    margin-top: auto;
    box-shadow: 0 8px 20px rgba(26,35,50,.18);
}

.map-explorer__cta:hover {
    background: linear-gradient(135deg, #E07A3F, #C25A2A);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(224,122,63,.35);
    gap: 14px;
}

/* ─── Leaflet Popup Theming ─── */
.morocco-popup-wrapper .leaflet-popup-content-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 20px 50px rgba(26,35,50,.18),
        0 4px 12px rgba(26,35,50,.08);
    border: 1px solid rgba(224,122,63,.15);
    padding: 0;
    overflow: hidden;
}

.morocco-popup-wrapper .leaflet-popup-content {
    margin: 0;
    padding: 0;
    min-width: 240px;
}

.morocco-popup-wrapper .leaflet-popup-tip {
    background: #fff;
    border: 1px solid rgba(224,122,63,.15);
    box-shadow: 0 4px 12px rgba(26,35,50,.1);
}

.morocco-popup {
    padding: 16px 18px;
    font-family: 'Inter', sans-serif;
}

.morocco-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.morocco-popup__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.morocco-popup__duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    color: #6B7280;
}

.morocco-popup__duration i { font-size: 10px; color: #E07A3F; }

.morocco-popup__title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #1A2332;
    margin: 0 0 6px;
    line-height: 1.25;
}

.morocco-popup__desc {
    font-size: 12px;
    line-height: 1.55;
    color: #6B7280;
    margin: 0 0 12px;
}

.morocco-popup__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.06);
    font-size: 10px;
}

.morocco-popup__coords {
    color: #9CA3AF;
    font-family: 'Courier New', monospace;
    letter-spacing: -.02em;
}

.morocco-popup__step {
    background: rgba(224,122,63,.1);
    color: #E07A3F;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 700;
    letter-spacing: .04em;
}

/* ─── Loading / Error ─── */
.map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
    min-height: 400px;
    color: #6B7280;
    font-size: 13px;
    font-weight: 500;
}

.map-loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(224,122,63,.15);
    border-top-color: #E07A3F;
    border-radius: 50%;
    animation: mapSpin .8s linear infinite;
}

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

.map-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: 400px;
    color: #9CA3AF;
    text-align: center;
    padding: 20px;
}

.map-error i { font-size: 48px; color: rgba(224,122,63,.3); }
.map-error p { font-size: 14px; margin: 0; }

/* ─── Leaflet Controls ─── */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 6px 20px rgba(26,35,50,.15) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.leaflet-control-zoom a {
    background: #fff !important;
    color: #1A2332 !important;
    border: none !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all .25s ease;
}

.leaflet-control-zoom a:hover {
    background: #E07A3F !important;
    color: #fff !important;
}

.leaflet-control-zoom a:first-child {
    border-bottom: 1px solid rgba(0,0,0,.06) !important;
}

/* ─── Responsive ─── */
@media (max-width: 992px) {
    .map-explorer { padding: 48px 0; }
    .map-explorer__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .map-explorer__map-wrap,
    .map-explorer__map { min-height: 420px; }
}

@media (max-width: 640px) {
    .map-explorer { padding: 40px 0; }
    .map-explorer__head { margin-bottom: 28px; }
    .map-explorer__title { font-size: 22px; }
    .map-explorer__map-wrap,
    .map-explorer__map { min-height: 340px; border-radius: 16px; }
    .map-explorer__legend { font-size: 10px; padding: 6px 10px; gap: 8px; }
    .info-card { padding: 12px 14px; border-radius: 12px; }
    .info-card__icon { width: 38px; height: 38px; font-size: 14px; }
    .info-card__value { font-size: 14px; }
    .map-explorer__cta { padding: 12px 16px; font-size: 12.5px; }
}



/* ═══════════════════════════════════════════════════════ */
/* 🗺️ MAP TOURS CONTROL PANEL                             */
/* ═══════════════════════════════════════════════════════ */

.map-tours-panel {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 600;
    width: 320px;
    max-height: calc(100% - 32px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 16px;
    box-shadow:
        0 20px 50px rgba(26, 35, 50, 0.18),
        0 4px 12px rgba(26, 35, 50, 0.08);
    border: 1px solid rgba(224, 122, 63, 0.15);
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.map-tours-panel.is-collapsed {
    max-height: 56px;
}

.map-tours-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, #1A2332 0%, #243044 100%);
    color: #fff;
    flex-shrink: 0;
    cursor: pointer;
}

.map-tours-panel__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.map-tours-panel__title i {
    color: #E07A3F;
    font-size: 13px;
}

.map-tours-panel__counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    background: #E07A3F;
    color: #fff;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.map-tours-panel__toggle {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.map-tours-panel__toggle:hover {
    background: #E07A3F;
    border-color: #E07A3F;
    transform: rotate(180deg);
}

.map-tours-panel.is-collapsed .map-tours-panel__toggle {
    transform: rotate(180deg);
}

.map-tours-panel__body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.map-tours-panel__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: #FAF6F0;
    flex-shrink: 0;
}

.map-tours-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    background: #fff;
    border: 1px solid rgba(224, 122, 63, 0.15);
    border-radius: 8px;
    color: #4B5563;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.map-tours-action i {
    font-size: 10px;
    color: #E07A3F;
}

.map-tours-action:hover {
    background: #E07A3F;
    border-color: #E07A3F;
    color: #fff;
    transform: translateY(-1px);
}

.map-tours-action:hover i {
    color: #fff;
}

.map-tours-panel__list {
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(224, 122, 63, 0.3) transparent;
}

.map-tours-panel__list::-webkit-scrollbar {
    width: 5px;
}
.map-tours-panel__list::-webkit-scrollbar-track {
    background: transparent;
}
.map-tours-panel__list::-webkit-scrollbar-thumb {
    background: rgba(224, 122, 63, 0.3);
    border-radius: 100px;
}

.map-tour-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    background: #fff;
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all 0.22s ease;
    position: relative;
    overflow: hidden;
}

.map-tour-item:hover {
    background: #FAF6F0;
    border-color: var(--tour-color, #E07A3F);
    transform: translateX(-2px);
}

.map-tour-item.is-active {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(250, 246, 240, 0.8));
    border-color: var(--tour-color, #E07A3F);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.map-tour-item__color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--tour-color, #E07A3F);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--tour-color, #E07A3F) 20%, transparent);
    transition: all 0.25s ease;
}

.map-tour-item.is-active .map-tour-item__color {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--tour-color, #E07A3F) 30%, transparent);
}

.map-tour-item__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.map-tour-item__name {
    font-size: 12px;
    font-weight: 700;
    color: #1A2332;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.map-tour-item__meta {
    font-size: 10px;
    color: #9CA3AF;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.map-tour-item__check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.map-tour-item.is-active .map-tour-item__check {
    background: var(--tour-color, #E07A3F);
    color: #fff;
}

/* Popup: Tour title badge */
.morocco-popup__tour {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    background: rgba(224, 122, 63, 0.08);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 8px 0 10px;
}

.morocco-popup__tour i {
    font-size: 9px;
}

/* ─── Responsive ─── */
@media (max-width: 992px) {
    .map-tours-panel {
        width: 280px;
        top: 12px;
        right: 12px;
        max-height: calc(100% - 24px);
    }
}

@media (max-width: 640px) {
    .map-tours-panel {
        width: calc(100% - 24px);
        top: 12px;
        left: 12px;
        right: 12px;
        max-height: 220px;
        border-radius: 14px;
    }
    .map-tours-panel.is-collapsed {
        max-height: 48px;
    }
    .map-tours-panel__header {
        padding: 10px 12px;
    }
    .map-tour-item {
        padding: 7px 8px;
    }
    .map-tour-item__name {
        font-size: 11px;
    }
    .map-tour-item__meta {
        font-size: 9px;
    }
    .map-tours-panel__actions {
        padding: 8px 10px;
    }
    .map-tours-action {
        font-size: 10px;
        padding: 6px 8px;
    }
}


/* ═══════════════════════════════════════════════════════ */
/* ✅ إخفاء زر "Enquire Now" من النافبار على الهاتف      */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    /* إخفاء الزر الموجود في nav-actions */
    .nav-actions .btn-primary.btn-sm {
        display: none !important;
    }
}

/* ─── للشاشات الصغيرة جداً (≤ 640px) ─── */
@media (max-width: 640px) {
    .nav-actions .btn-primary.btn-sm {
        display: none !important;
    }
    
    /* التأكد من أن الـ burger يبقى ظاهراً بمفرده */
    .nav-actions {
        gap: 0 !important;
    }
}


.map-tours-panel__search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    background: #fff;
}

.map-tours-panel__search i {
    color: #9CA3AF;
    font-size: 11px;
}

.map-tours-panel__search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 12px;
    background: transparent;
}

.map-tours-panel__load-more {
    padding: 8px 12px;
    border-top: 1px solid rgba(0,0,0,.05);
    text-align: center;
}

.map-tours-action--more {
    width: 100%;
    background: #FAF6F0;
}