/* ═══════════════════════════════════════════════════════════════
   رياض فايروركس — هوية «ليلة الديرة»
   سماء الرياض ليلة العرض: عمارة نجدية + سدو + ألعاب نارية
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* ليل صحراوي */
    --bg: #070810;
    --bg2: #0c0e1c;
    --bg-card: #14162a;
    --bg-card-2: #191b31;

    /* نار وذهب */
    --gold: #f6c453;
    --gold-2: #ffe9a8;
    --ember: #ff7a45;
    --red: #e8503a;
    --green: #1e9e62;          /* أخضر سعودي — للعناصر النظامية */
    --whatsapp: #25d366;

    /* نصوص رملية دافئة */
    --text: #efe9dc;
    --text-muted: #b0a996;

    --border: rgba(246, 196, 83, 0.16);
    --border-soft: rgba(246, 196, 83, 0.09);

    --font: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
    --font-display: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;

    --header-h: 84px;
    --radius: 14px;
    --r-arch: 18px 5px 18px 5px;      /* قوس نجدي: زاويتان مقوّستان وزاويتان حادّتان */
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
    --gradient: linear-gradient(120deg, var(--ember), var(--gold) 60%, var(--gold-2));
    --ease-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* نجمة الثُمن ۞ — الشكل المعتمد للأيقونات والأرقام */
    --star8: polygon(100% 50%, 85.36% 64.64%, 85.36% 85.36%, 64.64% 85.36%, 50% 100%, 35.36% 85.36%, 14.64% 85.36%, 14.64% 64.64%, 0% 50%, 14.64% 35.36%, 14.64% 14.64%, 35.36% 14.64%, 50% 0%, 64.64% 14.64%, 85.36% 14.64%, 85.36% 35.36%);

    /* شُرفات نجدية (أسنان مثلثية) بلون خلفية الصفحة */
    --shurfa-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Cpath d='M0 12L13 0l13 12z' fill='%23070810'/%3E%3C/svg%3E");
    --shurfa-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Cpath d='M0 0h26L13 12z' fill='%23070810'/%3E%3C/svg%3E");

    /* زخرفة تحت العناوين: خط — معيّن — خط */
    --title-ornament: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='10'%3E%3Cpath d='M0 5h50M90 5h50' stroke='%23f6c453' stroke-opacity='.5'/%3E%3Cpath d='M70 0l5 5-5 5-5-5z' fill='%23f6c453'/%3E%3Cpath d='M59 3l2 2-2 2-2-2zM83 3l2 2-2 2-2-2z' fill='%23ff7a45'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: clip;
}

