/* هوية السويجي الموحدة — تتحمّل بعد style.css في كل قطاع وتوحّد الألوان والخطوط والعناصر المشتركة */
:root{
  --green:#06342A;--green2:#0B4A3B;--green3:#12614D;--deep:#043126;
  --gold:#B69047;--gold2:#D7B46A;--gold-text:#7A5C1E;
  --ink:#0B2A22;--muted:#4A5F57;--line:#DCE4DE;--soft:#F1F5F2;
  --bg:#FAF8F3;--cream:#F5F1E8;--cream2:#EDE6D8;--white:#FFFFFF;
  --font-body:'IBM Plex Sans Arabic','Alexandria',system-ui,sans-serif;
  --font-head:'Alexandria','IBM Plex Sans Arabic',system-ui,sans-serif;
  --shadow:0 22px 65px rgba(6,52,42,.12);--radius:24px;
}
body{font-family:var(--font-body);color:var(--ink);background:var(--bg)}
h1,h2,h3,h4,h5,h6,.section-title,.brand strong,.btn,.nav-links,.eyebrow{font-family:var(--font-head)}
h1,h2,h3,.section-title{letter-spacing:0;font-weight:700}
/* مقاس العناوين الموحد: Alexandria عريض، فالمقاسات أصغر والسطور أوسع عشان النقط متدخلش في بعض.
   body قبل كل محدد عشان يغلب مقاسات ملفات القطاعات حتى جوه الـ media queries بتاعتها */
body .home-copy h1,body .hero-copy h1{font-size:clamp(36px,4.6vw,64px);line-height:1.6;font-weight:700}
body .page-hero h1{font-size:clamp(30px,3.6vw,46px);line-height:1.6;font-weight:700}
body .section-title{font-size:clamp(26px,3vw,40px);line-height:1.5}
body .cta h2,body .cta-box h2,body .form-info h2,body .quote-band h3{font-size:clamp(23px,2.5vw,32px);line-height:1.5}
body .detail-main h2{font-size:clamp(22px,2.2vw,26px);line-height:1.5}
body .project-meta h3{font-size:17px;line-height:1.55}
body .card h3,body .service-card h3,body .service-body h3,body .hotel-card h3,body .detail-main h3{line-height:1.55}
body .home-badge strong{line-height:1.1}
/* توزيع كلام العناوين على السطور بالتساوي بدل كلمة لوحدها في الآخر */
h1,h2,h3,.section-title{text-wrap:balance}
@media(max-width:720px){
  body .home-copy h1,body .hero-copy h1{font-size:32px}
  body .page-hero h1{font-size:28px}
  body .section-title{font-size:25px}
  body .cta h2,body .cta-box h2,body .form-info h2,body .quote-band h3{font-size:22px}
  body .home-badge strong{font-size:30px}
  /* الشبكات اللي مكتوب لها عمودين في الصفحة نفسها تبقى عمود واحد على الموبايل */
  body .project-grid,body .card-grid{grid-template-columns:1fr !important}
}
/* تباعد الحروف بيفكّك الحروف العربية: نلغيه في كل مكان ما عدا السطر الإنجليزي في اللوجو */
body *{letter-spacing:normal !important}
.brand span[lang="en"]{letter-spacing:.08em !important}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold2);outline-offset:3px}

