/* ============================================================
   واجهة المنصة الأم — نظام التصميم
   ألوان اللوغو: #765445 / #DAB682 / #00BBAC
   ============================================================ */

:root {
    --brown-900: #3d2419;
    --brown-800: #4f3225;
    --brown-700: #5f3c2c;
    --brown-600: #765445;   /* لون اللوغو الرئيسي */
    --brown-500: #8a6653;
    --brown-300: #c3a493;
    --brown-100: #f1e6dc;

    --gold-500: #DAB682;    /* لون اللوغو الذهبي */
    --gold-400: #e6cd9e;
    --gold-300: #f0dfc0;
    --gold-200: #f6ead6;

    --teal-600: #00948a;
    --teal-500: #00BBAC;    /* لون اللوغو الفيروزي */
    --teal-400: #2ecdbd;
    --teal-300: #6fdcd2;
    --teal-100: #dff5f3;

    --cream: #faf7f2;
    --paper: #ffffff;
    --ink: #2c1f16;
    --ink-soft: #5f4e41;
    --line: #eadfd3;

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;

    --shadow-sm: 0 2px 10px rgba(61, 36, 25, 0.06);
    --shadow-md: 0 12px 32px rgba(61, 36, 25, 0.10);
    --shadow-lg: 0 24px 60px rgba(61, 36, 25, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1160px, 92%); margin-inline: auto; }

/* ---------- أزرار ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: 0;
    cursor: pointer;
    transition: all .28s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
}
.btn-brown {
    background: var(--brown-600);
    color: #fff;
    box-shadow: 0 8px 22px rgba(118, 84, 69, .32);
}
.btn-brown:hover { background: var(--brown-700); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(118,84,69,.4); }
.btn-teal {
    background: var(--teal-500);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0,187,172,.32);
}
.btn-teal:hover { background: var(--teal-600); transform: translateY(-2px); }
.btn-ghost {
    background: transparent;
    color: var(--brown-700);
    border: 2px solid var(--brown-300);
}
.btn-ghost:hover { border-color: var(--brown-600); background: var(--brown-100); transform: translateY(-2px); }
.btn-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--brown-900);
    box-shadow: 0 8px 22px rgba(218,182,130,.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(218,182,130,.55); }

/* ---------- الهيدر ---------- */
.mf-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid var(--line);
}
.mf-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 80px;
}
.mf-menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.mf-login-btn { margin-inline-start: auto; }
.mf-brand {
    display: flex;
    align-items: center;
}
.mf-brand-logo {
    width: 180px;
    height: 180px;
    object-fit: contain;
    flex-shrink: 0;
}
.mf-menu a.mf-link {
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--ink-soft);
    transition: all .2s;
    font-size: 15px;
}
.mf-menu a.mf-link:hover { color: var(--brown-700); background: var(--brown-100); }
.mf-menu a.mf-link.active { color: var(--brown-700); background: var(--brown-100); }
.mf-burger {
    display: none;
    width: 44px; height: 44px;
    border: 0; background: var(--brown-100);
    border-radius: 12px;
    cursor: pointer;
    place-items: center;
    font-size: 20px;
    color: var(--brown-700);
}

/* ---------- Hero ---------- */
.mf-hero {
    position: relative;
    padding: 90px 0 110px;
    overflow: hidden;
    background:
        radial-gradient(900px 500px at 88% -10%, rgba(0,187,172,.14), transparent 60%),
        radial-gradient(800px 480px at 4% 110%, rgba(218,182,130,.35), transparent 55%),
        linear-gradient(180deg, var(--gold-200), var(--cream) 62%);
}
.mf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--brown-300) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .18;
    pointer-events: none;
}
.mf-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: center;
}
.mf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-100);
    color: var(--teal-600);
    font-weight: 700;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.mf-hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}
