/* ================================================================
   Manadis — Brand Stylesheet (Bootstrap 5 RTL extension)
   شركة مناديس لتطوير الفنون الشعبية والفعاليات الثقافية والتراثية
================================================================== */

:root {
    --color-bg: #F0E6D2;
    --color-bg-warm: #E8DCC4;
    --color-paper: #FAF5EA;
    --color-wood-dark: #5C2818;
    --color-wood: #7A3520;
    --color-wood-red: #A14233;
    --color-brass: #B8893E;
    --color-brass-light: #D4A85C;
    --color-ink: #2A1810;
    --color-ink-soft: #4A3527;
    --color-oasis: #4A5D3A;
    --color-line: #8B6B47;
    --color-green: #00d48c;
    --shadow-sm: 0 2px 8px rgba(92, 40, 24, 0.12);
    --shadow-md: 0 8px 24px rgba(92, 40, 24, 0.15);
    --shadow-lg: 0 20px 60px rgba(92, 40, 24, 0.2);

    --bs-body-font-family: 'Tajawal', sans-serif;
    --bs-body-color: var(--color-ink);
    --bs-body-bg: var(--color-bg);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--color-bg);
    color: var(--color-ink);
    line-height: 1.85;
    overflow-x: hidden;
    font-size: 17px;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(184, 137, 62, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(161, 66, 51, 0.05) 0%, transparent 50%);
}

/* ================ تايبوغرافيا ================ */
.font-aref { font-family: 'Aref Ruqaa', serif; }
.font-amiri { font-family: 'Amiri', serif; }
.font-kufi  { font-family: 'Reem Kufi', sans-serif; }
.font-tajawal { font-family: 'Tajawal', sans-serif; }

h1, h2, h3, h4, h5, h6 { font-family: 'Aref Ruqaa', serif; color: var(--color-wood-dark); }

a { color: var(--color-wood-red); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--color-brass); }

/* ================ زخرفة عامة ================ */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--color-brass);
    margin: 24px 0;
}
.ornament::before, .ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-brass) 50%, transparent);
    max-width: 120px;
}
.ornament-mark {
    font-family: 'Amiri', serif;
    font-size: 28px;
    color: var(--color-brass);
    letter-spacing: 8px;
}

/* ================ القوائم ================ */
.navbar-manadis {
    background: rgba(250, 245, 234, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184, 137, 62, 0.25);
    padding: 10px 0;
    transition: all .3s ease;
}
.navbar-manadis .navbar-brand { display: flex; align-items: center; padding: 4px 0; }
.navbar-manadis .navbar-brand .brand-logo {
    height: 120px;
    width: auto;
    display: block;
    transition: transform .3s ease;
}
.navbar-manadis .navbar-brand:hover .brand-logo { transform: scale(1.04); }
@media (max-width: 991.98px) {
    .navbar-manadis .navbar-brand .brand-logo { height: 90px; }
}
.navbar-manadis .nav-link {
    font-family: 'Reem Kufi', sans-serif;
    color: var(--color-ink-soft) !important;
    font-size: 15.5px;
    padding: 8px 16px !important;
    position: relative;
    transition: color .25s ease;
}
.navbar-manadis .nav-link:hover,
.navbar-manadis .nav-link.active {
    color: var(--color-wood-red) !important;
}
.navbar-manadis .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 16px; right: 16px;
    height: 2px;
    background: var(--color-brass);
}
.navbar-toggler {
    border: 1px solid var(--color-brass);
    color: var(--color-wood-dark);
}
.navbar-toggler:focus { box-shadow: 0 0 0 .15rem rgba(184, 137, 62, 0.3); }

