/*
Theme Name: Jedlaw FSE Prestige
Theme URI: https://jedlaw.net/
Author: OpenAI for Jedlaw
Description: قالب ووردبريس بنظام Full Site Editing قابل للتحرير بالكامل عبر Gutenberg لمنصة محامي جدة، مع تحكم بالألوان والخطوط والهيدر والفوتر والشعار وأزرار التواصل والبوت.
Version: 5.1.0-equal-fixed
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: jedlaw-fse
Tags: full-site-editing, block-patterns, rtl-language-support, custom-colors, custom-logo, editor-style, wide-blocks
*/

:root{
  --jl-primary:#0f2a43;
  --jl-primary-2:#071827;
  --jl-accent:#c9a34e;
  --jl-accent-2:#d8b957;
  --jl-bg:#f6f8fb;
  --jl-card:#ffffff;
  --jl-text:#102033;
  --jl-muted:#64748b;
  --jl-border:#e7dcc0;
  --jl-radius:24px;
  --jl-logo-desktop:86px;
  --jl-logo-mobile:64px;
  --jl-body-font-size:17px;
  --jl-body-font-size-mobile:16px;
  --jl-h1-size:46px;
  --jl-h1-size-mobile:32px;
  --jl-h2-size:34px;
  --jl-h2-size-mobile:27px;
  --jl-header-bg:#ffffff;
  --jl-footer-bg:#0f2a43;
  --jl-font-family:'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html{scroll-behavior:smooth}
body{margin:0;background:var(--jl-bg);color:var(--jl-text);font-family:var(--jl-font-family);font-size:var(--jl-body-font-size);line-height:1.95;direction:rtl;text-align:right}
a{color:inherit;text-decoration:none}a:hover{color:var(--jl-accent)}
img{max-width:100%;height:auto}
.has-jl-primary-color{color:var(--jl-primary)!important}.has-jl-accent-color{color:var(--jl-accent)!important}.has-jl-primary-background-color{background-color:var(--jl-primary)!important}.has-jl-accent-background-color{background-color:var(--jl-accent)!important}

/* Gutenberg editor friendliness */
.wp-site-blocks{overflow:hidden}.wp-block-group.alignfull,.alignfull{margin-right:calc(50% - 50vw);margin-left:calc(50% - 50vw);max-width:100vw;width:100vw}.jl-container,.is-layout-constrained > .jl-container{max-width:1180px;margin-inline:auto;padding-inline:18px}.jl-section{padding-block:58px}.jl-small-section{padding-block:36px}

/* Header */
.jl-topbar{background:var(--jl-primary-2);color:#fff;font-size:14px}.jl-topbar .wp-block-group{min-height:42px}.jl-topbar a{color:#fff}.jl-topbar .social a{display:inline-flex;width:32px;height:32px;border:1px solid rgba(216,185,87,.35);border-radius:999px;align-items:center;justify-content:center;color:#fff;background:rgba(255,255,255,.05)}
.jl-header-shell{position:sticky;top:0;z-index:50;background:rgba(246,248,251,.86);backdrop-filter:blur(10px);padding:12px 0;border-bottom:1px solid rgba(15,42,67,.08)}
.jl-header-card{background:var(--jl-header-bg);border:1px solid rgba(15,42,67,.08);border-radius:28px;box-shadow:0 10px 30px rgba(15,42,67,.07);padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px}.jl-brand{display:flex;align-items:center;gap:12px}.jl-brand .custom-logo,.jl-brand .wp-block-site-logo img{width:var(--jl-logo-desktop)!important;height:var(--jl-logo-desktop)!important;object-fit:contain;border:1px solid var(--jl-border);border-radius:999px;background:#fff;padding:6px;box-shadow:0 8px 18px rgba(15,42,67,.08)}.jl-brand-title .wp-block-site-title,.jl-brand-title a{font-weight:900;color:var(--jl-primary);font-size:20px;line-height:1.3}.jl-brand-title .wp-block-site-tagline{color:var(--jl-accent);font-size:13px;margin:2px 0 0}.jl-header-card .wp-block-navigation a{font-weight:800;color:var(--jl-primary);font-size:15px}.jl-header-card .wp-block-navigation a:hover{color:var(--jl-accent)}.jl-header-cta .wp-block-button__link{background:var(--jl-accent);color:#111;border-radius:12px;font-weight:900;padding:10px 18px}

/* Hero */
.jl-hero{position:relative;min-height:660px;display:flex;align-items:center;background:radial-gradient(circle at 20% 0%,rgba(201,163,78,.24),transparent 32%),linear-gradient(135deg,rgba(7,24,39,.98),rgba(15,42,67,.90)),var(--jl-primary);color:#fff;overflow:hidden}.jl-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.04),transparent 40%),repeating-linear-gradient(45deg,rgba(255,255,255,.035) 0 1px,transparent 1px 18px);opacity:.35}.jl-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center}.jl-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(201,163,78,.16);border:1px solid rgba(216,185,87,.55);color:#f8d680;border-radius:999px;padding:8px 18px;font-weight:900;margin-bottom:18px}.jl-hero h1{font-size:var(--jl-h1-size);line-height:1.35;margin:0 0 18px;color:#fff;font-weight:900}.jl-hero p{font-size:20px;line-height:2;color:rgba(255,255,255,.90);margin:0 0 24px}.jl-actions{display:flex;flex-wrap:wrap;gap:12px}.jl-btn,.wp-block-button .wp-block-button__link{border-radius:12px;padding:12px 24px;font-weight:900}.jl-btn.gold,.is-style-jl-gold .wp-block-button__link{background:var(--jl-accent);color:#111}.jl-btn.white,.is-style-jl-white .wp-block-button__link{background:#fff;color:var(--jl-primary)}.jl-btn.out{border:1px solid rgba(255,255,255,.42);color:#fff;background:transparent}.jl-hero-visual{background:rgba(255,255,255,.08);border:1px solid rgba(216,185,87,.28);border-radius:34px;padding:34px;box-shadow:0 24px 60px rgba(0,0,0,.22);text-align:center}.jl-hero-visual img{max-width:250px;border-radius:28px;background:#fff;padding:14px;border:1px solid rgba(216,185,87,.5)}.jl-pills{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:18px}.jl-pill{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 12px;color:#fff;font-size:14px}

/* Cards */
.jl-title{text-align:center;margin-bottom:34px}.jl-title h2{font-size:var(--jl-h2-size);line-height:1.45;color:var(--jl-primary);margin:0;font-weight:900}.jl-title h2:after{content:'';display:block;width:90px;height:3px;background:var(--jl-accent);border-radius:999px;margin:14px auto 0}.jl-title p{max-width:860px;margin:18px auto 0;color:var(--jl-muted);font-size:17px;line-height:2}.jl-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.jl-card{background:var(--jl-card);border:1px solid var(--jl-border);border-radius:20px;padding:24px;box-shadow:0 10px 25px rgba(15,42,67,.045);transition:.22s;min-height:210px}.jl-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(15,42,67,.10);border-color:var(--jl-accent)}.jl-card .icon{width:46px;height:46px;border-radius:14px;background:#fbfaf6;border:1px solid var(--jl-border);color:var(--jl-accent);display:flex;align-items:center;justify-content:center;font-size:22px;margin-bottom:14px}.jl-card h3{margin:0 0 8px;color:var(--jl-primary);font-size:20px;font-weight:900}.jl-card p{margin:0;color:var(--jl-muted);line-height:1.9}.jl-card .mini{display:inline-block;margin-top:12px;background:#f8fafc;border:1px solid #e5e7eb;color:var(--jl-primary);border-radius:999px;padding:5px 10px;font-size:13px;font-weight:800}

.jl-stats{margin-top:-56px;position:relative;z-index:4}.jl-stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.jl-stat{background:#fff;border:1px solid var(--jl-border);border-radius:24px;padding:24px;text-align:center;box-shadow:0 16px 38px rgba(15,42,67,.10)}.jl-stat strong{display:block;color:var(--jl-accent);font-size:34px;line-height:1}.jl-stat span{display:block;margin-top:8px;color:var(--jl-primary);font-weight:900}

.jl-dark{background:linear-gradient(135deg,var(--jl-primary-2),var(--jl-primary));color:#fff;border-radius:34px;padding:46px}.jl-dark-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:center}.jl-dark h2{font-size:var(--jl-h2-size);line-height:1.45;color:#fff;margin:0 0 12px}.jl-dark p{color:rgba(255,255,255,.86)}.jl-checks{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:22px}.jl-check{background:rgba(255,255,255,.07);border:1px solid rgba(216,185,87,.28);border-radius:18px;padding:18px}.jl-check b{display:block;color:#f8d680;margin-bottom:8px}.jl-logo-card{background:#fff;border-radius:28px;padding:34px;text-align:center;box-shadow:0 22px 50px rgba(0,0,0,.18)}.jl-logo-card img{max-width:220px}.jl-logo-card p{color:var(--jl-primary);font-weight:900}

.jl-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.jl-step{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:28px 20px;text-align:center;position:relative}.jl-step .num{width:38px;height:38px;border-radius:999px;background:var(--jl-accent);color:#111;display:flex;align-items:center;justify-content:center;font-weight:900;margin:-46px auto 16px}.jl-step h3{margin:8px 0 8px;color:var(--jl-primary);font-weight:900}.jl-step p{margin:0;color:var(--jl-muted)}

.jl-split{display:grid;grid-template-columns:1fr 1fr;gap:22px}.jl-panel{background:#fff;border:1px solid var(--jl-border);border-radius:24px;padding:30px;box-shadow:0 10px 25px rgba(15,42,67,.05)}.jl-panel h2{font-size:30px;color:var(--jl-primary);margin:0 0 14px;border-right:5px solid var(--jl-accent);padding-right:16px}.jl-panel p{color:var(--jl-muted)}.jl-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.jl-list li{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px}.jl-list li:before{content:'✓';color:var(--jl-accent);font-weight:900;margin-left:8px}

.jl-quick{background:#fff;border:1px solid var(--jl-border);border-radius:24px;padding:26px;margin-top:28px}.jl-quick h3{margin:0 0 16px;color:var(--jl-primary);font-weight:900}.jl-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.jl-quick-grid a{display:block;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:12px;color:var(--jl-primary);font-weight:800;text-align:center}.jl-quick-grid a:hover{background:var(--jl-accent);color:#111;border-color:var(--jl-accent)}

.jl-faq details{background:#fff;border:1px solid var(--jl-border);border-radius:16px;margin-bottom:12px;overflow:hidden}.jl-faq summary{cursor:pointer;padding:18px 22px;font-weight:900;color:var(--jl-primary);list-style:none;position:relative}.jl-faq summary::-webkit-details-marker{display:none}.jl-faq summary:after{content:'+';position:absolute;left:22px;color:var(--jl-accent);font-size:24px;top:50%;transform:translateY(-50%)}.jl-faq details[open] summary:after{content:'−'}.jl-faq .ans{padding:0 22px 18px;color:var(--jl-muted);border-top:1px solid #f0eadc}

.jl-final{background:linear-gradient(135deg,#f7f2e6,#fff);border:1px solid var(--jl-border);border-radius:28px;overflow:hidden;box-shadow:0 16px 38px rgba(15,42,67,.08)}.jl-final-grid{display:grid;grid-template-columns:.9fr 1.1fr}.jl-final-logo{padding:38px;display:flex;align-items:center;justify-content:center;background:#fbfaf6}.jl-final-logo .box{background:#fff;border:1px solid var(--jl-border);border-radius:26px;padding:32px;text-align:center}.jl-final-logo img{max-width:220px}.jl-final-text{padding:40px;display:flex;flex-direction:column;justify-content:center}.jl-final-text h2{font-size:32px;color:var(--jl-primary);margin:0 0 14px;border-right:5px solid var(--jl-accent);padding-right:16px}.jl-final-text p{color:var(--jl-muted)}.jl-tags{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}.jl-tags span{background:#fff;border:1px solid var(--jl-border);border-radius:999px;padding:8px 14px;color:var(--jl-primary);font-weight:800}.jl-note{background:var(--jl-primary);color:#fff;border-radius:24px;padding:28px}.jl-note h2{color:#fff}.jl-note p{color:rgba(255,255,255,.88)}

/* Footer */
.jl-footer{background:var(--jl-footer-bg);color:#fff;margin-top:56px}.jl-footer .jl-container{padding-block:46px}.jl-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}.jl-footer h3{color:#fff;font-weight:900;margin:0 0 14px}.jl-footer h3:after{content:'';display:block;width:42px;height:2px;background:var(--jl-accent);margin-top:8px}.jl-footer p,.jl-footer li{color:rgba(255,255,255,.84)}.jl-footer ul{list-style:none;padding:0;margin:0}.jl-footer li{margin-bottom:8px}.jl-footer a{color:rgba(255,255,255,.92)}.jl-footer a:hover{color:#f8d680}.jl-footer-logo{max-width:115px;background:#fff;border-radius:22px;padding:8px;border:1px solid rgba(216,185,87,.45)}.jl-footer-bottom{border-top:1px solid rgba(216,185,87,.28);padding:18px;color:rgba(255,255,255,.76);text-align:center;background:rgba(0,0,0,.18)}

/* Floating widgets */
.jl-floating-contact{position:fixed;left:22px;bottom:24px;z-index:9999;display:flex;flex-direction:column;gap:12px}.jl-float-btn{width:58px;height:58px;border-radius:999px;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.2);border:0;cursor:pointer;transition:.2s;animation:jl-nudge 4s infinite}.jl-float-btn:hover{transform:translateY(-3px)}.jl-float-btn.whatsapp{background:#25d366}.jl-float-btn.phone{background:var(--jl-accent);color:#111}.jl-bot-launch{position:fixed;right:22px;bottom:24px;z-index:9999;width:64px;height:64px;border-radius:999px;background:linear-gradient(135deg,var(--jl-primary),var(--jl-primary-2));color:#fff;border:2px solid var(--jl-accent);box-shadow:0 14px 35px rgba(15,42,67,.28);display:flex;align-items:center;justify-content:center;cursor:pointer;animation:jl-glow 3.8s infinite}.jl-chat{position:fixed;right:22px;bottom:100px;width:340px;max-width:calc(100vw - 44px);background:#fff;border:1px solid var(--jl-border);border-radius:22px;box-shadow:0 18px 50px rgba(15,42,67,.22);z-index:9999;overflow:hidden;display:none}.jl-chat.open{display:block}.jl-chat-head{background:var(--jl-primary);color:#fff;padding:14px;display:flex;align-items:center;gap:10px}.jl-chat-head .robot{width:38px;height:38px;border-radius:999px;background:var(--jl-accent);display:flex;align-items:center;justify-content:center;color:#111}.jl-chat-body{padding:14px;max-height:290px;overflow:auto}.jl-msg{padding:10px 12px;border-radius:14px;margin-bottom:10px;font-size:14px;line-height:1.7}.jl-msg.bot{background:#f6f8fb;color:var(--jl-primary)}.jl-msg.user{background:var(--jl-primary);color:#fff;margin-right:36px}.jl-chat-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 14px 12px}.jl-chat-actions a{background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;padding:8px;text-align:center;color:var(--jl-primary);font-weight:800}.jl-chat-input{display:flex;border-top:1px solid #e5e7eb}.jl-chat-input input{flex:1;border:0;padding:12px;font-family:inherit}.jl-chat-input button{border:0;background:var(--jl-accent);color:#111;font-weight:900;padding:0 16px}
@keyframes jl-nudge{0%,80%,100%{transform:translateY(0)}85%{transform:translateY(-5px)}90%{transform:translateY(0)}95%{transform:translateY(-3px)}}@keyframes jl-glow{0%,100%{box-shadow:0 0 0 0 rgba(201,163,78,.45),0 14px 35px rgba(15,42,67,.28)}50%{box-shadow:0 0 0 12px rgba(201,163,78,0),0 14px 35px rgba(15,42,67,.28)}}

/* =========================================================
   JL FINAL REAL EQUAL BLOCK FIX v5.1
   هذا الإصلاح يثبت مقاسات البطاقات فعليًا على سطح المكتب.
   لا يعتمد على flex ولا على grid-auto فقط، بل يفرض grid واضح
   وارتفاعًا ثابتًا لكل مجموعة بطاقات حتى لا تظهر البطاقة الأولى أكبر.
   ========================================================= */
@media (min-width: 1025px){
  .jl-container{max-width:1180px;width:calc(100% - 48px);margin-left:auto;margin-right:auto;}

  .jl-services,
  .jl-stats-grid,
  .jl-steps,
  .jl-checks,
  .jl-quick-grid,
  .jl-split{
    display:grid !important;
    width:100% !important;
    max-width:100% !important;
    align-items:stretch !important;
    justify-items:stretch !important;
    justify-content:stretch !important;
  }

  .jl-services{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:16px !important;grid-auto-rows:300px !important;}
  .jl-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:18px !important;grid-auto-rows:128px !important;}
  .jl-steps{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:18px !important;grid-auto-rows:188px !important;}
  .jl-checks{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:16px !important;grid-auto-rows:184px !important;}
  .jl-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:10px !important;grid-auto-rows:64px !important;}
  .jl-split{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:22px !important;grid-auto-rows:420px !important;}

  .jl-services > .jl-card,
  .jl-stats-grid > .jl-stat,
  .jl-steps > .jl-step,
  .jl-checks > .jl-check,
  .jl-quick-grid > a,
  .jl-split > .jl-panel{
    box-sizing:border-box !important;
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    flex:none !important;
    margin:0 !important;
    align-self:stretch !important;
    justify-self:stretch !important;
    overflow:hidden !important;
  }

  .jl-services > .jl-card{height:300px !important;min-height:300px !important;max-height:300px !important;display:flex !important;flex-direction:column !important;}
  .jl-stats-grid > .jl-stat{height:128px !important;min-height:128px !important;max-height:128px !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;}
  .jl-steps > .jl-step{height:188px !important;min-height:188px !important;max-height:188px !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;}
  .jl-checks > .jl-check{height:184px !important;min-height:184px !important;max-height:184px !important;display:flex !important;flex-direction:column !important;justify-content:center !important;}
  .jl-quick-grid > a{height:64px !important;min-height:64px !important;max-height:64px !important;display:flex !important;align-items:center !important;justify-content:center !important;text-align:center !important;}
  .jl-split > .jl-panel{height:420px !important;min-height:420px !important;max-height:420px !important;display:flex !important;flex-direction:column !important;}

  .jl-card .mini{margin-top:auto !important;align-self:flex-start !important;}
  .jl-card p,.jl-panel p,.jl-check p{flex:1 1 auto !important;}
  .jl-panel .jl-list{margin-top:auto !important;}
}

@media (min-width: 901px) and (max-width: 1024px){
  .jl-services{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:16px !important;grid-auto-rows:300px !important;}
  .jl-services > .jl-card{height:300px !important;min-height:300px !important;max-height:300px !important;width:100% !important;max-width:100% !important;}
  .jl-stats-grid{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:18px !important;grid-auto-rows:128px !important;}
  .jl-stats-grid > .jl-stat{height:128px !important;min-height:128px !important;max-height:128px !important;}
  .jl-steps{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:18px !important;grid-auto-rows:188px !important;}
  .jl-steps > .jl-step{height:188px !important;min-height:188px !important;max-height:188px !important;}
  .jl-checks{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:16px !important;grid-auto-rows:184px !important;}
  .jl-checks > .jl-check{height:184px !important;min-height:184px !important;max-height:184px !important;}
  .jl-quick-grid{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;grid-auto-rows:64px !important;}
  .jl-quick-grid > a{height:64px !important;min-height:64px !important;max-height:64px !important;display:flex !important;align-items:center !important;justify-content:center !important;}
  .jl-split{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:22px !important;grid-auto-rows:420px !important;}
  .jl-split > .jl-panel{height:420px !important;min-height:420px !important;max-height:420px !important;width:100% !important;max-width:100% !important;overflow:hidden !important;}
}



/* =========================================================
   JL ICON + STEP BADGE FIX v6.0
   إصلاح فعلي: توحيد قياس الأيقونات وجعلها SVG معبرة،
   وإلغاء تداخل رقم الخطوة مع حد البطاقة العلوي.
   ========================================================= */

.jl-services > .jl-card .icon{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  min-height:48px !important;
  max-width:48px !important;
  max-height:48px !important;
  padding:0 !important;
  margin:0 0 18px auto !important;
  border-radius:14px !important;
  background-color:#fbfaf6 !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:26px 26px !important;
  border:1px solid var(--jl-border) !important;
  color:transparent !important;
  font-size:0 !important;
  line-height:0 !important;
  overflow:hidden !important;
  flex:0 0 48px !important;
}
.jl-services > .jl-card:nth-child(1) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%203v18%27/%3E%3Cpath%20d%3D%27M6%207h12%27/%3E%3Cpath%20d%3D%27M8%207l-4%206h8L8%207Z%27/%3E%3Cpath%20d%3D%27M16%207l-4%206h8l-4-6Z%27/%3E%3Cpath%20d%3D%27M8%2019h8%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(2) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M9%207V5h6v2%27/%3E%3Crect%20x%3D%274%27%20y%3D%277%27%20width%3D%2716%27%20height%3D%2712%27%20rx%3D%272%27/%3E%3Cpath%20d%3D%27M4%2012h16%27/%3E%3Cpath%20d%3D%27M10%2012v2h4v-2%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(3) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2010h16%27/%3E%3Cpath%20d%3D%27M5%2010l2-5h10l2%205%27/%3E%3Cpath%20d%3D%27M6%2010v9h12v-9%27/%3E%3Cpath%20d%3D%27M9%2019v-5h6v5%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(4) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2011l8-7%208%207%27/%3E%3Cpath%20d%3D%27M6%2010v10h12V10%27/%3E%3Cpath%20d%3D%27M10%2020v-6h4v6%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(5) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M7%203h8l4%204v14H7z%27/%3E%3Cpath%20d%3D%27M15%203v5h5%27/%3E%3Cpath%20d%3D%27M10%2012h6%27/%3E%3Cpath%20d%3D%27M10%2016h4%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(6) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cellipse%20cx%3D%2712%27%20cy%3D%276%27%20rx%3D%277%27%20ry%3D%273%27/%3E%3Cpath%20d%3D%27M5%206v6c0%201.7%203.1%203%207%203s7-1.3%207-3V6%27/%3E%3Cpath%20d%3D%27M5%2012c0%201.7%203.1%203%207%203s7-1.3%207-3%27/%3E%3Cpath%20d%3D%27M5%2016c0%201.7%203.1%203%207%203s7-1.3%207-3%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(7) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%275%27%20y%3D%274%27%20width%3D%2714%27%20height%3D%2717%27%20rx%3D%271.5%27/%3E%3Cpath%20d%3D%27M9%208h1M14%208h1M9%2012h1M14%2012h1M9%2016h1M14%2016h1%27/%3E%3Cpath%20d%3D%27M11%2021v-4h2v4%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(8) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%2012l-8%208-8-8V5h7l9%207Z%27/%3E%3Ccircle%20cx%3D%278%27%20cy%3D%278%27%20r%3D%271.2%27/%3E%3Cpath%20d%3D%27M12%208h4%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(9) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M5%206h10a3%203%200%200%201%203%203v3a3%203%200%200%201-3%203H9l-4%204v-4a3%203%200%200%201-3-3V9a3%203%200%200%201%203-3Z%27/%3E%3Cpath%20d%3D%27M8%2010h7M8%2013h4%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(10) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M20%207v5h-5%27/%3E%3Cpath%20d%3D%27M4%2017v-5h5%27/%3E%3Cpath%20d%3D%27M18%2012a6%206%200%200%200-10-4l-4%204%27/%3E%3Cpath%20d%3D%27M6%2012a6%206%200%200%200%2010%204l4-4%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(11) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%203l8%203v6c0%205-3.3%208-8%2010-4.7-2-8-5-8-10V6l8-3Z%27/%3E%3Cpath%20d%3D%27M9%2012l2%202%204-5%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(12) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M8%2012a4%204%200%200%201%204-4h2%27/%3E%3Cpath%20d%3D%27M16%2012a4%204%200%200%201-4%204h-2%27/%3E%3Cpath%20d%3D%27M7%207l2%202M17%2017l-2-2M12%203v3M12%2018v3%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(13) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2716%27%20cy%3D%277%27%20r%3D%273%27/%3E%3Cpath%20d%3D%27M4%2015h5l3%203h5a3%203%200%200%200%203-3%27/%3E%3Cpath%20d%3D%27M4%2019h9%27/%3E%3Cpath%20d%3D%27M10%2015l3-3h4%27/%3E%3C/svg%3E") !important;}
.jl-services > .jl-card:nth-child(14) .icon{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23c9a34e%27%20stroke-width%3D%271.9%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%207h6l3%204%27/%3E%3Cpath%20d%3D%27M4%2017h6l3-4%27/%3E%3Cpath%20d%3D%27M14%206l6%206-6%206%27/%3E%3C/svg%3E") !important;}

/* لا يظهر أي نص داخل الأيقونة حتى لو كان الحقل قابلًا للتحرير من Gutenberg */
.jl-services > .jl-card .icon *{display:none !important;}

/* إصلاح بطاقات الخطوات: الرقم داخل البطاقة، لا يخفي الحد العلوي */
.jl-steps{padding-top:0 !important;}
.jl-steps > .jl-step{
  overflow:visible !important;
  padding-top:24px !important;
  justify-content:flex-start !important;
}
.jl-step .num{
  position:static !important;
  margin:0 auto 14px !important;
  width:38px !important;
  height:38px !important;
  min-width:38px !important;
  min-height:38px !important;
  border-radius:999px !important;
  background:var(--jl-accent) !important;
  color:#111 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight:900 !important;
  line-height:1 !important;
  z-index:1 !important;
}
@media (min-width:1025px){
  .jl-steps{grid-auto-rows:218px !important;}
  .jl-steps > .jl-step{height:218px !important;min-height:218px !important;max-height:218px !important;}
}
@media (min-width:901px) and (max-width:1024px){
  .jl-steps{grid-auto-rows:218px !important;}
  .jl-steps > .jl-step{height:218px !important;min-height:218px !important;max-height:218px !important;}
}

/* JL HERO LABEL + QUICK GRID FIX v6.1
   Fixes: light title over hero visual dark background, and equal quick-nav cards with Gutenberg paragraph wrappers. */
.jl-hero-visual h3,
.jl-hero-visual .wp-block-heading{
  color:#ffffff !important;
  font-weight:900 !important;
  text-shadow:0 2px 10px rgba(0,0,0,.38) !important;
  margin:16px 0 0 !important;
}
.jl-hero-visual h3::after,
.jl-hero-visual .wp-block-heading::after{
  content:"";
  display:block;
  width:54px;
  height:2px;
  background:var(--jl-accent);
  border-radius:999px;
  margin:10px auto 0;
}
.jl-quick-grid{
  align-items:stretch !important;
}
.jl-quick-grid > p,
.jl-quick-grid > .wp-block-paragraph{
  margin:0 !important;
  padding:0 !important;
  min-width:0 !important;
  width:100% !important;
  height:64px !important;
  min-height:64px !important;
  max-height:64px !important;
  display:flex !important;
}
.jl-quick-grid > p > a,
.jl-quick-grid > .wp-block-paragraph > a,
.jl-quick-grid > a{
  width:100% !important;
  height:64px !important;
  min-height:64px !important;
  max-height:64px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  box-sizing:border-box !important;
  white-space:normal !important;
}
@media (min-width:901px){
  .jl-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;grid-auto-rows:64px !important;}
}
@media (max-width:900px){
  .jl-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-auto-rows:64px !important;}
}
@media (max-width:520px){
  .jl-quick-grid{grid-template-columns:1fr !important;grid-auto-rows:60px !important;}
  .jl-quick-grid > p,
  .jl-quick-grid > .wp-block-paragraph,
  .jl-quick-grid > p > a,
  .jl-quick-grid > .wp-block-paragraph > a,
  .jl-quick-grid > a{height:60px !important;min-height:60px !important;max-height:60px !important;}
}

/* ============================================================
   JL RESPONSIVE FIX v2 — إصلاح شامل لكل الشبكات على الجوال
   يعالج: services, stats, hero, dark/final, steps, checks,
   split, quick, footer, chat-actions
   ============================================================ */

/* اللوحي والجوال الكبير: حتى 900px */
@media (max-width:900px){
  .jl-services{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  .jl-steps{grid-template-columns:repeat(2,1fr) !important;grid-auto-rows:auto !important;}
  .jl-steps > .jl-step{height:auto !important;min-height:auto !important;max-height:none !important;}
  .jl-checks{grid-template-columns:repeat(2,1fr) !important;}
  .jl-hero-grid{grid-template-columns:1fr !important;gap:28px !important;}
  .jl-dark-grid,
  .jl-final-grid{grid-template-columns:1fr !important;gap:24px !important;}
  .jl-split{grid-template-columns:1fr !important;gap:20px !important;}
  .jl-footer-grid{grid-template-columns:repeat(2,1fr) !important;gap:24px !important;}
  .jl-hero{min-height:auto !important;padding-block:48px !important;}
  .jl-dark,
  .jl-final{padding:32px !important;}
  .jl-hero-visual{margin-top:8px;}
}

/* الجوال: حتى 520px — عمود واحد لكل شيء */
@media (max-width:520px){
  .jl-services{grid-template-columns:1fr !important;gap:14px !important;}
  .jl-card{min-height:auto !important;padding:20px !important;}
  .jl-steps{grid-template-columns:1fr !important;}
  .jl-stats-grid{grid-template-columns:1fr !important;}
  .jl-stats{margin-top:0 !important;}
  .jl-checks{grid-template-columns:1fr !important;}
  .jl-split{grid-template-columns:1fr !important;}
  .jl-footer-grid{grid-template-columns:1fr !important;text-align:center;}
  .jl-chat-actions{grid-template-columns:1fr !important;}
  .jl-hero h1{font-size:var(--jl-h1-size-mobile) !important;}
  .jl-dark,
  .jl-final{border-radius:22px !important;padding:26px !important;}
  .jl-dark-grid,
  .jl-final-grid{gap:20px !important;}
  /* منع تداخل أزرار الاتصال/الواتساب العائمة مع آخر محتوى */
  .wp-site-blocks{padding-bottom:110px !important;}
}