/* نسيج معيّنات خافت على كامل الصفحة — لمسة نجدية صامتة */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 0 64 32 32 64 0 32Z' fill='none' stroke='%23f6c453' stroke-opacity='.04'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 60% 40% at 15% 0%, rgba(255, 122, 69, 0.05), transparent 65%),
        radial-gradient(ellipse 50% 35% at 90% 100%, rgba(246, 196, 83, 0.04), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

::selection { background: rgba(246, 196, 83, 0.85); color: #1a1206; }

@supports (scrollbar-color: red blue) {
    html { scrollbar-color: #3a3520 var(--bg); scrollbar-width: thin; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute;
    top: -100%;
    right: 1rem;
    z-index: 9999;
    padding: 0.75rem 1rem;
    background: var(--gold);
    color: #1a1206;
    border-radius: var(--r-arch);
    font-weight: 700;
}
.skip-link:focus { top: 1rem; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1200px, 92%); margin: 0 auto; position: relative; z-index: 1; }
.section { padding: 5.5rem 0; position: relative; }

/* ── رؤوس الأقسام ── */
.section-header { text-align: center; margin-bottom: 3.25rem; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.9rem;
    padding: 0.35rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--r-arch);
    background: rgba(246, 196, 83, 0.05);
}
.section-tag::before, .section-tag::after {
    content: '◆';
    font-size: 0.5rem;
    color: var(--ember);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-header .section-title::after {
    content: '';
    display: block;
    width: 140px;
    height: 10px;
    margin: 0.9rem auto 0;
    background: var(--title-ornament) no-repeat center;
}
.section-desc { color: var(--text-muted); max-width: 660px; margin: 0 auto; }

/* ── الشريط العلوي (احتياطي — قد لا يظهر خلف الهيدر الثابت) ── */
.top-bar { display: none; }

/* ── الهيدر: زجاج ليلي بشريط سدو ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 8, 16, 0.88);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--border-soft);
    transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 6px 32px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(246, 196, 83, 0.08); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.15rem;
    font-family: var(--font-display);
}
.logo img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(246, 196, 83, 0.35);
    box-shadow: 0 0 0 3px rgba(246, 196, 83, 0.08), 0 0 20px rgba(246, 196, 83, 0.15);
    transition: box-shadow 0.3s, transform 0.3s;
}
.logo:hover img { transform: rotate(-6deg) scale(1.05); box-shadow: 0 0 0 3px rgba(246, 196, 83, 0.18), 0 0 28px rgba(246, 196, 83, 0.3); }
.logo span,
.logo-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.text-emphasis { font-weight: 700; }
.reviewer-name { font-weight: 700; }

.nav-menu { display: flex; align-items: center; gap: 0.2rem; }
.nav-menu a {
    position: relative;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.2s;
}
.nav-menu a::after {
    content: '◆';
    position: absolute;
    bottom: -4px;
    right: 50%;
    transform: translateX(50%) scale(0);
    font-size: 0.45rem;
    color: var(--gold);
    transition: transform 0.25s var(--ease-out);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: translateX(50%) scale(1); }
.nav-cta { margin-right: 0.5rem; }
.nav-cta::after { display: none; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

/* ── الأزرار: قوس نجدي ── */
.btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--r-arch);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.25s, background-position 0.4s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
    background: linear-gradient(120deg, var(--ember) 0%, var(--gold) 50%, var(--ember) 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: #221204;
    box-shadow: 0 4px 24px rgba(255, 122, 69, 0.35);
}
.btn-primary:hover {
    background-position: 0 0;
    box-shadow: 0 8px 34px rgba(255, 122, 69, 0.5), 0 0 40px rgba(246, 196, 83, 0.12);
}
.btn-outline {
    background: rgba(246, 196, 83, 0.04);
    border: 1.5px solid rgba(246, 196, 83, 0.45);
    color: var(--gold);
}
.btn-outline:hover {
    background: rgba(246, 196, 83, 0.1);
    box-shadow: 0 0 24px rgba(246, 196, 83, 0.15);
}
.btn-whatsapp { background: var(--whatsapp); color: #062d16; }
.btn-whatsapp:hover { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4); }
.btn-red { background: var(--red); color: #fff; }

/* ── قسم البطل (الرئيسية): المشهد في enhance.css ── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: clamp(180px, 30vh, 300px);
    overflow: hidden;
    background:
        linear-gradient(180deg, #05060d 0%, #0a0c1e 45%, #141024 78%, #1d1224 100%);
}
.hero-content { position: relative; z-index: 5; max-width: 760px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(30, 158, 98, 0.12);
    border: 1px solid rgba(30, 158, 98, 0.4);
    color: #7fe0b2;
    padding: 0.45rem 1.15rem;
    border-radius: var(--r-arch);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 5vw, 3.1rem);
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 1rem;
    text-shadow: 0 2px 30px rgba(5, 6, 13, 0.9);
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-desc {
    color: var(--text-muted);
    font-size: 1.08rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 12px rgba(5, 6, 13, 0.8);
}
.hero-desc a { color: var(--gold); border-bottom: 1px dotted rgba(246, 196, 83, 0.5); }
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
    margin-bottom: 2rem;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.7rem 0.9rem;
    background: rgba(12, 14, 28, 0.55);
    border: 1px solid var(--border-soft);
    border-radius: 10px 3px 10px 3px;
    backdrop-filter: blur(6px);
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.hero-feature:hover {
    background: rgba(246, 196, 83, 0.07);
    border-color: rgba(246, 196, 83, 0.3);
    transform: translateY(-2px);
}
.hero-feature i { color: var(--gold); filter: drop-shadow(0 0 6px rgba(246, 196, 83, 0.5)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2.4rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-soft);
    font-size: 0.875rem;
    color: var(--text-muted);
}
.hero-trust i { color: var(--green); margin-left: 0.35rem; }

/* ── البطاقات: باب نجدي بمعيّن ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.card {
    position: relative;
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card) 55%);
    border: 1px solid var(--border-soft);
    border-radius: 4px 4px var(--radius) var(--radius);
    padding: 2.1rem 1.75rem 1.75rem;
    transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0.55;
    transition: opacity 0.3s;
}
.card::after {
    content: '◆';
    position: absolute;
    top: -9px;
    right: 50%;
    transform: translateX(50%);
    font-size: 0.7rem;
    line-height: 1;
    color: var(--gold);
    background: var(--bg);
    padding: 2px 7px;
    border-radius: 50%;
}
.card:hover {
    transform: translateY(-7px);
    border-color: rgba(246, 196, 83, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 122, 69, 0.08);
}
.card:hover::before { opacity: 1; }
.card-icon {
    width: 62px;
    height: 62px;
    clip-path: var(--star8);
    background: linear-gradient(135deg, rgba(246, 196, 83, 0.2), rgba(255, 122, 69, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    transition: transform 0.35s var(--ease-out), background 0.3s;
}
.card:hover .card-icon {
    transform: rotate(22.5deg) scale(1.1);
    background: linear-gradient(135deg, rgba(246, 196, 83, 0.32), rgba(255, 122, 69, 0.2));
}
.card:hover .card-icon i { transform: rotate(-22.5deg); }
.card-icon i { transition: transform 0.35s var(--ease-out); }
.card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.6; margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.92rem; }
.card-status {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.28rem 0.85rem;
    background: rgba(30, 158, 98, 0.13);
    border: 1px solid rgba(30, 158, 98, 0.35);
    color: #66d9a3;
    border-radius: var(--r-arch);
    font-size: 0.78rem;
    font-weight: 700;
}

/* ── المعرض: إطار مضاعف كالمشغولات ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.4rem;
}
.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(246, 196, 83, 0.2);
    padding: 0;
    background: var(--bg-card);
    transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(246, 196, 83, 0.35);
    pointer-events: none;
    z-index: 2;
    transition: inset 0.35s var(--ease-out), border-color 0.3s;
}
.gallery-item:hover::after { inset: 5px; border-color: rgba(255, 233, 168, 0.55); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out), filter 0.3s; }
.gallery-item:hover img { transform: scale(1.07); filter: brightness(1.1) saturate(1.15); }
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 34px rgba(255, 122, 69, 0.1);
    border-color: rgba(246, 196, 83, 0.45);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%, rgba(7, 8, 16, 0.92));
    display: flex;
    align-items: flex-end;
    padding: 1.1rem;
    z-index: 1;
}
.gallery-overlay span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ── الأقسام المتناوبة: إطار شُرفات نجدية ── */
.areas-section {
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 122, 69, 0.045), transparent 60%),
        var(--bg2);
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}
.areas-section::before,
.areas-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 12px;
    z-index: 2;
    pointer-events: none;
}
.areas-section::before { top: 0; background: var(--shurfa-down) repeat-x top center / 26px 12px; }
.areas-section::after { bottom: 0; background: var(--shurfa-up) repeat-x bottom center / 26px 12px; }