.mf-hero h1 .accent {
    color: var(--brown-600);
    position: relative;
    display: inline-block;
}
.mf-hero h1 .accent::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 12px;
    background: linear-gradient(90deg, transparent, rgba(0,187,172,.35), transparent);
    z-index: -1;
    border-radius: 4px;
}
.mf-hero p.lead {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 560px;
    margin-bottom: 32px;
}
.mf-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.mf-stats {
    display: flex;
    gap: 38px;
    flex-wrap: wrap;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}
.mf-stat b { font-size: 30px; font-weight: 800; color: var(--brown-700); display: block; }
.mf-stat span { color: var(--ink-soft); font-size: 14px; font-weight: 600; }

/* البطاقة المميزة */
.mf-hero-card {
    position: relative;
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gold-300);
    transform: rotate(1.5deg);
}
.mf-hero-card::before {
    content: "";
    position: absolute;
    top: -18px; right: 28px;
    width: 64px; height: 64px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%2300BBAC' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3Cpath d='M9 7h7'/%3E%3Cpath d='M9 11h5'/%3E%3C/svg%3E") center/cover no-repeat;
    background-color: var(--paper);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 8px;
}
.mf-hero-card .tag {
    display: inline-block;
    background: var(--teal-100);
    color: var(--teal-600);
    font-weight: 700;
    font-size: 12.5px;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.mf-hero-card h3 { font-size: 21px; margin-bottom: 10px; color: var(--brown-800); }
.mf-hero-card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 22px; }
.mf-card-list { list-style: none; display: grid; gap: 12px; }
.mf-card-list li { display: flex; gap: 12px; align-items: center; color: var(--ink); font-weight: 600; font-size: 15px; }
.mf-card-list .dot {
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--gold-200);
    color: var(--brown-600);
    display: grid; place-items: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* ---------- شريط الأخبار ---------- */
.mf-ticker {
    background: linear-gradient(110deg, var(--brown-700), var(--brown-800));
    width: 100%;
    border-radius: 0;
    margin: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    color: #fff;
}
.mf-ticker-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 8px 20px;
    max-width: 1160px;
    margin-inline: auto;
    width: 100%;
}
.mf-ticker-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-500);
    padding: 5px 18px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--brown-900);
    white-space: nowrap;
}
.mf-ticker-slider-wrapper {
    flex: 1;
    min-width: 160px;
    margin: 0 15px;
}
.mf-ticker-slide {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    gap: 10px;
}
.mf-ticker-slide a { color: #fff; }
.mf-ticker-slide a:hover { color: var(--gold-400); }
.mf-ticker-controls {
    display: flex;
    gap: 8px;
}
.mf-ticker-btn {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: 0.2s;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mf-ticker-btn:hover {
    background: var(--gold-500);
    color: var(--brown-900);
}
@media (max-width: 768px) {
    .mf-ticker-inner { padding: 6px 12px; }
    .mf-ticker-slide { font-size: 0.7rem; }
    .mf-ticker-btn { width: 28px; height: 28px; }
    .mf-ticker-label span { display: none; }
    .mf-ticker-label { padding: 5px 12px; }
}

/* ---------- الأقسام العامة ---------- */
.mf-section { padding: 92px 0; }
.mf-section.alt { background: var(--paper); border-block: 1px solid var(--line); }
.mf-head {
    max-width: 640px;
    margin: 0 auto 56px;
    text-align: center;
}
.mf-head .eyebrow {
    color: var(--teal-600);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}
.mf-head h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 14px; color: var(--brown-800); }
.mf-head p { color: var(--ink-soft); font-size: 16.5px; }

/* ---------- البطاقات ---------- */
.mf-grid { display: grid; gap: 26px; }
.mf-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mf-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mf-feature {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.mf-feature::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--teal-500));
    opacity: 0;
    transition: opacity .3s;
}
.mf-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.mf-feature:hover::after { opacity: 1; }
.mf-feature .icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: grid; place-items: center;
    font-size: 26px;
    margin-bottom: 20px;
    color: #fff;
}
.mf-feature .icon.b1 { background: var(--brown-600); }
.mf-feature .icon.b2 { background: var(--gold-500); color: var(--brown-900); }
.mf-feature .icon.b3 { background: var(--teal-500); }
.mf-feature h3 { font-size: 19px; margin-bottom: 10px; color: var(--brown-800); }
.mf-feature p { color: var(--ink-soft); font-size: 15px; }

