/* ============================================================
 * Golden CMS — أنماط الواجهة
 * ------------------------------------------------------------
 * كان هذا الملف مضمّناً داخل includes/header.php (38 كيلوبايت
 * تُعاد مع كل صفحة). فُصل ليُخزَّن في المتصفح مرة واحدة.
 *
 * القيم المتغيّرة (ألوان الثيم، الخط، مقاس الشعار) تبقى في
 * كتلة :root صغيرة داخل الصفحة لأنها تأتي من قاعدة البيانات.
 * ============================================================ */

:root {
      --bg-darkblue: #16213e;
      --text-light: #ffffff;
      --text-muted: rgba(255,255,255,0.7);
      --text-dark: #1a1a2e;
      --text-dark-muted: #666;
      --bg-light: #f8f9fa;
      --border-color: #e8e8e8;
      --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
      --gradient-dark: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 50%, var(--bg-darkblue) 100%);
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
      --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
      --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
      --shadow-gold: 0 8px 32px rgba(var(--gold-rgb), 0.3);
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
    body { font-family: var(--font-main), 'Poppins', 'Cairo', sans-serif; line-height: 1.6; color: var(--text-dark); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; }
    body.lang-en { font-family: 'Poppins', 'Cairo', sans-serif; }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); }
    button { cursor: pointer; font-family: inherit; border: none; background: none; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

    /* Scroll progress */
    .scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--gradient-gold); z-index: 2000; transition: width 0.08s linear; box-shadow: 0 0 8px rgba(var(--gold-rgb), 0.6); }

    /* Announcement */
    .announcement-bar { background: var(--bg-dark); color: var(--s-fg, var(--text-light)); padding: 10px 0; text-align: center; font-size: 14px; position: relative; overflow: hidden; border-bottom: 1px solid rgba(var(--gold-rgb), 0.2); }
    .announcement-bar .ticker { display: flex; align-items: center; justify-content: center; gap: 12px; animation: slideIn 0.6s ease; }
    .announcement-bar .pulse-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
    .announcement-bar .announcement-icon { color: var(--gold); font-size: 16px; }
    .announcement-bar strong { color: var(--gold); font-weight: 700; }
    @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.7); } 70% { box-shadow: 0 0 0 12px rgba(var(--gold-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0); } }
    @keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

    /* Navbar */
    .navbar { position: sticky; top: 0; z-index: 1000; background: rgba(10,10,10,0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(var(--gold-rgb), 0.25); transition: all 0.3s ease; }
    .navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.4); background: rgba(10,10,10,0.98); }
    .nav-container { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width:1400px; margin: 0 auto; gap: 16px; }
    .logo { display: flex; align-items: center; gap: 12px; color: var(--s-fg, var(--text-light)); }
    .logo-img { width: var(--logo-w); height: var(--logo-h); flex-shrink: 0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.4); }
    .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
    .logo-text .logo-name { font-size: 18px; font-weight: 800; color: var(--s-fg, var(--text-light)); letter-spacing: 0.5px; }
    .logo-text .logo-tagline { font-size: 10px; color: var(--s-accent, var(--gold-light)); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
    [dir="ltr"] .logo-text .logo-tagline { font-size: 9px; }
    .logo.hide-text .logo-text { display: none; }
    .nav-menu { display: flex; list-style: none; gap: 4px; align-items: center; flex: 1; justify-content: center; }
    .nav-menu a { display: block; padding: 8px 14px; color: var(--s-fg, var(--text-light)); font-size: 14px; font-weight: 600; border-radius: 8px; transition: all 0.3s ease; position: relative; white-space: nowrap; }
    .nav-menu a:hover, .nav-menu a.active { color: var(--s-accent, var(--gold-light)); background: rgba(var(--gold-rgb), 0.12); }
    .nav-actions { display: flex; align-items: center; gap: 12px; }
    .lang-toggle { display: flex; background: var(--s-surface, rgba(255,255,255,0.05)); border-radius: 50px; padding: 4px; gap: 2px; border: 1px solid rgba(var(--gold-rgb), 0.2); }
    .lang-toggle button { padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--s-muted, var(--text-muted)); transition: all 0.3s ease; }
    .lang-toggle button.active { background: var(--gradient-gold); color: var(--btn-text, #fff); }
    .currency-toggle select { padding: 6px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; cursor: pointer; background: rgba(var(--gold-rgb),0.15); color: var(--s-fg, #fff); border: 1px solid rgba(var(--gold-rgb),0.4); outline: none; -webkit-appearance: auto; appearance: auto; }
    .currency-toggle select option { background: #1a1a2e; color: #fff; }
    .nav-cta { background: var(--gradient-gold); color: var(--btn-text, #fff); padding: 10px 22px; border-radius: 50px; font-weight: 700; font-size: 14px; transition: all 0.3s ease; box-shadow: var(--shadow-gold); white-space: nowrap; }
    .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--gold-rgb), 0.5); }
    .mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
    .mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--s-fg, var(--text-light)); transition: all 0.3s ease; }

    /* Section background animation */
    .section-anim-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
    .section-anim-bg .orb { position: absolute; border-radius: 50%; filter: blur(50px); }
    .section-anim-bg .orb-1 { width: 320px; height: 320px; background: var(--gold); top: -80px; inset-inline-start: -60px; opacity: 0.18; animation: orbFloat1 14s infinite ease-in-out; }
    .section-anim-bg .orb-2 { width: 260px; height: 260px; background: var(--gold-light); bottom: -60px; inset-inline-end: -40px; opacity: 0.15; animation: orbFloat2 18s infinite ease-in-out; }
    .section-anim-bg .orb-3 { width: 200px; height: 200px; background: var(--gold); top: 40%; inset-inline-end: 20%; opacity: 0.12; animation: orbFloat3 22s infinite ease-in-out; }
    @keyframes orbFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,40px) scale(1.15); } }
    @keyframes orbFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,-30px) scale(1.1); } }
    @keyframes orbFloat3 { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-40px,30px) scale(1.2); } 66% { transform: translate(30px,-20px) scale(0.9); } }
    .section-anim-bg .shimmer { position: absolute; top: 0; inset-inline-start: -100%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent 30%, rgba(var(--gold-rgb),0.06) 50%, transparent 70%); transform: skewX(-15deg); animation: shimmerSweep 12s infinite ease-in-out; }
    @keyframes shimmerSweep { 0% { inset-inline-start: -100%; } 50% { inset-inline-start: 130%; } 100% { inset-inline-start: 130%; } }
    .section-anim-bg .star { position: absolute; background: var(--gold); border-radius: 50%; opacity: 0.5; animation: starFloat 8s infinite ease-in-out; box-shadow: 0 0 6px rgba(var(--gold-rgb),0.6); }
    .light-section .section-anim-bg .star { opacity: 0.35; }
    @keyframes starFloat { 0%,100% { transform: translateY(0) translateX(0); opacity: 0.5; } 50% { transform: translateY(-25px) translateX(15px); opacity: 0.9; } }
    @media (prefers-reduced-motion: reduce) { .section-anim-bg { display: none; } }

    /* Hero */
    .hero { position: relative; min-height: 90vh; display: flex; align-items: center; background: var(--gradient-dark); color: var(--text-light); overflow: hidden; padding: 80px 0 60px; }
    .hero-bg-image { position: absolute; inset: -40px 0; background-size: cover; background-position: center; opacity: 0.55; filter: saturate(0.9); will-change: transform; }
    .hero-bg-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,10,0.6) 0%, rgba(20,20,20,0.45) 100%); }
    .hero-particles { position: absolute; inset: 0; pointer-events: none; }
    .hero-particles .particle { position: absolute; background: var(--gold); border-radius: 50%; opacity: 0.3; animation: float 6s infinite ease-in-out; }
    @keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-20px) translateX(10px); } }
    .hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; padding: 40px 24px; }
    .hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(var(--gold-rgb), 0.15); border: 1px solid rgba(var(--gold-rgb), 0.3); color: var(--gold-light); padding: 8px 18px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 24px; backdrop-filter: blur(10px); }
    .hero-badge .badge-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; animation: pulse 2s infinite; }
    .hero-logo-img { width: 110px; height: 110px; margin: 0 auto 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.35), 0 12px 40px rgba(var(--gold-rgb), 0.35); animation: heroLogoFloat 4s ease-in-out infinite; }
    @keyframes heroLogoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    .hero-logo-fallback { width: 100px; height: 100px; margin: 0 auto 24px; filter: drop-shadow(0 8px 24px rgba(var(--gold-rgb), 0.4)); }
    .hero-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.2; margin-bottom: 18px; letter-spacing: -0.5px; }
    .hero-title .gradient-text { background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
    .hero-typewriter { display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 700; margin-bottom: 20px; min-height: 2.2em; }
    .hero-typewriter .tw-prefix { color: var(--text-muted); font-weight: 500; }
    .hero-typewriter .tw-word { color: var(--gold-light); }
    .hero-typewriter .tw-caret { display: inline-block; width: 2px; height: 1.1em; background: var(--gold); vertical-align: text-bottom; animation: caretBlink 0.8s step-end infinite; }
    @keyframes caretBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
    .hero-subtitle { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-muted); max-width: 760px; margin: 0 auto 36px; line-height: 1.7; }
    .hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
    .btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-weight: 700; font-size: 15px; transition: all 0.3s ease; cursor: pointer; border: none; }
    .btn-primary { background: var(--gradient-gold); color: var(--btn-text, #fff); box-shadow: var(--shadow-gold); }
    .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(var(--gold-rgb), 0.5); }
    .btn-outline { background: transparent; color: var(--text-light); border: 2px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); }
    .btn-outline:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(var(--gold-rgb), 0.1); }
    .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 700px; margin: 0 auto; padding-top: 40px; border-top: 1px solid rgba(var(--gold-rgb), 0.2); }
    .stat-item { text-align: center; }
    .stat-number { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; background: var(--gradient-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 6px; }
    .stat-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }

    /* Sections common */
    section { padding: 100px 0; position: relative; }
    .section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
    .section-badge { display: inline-block; background: rgba(var(--gold-rgb), 0.1); color: var(--gold); padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 700; margin-bottom: 16px; border: 1px solid rgba(var(--gold-rgb), 0.2); }
    .section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--text-dark); margin-bottom: 16px; line-height: 1.2; }
    .section-title span { color: var(--gold); }
    .section-desc { font-size: 1.05rem; color: var(--text-dark-muted); line-height: 1.7; }
    .light-section { background: var(--bg-light); }
    .dark-section { background: var(--gradient-dark); color: var(--text-light); }
    .dark-section .section-title { color: var(--text-light); }
    .dark-section .section-desc { color: var(--text-muted); }

    /* Services */
    .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
    .service-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s ease; border: 1px solid var(--border-color); }
    .service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
    .service-card-image { height: 210px; background-size: cover; background-position: center; position: relative; overflow: hidden; transition: transform 0.5s ease; }
    .service-card:hover .service-card-image { transform: scale(1.05); }
    .service-card-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,10,10,0.45) 0%, rgba(var(--gold-rgb), 0.25) 100%); transition: all 0.3s ease; z-index: 1; }
    .service-card:hover .service-card-image::before { background: linear-gradient(135deg, rgba(10,10,10,0.2) 0%, rgba(var(--gold-rgb), 0.45) 100%); }
    .service-card-image .icon-badge { position: absolute; top: 16px; inset-inline-end: 16px; width: 50px; height: 50px; background: rgba(255,255,255,0.95); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 2; }
    .service-card-body { padding: 28px 24px; }
    .service-title { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
    .service-desc { font-size: 14px; color: var(--text-dark-muted); line-height: 1.7; }

    /* Package product cards */
    .products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
    .products-grid.pslider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px; padding-bottom: 12px; scrollbar-width: none; }
    .products-grid.pslider::-webkit-scrollbar { display: none; }
    .products-grid.pslider .product-card { flex: 0 0 320px; scroll-snap-align: start; }
    .hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #d4af37, #f4d03f); color: #0a0a0a; border: 2px solid #fff3c4; font-size: 24px; font-weight: 900; line-height: 1; cursor: pointer; transition: all .2s; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
    .hs-arrow:hover { transform: translateY(-50%) scale(1.12); }
    .hs-start { inset-inline-start: 0; }
    .hs-end { inset-inline-end: 0; }
    .product-card { background: #fff; border-radius: 20px; border: 1px solid var(--border-color); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; position: relative; }
    .product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
    .product-card-media { position: relative; height: 200px; background: #f4f6f4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
    .product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .product-card:hover .product-card-media img { transform: scale(1.08); }
    .product-card-media::after { content: ''; position: absolute; top: 0; inset-inline-start: -80%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%); transform: skewX(-18deg); transition: inset-inline-start 0.7s ease; pointer-events: none; }
    .product-card:hover .product-card-media::after { inset-inline-start: 130%; }
    .product-model { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--gradient-gold); color: #fff; font-weight: 800; font-size: 12px; padding: 6px 16px; border-radius: 50px; letter-spacing: 0.5px; box-shadow: var(--shadow-gold); z-index: 2; }
    .product-card-body { padding: 22px 22px 24px; }
    .product-title { font-size: 1.2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; line-height: 1.3; }
    .product-short-desc { font-size: 13px; color: var(--text-dark-muted); line-height: 1.6; margin-bottom: 14px; min-height: 42px; }
    .product-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 16px; padding: 12px 14px; background: rgba(var(--gold-rgb), 0.08); border: 1px solid rgba(var(--gold-rgb), 0.18); border-radius: 10px; }
    .price-value { font-size: 1.6rem; font-weight: 800; color: var(--gold); line-height: 1; }
    .price-period { font-size: 13px; color: var(--text-dark-muted); font-weight: 600; }
    .product-actions { display: flex; gap: 8px; align-items: stretch; }
    .btn-details { flex: 1; text-align: center; background: var(--gradient-gold); color: var(--btn-text, #fff); font-weight: 700; font-size: 14px; padding: 11px 16px; border-radius: 10px; transition: all 0.3s ease; }
    .btn-details:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.4); }
    .btn-whatsapp, .btn-email { width: 44px; display: flex; align-items: center; justify-content: center; font-size: 18px; border-radius: 10px; font-weight: 700; transition: all 0.3s ease; flex-shrink: 0; }
    .btn-whatsapp { background: #25d366; color: #fff; }
    .btn-whatsapp:hover { background: #128c7e; transform: translateY(-2px); }
    .btn-email { background: rgba(var(--gold-rgb), 0.1); color: var(--gold); border: 1px solid rgba(var(--gold-rgb), 0.3); }
    .btn-email:hover { background: rgba(var(--gold-rgb), 0.2); transform: translateY(-2px); }

    /* Package modal (rich text) */
    .modal-overlay { position: fixed; inset: 0; background: rgba(10,10,10,0.75); backdrop-filter: blur(6px); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 24px; }
    .modal-overlay.show { display: flex; animation: slideIn 0.25s ease; }
    .modal-box { background: #fff; border-radius: 20px; max-width: 680px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 0; position: relative; }
    .modal-box .modal-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.9); font-size: 20px; z-index: 2; box-shadow: var(--shadow-sm); }
    .modal-media { background: #f4f6f4; display: flex; align-items: center; justify-content: center; border-radius: 20px 20px 0 0; overflow: hidden; }
    .modal-media img { width: 100%; height: auto; max-height: 400px; object-fit: contain; display: block; }
    .modal-body { padding: 26px 28px 30px; }
    .modal-body h3 { font-size: 1.5rem; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
    .modal-price { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
    .modal-desc { color: var(--text-dark); font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
    .modal-desc h3 { font-size: 1.15rem; font-weight: 700; color: var(--gold); margin: 18px 0 10px; }
    .modal-desc h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin: 14px 0 8px; }
    .modal-desc p { margin-bottom: 12px; }
    .modal-desc ul, .modal-desc ol { margin: 0 0 12px; padding-inline-start: 22px; }
    .modal-desc li { margin-bottom: 6px; }
    .modal-desc strong { color: var(--text-dark); font-weight: 700; }
    .modal-order-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--border-color); }
    .btn-whatsapp-modal, .btn-email-modal { flex: 1; min-width: 180px; text-align: center; padding: 13px 20px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: all 0.3s ease; }
    .btn-whatsapp-modal { background: #25d366; color: #fff; }
    .btn-whatsapp-modal:hover { background: #128c7e; transform: translateY(-2px); }
    .btn-email-modal { background: var(--gradient-gold); color: var(--btn-text, #fff); }
    .btn-email-modal:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.4); }

    /* About */
    .about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .about-text h3 { font-size: 1.6rem; font-weight: 700; color: var(--text-light); margin-bottom: 20px; line-height: 1.4; }
    .about-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; font-size: 15px; }
    .light-section .about-text h3 { color: var(--text-dark); }
    .light-section .about-text p { color: var(--text-dark-muted); }
    .about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; }
    .about-feature { display: flex; gap: 12px; align-items: flex-start; }
    .about-feature-icon { width: 44px; height: 44px; background: rgba(var(--gold-rgb), 0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
    .about-feature-text strong { display: block; color: var(--gold-light); font-weight: 700; margin-bottom: 4px; font-size: 15px; }
    .about-feature-text span { color: var(--text-muted); font-size: 13px; }
    .light-section .about-feature-text strong { color: var(--gold); }
    .light-section .about-feature-text span { color: var(--text-dark-muted); }
    .about-image { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-lg); }
    .about-image-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 6s ease; }
    .about-image:hover .about-image-bg { transform: scale(1.06); }
    .about-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.3) 0%, rgba(10,10,10,0.35) 100%); }
    .about-image-overlay { position: absolute; bottom: 30px; left: 30px; right: 30px; z-index: 2; background: rgba(10,10,10,0.85); backdrop-filter: blur(10px); padding: 20px 24px; border-radius: 12px; border: 1px solid rgba(var(--gold-rgb), 0.3); }
    .about-image-overlay h4 { color: var(--gold-light); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
    .about-image-overlay p { color: var(--text-light); font-size: 13px; margin: 0; }

    /* Portfolio */
    .portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
    .portfolio-card { position: relative; border-radius: 20px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); transition: all 0.3s ease; background: var(--bg-darker); }
    .portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
    .portfolio-card-image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: all 0.5s ease; }
    .portfolio-card:hover .portfolio-card-image { transform: scale(1.1); }
    .portfolio-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10,10,10,0.95) 100%); }
    .portfolio-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px; z-index: 2; color: var(--text-light); }
    .portfolio-tag { display: inline-block; background: var(--gradient-gold); color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; margin-bottom: 12px; }
    .portfolio-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
    .portfolio-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
    .portfolio-card-icon { position: absolute; top: 20px; inset-inline-end: 20px; width: 44px; height: 44px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 2; color: var(--text-light); transition: all 0.3s ease; font-size: 18px; }
    .portfolio-card:hover .portfolio-card-icon { background: var(--gradient-gold); color: #fff; transform: rotate(45deg); }

    /* Testimonials */
    .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
    .testimonial-card { background: #fff; border-radius: 20px; padding: 36px 32px; box-shadow: var(--shadow-sm); transition: all 0.3s ease; position: relative; border: 1px solid var(--border-color); }
    .testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
    .testimonial-quote { position: absolute; top: -16px; inset-inline-start: 24px; width: 48px; height: 48px; background: var(--gradient-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; font-weight: 700; font-family: serif; }
    .testimonial-stars { color: var(--gold); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
    .testimonial-text { font-size: 15px; line-height: 1.8; color: var(--text-dark); margin-bottom: 24px; min-height: 130px; }
    .testimonial-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--border-color); }
    .testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--gradient-gold); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 18px; }
    .testimonial-info h4 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
    .testimonial-info p { font-size: 13px; color: var(--text-dark-muted); }

    /* Contact */
    .contact-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
    .contact-info-list { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
    .contact-item { display: flex; gap: 18px; align-items: flex-start; padding: 20px; background: var(--s-surface, rgba(255,255,255,0.05)); border: 1px solid rgba(var(--gold-rgb), 0.15); border-radius: 12px; transition: all 0.3s ease; color: var(--s-fg, var(--text-light)); }
    .contact-item:hover { background: rgba(var(--gold-rgb), 0.08); border-color: rgba(var(--gold-rgb), 0.4); transform: translateX(-4px); }
    [dir="rtl"] .contact-item:hover { transform: translateX(4px); }
    .contact-item-icon { width: 48px; height: 48px; background: var(--gradient-gold); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; direction: ltr; }
    .contact-item-icon svg, .contact-item-icon svg * { transform: scaleX(1) !important; }
    [dir="rtl"] .contact-item-icon svg, [dir="rtl"] .footer-contact-icon svg { transform: scaleX(1) !important; }
    [dir="rtl"] .contact-item[data-type="phone"] .contact-item-icon svg,
    [dir="rtl"] .contact-item[data-type="whatsapp"] .contact-item-icon svg,
    [dir="rtl"] li[data-type="phone"] .footer-contact-icon svg,
    [dir="rtl"] li[data-type="whatsapp"] .footer-contact-icon svg { transform: scaleX(-1) !important; }
    .contact-item h4 { color: var(--s-accent, var(--gold-light)); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
    .contact-item p, .contact-item a { color: var(--s-fg, var(--text-light)); font-size: 15px; line-height: 1.5; }
    .contact-item a:hover { color: var(--s-accent, var(--gold-light)); }
    .contact-form-wrapper { background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); }
    .contact-form-wrapper h3 { color: var(--text-dark); font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
    .contact-form-wrapper > p { color: var(--text-dark-muted); margin-bottom: 28px; font-size: 14px; }
    .form-group { margin-bottom: 18px; }
    .form-group label { display: block; color: var(--text-dark); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
    .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border-color); border-radius: 10px; font-family: inherit; font-size: 14px; color: var(--text-dark); background: var(--bg-light); transition: all 0.3s ease; }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
    .form-group textarea { resize: vertical; min-height: 100px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-submit { width: 100%; background: var(--gradient-gold); color: var(--btn-text, #fff); padding: 14px 32px; border-radius: 10px; font-weight: 700; font-size: 16px; transition: all 0.3s ease; box-shadow: var(--shadow-gold); margin-top: 8px; border: none; cursor: pointer; }
    .form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(var(--gold-rgb), 0.5); }
    .form-success { background: #d4edda; color: #155724; padding: 12px 16px; border-radius: 8px; margin-top: 16px; font-size: 14px; display: none; }
    .form-success.show { display: block; animation: slideIn 0.3s ease; }

    /* Footer */
    .footer { background: var(--bg-dark); color: var(--s-muted, var(--text-muted)); padding: 70px 0 0; }
    .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
    .footer-brand .logo { margin-bottom: 18px; }
    .footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
    .social-links { display: flex; gap: 10px; }
    .social-links a { width: 40px; height: 40px; background: var(--s-surface, rgba(255,255,255,0.05)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.3s ease; border: 1px solid rgba(var(--gold-rgb), 0.15); }
    .social-links a:hover { background: var(--gradient-gold); color: #fff; transform: translateY(-3px); border-color: var(--gold); }
    .btn-install-app { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 20px; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); color: #0a0a0a; border: none; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 14px rgba(var(--gold-rgb), 0.3); }
    .btn-install-app:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(var(--gold-rgb), 0.5); }
    .btn-install-app svg { transform: scaleX(1) !important; }
    .footer-column h4 { color: var(--s-accent, var(--gold-light)); font-size: 16px; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
    .footer-column h4::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 40px; height: 2px; background: var(--gradient-gold); border-radius: 2px; }
    .footer-column ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-contact-icon { display: inline-flex; vertical-align: middle; width: 20px; height: 20px; margin-inline-end: 6px; color: var(--gold); }
    .footer-contact-icon svg { width: 100%; height: 100%; transform: scaleX(1) !important; }
    .footer-column a { color: var(--s-muted, var(--text-muted)); font-size: 14px; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 6px; }
    .footer-column a::before { content: '›'; color: var(--gold); transition: all 0.3s ease; }
    [dir="rtl"] .footer-column a::before { content: '‹'; }
    .footer-column a:hover { color: var(--s-accent, var(--gold-light)); padding-inline-start: 4px; }
    .footer-bottom { border-top: 1px solid var(--s-line, rgba(255,255,255,0.08)); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; }
    .footer-bottom-links { display: flex; gap: 24px; }
    .footer-bottom-links a:hover { color: var(--s-accent, var(--gold-light)); }

    /* Floating buttons */
    .floating-whatsapp { position: fixed; bottom: 24px; inset-inline-start: 24px; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; box-shadow: 0 8px 24px rgba(37,211,102,0.4); z-index: 999; transition: all 0.3s ease; animation: bounce 2s infinite; }
    .floating-whatsapp:hover { transform: scale(1.1); }
    .floating-call { position: fixed; bottom: 90px; inset-inline-start: 24px; width: 52px; height: 52px; background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 24px rgba(212,175,55,0.5); z-index: 999; transition: all 0.3s ease; animation: bounce 2.4s infinite; }
    .floating-call:hover { transform: scale(1.1); }
    .floating-call svg { width: 26px; height: 26px; }
    @keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
    .back-to-top { position: fixed; bottom: 24px; inset-inline-end: 24px; width: 48px; height: 48px; background: var(--gradient-gold); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: var(--shadow-gold); z-index: 999; opacity: 0; visibility: hidden; transform: translateY(16px); transition: all 0.35s ease; }
    .back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
    .back-to-top:hover { transform: translateY(-4px); }

    /* Contact Map */
    .contact-map-box { position: relative; width: 100%; height: 380px; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.3); border: 1px solid rgba(212,175,55,0.2); }
    .contact-map-box iframe { filter: grayscale(20%) contrast(1.1); }
    .contact-map-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 70%, transparent 100%); padding: 20px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
    .contact-map-info { display: flex; align-items: center; gap: 12px; color: #fff; }
    .contact-map-info strong { font-size: 15px; font-weight: 800; color: var(--gold); }
    .contact-map-info p { font-size: 13px; color: rgba(255,255,255,0.8); margin-top: 2px; }
    .contact-map-directions { display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px; background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%); color: #0a0a0a; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 4px 16px rgba(212,175,55,0.4); transition: all 0.3s ease; }
    .contact-map-directions:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,0.5); }
    @media (max-width: 768px) {
      .contact-map-box { height: 280px; }
      .contact-map-overlay { flex-direction: column; align-items: stretch; }
      .contact-map-directions { justify-content: center; }
    }

    /* Animations */
    .animate-on-scroll { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .anim-left { transform: translateX(-36px); }
    .anim-right { transform: translateX(36px); }
    .anim-zoom { transform: scale(0.9); }
    .animate-on-scroll.visible { opacity: 1; transform: none; }
    body.loaded .animate-on-scroll { opacity: 1; transform: none; }

    /* Responsive */
    @media (max-width: 992px) {
      .nav-menu { position: fixed; top: 76px; inset-inline-start: 0; right: 0; background: var(--sec-navbar, var(--bg-darker)); flex-direction: column; width: 100%; padding: 20px; gap: 0; transform: translateY(-150%); transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.3); z-index: 999; align-items: stretch; }
      [dir="ltr"] .nav-menu { right: auto; left: 0; }
      .nav-menu.open { transform: translateY(0); }
      .nav-menu li { width: 100%; }
      .nav-menu a { padding: 14px 16px; border-radius: 0; border-bottom: 1px solid var(--s-line, rgba(255,255,255,0.05)); }
      .mobile-toggle { display: flex; }
      .about-content, .contact-content { grid-template-columns: 1fr; gap: 40px; }
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    }
    @media (max-width: 768px) {
      section { padding: 70px 0; }
      .hero { min-height: 80vh; padding: 60px 0 40px; }
      .hero-stats { grid-template-columns: 1fr; gap: 16px; max-width: 280px; }
      .stat-item { padding: 12px 0; border-bottom: 1px solid rgba(var(--gold-rgb), 0.1); }
      .stat-item:last-child { border-bottom: none; }
      .form-row { grid-template-columns: 1fr; }
      .contact-form-wrapper { padding: 28px 24px; }
      .footer-grid { grid-template-columns: 1fr; text-align: center; }
      .footer-column h4::after { inset-inline-start: 50%; transform: translateX(-50%); }
      .social-links { justify-content: center; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .about-features { grid-template-columns: 1fr; }
      .nav-cta { display: none; }
      .modal-media img { max-height: 280px; }
    }
    @media (max-width: 480px) {
      .hero-buttons { flex-direction: column; width: 100%; }
      .btn { width: 100%; justify-content: center; }
    }

    /* ============================================================
       المدونة — الخلفية من إعداد blog_bg_color (المتغيّر --blog-bg)
       الصنف blog-light / blog-dark يُختار تلقائياً حسب سطوع اللون
       فيبقى النص مقروءاً مع أي لون يختاره المدير.
       ============================================================ */
    .blog-light {
      --blog-fg: #1a1a2e; --blog-muted: #5a5f6e; --blog-meta: #8a8f9c;
      --blog-card: #fff; --blog-card-border: rgba(0,0,0,0.06); --blog-card-shadow: 0 4px 20px rgba(0,0,0,0.08);
      --blog-accent: color-mix(in srgb, var(--gold) 70%, #000);
      --blog-shade: color-mix(in srgb, var(--blog-bg) 88%, #000);
    }
    .blog-dark {
      --blog-fg: #fff; --blog-muted: rgba(255,255,255,0.68); --blog-meta: rgba(255,255,255,0.5);
      --blog-card: rgba(255,255,255,0.06); --blog-card-border: rgba(var(--gold-rgb),0.2); --blog-card-shadow: none;
      --blog-accent: var(--gold);
      --blog-shade: color-mix(in srgb, var(--blog-bg) 75%, #000);
    }

    /* قسم المدونة في الرئيسية */
    .blog-section { background: var(--blog-bg); background: linear-gradient(160deg, var(--blog-bg) 0%, var(--blog-shade) 100%); color: var(--blog-fg); padding: 80px 0; position: relative; overflow: hidden; }
    .blog-section .section-title { color: var(--blog-fg); }
    .blog-section .section-title span { color: var(--blog-accent); }
    .blog-section .section-desc { color: var(--blog-muted); }
    .blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
    .blog-card { background: var(--blog-card); border: 1px solid var(--blog-card-border); box-shadow: var(--blog-card-shadow); backdrop-filter: blur(10px); border-radius: 16px; overflow: hidden; transition: all 0.3s ease; cursor: pointer; }
    .blog-card:hover { transform: translateY(-6px); }
    .blog-card-media { height: 200px; overflow: hidden; }
    .blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
    .blog-card:hover .blog-card-media img { transform: scale(1.05); }
    .blog-card-body { padding: 20px; }
    .blog-card-cat { display: inline-block; background: rgba(var(--gold-rgb),0.18); color: var(--blog-accent); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
    .blog-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--blog-fg); }
    .blog-card p { font-size: 14px; color: var(--blog-muted); line-height: 1.6; margin-bottom: 12px; }
    .blog-card-more { font-size: 13px; color: var(--blog-accent); font-weight: 700; }

    /* صفحة المدونة blog.php */
    .blog-page { background: var(--blog-bg); color: var(--blog-fg); }
    .blog-page-hero { background: var(--blog-shade); color: var(--blog-fg); padding: 80px 0 50px; text-align: center; }
    .blog-page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
    .blog-page-hero h1 span { color: var(--blog-accent); }
    .blog-page-hero p { color: var(--blog-muted); font-size: 1.1rem; }
    .blog-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; padding: 60px 0; max-width: 1400px; margin: 0 auto; }
    .blog-page-card { background: var(--blog-card); border: 1px solid var(--blog-card-border); border-radius: 16px; overflow: hidden; box-shadow: var(--blog-card-shadow); transition: all 0.3s ease; cursor: pointer; }
    .blog-page-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
    .blog-page-card img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.3s; }
    .blog-page-card:hover img { transform: scale(1.05); }
    .blog-page-card-body { padding: 24px; }
    .blog-page-card .category { display: inline-block; background: rgba(var(--gold-rgb),0.15); color: var(--blog-accent); padding: 4px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; margin-bottom: 12px; }
    .blog-page-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--blog-fg); }
    .blog-page-card p { font-size: 14px; color: var(--blog-muted); line-height: 1.7; margin-bottom: 14px; }
    .blog-page-card .read-more { font-size: 14px; color: var(--blog-accent); font-weight: 700; }
    .blog-page-card .meta { font-size: 12px; color: var(--blog-meta); margin-top: 8px; }
    .blog-page .pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 40px 0 60px; flex-wrap: wrap; }
    .blog-page .pagination a, .blog-page .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.3s; }
    .blog-page .pagination a { background: var(--blog-card); color: var(--blog-fg); border: 2px solid var(--blog-card-border); }
    .blog-page .pagination a:hover { border-color: var(--gold); color: var(--blog-accent); }
    .blog-page .pagination .active { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); color: #0a0a0a; border: none; }
    .blog-page .pagination .disabled { color: var(--blog-meta); opacity: 0.5; cursor: not-allowed; }
    @media (max-width: 480px) {
      .blog-grid, .blog-page-grid { grid-template-columns: 1fr; }
      .blog-page-hero h1 { font-size: 1.8rem; }
    }

    /* ============================================================
       نظام الألوان — نغمة كل قسم + خلفيات الأقسام المخصصة
       ------------------------------------------------------------
       sectionClass() في PHP يضع على القسم:
         light-section|dark-section (أو tone-light|tone-dark للهيدر/الفوتر)
         sec-<name>  و  sec-custom  عند اختيار لون من «ألوان الموقع».
       النغمة تحدد متغيّرات --s-* فتتبدّل النصوص والبطاقات تلقائياً.
       ============================================================ */
    .dark-section, .tone-dark {
      --s-fg: var(--text-light); --s-muted: var(--text-muted); --s-accent: var(--gold-light);
      --s-surface: rgba(255,255,255,0.05); --s-line: rgba(255,255,255,0.08);
    }
    .light-section, .tone-light {
      --s-fg: var(--text-dark); --s-muted: var(--text-dark-muted); --s-accent: color-mix(in srgb, var(--gold) 75%, #000);
      --s-surface: rgba(0,0,0,0.04); --s-line: rgba(0,0,0,0.08);
    }
    .light-section { color: var(--text-dark); }
    .nav-icon-link { color: var(--s-fg, var(--text-light)); transition: all 0.3s; }
    .nav-icon-link:hover { color: var(--s-accent, var(--gold-light)); }
    .tone-light .currency-toggle select option { background: #fff; color: var(--text-dark); }
    .tone-light .mobile-toggle span { background: var(--text-dark); }

    /* ربط كل قسم بمتغيّره (القيمة تأتي من :root في header.php) */
    .sec-announcement { --sec-bg: var(--sec-announcement); }
    .sec-navbar       { --sec-bg: var(--sec-navbar); }
    .sec-services     { --sec-bg: var(--sec-services); }
    .sec-products     { --sec-bg: var(--sec-products); }
    .sec-about        { --sec-bg: var(--sec-about); }
    .sec-portfolio    { --sec-bg: var(--sec-portfolio); }
    .sec-testimonials { --sec-bg: var(--sec-testimonials); }
    .sec-contact      { --sec-bg: var(--sec-contact); }
    .sec-footer       { --sec-bg: var(--sec-footer); }

    /* القسم الفاتح: لون صافٍ — الداكن: تدرّج خفيف من نفس اللون */
    .sec-custom.light-section, .sec-custom.tone-light { background: var(--sec-bg); }
    .sec-custom.dark-section, .sec-custom.tone-dark {
      background: var(--sec-bg);
      background: linear-gradient(135deg, var(--sec-bg) 0%, color-mix(in srgb, var(--sec-bg) 78%, #000) 100%);
    }
    .navbar.sec-custom, .navbar.sec-custom.scrolled { background: color-mix(in srgb, var(--sec-bg) 96%, transparent); }