/* ── الخريطة والمناطق ── */
.map-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
    height: 420px;
    margin-bottom: 2rem;
}
#riyadhMap { width: 100%; height: 100%; z-index: 1; }
.map-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    z-index: 2;
    color: var(--text-muted);
}
.areas-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.areas-regions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.area-region {
    padding: 1.3rem;
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--border-soft);
    border-radius: 4px 4px var(--radius) var(--radius);
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.25s;
}
.area-region:hover {
    border-color: rgba(246, 196, 83, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.area-region-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
}
.area-region p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; }
.area-item {
    padding: 0.4rem 0.9rem;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-arch);
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.area-item:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.areas-note { text-align: center; margin-top: 1.5rem; color: var(--text-muted); font-size: 0.9rem; }
.info-box {
    background: rgba(255, 122, 69, 0.07);
    border: 1px solid rgba(255, 122, 69, 0.2);
    border-radius: 4px 4px var(--radius) var(--radius);
    padding: 1.4rem;
    margin-top: 2rem;
    text-align: center;
}
.info-box h4 { color: var(--gold); margin-bottom: 0.5rem; }

/* ── التقييمات (احتياطي) ── */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.5rem; }
.review-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.review-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gradient);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #221204;
}
.review-stars { color: var(--gold); font-size: 0.875rem; }
.review-text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.review-meta { font-size: 0.8rem; color: var(--text-muted); }
.rating-summary { text-align: center; margin-bottom: 2rem; }
.rating-summary .score { font-size: 3rem; font-weight: 900; color: var(--gold); }