/* ================ أزرار ================ */
.btn-manadis {
    background: var(--color-wood-dark);
    color: var(--color-bg);
    font-family: 'Reem Kufi', sans-serif;
    letter-spacing: 2px;
    padding: 14px 36px;
    border: 1px solid var(--color-brass);
    border-radius: 0;
    transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 15px;
}
.btn-manadis:hover {
    background: var(--color-wood-red);
    color: var(--color-bg);
    border-color: var(--color-brass-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-manadis-outline {
    background: transparent;
    color: var(--color-wood-dark);
    font-family: 'Reem Kufi', sans-serif;
    letter-spacing: 2px;
    padding: 14px 36px;
    border: 1px solid var(--color-wood-dark);
    border-radius: 0;
    transition: all .35s ease;
    font-size: 15px;
}
.btn-manadis-outline:hover {
    background: var(--color-wood-dark);
    color: var(--color-bg);
}

/* ================ تصميم الأقسام ================ */
.section { padding: 100px 0; position: relative; }
.section-paper { background: var(--color-paper); }
.section-warm  { background: var(--color-bg-warm); }
.section-wood  { background: var(--color-wood-dark); color: var(--color-bg); }
.section-wood h1, .section-wood h2, .section-wood h3 { color: var(--color-bg); }

.section-label {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 14px;
    color: var(--color-brass);
    letter-spacing: 4px;
    margin-bottom: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: clamp(32px, 4.4vw, 52px);
    color: var(--color-wood-dark);
    line-height: 1.4;
    margin-bottom: 32px;
    font-weight: 700;
}
.section-wood .section-title { color: var(--color-bg); }
.section-wood .section-label { color: var(--color-brass-light); }

.section-intro {
    font-family: 'Amiri', serif;
    font-size: 21px;
    color: var(--color-ink-soft);
    max-width: 780px;
    line-height: 2;
}
.section-wood .section-intro { color: rgba(240, 230, 210, 0.85); }

/* ================ صفحة بدء كل صفحة (page hero) ================ */
.page-hero {
    background:
        linear-gradient(135deg, rgba(92, 40, 24, 0.94) 0%, rgba(122, 53, 32, 0.9) 60%, rgba(161, 66, 51, 0.86) 100%),
        repeating-linear-gradient(45deg, transparent 0, transparent 22px, rgba(184, 137, 62, 0.04) 22px, rgba(184, 137, 62, 0.04) 23px);
    color: var(--color-bg);
    padding: 160px 0 90px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 30px; bottom: 30px; left: 30px; right: 30px;
    border: 1px solid rgba(212, 168, 92, 0.25);
    pointer-events: none;
}
.page-hero .label {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 13px;
    letter-spacing: 6px;
    color: var(--color-brass-light);
    border: 1px solid var(--color-brass);
    display: inline-block;
    padding: 6px 22px;
    margin-bottom: 26px;
}
.page-hero h1 {
    font-family: 'Aref Ruqaa', serif;
    font-size: clamp(48px, 7vw, 92px);
    color: var(--color-bg);
    line-height: 1.15;
    margin: 0 0 18px;
    letter-spacing: -1px;
}
.page-hero p.lead {
    font-family: 'Amiri', serif;
    font-size: clamp(18px, 1.8vw, 24px);
    color: var(--color-brass-light);
    line-height: 1.8;
    max-width: 760px;
}

/* ================ الافتتاحية الرئيسية ================ */
.home-hero {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(92, 40, 24, 0.92) 0%, rgba(122, 53, 32, 0.88) 60%, rgba(161, 66, 51, 0.85) 100%),
        repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(184, 137, 62, 0.03) 20px, rgba(184, 137, 62, 0.03) 21px);
    color: var(--color-bg);
    padding: 140px 0 90px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.home-hero::before {
    content: '';
    position: absolute;
    top: 30px; bottom: 30px; left: 30px; right: 30px;
    border: 1px solid rgba(212, 168, 92, 0.3);
    pointer-events: none;
}
.home-hero::after {
    content: '';
    position: absolute;
    top: 38px; bottom: 38px; left: 38px; right: 38px;
    border: 1px solid rgba(212, 168, 92, 0.15);
    pointer-events: none;
}

.hero-mark {
    display: inline-block;
    font-family: 'Reem Kufi', sans-serif;
    font-size: 13px;
    color: var(--color-brass-light);
    letter-spacing: 6px;
    border: 1px solid var(--color-brass);
    padding: 8px 20px;
    margin-bottom: 32px;
}
.hero-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: clamp(72px, 11vw, 150px);
    line-height: 1;
    color: var(--color-bg);
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    letter-spacing: -2px;
}
.hero-subtitle {
    font-family: 'Amiri', serif;
    font-size: clamp(20px, 2.4vw, 28px);
    line-height: 1.7;
    color: var(--color-brass-light);
    margin-bottom: 32px;
    max-width: 560px;
    font-style: italic;
}
.hero-tagline {
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: rgba(240, 230, 210, 0.9);
    max-width: 540px;
    font-weight: 300;
    margin-bottom: 36px;
}