/* الأزرار */
.btn{border-radius:999px;font-weight:600}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green2)}
.btn-gold{background:var(--gold2);color:var(--green)}
.btn-gold:hover{background:var(--gold);color:var(--green)}
.btn-light{background:#fff;border:1.5px solid var(--green);color:var(--green)}

/* الشريط العلوي: التنقل بين القطاعات */
.topbar{display:block;background:var(--deep);color:#D5DFDA;font-size:12.5px}
.topbar .container{min-height:40px;height:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.topbar-right,.topbar-left{display:flex;align-items:center;gap:18px}
.topbar .sector-tabs{display:flex;align-items:center;gap:6px}
.topbar a{opacity:1}
.topbar a:hover{color:var(--gold2)}
.topbar-home{font-family:var(--font-head);font-weight:600;color:#fff}
.sector-tabs a,.sector-tabs span{padding:3px 12px;border-radius:999px;opacity:1}
.sector-tabs a{color:#D5DFDA}
.sector-tabs .active{background:rgba(215,180,106,.16);color:var(--gold2);font-weight:700}
@media(max-width:720px){
  .topbar-left,.topbar-home{display:none}
  .topbar .container{justify-content:center}
  .sector-tabs a,.sector-tabs span{padding:3px 9px}
}

/* الهيدر */
header{background:rgba(255,255,255,.94);border-bottom:1px solid rgba(6,52,42,.08)}
.brand img{background:none;box-shadow:none;border-radius:0;padding:0}
.brand strong{color:var(--green)}
.brand span{color:var(--gold-text)}
.brand strong{white-space:nowrap}
@media(max-width:620px){
  .brand span,.nav-actions .btn{display:none}
}

/* الفوتر */
footer{position:relative;background:#03251E}
footer::after{content:'';position:absolute;left:0;right:0;bottom:0;height:6px;background:linear-gradient(90deg,#043126 0%,#B69047 100%)}
.footer-brand img{background:#fff;border-radius:16px;padding:6px;height:auto;object-fit:contain}


/* عارض الصور: الأسهم جنب الصورة على الكمبيوتر، وتحتها على الموبايل */
.lightbox{position:fixed;inset:0;z-index:100000;background:rgba(3,20,16,.94);display:none;align-items:center;justify-content:center;gap:22px;padding:72px 24px 32px}
.lightbox.open{display:flex}
.lightbox figure{margin:0;min-width:0;max-width:min(1100px,100%);text-align:center}
.lightbox img{display:block;max-width:100%;max-height:calc(100vh - 170px);margin:auto;border-radius:14px;box-shadow:0 30px 80px rgba(0,0,0,.5)}
.lightbox figcaption{display:flex;justify-content:space-between;gap:16px;color:#D5DFDA;font-size:14px;margin-top:14px}
.lb-count{color:var(--gold2);font-weight:700;direction:ltr}
.lightbox button{flex:none;display:grid;place-items:center;border:0;padding:0;cursor:pointer;color:#fff;border-radius:50%;transition:background .2s,color .2s,transform .2s}
.lb-nav{width:58px;height:58px;background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.25)}
.lb-nav:hover{background:var(--gold2);border-color:var(--gold2);color:var(--green);transform:scale(1.06)}
.lb-close{position:absolute;top:18px;left:20px;width:46px;height:46px;background:rgba(255,255,255,.12)}
.lb-close:hover{background:#fff;color:var(--green)}
.admin-bar .lb-close{top:50px}
.lightbox.single .lb-nav{display:none}
@media(max-width:720px){
  .lightbox{flex-wrap:wrap;align-content:center;gap:14px;padding:70px 12px 24px}
  .lightbox figure{order:-1;flex:1 1 100%}
  .lightbox img{max-height:calc(100vh - 230px)}
  .lb-nav{width:52px;height:52px}
}
/* ووردبريس: نص المحرر جوه التصميم */
.sw-content>*:first-child{margin-top:0}
.sw-content>*:last-child{margin-bottom:0}
.sw-content p{margin:0 0 12px}
.sw-content img{max-width:100%;height:auto;border-radius:16px}
.sw-content a{color:var(--green2);text-decoration:underline}
.side-links a.active{background:var(--green);color:#fff}
a.stat,a.card{text-decoration:none}
a.card{color:inherit}
.stat-strip a.stat{color:#fff}
a.card{transition:.25s}
a.card:hover{transform:translateY(-4px)}
.success.sw-error{background:#fdecec;color:#8a1f1f;border-color:#f3c4c4}
/* رسالة نتيجة الفورم (اللوجستيك والفنادق ملهمش تنسيق ليها) */
.sector-logistics .success,.sector-hotels .success{display:none;margin-top:14px;padding:13px 15px;border-radius:14px;background:#eef8f2;color:#1d6848;font-size:13px}
.sector-logistics .success.show,.sector-hotels .success.show{display:block}
.sector-logistics .success.sw-error,.sector-hotels .success.sw-error{background:#fdecec;color:#8a1f1f}
/* أزرار فلتر المشاريع */
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}
.filter-bar button{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border:1px solid rgba(6,52,42,.16);border-radius:999px;background:#fff;color:var(--green,#06342A);font:600 14px var(--font-head);cursor:pointer;transition:.2s}
.filter-bar button span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(6,52,42,.07);font-size:12px}
.filter-bar button:hover{border-color:#B69047;color:#B69047}
.filter-bar button[aria-pressed="true"]{background:#06342A;border-color:#06342A;color:#fff}
.filter-bar button[aria-pressed="true"] span{background:#D7B46A;color:#06342A}
.filter-bar button:focus-visible{outline:2px solid #D7B46A;outline-offset:2px}
.filter-bar+.project-grid{margin-top:24px}
.project-grid>[hidden]{display:none}
.filter-in{animation:swFilterIn .35s ease}
@keyframes swFilterIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
/* الموبايل: الأزرار في سطر واحد بسكرول بالعرض لحد طرف الشاشة */
@media(max-width:720px){.filter-bar{flex-wrap:nowrap;gap:8px;overflow-x:auto;margin-inline:-13px;padding:2px 13px 6px;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}.filter-bar::-webkit-scrollbar{display:none}.filter-bar button{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start;padding:8px 14px;font-size:13px}}