/* ── الأسئلة الشائعة ── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--border-soft);
    border-radius: 4px 4px var(--radius) var(--radius);
    margin-bottom: 0.8rem;
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-question i { color: var(--ember); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.active { border-color: rgba(246, 196, 83, 0.35); box-shadow: 0 6px 28px rgba(255, 122, 69, 0.08); }
.faq-item.active .faq-question { color: var(--gold); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.active .faq-answer { max-height: 340px; }
.faq-answer p { padding: 0 1.5rem 1.3rem; color: var(--text-muted); font-size: 0.95rem; }
.faq-answer a { color: var(--gold); border-bottom: 1px dotted rgba(246, 196, 83, 0.5); }

/* ── شريط الدعوة: خيمة احتفال ── */
.cta-banner {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 50% 110%, rgba(255, 122, 69, 0.14), transparent 65%),
        linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid rgba(246, 196, 83, 0.25);
    border-radius: 4px 4px var(--radius) var(--radius);
    padding: 3.2rem 2rem 3rem;
    text-align: center;
}
.cta-banner h2,
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-banner p { color: var(--text-muted); margin-bottom: 1.5rem; }
.modal-title { font-size: 1.35rem; font-weight: 800; margin-bottom: 1rem; color: var(--gold); font-family: var(--font-display); }
.modal-subtitle { font-size: 1.05rem; font-weight: 700; margin: 1rem 0 0.5rem; color: var(--text); }
.leaflet-control-attribution { display: none !important; }

/* ── التواصل والنماذج ── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.contact-info-card {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--border-soft);
    border-radius: 4px 4px var(--radius) var(--radius);
    padding: 1.6rem;
    text-align: center;
    margin-bottom: 1.25rem;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.contact-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(246, 196, 83, 0.3);
    box-shadow: 0 10px 30px rgba(255, 122, 69, 0.07);
}
.contact-info-card i { font-size: 1.9rem; color: var(--gold); margin-bottom: 1rem; filter: drop-shadow(0 0 8px rgba(246, 196, 83, 0.35)); }
.contact-info-card h3 { font-family: var(--font-display); font-weight: 600; margin-bottom: 0.4rem; }
.contact-info-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.8rem; }
.contact-info-card a:not(.btn) { color: var(--gold); font-weight: 700; }
.contact-form {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--border);
    border-radius: 4px 4px var(--radius) var(--radius);
    padding: 2rem;
    position: relative;
}
.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0.7;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.45rem; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(7, 8, 16, 0.75);
    border: 1px solid var(--border-soft);
    border-radius: 10px 3px 10px 3px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(246, 196, 83, 0.12);
    background: rgba(246, 196, 83, 0.03);
}

/* ── التذييل ── */
.footer {
    position: relative;
    background: linear-gradient(180deg, var(--bg2), #080911);
    padding: 0 0 1.5rem;
}
.footer-scene { line-height: 0; background: var(--bg); }
.footer-scene svg { width: 100%; height: clamp(70px, 9vw, 120px); display: block; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding-top: 3rem;
}
.footer h4,
.footer-heading {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.footer-heading::before { content: '◆'; font-size: 0.5rem; color: var(--ember); }
.map-info-title { color: var(--gold); margin-bottom: 0.5rem; font-size: 1rem; font-weight: 700; }
.footer ul li { margin-bottom: 0.55rem; }
.footer ul a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.2s, padding-right 0.25s; }
.footer ul a:hover { color: var(--gold); padding-right: 6px; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; }
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.social-share { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.social-share-label { color: var(--text-muted); font-size: 0.9rem; }
.social-share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    clip-path: var(--star8);
    background: rgba(246, 196, 83, 0.12);
    color: var(--gold);
    transition: background 0.2s, color 0.2s, transform 0.25s;
}
.social-share-link:hover { background: var(--ember); color: #221204; transform: rotate(22.5deg) scale(1.1); }
.footer-brand { pointer-events: none; }

/* ── النوافذ المنبثقة ── */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 9, 0.8);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-content {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--border);
    border-radius: 4px 4px var(--radius) var(--radius);
    padding: 2.4rem 2rem 2rem;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 1.1rem;
    left: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}
.modal-close:hover { color: var(--ember); transform: rotate(90deg); }
.modal h2 { margin-bottom: 1rem; font-size: 1.35rem; font-family: var(--font-display); }
.modal-body { color: var(--text-muted); font-size: 0.95rem; }
.modal-body h3 { color: var(--text); margin: 1.25rem 0 0.5rem; font-size: 1rem; }
.modal-body ul { padding-right: 1.25rem; list-style: none; }
.modal-body li { margin-bottom: 0.4rem; position: relative; padding-right: 1rem; }
.modal-body li::before { content: '◆'; position: absolute; right: -0.2rem; top: 0.1em; font-size: 0.5rem; color: var(--gold); }
.modal-intro { color: var(--text-muted); margin-bottom: 1rem; }