.hero-image-frame {
    position: relative;
    aspect-ratio: 3/4;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(160deg, var(--color-wood) 0%, var(--color-wood-dark) 100%);
    display: grid;
    place-items: center;
}
.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: -16px;
    border: 2px solid var(--color-brass);
    z-index: 0;
}
.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid var(--color-brass-light);
    z-index: 0;
    opacity: 0.5;
}
.hero-image-frame .logo-large {
    width: 70%;
    height: auto;
    z-index: 1;
}
.hero-image-frame .hero-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 1;
    filter: sepia(8%) contrast(1.05) saturate(0.95);
    display: block;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}
.fade-in-up { animation: fadeInUp 1s ease-out; }
.fade-in-left { animation: fadeInLeft 1.2s ease-out; }

/* ================ صور / SVG المندوس ================ */
.mandoos-illustration {
    aspect-ratio: 1;
    background: var(--color-wood-dark);
    box-shadow: var(--shadow-md);
    display: grid;
    place-items: center;
    position: relative;
}
.mandoos-illustration svg { width: 100%; height: 100%; display: block; }

/* ================ بطاقات المعايير ================ */
.principle {
    border-top: 2px solid var(--color-brass);
    padding-top: 28px;
    height: 100%;
}
.principle-num {
    font-family: 'Aref Ruqaa', serif;
    font-size: 72px;
    color: var(--color-brass);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.6;
}
.principle-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 28px;
    color: var(--color-brass-light);
    margin-bottom: 16px;
}
.principle-body {
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(240, 230, 210, 0.85);
}

/* ================ بطاقات المناديس ================ */
.mandoos {
    background: var(--color-paper);
    border: 1px solid var(--color-line);
    padding: 48px 44px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    height: 100%;
}
.mandoos::before {
    content: '';
    position: absolute;
    top: 12px; bottom: 12px; left: 12px; right: 12px;
    border: 1px solid var(--color-brass);
    opacity: 0.3;
    pointer-events: none;
}
.mandoos::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 120px;
    background: linear-gradient(225deg, transparent 50%, rgba(184, 137, 62, 0.08) 50%);
    pointer-events: none;
}
.mandoos:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-brass);
}
.mandoos-num {
    font-family: 'Aref Ruqaa', serif;
    font-size: 14px;
    color: var(--color-brass);
    letter-spacing: 4px;
    margin-bottom: 12px;
    font-weight: 700;
}
.mandoos-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 30px;
    color: var(--color-wood-red);
    margin-bottom: 20px;
    line-height: 1.3;
}
.mandoos-desc {
    font-family: 'Amiri', serif;
    font-size: 17px;
    color: var(--color-ink-soft);
    line-height: 1.9;
    margin-bottom: 24px;
    font-style: italic;
}
.mandoos-services {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mandoos-services li {
    font-family: 'Tajawal', sans-serif;
    font-size: 15.5px;
    color: var(--color-ink);
    padding: 10px 0 10px 0;
    padding-right: 22px;
    border-bottom: 1px dashed rgba(139, 107, 71, 0.25);
    position: relative;
    line-height: 1.7;
}
.mandoos-services li:last-child { border-bottom: none; }
.mandoos-services li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 22px;
    width: 10px;
    height: 1px;
    background: var(--color-brass);
}