/* ---------- من نحن ---------- */
.mf-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.mf-about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    background: linear-gradient(150deg, var(--brown-600), var(--brown-800));
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-lg);
}
.mf-about-visual .big-letter {
    font-size: 150px;
    font-weight: 800;
    color: rgba(218,182,130,.25);
    line-height: 1;
}
.mf-about-visual .chip {
    position: absolute;
    background: var(--teal-500);
    color: #fff;
    font-weight: 800;
    padding: 14px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
}
.mf-about-visual .chip.c1 { bottom: 28px; right: 28px; transform: rotate(-3deg); }
.mf-about-visual .chip.c2 { top: 28px; left: 28px; background: var(--gold-500); color: var(--brown-900); transform: rotate(3deg); }
.mf-about-body h2 { font-size: clamp(26px, 3vw, 36px); color: var(--brown-800); margin-bottom: 20px; }
.mf-about-body .content { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 28px; }
.mf-about-body .content p { margin-bottom: 14px; }
.mf-about-tick { list-style: none; display: grid; gap: 12px; margin-bottom: 30px; }
.mf-about-tick li { display: flex; gap: 12px; align-items: center; font-weight: 700; color: var(--ink); }
.mf-about-tick li .tick {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--teal-100);
    color: var(--teal-600);
    display: grid; place-items: center;
    font-size: 13px;
    flex-shrink: 0;
}

/* ---------- من نحن (مثل منصة sultan) ---------- */
.mf-about-sec {
    background: linear-gradient(160deg, #faf7f2 0%, #fff 60%, #f6ead6 100%);
    position: relative;
    overflow: hidden;
}
.mf-about-sec::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,187,172,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.mf-about-row {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
}
.about-img-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}
.about-main-img {
    width: 100%;
    border-radius: 32px;
    object-fit: cover;
    max-height: 420px;
    box-shadow: 0 30px 60px rgba(118,84,69,0.18), 0 8px 20px rgba(0,0,0,0.08);
    display: block;
    transition: transform 0.4s ease;
}
.about-img-wrapper:hover .about-main-img { transform: scale(1.02); }
.about-badge {
    position: absolute;
    bottom: -18px;
    right: 28px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--brown-900);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(218,182,130,0.35);
}
.about-content { padding-right: 10px; }
.about-tag {
    display: inline-block;
    background: rgba(0,187,172,0.1);
    color: var(--teal-600);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}
.about-title {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brown-600), var(--gold-500));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0;
    line-height: 1.2;
}
.about-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
    border-radius: 4px;
    margin: 14px 0 20px;
}
.about-text {
    font-size: 1.05rem;
    line-height: 2;
    color: #5f4e41;
    margin-bottom: 28px;
}
@media (max-width: 768px) {
    .mf-about-row { grid-template-columns: 1fr; gap: 40px; }
    .about-title { font-size: 2rem; }
    .about-content { padding-right: 0; }
}

/* ---------- تواصل ---------- */
.mf-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mf-contact-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    text-align: center;
    transition: all .3s;
}
.mf-contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-300); }
.mf-contact-card .icon {
    width: 58px; height: 58px;
    border-radius: 18px;
    margin: 0 auto 16px;
    display: grid; place-items: center;
    font-size: 24px;
    color: #fff;
}
.mf-contact-card h3 { font-size: 17px; color: var(--brown-800); margin-bottom: 6px; }
.mf-contact-card a, .mf-contact-card p { color: var(--ink-soft); font-size: 15px; word-break: break-word; }
.mf-contact-card a:hover { color: var(--teal-600); }