/* ── الأزرار العائمة ── */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    left: 20px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50% 50% 50% 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(37, 211, 102, 0.5);
    animation: waPulse 2.2s ease-out infinite;
    z-index: -1;
}
@keyframes waPulse {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.9); opacity: 0; }
}
.quick-order-float { position: fixed; bottom: 20px; left: 20px; z-index: 999; }
.quick-order-btn {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.3rem;
    background: var(--gradient);
    border: none;
    border-radius: var(--r-arch);
    color: #221204;
    font-family: var(--font);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(255, 122, 69, 0.35);
    transition: transform 0.2s, box-shadow 0.25s;
}
.quick-order-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
    background-size: 250% 100%;
    background-position: -100%;
    animation: btnShimmer 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes btnShimmer {
    0% { background-position: -150%; }
    55%, 100% { background-position: 250%; }
}
.quick-order-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 122, 69, 0.45); }

/* ── رأس الصفحات الداخلية: بوابة نجدية ── */
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 4rem) 0 4.5rem;
    background:
        radial-gradient(ellipse 75% 90% at 50% -20%, #191430 0%, transparent 70%),
        radial-gradient(ellipse 55% 45% at 50% 105%, rgba(255, 122, 69, 0.1), transparent 65%),
        linear-gradient(180deg, #05060d, #0c0e1c);
    text-align: center;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 21% 28%, rgba(255, 240, 200, 0.8), transparent 50%),
        radial-gradient(1px 1px at 43% 15%, rgba(255, 240, 200, 0.65), transparent 50%),
        radial-gradient(1.5px 1.5px at 64% 34%, rgba(255, 240, 200, 0.7), transparent 50%),
        radial-gradient(1px 1px at 81% 20%, rgba(255, 240, 200, 0.6), transparent 50%),
        radial-gradient(1px 1px at 12% 55%, rgba(255, 240, 200, 0.5), transparent 50%),
        radial-gradient(1.5px 1.5px at 92% 50%, rgba(255, 240, 200, 0.55), transparent 50%);
    background-size: 520px 340px;
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--shurfa-up) repeat-x bottom center / 26px 12px;
    pointer-events: none;
}
.page-hero h1 {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    line-height: 1.55;
    margin-bottom: 0.75rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero .section-desc { position: relative; }
.page-hero .text-muted { position: relative; }
.breadcrumb {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.breadcrumb a:hover { color: var(--gold); }

/* ── صفحة الخدمات ── */
.service-card ul { margin-top: 1rem; padding-right: 0.25rem; list-style: none; color: var(--text-muted); font-size: 0.9rem; }
.service-card li { margin-bottom: 0.45rem; position: relative; padding-right: 1.1rem; }
.service-card li::before { content: '◆'; position: absolute; right: 0; top: 0.15em; font-size: 0.5rem; color: var(--ember); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    counter-reset: step;
    position: relative;
}
.process-step {
    text-align: center;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--border-soft);
    border-radius: 4px 4px var(--radius) var(--radius);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(255, 122, 69, 0.12);
    border-color: rgba(246, 196, 83, 0.25);
}
.process-step::before {
    counter-increment: step;
    content: counter(step, arabic-indic);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 1.1rem;
    background: var(--gradient);
    color: #221204;
    clip-path: var(--star8);
    font-weight: 800;
    font-size: 1.15rem;
}
.process-step h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.4rem; }
.process-step p { color: var(--text-muted); font-size: 0.9rem; }