/* ================ بطاقات الجمهور ================ */
.audience-card {
    background: rgba(240, 230, 210, 0.07);
    border: 1px solid rgba(212, 168, 92, 0.3);
    padding: 40px 32px;
    height: 100%;
    transition: all .4s ease;
}
.audience-card:hover {
    border-color: var(--color-brass);
    background: rgba(240, 230, 210, 0.12);
    transform: translateY(-4px);
}
.audience-card-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 24px;
    color: var(--color-brass-light);
    margin-bottom: 16px;
    line-height: 1.4;
}
.audience-card-body {
    font-family: 'Tajawal', sans-serif;
    font-size: 15.5px;
    color: rgba(240, 230, 210, 0.85);
    line-height: 1.9;
}

/* ================ المدير ================ */
.director-portrait {
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, var(--color-wood) 0%, var(--color-wood-dark) 100%);
    box-shadow: var(--shadow-md);
    display: grid;
    place-items: center;
    position: relative;
}
.director-portrait::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(212, 168, 92, 0.4);
}

/* === صورة المدير في صفحة من نحن === */
.director-figure {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}
.director-figure::before {
    content: '';
    position: absolute;
    inset: -16px;
    border: 2px solid var(--color-brass);
    z-index: 0;
}
.director-figure::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid var(--color-brass-light);
    z-index: 0;
    opacity: 0.5;
}
.director-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center 20%;
    filter: sepia(6%) contrast(1.05) saturate(0.95);
    box-shadow: var(--shadow-lg);
    display: block;
}
.director-figcaption {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.director-figcaption-name {
    font-family: 'Aref Ruqaa', serif;
    font-size: 26px;
    color: var(--color-wood-dark);
}
.director-figcaption-role {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 13px;
    color: var(--color-brass);
    letter-spacing: 3px;
}
.director-name {
    font-family: 'Aref Ruqaa', serif;
    font-size: 36px;
    color: var(--color-wood-red);
    margin-bottom: 8px;
    line-height: 1.3;
}
.director-role {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 16px;
    color: var(--color-brass);
    letter-spacing: 3px;
    margin-bottom: 28px;
}
.director-bio {
    font-family: 'Tajawal', sans-serif;
    font-size: 17px;
    line-height: 2;
    color: var(--color-ink-soft);
    margin-bottom: 18px;
}

/* ================ الاتصال ================ */
.contact-info-card {
    background: var(--color-paper);
    border: 1px solid var(--color-line);
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    transition: all .35s ease;
}
.contact-info-card:hover {
    border-color: var(--color-brass);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.contact-info-card .icon {
    width: 56px; height: 56px;
    background: var(--color-wood-dark);
    color: var(--color-brass-light);
    display: grid; place-items: center;
    margin: 0 auto 18px;
    font-size: 24px;
}
.contact-info-card .label {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 12px;
    color: var(--color-brass);
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.contact-info-card .value {
    font-family: 'Aref Ruqaa', serif;
    font-size: 18px;
    color: var(--color-wood-dark);
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--color-paper);
    border: 1px solid var(--color-line);
    border-radius: 0;
    padding: 14px 18px;
    font-family: 'Tajawal', sans-serif;
    color: var(--color-ink);
    font-size: 16px;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--color-brass);
    box-shadow: 0 0 0 .15rem rgba(184, 137, 62, 0.18);
    background: #fff;
}
.contact-form label {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 13px;
    color: var(--color-wood-dark);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

/* ================ التذييل ================ */
.site-footer {
    background: var(--color-wood-dark);
    color: var(--color-bg);
    padding: 70px 0 0;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: repeating-linear-gradient(90deg,
        var(--color-brass) 0, var(--color-brass) 8px,
        transparent 8px, transparent 16px);
    opacity: 0.5;
}
.site-footer h5 {
    font-family: 'Aref Ruqaa', serif;
    font-size: 22px;
    color: var(--color-brass-light);
    margin-bottom: 18px;
}
.site-footer .brand-name-footer {
    font-family: 'Aref Ruqaa', serif;
    font-size: 36px;
    color: var(--color-bg);
    margin-bottom: 8px;
}
.site-footer p, .site-footer li {
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: rgba(240, 230, 210, 0.78);
}
.site-footer a {
    color: rgba(240, 230, 210, 0.78);
    transition: color .25s ease;
}
.site-footer a:hover { color: var(--color-brass-light); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { padding: 4px 0; }
.site-footer .footer-bottom {
    border-top: 1px solid rgba(212, 168, 92, 0.18);
    padding: 24px 0;
    margin-top: 50px;
    text-align: center;
    font-family: 'Reem Kufi', sans-serif;
    font-size: 13px;
    color: rgba(240, 230, 210, 0.6);
    letter-spacing: 2px;
}

/* ================ ميزات / أيقونات ================ */
.feature-icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    background: var(--color-wood-dark);
    color: var(--color-brass-light);
    margin-bottom: 22px;
    font-size: 28px;
    border: 1px solid var(--color-brass);
}
.feature-card {
    background: var(--color-paper);
    padding: 36px 28px;
    border: 1px solid rgba(184, 137, 62, 0.3);
    height: 100%;
    transition: all .4s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-brass);
}
.feature-card h3 {
    font-family: 'Aref Ruqaa', serif;
    font-size: 22px;
    color: var(--color-wood-red);
    margin-bottom: 14px;
}
.feature-card p {
    font-family: 'Tajawal', sans-serif;
    color: var(--color-ink-soft);
    font-size: 15.5px;
    line-height: 1.85;
    margin: 0;
}

/* ================ احصائيات ================ */
.stat-card {
    text-align: center;
    padding: 24px 16px;
    border-right: 1px solid rgba(212, 168, 92, 0.22);
}
.stat-card:last-child { border-right: none; }
.stat-num {
    font-family: 'Aref Ruqaa', serif;
    font-size: 56px;
    color: var(--color-brass);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 13px;
    color: rgba(240, 230, 210, 0.75);
    letter-spacing: 3px;
}

/* ================ شريط CTA ================ */
.cta-strip {
    background: var(--color-wood-dark);
    color: var(--color-bg);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(212, 168, 92, 0.25);
    pointer-events: none;
}
.cta-strip h2 {
    font-family: 'Aref Ruqaa', serif;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--color-bg);
    margin: 0 0 14px;
}
.cta-strip p {
    font-family: 'Amiri', serif;
    color: var(--color-brass-light);
    font-size: 18px;
    margin: 0;
}