/* ---------- CTA ---------- */
.mf-cta {
    background: linear-gradient(135deg, var(--brown-700), var(--brown-800));
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.mf-cta::before {
    content: "";
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: rgba(0,187,172,.16);
    top: -120px; left: -80px;
}
.mf-cta::after {
    content: "";
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(218,182,130,.18);
    bottom: -100px; right: -60px;
}
.mf-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; position: relative; }
.mf-cta p { color: rgba(255,255,255,.85); margin-bottom: 28px; position: relative; font-size: 16.5px; }
.mf-cta .btn { position: relative; }

/* ---------- الفوتر ---------- */
.mf-footer { background: var(--brown-900); color: var(--brown-300); padding-top: 64px; }
.mf-footer-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 40px; }
.mf-footer h4 { color: var(--gold-400); margin-bottom: 18px; font-size: 16px; }
.mf-footer .brand-desc { color: var(--brown-300); font-size: 14.5px; max-width: 320px; }
.mf-footer-links { list-style: none; display: grid; gap: 10px; }
.mf-footer-links a { color: var(--brown-300); font-size: 14.5px; transition: color .2s; }
.mf-footer-links a:hover { color: var(--gold-400); }
.mf-footer-social { display: flex; gap: 12px; margin-top: 20px; }
.mf-footer-social a {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    display: grid; place-items: center;
    color: var(--gold-400);
    transition: all .25s;
    font-size: 17px;
}
.mf-footer-social a:hover { background: var(--teal-500); color: #fff; transform: translateY(-3px); }
.mf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    text-align: center;
    font-size: 13.5px;
    color: var(--brown-500);
}

/* ---------- صفحات داخلية ---------- */
.mf-page-hero {
    background: linear-gradient(150deg, var(--gold-200), var(--cream));
    padding: 22px 0 30px;
    position: relative;
    overflow: hidden;
}
.mf-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--brown-300) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .15;
}
.mf-page-hero h1 { font-size: clamp(24px, 3vw, 34px); color: var(--brown-800); position: relative; }
.mf-page-hero .crumb { color: var(--ink-soft); font-weight: 600; font-size: 14px; margin-bottom: 14px; position: relative; }
.mf-page-hero .crumb a:hover { color: var(--teal-600); }
.mf-page-body { padding: 70px 0 90px; }
.mf-content-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}
.mf-content-card .rich-content { color: var(--ink-soft); font-size: 16.5px; }
.mf-content-card .rich-content p { margin-bottom: 16px; }
.mf-content-card .rich-content h1, .mf-content-card .rich-content h2,
.mf-content-card .rich-content h3, .mf-content-card .rich-content h4 { color: var(--brown-800); margin: 24px 0 12px; }
.mf-content-card .rich-content img { border-radius: var(--radius-md); margin: 18px 0; }
.mf-content-card .rich-content ul, .mf-content-card .rich-content ol { padding-inline-start: 22px; margin-bottom: 16px; }

/* ---------- آخر الأخبار في الرئيسية ---------- */
.mf-home-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.mf-home-news-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.mf-home-news-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-300); transform: translateY(-5px); }
.mf-home-news-cover { position: relative; width: 100%; height: 190px; overflow: hidden; background: var(--brown-100); }
.mf-home-news-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.mf-home-news-card:hover .mf-home-news-cover img { transform: scale(1.06); }
.mf-home-news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mf-home-news-date { color: var(--teal-600); font-size: 13px; font-weight: 700; }
.mf-home-news-body h3 { font-size: 18px; color: var(--brown-800); line-height: 1.6; }
.mf-home-news-card:hover .mf-home-news-body h3 { color: var(--teal-600); }
.mf-news-all-btn { text-align: center; margin-top: 36px; }