/* ── المدونة ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--border-soft);
    border-radius: 4px 4px var(--radius) var(--radius);
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.3s;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(246, 196, 83, 0.3);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.blog-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; transition: transform 0.55s var(--ease-out), filter 0.3s; }
.blog-card:hover img { transform: scale(1.05); filter: brightness(1.08) saturate(1.1); }
.blog-card-body { padding: 1.4rem; }
.blog-card-body h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.6; margin-bottom: 0.5rem; font-size: 1.08rem; }
.blog-card-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.article-content { max-width: 760px; margin: 0 auto; padding: 3.5rem 0; }
.article-content h2 {
    margin: 2.2rem 0 1rem;
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.6;
    padding-right: 1rem;
    border-right: 3px solid var(--ember);
}
.article-content p { margin-bottom: 1rem; color: var(--text-muted); }
.article-content a { color: var(--gold); border-bottom: 1px dotted rgba(246, 196, 83, 0.5); }
.article-content ul { padding-right: 0.5rem; list-style: none; margin-bottom: 1rem; color: var(--text-muted); }
.article-content ul li { position: relative; padding-right: 1.2rem; margin-bottom: 0.4rem; }
.article-content ul li::before { content: '◆'; position: absolute; right: 0; top: 0.15em; font-size: 0.5rem; color: var(--ember); }
.article-content ol { padding-right: 1.5rem; margin-bottom: 1rem; color: var(--text-muted); }
.article-content strong { color: var(--text); }

/* ── الفريق ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.team-member {
    text-align: center;
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--border-soft);
    border-radius: 4px 4px var(--radius) var(--radius);
    padding: 1.75rem 1.5rem;
    transition: transform 0.25s, border-color 0.25s;
}
.team-member:hover { transform: translateY(-4px); border-color: rgba(246, 196, 83, 0.3); }
.team-member i { font-size: 2.1rem; color: var(--gold); margin-bottom: 1rem; filter: drop-shadow(0 0 8px rgba(246, 196, 83, 0.3)); }
.team-member h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.35rem; }

/* ── صفحة 404 ── */
.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
.error-page h1 {
    font-size: clamp(4rem, 12vw, 7rem);
    font-family: var(--font-display);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.error-page p { color: var(--text-muted); margin: 1rem 0 2rem; }
.error-subtitle { margin-bottom: 0.5rem; }
.error-wa-btn { margin-right: 1rem; }

/* ── علامات الخريطة ── */
.map-marker-wrapper { background: transparent !important; border: none !important; }
.map-marker {
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 50% 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.center-marker { background: linear-gradient(135deg, var(--ember), var(--gold)); }
.area-north { background: #2979ff; }
.area-south { background: #ff6d00; }
.area-east { background: #00c853; }
.area-west { background: #aa00ff; }
.area-central { background: var(--red); }
.map-legend {
    background: rgba(7, 8, 16, 0.92) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    padding: 10px !important;
    color: var(--text) !important;
    font-size: 11px !important;
    direction: rtl;
}
.legend-title { font-weight: 700; margin-bottom: 6px; color: var(--gold); }
.legend-row { display: flex; align-items: center; gap: 6px; margin: 3px 0; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legend-footer { margin-top: 6px; color: var(--ember); font-size: 10px; }
.service-circle { stroke-dasharray: 8 6; }

/* ── قسم الإحصائيات ── */
.stats-section {
    position: relative;
    background: var(--bg2);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    padding: 3rem 0;
    overflow: hidden;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; text-align: center; }
.stat-item { padding: 1rem; position: relative; transition: transform 0.3s; }
.stat-item:hover { transform: translateY(-4px); }
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }

/* ── أدوات مساعدة ── */
.mt-1 { margin-top: 1rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.w-full { width: 100%; }
.text-muted { color: var(--text-muted); }
.text-muted-sm { color: var(--text-muted); font-size: 0.9rem; }
.cta-banner--spaced { margin: 2rem 0; }
.cta-banner--mt { margin-top: 3rem; }
.map-areas-title { text-align: center; margin-bottom: 1rem; color: var(--gold); font-family: var(--font-display); }
.about-story-title { text-align: right; margin-bottom: 1rem; }
.about-story-title::after { display: none; }
.about-story-img { border-radius: 4px; border: 1px solid var(--border); }
.sources-list a { color: var(--gold); }

/* ── شريط تقدم القراءة ── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    background: transparent;
    pointer-events: none;
}
.scroll-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--ember), var(--gold));
    box-shadow: 0 0 10px rgba(255, 122, 69, 0.5);
    transition: width 0.1s linear;
}

/* ── العودة للأعلى: جوهرة معيّنة ── */
.back-to-top {
    position: fixed;
    bottom: 165px;
    left: 26px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    transform: rotate(45deg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--gold);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s, transform 0.25s;
    z-index: 998;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top i { transform: rotate(-45deg); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--ember); color: #221204; transform: rotate(45deg) scale(1.12); }

/* ── تموّج النقر ── */
.ripple-container { position: relative; overflow: hidden; }
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 233, 168, 0.25);
    transform: scale(0);
    animation: rippleAnim 0.55s ease-out forwards;
    pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ── التنبيهات ── */
.toast-container {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    pointer-events: none;
    width: min(400px, 90vw);
}
.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--r-arch);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font, 'Tajawal', sans-serif);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
    width: 100%;
    direction: rtl;
}
.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast.hide { opacity: 0; transform: translateY(-12px) scale(0.96); }
.toast-success { background: rgba(30, 158, 98, 0.18); border: 1px solid rgba(30, 158, 98, 0.45); color: #6ee7a8; }
.toast-error   { background: rgba(232, 80, 58, 0.18); border: 1px solid rgba(232, 80, 58, 0.45); color: #ff8f7d; }
.toast-info    { background: rgba(246, 196, 83, 0.14); border: 1px solid rgba(246, 196, 83, 0.4); color: var(--gold-2); }
.toast i { font-size: 1.1rem; flex-shrink: 0; }

/* ── حالات النموذج ── */
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error { border-color: var(--red) !important; animation: shake 0.3s ease; }
.form-group input.field-ok,
.form-group select.field-ok,
.form-group textarea.field-ok { border-color: var(--green) !important; }
.field-msg { font-size: 0.78rem; margin-top: 0.3rem; min-height: 1rem; transition: color 0.2s; }
.field-msg.error { color: #ff8f7d; }
.field-msg.ok { color: #6ee7a8; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* ── حالة تحميل الزر ── */
.btn.btn-loading { pointer-events: none; opacity: 0.8; }
.btn.btn-loading .btn-inner { opacity: 0; }
.btn.btn-loading::after {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(34, 18, 4, 0.3);
    border-top-color: #221204;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn > *:not(.ripple) { transition: opacity 0.15s; }

/* ── صور بتلاشي ── */
img.img-fade { opacity: 0; transition: opacity 0.4s ease; }
img.img-fade.loaded { opacity: 1; }

/* ═══════════ استجابة الشاشات ═══════════ */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: calc(var(--header-h) + 7px);
        right: 0;
        left: 0;
        background: #0a0b16;
        background-image: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 122, 69, 0.05), transparent 65%);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.25rem;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.28s var(--ease-out), opacity 0.28s ease, visibility 0.28s;
        border-bottom: 2px solid var(--border);
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-menu a { width: 100%; padding: 0.85rem 1rem; text-align: center; }
    .nav-menu a::after { display: none; }
    .nav-cta { width: 100%; margin: 0.5rem 0 0; }
    .mobile-toggle { display: flex; }
    body.has-topbar { padding-top: 0; }
}

@media (max-width: 768px) {
    :root { --header-h: 72px; }
    .section { padding: 3.75rem 0; }
    .areas-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
    .hero { min-height: auto; padding-bottom: clamp(150px, 32vh, 240px); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-feature { padding: 0.55rem 0.75rem; font-size: 0.83rem; }
    .map-wrapper { height: 320px; }
    .whatsapp-float { bottom: 80px; left: 16px; width: 50px; height: 50px; font-size: 1.5rem; }
    .quick-order-float { bottom: 16px; left: 16px; }
    .quick-order-btn span { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .back-to-top { bottom: 145px; left: 22px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .card:hover { transform: translateY(-4px); }
    .gallery-overlay { opacity: 1; }
}

@media (max-width: 480px) {
    .hero-features { grid-template-columns: 1fr 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   طبقة الزجاج السائل — Liquid Glass فوق هوية «ليلة الديرة»
   لوحات شفافة عائمة، حافة ضوئية علوية، لمعان مائل، تشبّع خلفي
   ═══════════════════════════════════════════════════════════════ */

/* وهج محيطي أقوى خلف الزجاج كي يلتقط اللون */
body::before {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M32 0 64 32 32 64 0 32Z' fill='none' stroke='%23f6c453' stroke-opacity='.04'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 55% 40% at 12% 8%, rgba(255, 122, 69, 0.10), transparent 62%),
        radial-gradient(ellipse 45% 35% at 88% 30%, rgba(246, 196, 83, 0.07), transparent 60%),
        radial-gradient(ellipse 40% 30% at 20% 78%, rgba(30, 158, 98, 0.05), transparent 65%),
        radial-gradient(ellipse 50% 35% at 90% 95%, rgba(232, 80, 58, 0.06), transparent 60%);
}

/* اللوحات الزجاجية */
.card, .faq-item, .area-region, .contact-info-card, .contact-form,
.process-step, .blog-card, .team-member, .cta-banner, .modal-content,
.info-box, .review-card {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.02) 22%, transparent 45%),
        linear-gradient(165deg, rgba(28, 30, 56, 0.5), rgba(16, 18, 36, 0.42));
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow:
        inset 0 1px 0 rgba(255, 240, 200, 0.13),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03),
        0 16px 42px rgba(0, 0, 0, 0.42);
}
.card:hover, .blog-card:hover, .area-region:hover, .contact-info-card:hover,
.process-step:hover, .team-member:hover {
    border-color: rgba(246, 196, 83, 0.4);
    box-shadow:
        inset 0 1px 0 rgba(255, 240, 200, 0.22),
        inset 0 0 24px rgba(246, 196, 83, 0.05),
        0 24px 56px rgba(0, 0, 0, 0.5),
        0 0 34px rgba(255, 122, 69, 0.1);
}
.faq-item.active {
    border-color: rgba(246, 196, 83, 0.4);
    box-shadow:
        inset 0 1px 0 rgba(255, 240, 200, 0.2),
        0 10px 34px rgba(255, 122, 69, 0.1);
}

/* الهيدر: زجاج أعمق */
.header {
    background: rgba(8, 9, 18, 0.52);
    backdrop-filter: blur(28px) saturate(185%);
    -webkit-backdrop-filter: blur(28px) saturate(185%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 -1px 0 rgba(255, 240, 200, 0.05);
}

/* لوحة محتوى البطل: شريحة زجاج فوق المشهد */
.hero-content {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.06) 0%, transparent 35%),
        rgba(7, 8, 16, 0.34);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px 8px 26px 8px;
    box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.12), 0 24px 60px rgba(0, 0, 0, 0.35);
    padding: 2.25rem 2.25rem 2rem;
}
.hero-feature {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 40%),
        rgba(14, 16, 32, 0.4);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.1);
}
.hero-badge {
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    background: rgba(30, 158, 98, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* الأزرار: قبّة ضوء زجاجية */
.btn-primary, .btn-whatsapp, .btn-red, .quick-order-btn {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 -8px 16px rgba(0, 0, 0, 0.12), 0 6px 24px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 34px rgba(255, 122, 69, 0.45), 0 0 40px rgba(246, 196, 83, 0.14); }
.btn-whatsapp:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 30px rgba(37, 211, 102, 0.4); }
.btn-outline {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.07), transparent 40%),
        rgba(246, 196, 83, 0.06);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.16);
}

/* وسم القسم والفتات: كبسولة زجاجية */
.section-tag {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 45%),
        rgba(246, 196, 83, 0.06);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.12);
}