/* ================ بطاقات الأعمال (Portfolio) ================ */
.work-card {
    background: var(--color-paper);
    border: 1px solid rgba(184, 137, 62, 0.3);
    overflow: hidden;
    height: 100%;
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}
.work-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-brass);
}
.work-cover {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--color-wood) 0%, var(--color-wood-dark) 100%);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.work-cover.cover-brass { background: linear-gradient(135deg, var(--color-brass) 0%, var(--color-wood) 100%); }
.work-cover.cover-red { background: linear-gradient(135deg, var(--color-wood-red) 0%, var(--color-wood-dark) 100%); }
.work-cover.cover-oasis { background: linear-gradient(135deg, var(--color-oasis) 0%, var(--color-wood-dark) 100%); }
.work-cover.cover-paper {
    background:
        linear-gradient(135deg, rgba(92, 40, 24, 0.15) 0%, rgba(184, 137, 62, 0.1) 100%),
        var(--color-bg-warm);
    color: var(--color-wood-dark);
}
.work-cover::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(212, 168, 92, 0.4);
    pointer-events: none;
}
.work-cover svg, .work-cover i {
    z-index: 2;
    color: var(--color-brass-light);
    font-size: 64px;
}
.work-cover.cover-paper i { color: var(--color-wood-red); }
.work-cover .pattern {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, transparent 0, transparent 18px, rgba(212, 168, 92, 0.07) 18px, rgba(212, 168, 92, 0.07) 19px);
    pointer-events: none;
}
.work-tag {
    position: absolute;
    top: 22px; right: 22px;
    background: rgba(92, 40, 24, 0.9);
    color: var(--color-brass-light);
    font-family: 'Reem Kufi', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 6px 14px;
    z-index: 3;
}
.work-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.work-meta {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 12px;
    color: var(--color-brass);
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.work-title {
    font-family: 'Aref Ruqaa', serif;
    font-size: 24px;
    color: var(--color-wood-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}
.work-desc {
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    color: var(--color-ink-soft);
    line-height: 1.85;
    margin-bottom: 18px;
    flex: 1;
}
.work-stamp {
    border-top: 1px dashed rgba(139, 107, 71, 0.3);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Tajawal', sans-serif;
    font-size: 13px;
    color: var(--color-line);
}

/* ====== فلتر الأعمال ====== */
.work-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}
.work-filter button {
    background: transparent;
    border: 1px solid var(--color-line);
    color: var(--color-wood-dark);
    font-family: 'Reem Kufi', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    padding: 10px 22px;
    transition: all .3s ease;
    cursor: pointer;
}
.work-filter button:hover,
.work-filter button.active {
    background: var(--color-wood-dark);
    border-color: var(--color-wood-dark);
    color: var(--color-brass-light);
}

/* ====== Showcase Hero (أعمال) ====== */
.showcase-hero {
    background:
        linear-gradient(135deg, rgba(92, 40, 24, 0.94) 0%, rgba(122, 53, 32, 0.9) 60%, rgba(161, 66, 51, 0.86) 100%);
    color: var(--color-bg);
    padding: 160px 0 90px;
    position: relative;
    overflow: hidden;
}
.showcase-hero::before {
    content: '';
    position: absolute;
    top: 30px; bottom: 30px; left: 30px; right: 30px;
    border: 1px solid rgba(212, 168, 92, 0.25);
    pointer-events: none;
}

/* ====== Quote Box ====== */
.quote-card {
    background: var(--color-paper);
    border-right: 4px solid var(--color-wood-red);
    padding: 36px;
    position: relative;
    height: 100%;
}
.quote-card .quote-mark {
    font-family: 'Aref Ruqaa', serif;
    color: var(--color-brass);
    font-size: 64px;
    line-height: 0.4;
    opacity: 0.3;
}
.quote-card .quote-body {
    font-family: 'Amiri', serif;
    font-size: 18px;
    line-height: 1.95;
    color: var(--color-ink-soft);
    font-style: italic;
    margin: 14px 0 22px;
}
.quote-card .quote-author {
    font-family: 'Reem Kufi', sans-serif;
    font-size: 14px;
    color: var(--color-wood-red);
    letter-spacing: 2px;
}

/* ================ متغيرات عرض ================ */
@media (max-width: 991.98px) {
    .section { padding: 70px 0; }
    .home-hero { padding: 110px 0 70px; }
    .page-hero { padding: 130px 0 70px; }
    .navbar-manadis .navbar-brand .brand-tag { display: none; }
}
@media (max-width: 575.98px) {
    .mandoos { padding: 32px 24px; }
    .mandoos-title { font-size: 26px; }
    .stat-card { border-right: none; border-bottom: 1px solid rgba(212, 168, 92, 0.22); }
    .stat-card:last-child { border-bottom: none; }
}

/* ================ شعار التذييل ================ */
.site-footer .footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 14px;
    display: block;
}