/* ---------- إغلاق المنصة ---------- */
.mf-closure-banner {
    background: linear-gradient(90deg, var(--brown-800), var(--brown-600));
    color: var(--gold-300);
    text-align: center;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.mf-closure-banner i { font-size: 18px; }
.mf-closure-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    padding: 60px 36px;
    max-width: 520px;
    margin: 0 auto;
}
.mf-closure-icon {
    width: 72px; height: 72px;
    margin: 0 auto 22px;
    border-radius: 20px;
    background: var(--gold-200);
    color: var(--brown-600);
    display: grid; place-items: center;
    font-size: 32px;
}
.mf-closure-card h2 { font-size: 26px; color: var(--brown-800); margin-bottom: 12px; }
.mf-closure-card p { color: var(--ink-soft); font-size: 16px; margin-bottom: 26px; line-height: 1.9; }

/* ---------- البنر السلايدر ---------- */
.mf-hero-slider {
    position: relative;
    background: var(--brown-900);
}
.mf-hero-slider .swiper {
    height: min(620px, 78vh);
    width: 100%;
    overflow: hidden;
}
.mf-hero-slider .swiper-wrapper { height: 100%; }
.mf-hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}
.mf-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 6s ease;
}
.mf-hero-slider .swiper-slide-active .mf-slide-bg { transform: scale(1); }
.mf-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(38,20,12,.82) 0%, rgba(61,36,25,.55) 45%, rgba(61,36,25,.18) 100%);
}
.mf-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1160px;
    margin-inline: auto;
    width: 92%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    padding: 40px 0;
}
.mf-slide-content h1 {
    font-size: clamp(32px, 5.2vw, 58px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
    letter-spacing: -.5px;
    max-width: 640px;
    text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
.mf-slide-content p {
    font-size: 18px;
    color: rgba(255,255,255,.9);
    max-width: 520px;
    margin-bottom: 32px;
}
.mf-slide-content .mf-hero-cta { margin-bottom: 0; }
.btn-glass {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 2px solid rgba(255,255,255,.35);
    backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }

/* أسهم السلايدر */
.mf-slide-nav {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}
/* أزرار التنقل المخصصة */
.mf-arrow {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
    z-index: 6;
}
.mf-arrow:hover {
    background: var(--teal-500);
    border-color: var(--teal-500);
}
.mf-arrow-next { right: 28px; }
.mf-arrow-prev { left: 28px; }
@media (max-width: 720px) {
    .mf-arrow { display: none; }
}

/* مؤشرات السلايدر */
.mf-slide-pagination {
    position: absolute;
    bottom: 34px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.mf-slide-pagination .swiper-pagination {
    pointer-events: auto;
    position: static;
    display: flex;
    gap: 8px;
    width: auto;
}
.mf-slide-pagination .swiper-pagination-bullet {
    width: 26px;
    height: 6px;
    border-radius: 4px;
    background: rgba(255,255,255,.4);
    opacity: 1;
    transition: all .3s;
    margin: 0 !important;
}
.mf-slide-pagination .swiper-pagination-bullet-active {
    width: 46px;
    background: var(--gold-500);
}

/* إحصائيات عائمة فوق السلايدر */
.mf-hero-stats {
    position: relative;
    z-index: 6;
    margin-top: -58px;
    margin-bottom: 10px;
    background: var(--paper);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gold-300);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 18px;
    padding: 26px 32px;
}
.mf-hero-stats .mf-stat { text-align: center; }
.mf-hero-stats .mf-stat b { font-size: 30px; color: var(--brown-700); }

@media (max-width: 992px) {
    .mf-hero-slider .swiper { height: min(520px, 70vh); }
    .mf-arrow-next { right: 12px; }
    .mf-arrow-prev { left: 12px; }
}
@media (max-width: 720px) {
    .mf-hero-slider .swiper { height: 42vh; min-height: 320px; }
    .mf-slide-bg { background-size: cover; background-repeat: no-repeat; }
    .mf-slide-content h1 { font-size: 26px; margin-bottom: 12px; }
    .mf-slide-content p { font-size: 14.5px; margin-bottom: 20px; }
    .mf-slide-tag { font-size: 12px; padding: 6px 12px; margin-bottom: 14px; }
    .mf-slide-content { padding: 24px 0; }
    .mf-slide-content .btn { padding: 11px 20px; font-size: 14px; }
    .mf-arrow { display: none; }
    .mf-slide-pagination { bottom: 20px; }
    .mf-hero-stats { margin-top: -44px; padding: 20px 16px; gap: 12px; }
}
@media (max-width: 480px) {
    .mf-hero-slider .swiper { height: 36vh; min-height: 260px; }
}

/* ---------- أنيميشن دخول ---------- */
@keyframes mfFadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
.mf-reveal { opacity: 0; }
.mf-reveal.in { animation: mfFadeUp .5s cubic-bezier(.22,1,.36,1) forwards; }

/* تدرج خفيف داخل نفس الصف فقط (بدون تأخير متراكم على الصفحة) */
.mf-grid > .mf-reveal:nth-child(2) { animation-delay: .06s; }
.mf-grid > .mf-reveal:nth-child(3) { animation-delay: .12s; }
.mf-grid > .mf-reveal:nth-child(4) { animation-delay: .18s; }
.mf-contact-grid > .mf-reveal:nth-child(2) { animation-delay: .06s; }
.mf-contact-grid > .mf-reveal:nth-child(3) { animation-delay: .12s; }
.mf-about > .mf-reveal:nth-child(2) { animation-delay: .1s; }

/* ---------- استجابة ---------- */
@media (max-width: 992px) {
    html, body { overflow-x: clip; }
    .mf-hero-inner { grid-template-columns: 1fr; }
    .mf-hero-card { transform: none; }
    .mf-grid.cols-3, .mf-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .mf-about { grid-template-columns: 1fr; }
    .mf-contact-grid { grid-template-columns: repeat(2, 1fr); }
    .mf-footer-top { grid-template-columns: 1fr 1fr; }
    .mf-home-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    html, body { overflow-x: clip; }
    .mf-home-news-grid { grid-template-columns: 1fr; }
    .mf-burger {
        display: grid;
        z-index: 70;
        margin-inline-start: auto;
    }
    .mf-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(250,247,242,.99);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 4px;
        z-index: 65;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
        padding: 14px 16px 20px;
        overflow-y: auto;
        max-height: calc(100vh - 90px);
        box-shadow: 0 12px 30px rgba(0,0,0,.12);
        border-bottom: 1px solid var(--line);
    }
    .mf-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .mf-menu li { width: 100%; text-align: center; margin-bottom: 6px; }
    .mf-menu a.mf-link {
        font-size: 16px;
        padding: 14px 16px;
        width: 100%;
        text-align: center;
        display: block;
        border-radius: 10px;
        position: relative;
        z-index: 1;
    }
    .mf-menu a.mf-link:hover,
    .mf-menu a.mf-link.active {
        background: var(--brown-100);
        box-shadow: none;
    }
    .mf-login-btn {
        display: none;
    }
    .mf-menu .mf-login-btn {
        margin-inline-start: 0;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
    .mf-grid.cols-3, .mf-grid.cols-4 { grid-template-columns: 1fr; }
    .mf-contact-grid { grid-template-columns: 1fr; }
    .mf-footer-top { grid-template-columns: 1fr; }
    .mf-hero { padding: 56px 0 70px; }
    .mf-stats { gap: 22px; }
    .mf-hero-stats { flex-direction: column; align-items: center; }
    .mf-section { padding: 60px 0; }
    .mf-cta { padding: 44px 24px; }
    .mf-content-card { padding: 28px 20px; }
}
@media (max-width: 480px) {
    .mf-brand { font-size: 17px; }
.mf-brand-logo { width: 114px; height: 114px; }
.mf-nav { height: 64px; }
    .mf-hero { padding: 44px 0 56px; }
    .mf-grid.cols-3, .mf-grid.cols-4 { grid-template-columns: 1fr; }
    .mf-contact-grid { grid-template-columns: 1fr; }
    .mf-about-visual { min-height: 280px; }
    .mf-about-visual .big-letter { font-size: 100px; }
    .mf-hero-cta .btn { padding: 12px 18px; font-size: 14px; }
}