/* الحقول: زجاج غائر */
.form-group input,
.form-group select,
.form-group textarea {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 30%),
        rgba(7, 8, 16, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(246, 196, 83, 0.55);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(246, 196, 83, 0.12), inset 0 1px 0 rgba(255, 240, 200, 0.1);
}

/* القائمة الجوال والتنبيهات: زجاج كثيف */
@media (max-width: 992px) {
    .nav-menu {
        background:
            linear-gradient(115deg, rgba(255, 255, 255, 0.05), transparent 40%),
            rgba(9, 10, 20, 0.82);
        backdrop-filter: blur(26px) saturate(180%);
        -webkit-backdrop-filter: blur(26px) saturate(180%);
    }
}
.toast { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.45); }
.back-to-top {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 45%),
        rgba(18, 20, 40, 0.55);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.14);
}

/* أداء الجوال: تخفيف نصف قطر الضبابية */
@media (max-width: 768px) {
    .card, .faq-item, .area-region, .contact-info-card, .contact-form,
    .process-step, .blog-card, .team-member, .cta-banner, .info-box {
        backdrop-filter: blur(12px) saturate(155%);
        -webkit-backdrop-filter: blur(12px) saturate(155%);
    }
    .hero-content {
        padding: 1.6rem 1.25rem 1.5rem;
        backdrop-filter: blur(10px) saturate(145%);
        -webkit-backdrop-filter: blur(10px) saturate(145%);
    }
}

/* متصفحات بلا backdrop-filter: خلفية صلبة بديلة */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .card, .faq-item, .area-region, .contact-info-card, .contact-form,
    .process-step, .blog-card, .team-member, .cta-banner, .modal-content,
    .info-box, .review-card, .hero-content, .hero-feature, .nav-menu, .back-to-top {
        background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    }
    .header { background: rgba(7, 8, 16, 0.96); }
}

/* ── احترام تقليل الحركة ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