/* ================ صور التراث العماني ================ */
/* الـ Hero الرئيسي بصورة تراثية */
.home-hero.heritage-bg {
    background-image:
        linear-gradient(135deg, rgba(92, 40, 24, 0.88) 0%, rgba(122, 53, 32, 0.82) 60%, rgba(161, 66, 51, 0.78) 100%),
        url('../img/heritage/oman-folk-3.jpg') !important;
    background-size: cover, cover !important;
    background-position: center, center !important;
}

/* الأبطال الفرعية */
.page-hero.heritage-about {
    background-image:
        linear-gradient(135deg, rgba(92, 40, 24, 0.9) 0%, rgba(122, 53, 32, 0.85) 60%, rgba(161, 66, 51, 0.8) 100%),
        url('../img/heritage/bahla-fort.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.page-hero.heritage-services {
    background-image:
        linear-gradient(135deg, rgba(92, 40, 24, 0.92) 0%, rgba(58, 24, 16, 0.88) 100%),
        url('../img/heritage/oman-folk-1.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.page-hero.heritage-portfolio,
.showcase-hero.heritage-portfolio {
    background-image:
        linear-gradient(135deg, rgba(92, 40, 24, 0.9) 0%, rgba(58, 24, 16, 0.85) 100%),
        url('../img/heritage/yowla-dance.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
.page-hero.heritage-contact {
    background-image:
        linear-gradient(135deg, rgba(92, 40, 24, 0.9) 0%, rgba(74, 93, 58, 0.8) 100%),
        url('../img/heritage/qaboos-mosque.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}

/* بطاقات أغطية الأعمال — لكل بطاقة صورة مختلفة */
.work-cover.heritage-cover {
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    overflow: hidden;
}
.work-cover.heritage-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(92, 40, 24, 0.4) 0%, rgba(58, 24, 16, 0.78) 100%);
    z-index: 1;
}
.work-cover.heritage-cover > * { position: relative; z-index: 2; color: var(--color-brass-light) !important; }
.work-cover.heritage-cover i { color: var(--color-brass-light) !important; }

.cover-nizwa { background-image: url('../img/heritage/nizwa-fort.jpg') !important; }
.cover-bahla { background-image: url('../img/heritage/bahla-fort.jpg') !important; }
.cover-mosque { background-image: url('../img/heritage/qaboos-mosque.jpg') !important; }
.cover-khanjar { background-image: url('../img/heritage/khanjar.jpg') !important; }
.cover-wadi { background-image: url('../img/heritage/wadi-bani-khalid.jpg') !important; }
.cover-souk { background-image: url('../img/heritage/mutrah-souk.jpg') !important; }
.cover-yowla { background-image: url('../img/heritage/yowla-dance.jpg') !important; }
.cover-frankincense { background-image: url('../img/heritage/frankincense.jpg') !important; }
.cover-folk-1 { background-image: url('../img/heritage/oman-folk-1.jpg') !important; }
.cover-folk-2 { background-image: url('../img/heritage/oman-folk-2.jpg') !important; }
.cover-folk-3 { background-image: url('../img/heritage/oman-folk-3.jpg') !important; }
.cover-folk-4 { background-image: url('../img/heritage/oman-folk-4.jpg') !important; }

/* قسم الـ identity في الصفحة الرئيسية: صورة المندوس → bg-folk-3 خلفية */
.identity-with-image {
    background-image:
        linear-gradient(180deg, rgba(250, 245, 234, 0.96), rgba(232, 220, 196, 0.92)),
        url('../img/heritage/khanjar.jpg');
    background-size: cover;
    background-position: center;
}

/* CTA strip مع صورة تراثية */
.cta-strip.heritage-cta {
    background-image:
        linear-gradient(135deg, rgba(92, 40, 24, 0.92) 0%, rgba(58, 24, 16, 0.92) 100%),
        url('../img/heritage/frankincense.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
}
