
:root{
  --bg:#080808;
  --bg-soft:#101010;
  --panel:#141414;
  --panel-2:#1a1a1a;
  --text:#f5f2e9;
  --muted:#aaa69d;
  --gold:#f2b705;
  --gold-soft:#d99b00;
  --line:rgba(255,255,255,.10);
  --radius:24px;
  --shadow:0 24px 70px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at 80% -10%,rgba(242,183,5,.16),transparent 32%),
    radial-gradient(circle at 10% 35%,rgba(242,183,5,.07),transparent 24%),
    var(--bg);
  color:var(--text);
  font-family:Tahoma,Arial,sans-serif;
  direction:rtl;
  min-height:100vh;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:42px 42px;
  mask-image:linear-gradient(to bottom,black,transparent 70%);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(8,8,8,.78);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
.nav{
  min-height:78px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.brand{display:flex;align-items:center;gap:12px;direction:ltr}
.brand img{
  width:54px;height:54px;object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(242,183,5,.22));
}
.brand-copy{line-height:1}
.brand-copy strong{display:block;font-size:20px;letter-spacing:.04em}
.brand-copy span{display:block;color:var(--gold);font-size:12px;margin-top:7px}
.nav-links{display:flex;align-items:center;gap:26px;color:#d8d5ce;font-size:14px;font-weight:700}
.nav-links a:hover{color:var(--gold)}
.nav-cta,.btn{
  border:1px solid rgba(242,183,5,.5);
  background:linear-gradient(135deg,var(--gold),var(--gold-soft));
  color:#151006;
  min-height:46px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0 20px;border-radius:999px;font-weight:700;
  transition:.25s ease;
}
.nav-cta:hover,.btn:hover{transform:translateY(-2px);box-shadow:0 14px 35px rgba(242,183,5,.18)}
.btn.secondary{background:transparent;color:var(--text);border-color:var(--line)}
.btn.secondary:hover{border-color:rgba(242,183,5,.55);color:var(--gold)}
.hero{
  min-height:680px;
  display:grid;grid-template-columns:1.08fr .92fr;gap:70px;align-items:center;
  padding:90px 0 80px;
}
.eyebrow{
  color:var(--gold);font-weight:700;font-size:13px;letter-spacing:.12em;
  display:flex;align-items:center;gap:12px;margin-bottom:20px;
}
.eyebrow::before{content:"";width:48px;height:1px;background:var(--gold)}
.hero h1{
  font-size:clamp(42px,6vw,82px);
  line-height:1.05;margin:0 0 24px;letter-spacing:-.045em;
}
.hero h1 span{color:var(--gold)}
.hero p{font-size:19px;line-height:1.9;color:#c8c4bb;max-width:680px;margin:0 0 34px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-card{
  position:relative;min-height:500px;border-radius:36px;overflow:hidden;
  border:1px solid var(--line);background:#0c0c0c;box-shadow:var(--shadow);
}
.hero-card::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.9),transparent 60%);
}
.hero-card img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:60px;
  background:
    radial-gradient(circle at 50% 44%,rgba(242,183,5,.28),transparent 38%),
    linear-gradient(135deg,#161616,#090909);
}
.hero-badge{
  position:absolute;z-index:2;right:28px;left:28px;bottom:28px;
  padding:22px;border:1px solid var(--line);border-radius:20px;
  background:rgba(10,10,10,.64);backdrop-filter:blur(12px);
}
.hero-badge strong{display:block;font-size:21px;margin-bottom:8px}
.hero-badge span{color:var(--muted);line-height:1.7;font-size:14px}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}
.stat{padding:18px;border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.025)}
.stat b{font-size:24px;color:var(--gold);display:block}
.stat span{font-size:12px;color:var(--muted);margin-top:6px;display:block}
section{padding:86px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}
.section-title{margin:0;font-size:clamp(32px,4vw,52px);letter-spacing:-.03em}
.section-subtitle{margin:10px 0 0;color:var(--muted);line-height:1.8;max-width:690px}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.service-card{
  position:relative;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;background:var(--panel);transition:.28s ease;
}
.service-card:hover{transform:translateY(-7px);border-color:rgba(242,183,5,.38);box-shadow:var(--shadow)}
.service-cover{aspect-ratio:16/10;overflow:hidden;background:#0d0d0d;position:relative}
.service-cover img{width:100%;height:100%;object-fit:cover;transition:.45s ease}
.service-card:hover .service-cover img{transform:scale(1.035)}
.service-index{
  position:absolute;top:18px;left:18px;z-index:2;
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:rgba(8,8,8,.68);border:1px solid var(--line);font-size:12px;direction:ltr;
}
.service-body{padding:22px}
.service-tag{color:var(--gold);font-size:12px;font-weight:700;margin-bottom:10px}
.service-body h3{font-size:18px;line-height:1.55;margin:0 0 11px}
.service-body p{color:var(--muted);line-height:1.75;font-size:14px;margin:0 0 18px}
.card-link{display:flex;align-items:center;justify-content:space-between;color:#efede7;font-weight:700;font-size:14px}
.card-link span:last-child{color:var(--gold);font-size:20px;transition:.25s}
.service-card:hover .card-link span:last-child{transform:translateX(-5px)}
.process{background:linear-gradient(180deg,transparent,rgba(255,255,255,.025),transparent)}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.process-item{padding:28px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.022)}
.process-item b{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:rgba(242,183,5,.13);color:var(--gold);margin-bottom:18px}
.process-item h3{margin:0 0 10px;font-size:18px}
.process-item p{margin:0;color:var(--muted);line-height:1.7;font-size:14px}
.contact-box{
  border:1px solid rgba(242,183,5,.25);border-radius:32px;padding:54px;
  background:
    radial-gradient(circle at 10% 20%,rgba(242,183,5,.16),transparent 30%),
    linear-gradient(135deg,#17130a,#101010 55%);
  display:flex;align-items:center;justify-content:space-between;gap:40px;
}
.contact-box h2{font-size:clamp(24px,3.1vw,40px);line-height:1.18;margin:0 0 12px;max-width:720px}
.contact-box p{color:#c3beb2;margin:0;line-height:1.8;max-width:760px}
.site-footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted);font-size:13px}
.footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}
.mini-brand{color:var(--gold);font-weight:700;letter-spacing:.08em;direction:ltr}
.mobile-toggle{display:none}
.empty-note{
  border:1px dashed rgba(255,255,255,.18);border-radius:20px;padding:34px;text-align:center;
  color:var(--muted);background:rgba(255,255,255,.018);line-height:1.8;
}

/* Service details */
.service-hero{padding:58px 0 32px}
.breadcrumb{color:var(--muted);font-size:13px;margin-bottom:22px}
.breadcrumb a{color:var(--gold)}
.service-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center}
.service-hero-media{border-radius:30px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--shadow)}
.service-hero-media img{width:100%;aspect-ratio:16/10;object-fit:cover}
.service-kicker{color:var(--gold);font-size:13px;font-weight:700;margin-bottom:13px}
.service-hero h1{font-size:clamp(29px,3.6vw,47px);line-height:1.25;margin:0 0 18px}
.service-lead{color:#c8c4bb;font-size:18px;line-height:1.95;margin:0}
.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}
.content-panel,.side-panel{border:1px solid var(--line);border-radius:26px;background:var(--panel);padding:30px}
.content-panel h2,.side-panel h3{margin-top:0}
.content-panel p{color:#c6c2b9;line-height:2;font-size:16px}
.side-panel{position:sticky;top:108px}
.side-panel ul{list-style:none;padding:0;margin:18px 0 0}
.side-panel li{padding:13px 0;border-bottom:1px solid var(--line);color:#c5c1b7;font-size:14px}
.media-title{display:flex;justify-content:space-between;gap:16px;align-items:end;margin:64px 0 22px}
.media-title h2{margin:0;font-size:34px}
.media-title p{margin:0;color:var(--muted)}
.media-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.media-card{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:var(--panel)}
.video-frame{aspect-ratio:16/9;background:#050505;display:grid;place-items:center;color:var(--muted)}
.video-frame iframe{width:100%;height:100%;border:0}
.media-caption{padding:17px;color:#d8d4cc;font-size:14px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.gallery-grid img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:18px;border:1px solid var(--line);background:#101010}

@media (max-width:1000px){
  .hero{grid-template-columns:1fr;gap:42px;padding-top:60px}
  .hero-card{min-height:420px}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .process-grid{grid-template-columns:repeat(2,1fr)}
  .service-hero-grid,.content-grid{grid-template-columns:1fr}
  .side-panel{position:static}
}
@media (max-width:720px){
  .container{width:min(100% - 26px,1180px)}
  .nav{min-height:68px}
  .brand img{width:44px;height:44px}
  .brand-copy strong{font-size:17px}
  .nav-links{
    display:none;
    position:absolute;
    top:calc(100% + 1px);
    right:0;
    left:0;
    padding:14px 20px 18px;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:rgba(8,8,8,.98);
    border-bottom:1px solid var(--line);
    box-shadow:0 18px 34px rgba(0,0,0,.35);
  }
  .nav-links.is-open{display:flex}
  .nav-links a{padding:13px 0;border-bottom:1px solid var(--line)}
  .nav-links a:last-child{border-bottom:0}
  .nav-cta{display:none}
  .mobile-toggle{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;background:transparent;color:#fff}
  .mobile-toggle.is-open{border-color:rgba(242,183,5,.55);color:var(--gold)}
  .hero{min-height:auto;padding:50px 0 55px}
  .hero h1{font-size:44px}
  .hero p{font-size:16px}
  .hero-card{min-height:360px}
  .hero-card img{padding:38px}
  .stats{grid-template-columns:1fr}
  section{padding:62px 0}
  .section-head{display:block}
  .services-grid,.process-grid,.media-grid,.gallery-grid{grid-template-columns:1fr}
  .contact-box{padding:34px 24px;display:block}
  .contact-box .btn{margin-top:22px}
  .footer-inner{display:block;text-align:center}
  .footer-inner .mini-brand{margin-top:10px}
  .service-hero{padding-top:32px}
  .content-panel,.side-panel{padding:22px}
}


.admin-wrap{padding:46px 0 80px}
.admin-top{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  margin-bottom:28px
}
.admin-top h1{margin:0;font-size:42px}
.admin-top p{margin:8px 0 0;color:var(--muted)}
.admin-actions{display:flex;gap:10px;flex-wrap:wrap}
.admin-btn{
  border:1px solid var(--line);background:#181818;color:#fff;
  min-height:44px;padding:0 17px;border-radius:12px;cursor:pointer;font-weight:700
}
.admin-btn:hover{border-color:rgba(242,183,5,.55);color:var(--gold)}
.admin-btn.primary{background:linear-gradient(135deg,var(--gold),var(--gold-soft));color:#171006;border-color:transparent}
.admin-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}
.admin-sidebar,.admin-panel{
  border:1px solid var(--line);border-radius:24px;background:var(--panel);padding:20px
}
.admin-sidebar{position:sticky;top:100px}
.admin-sidebar h3{margin:0 0 14px}
.service-list{display:flex;flex-direction:column;gap:8px;max-height:68vh;overflow:auto}
.service-list button{
  width:100%;text-align:right;border:1px solid transparent;border-radius:13px;
  background:#0f0f0f;color:#d9d5cd;padding:13px;cursor:pointer;line-height:1.5
}
.service-list button.active{border-color:rgba(242,183,5,.55);background:rgba(242,183,5,.08);color:var(--gold)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{display:flex;flex-direction:column;gap:8px}
.field.full{grid-column:1/-1}
.field label{font-size:13px;color:#d9d4c9;font-weight:700}
.field input,.field textarea,.field select{
  width:100%;border:1px solid var(--line);background:#0c0c0c;color:#fff;
  border-radius:13px;padding:13px 14px;outline:none
}
.field textarea{min-height:110px;resize:vertical;line-height:1.8}
.field input:focus,.field textarea:focus{border-color:rgba(242,183,5,.65)}
.help{color:var(--muted);font-size:12px;line-height:1.7}
.preview-box{
  border:1px dashed rgba(255,255,255,.18);border-radius:18px;padding:14px;
  background:#0b0b0b
}
.preview-box img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;background:#111}
.cover-actions-row{display:flex;gap:10px;align-items:center;margin-top:8px;flex-wrap:wrap}
.optional-field-badge{
  display:inline-flex;align-items:center;margin-left:8px;padding:3px 7px;
  border:1px solid rgba(242,183,5,.3);border-radius:6px;color:var(--gold);
  background:rgba(242,183,5,.07);font-size:10px;font-weight:700
}
.cover-fallback-placeholder{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;text-align:center;color:var(--muted);padding:24px
}
.cover-fallback-placeholder strong{color:#e8e2d5;font-size:14px}
.cover-fallback-placeholder span{max-width:460px;font-size:12px;line-height:1.6}
.english-cover-help{color:var(--gold);font-weight:600;display:block;margin-top:8px}
.gallery-edit{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.gallery-edit-item{position:relative}
.gallery-edit-item img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
.remove-image{
  position:absolute;top:7px;left:7px;width:30px;height:30px;border-radius:50%;
  border:0;background:rgba(0,0,0,.75);color:#fff;cursor:pointer
}
.status{
  margin-top:18px;padding:13px 15px;border-radius:12px;display:none;
  border:1px solid rgba(242,183,5,.35);background:rgba(242,183,5,.08);color:#f8d96e
}
.status.show{display:block}
.admin-footer-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.warning-box{
  border:1px solid rgba(242,183,5,.28);background:rgba(242,183,5,.06);
  color:#d8cfb7;padding:16px;border-radius:14px;line-height:1.8;margin-bottom:20px
}
.file-hidden{display:none}
.upload-label{
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  border:1px dashed rgba(255,255,255,.22);padding:0 16px;border-radius:12px;
  cursor:pointer;color:#e9e5dc;background:#101010
}
.upload-label:hover{border-color:rgba(242,183,5,.55);color:var(--gold)}
@media(max-width:900px){
  .admin-layout{grid-template-columns:1fr}
  .admin-sidebar{position:static}
  .form-grid{grid-template-columns:1fr}
  .field.full{grid-column:auto}
}
@media(max-width:650px){
  .admin-top{display:block}
  .admin-actions{margin-top:16px}
  .gallery-edit{grid-template-columns:repeat(2,1fr)}
}


/* V3 — عرض اللوجو الكبير كاملًا والجملة تحته */
.hero-card{
  display:flex;
  flex-direction:column;
  min-height:500px;
}
.hero-card::after{
  display:none;
}
.hero-card > img{
  position:relative;
  inset:auto;
  width:100%;
  height:380px;
  flex:1 1 auto;
  object-fit:contain;
  object-position:center;
  padding:34px 62px 12px;
  background:
    linear-gradient(135deg,#131313 0%, #0a0a0a 62%, #090909 100%);
}
.hero-badge{
  position:relative;
  z-index:2;
  right:auto;
  left:auto;
  bottom:auto;
  margin:0 28px 28px;
  padding:22px;
}
.nav-links a{
  font-weight:700;
}
@media(max-width:720px){
  .hero-card > img{
    height:285px;
    padding:26px 40px 8px;
  }
  .hero-badge{
    margin:0 18px 18px;
  }
}


/* V6 — إعادة إظهار وتوسيط الهالة الذهبية خلف اللوجو بشكل واضح */
.hero-card{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(135deg,#131313 0%, #0a0a0a 62%, #090909 100%);
}
.hero-card::before{
  content:"";
  position:absolute;
  left:50%;
  top:39%;
  width:390px;
  height:390px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:
    radial-gradient(circle,
      rgba(242,183,5,.26) 0%,
      rgba(242,183,5,.18) 20%,
      rgba(242,183,5,.10) 38%,
      rgba(242,183,5,.05) 52%,
      rgba(242,183,5,.02) 62%,
      rgba(242,183,5,0) 74%);
  filter: blur(16px);
  pointer-events:none;
  z-index:1;
}
.hero-card > img{
  background:transparent !important;
  position:relative;
  z-index:2;
}
.hero-badge{
  position:relative;
  z-index:3;
}
@media(max-width:720px){
  .hero-card::before{
    top:37%;
    width:290px;
    height:290px;
  }
}




/* V6 — كفرات فارغة لحين إضافة الصور من لوحة التحكم */
.service-cover{
  background:
    radial-gradient(circle at 50% 42%,rgba(242,183,5,.055),transparent 35%),
    linear-gradient(135deg,#111 0%,#090909 100%);
}
.service-cover-empty{
  width:100%;
  height:100%;
  background:
    linear-gradient(135deg,rgba(255,255,255,.018),transparent 55%),
    radial-gradient(circle at 50% 50%,rgba(242,183,5,.035),transparent 45%);
}
.service-hero-media{
  position:relative;
  min-height:310px;
  background:
    radial-gradient(circle at 50% 45%,rgba(242,183,5,.055),transparent 35%),
    linear-gradient(135deg,#111,#080808);
}
.service-hero-media img{
  position:relative;
  z-index:2;
}
.service-cover-placeholder{
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg,rgba(255,255,255,.018),transparent 55%),
    radial-gradient(circle at 50% 50%,rgba(242,183,5,.035),transparent 45%);
}
.preview-box{
  position:relative;
  min-height:270px;
}
.admin-cover-placeholder{
  width:100%;
  aspect-ratio:16/10;
  border-radius:12px;
  background:
    radial-gradient(circle at 50% 45%,rgba(242,183,5,.06),transparent 36%),
    linear-gradient(135deg,#121212,#080808);
}
.preview-box img[hidden],
.service-hero-media img[hidden]{
  display:none;
}
@media(max-width:720px){
  .service-body h3{
    font-size:17px;
  }
  .service-hero h1{
    font-size:clamp(27px,8vw,38px);
  }
  .service-hero-media{
    min-height:220px;
  }
}


/* V6 Bilingual — Arabic / English */
.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.language-toggle{
  min-width:50px;
  height:42px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid rgba(242,183,5,.45);
  color:var(--gold);
  background:rgba(242,183,5,.06);
  font-weight:800;
  cursor:pointer;
  transition:.22s ease;
}
.language-toggle:hover{
  background:rgba(242,183,5,.13);
  border-color:var(--gold);
  transform:translateY(-1px);
}
html[dir="ltr"] body{
  direction:ltr;
  font-family:Arial,Tahoma,sans-serif;
}
html[dir="ltr"] .brand,
html[dir="ltr"] .brand-copy,
html[dir="ltr"] .mini-brand{
  direction:ltr;
}
html[dir="ltr"] .eyebrow{
  flex-direction:row;
}
html[dir="ltr"] .card-link .direction-arrow{
  transform:rotate(180deg);
}
html[dir="ltr"] .service-card:hover .card-link .direction-arrow{
  transform:rotate(180deg) translateX(-5px);
}
html[dir="ltr"] .service-body,
html[dir="ltr"] .content-panel,
html[dir="ltr"] .side-panel,
html[dir="ltr"] .service-hero,
html[dir="ltr"] .contact-box{
  text-align:left;
}
html[dir="ltr"] .service-index{
  left:auto;
  right:18px;
}
html[dir="ltr"] .breadcrumb{
  direction:ltr;
}
.language-fields-heading{
  margin-top:8px;
  padding:14px 16px;
  border-radius:13px;
  background:rgba(242,183,5,.07);
  border:1px solid rgba(242,183,5,.18);
}
.language-fields-heading h3{
  margin:0;
  color:var(--gold);
}
.english-heading{
  direction:ltr;
  text-align:left;
  margin-top:20px;
}
@media(max-width:720px){
  .language-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .nav-actions .nav-cta{
    display:none;
  }
}


/* ===== إضافة خدمات جديدة — Admin V2 ===== */

/* زر "خدمة جديدة +" */
.btn-add-service{
  width:100%;
  margin-top:12px;
  min-height:46px;
  border-radius:14px;
  border:1.5px dashed rgba(242,183,5,.5);
  background:rgba(242,183,5,.06);
  color:var(--gold);
  font-weight:800;
  font-size:15px;
  cursor:pointer;
  transition:.22s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  letter-spacing:.02em;
}
.btn-add-service:hover{
  background:rgba(242,183,5,.13);
  border-color:var(--gold);
  transform:translateY(-2px);
  box-shadow:0 8px 28px rgba(242,183,5,.12);
}
.btn-add-service .plus-icon{
  font-size:20px;
  line-height:1;
  font-weight:300;
}

/* أزرار الترتيب ↑↓ داخل Sidebar */
.service-list-item{
  display:flex;
  align-items:stretch;
  gap:5px;
}
.service-list-item button.service-btn{
  flex:1;
}
.move-btns{
  display:flex;
  flex-direction:column;
  gap:3px;
}
.move-btn{
  width:28px;
  height:calc(50% - 1.5px);
  border:1px solid rgba(255,255,255,.10);
  border-radius:8px;
  background:#111;
  color:#888;
  cursor:pointer;
  font-size:11px;
  display:grid;
  place-items:center;
  transition:.18s ease;
  padding:0;
  line-height:1;
}
.move-btn:hover{
  border-color:rgba(242,183,5,.5);
  color:var(--gold);
  background:rgba(242,183,5,.07);
}
.move-btn:disabled{
  opacity:0.2;
  cursor:not-allowed;
}
.move-btn:disabled:hover{
  border-color:rgba(255,255,255,.10);
  color:#888;
  background:#111;
}

/* شارة "خدمة مخصصة" */
.custom-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:11px;
  font-weight:700;
  color:var(--gold);
  background:rgba(242,183,5,.10);
  border:1px solid rgba(242,183,5,.25);
  border-radius:999px;
  padding:3px 9px;
  margin-right:6px;
  vertical-align:middle;
}

/* حقل لون التمييز */
.color-field-row{
  display:flex;
  align-items:center;
  gap:12px;
}
.color-field-row input[type="color"]{
  width:54px;
  height:44px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#0c0c0c;
  padding:4px;
  cursor:pointer;
  flex-shrink:0;
}
.color-field-row input[type="color"]::-webkit-color-swatch-wrapper{
  padding:3px;
}
.color-field-row input[type="color"]::-webkit-color-swatch{
  border-radius:6px;
  border:none;
}
.color-preview-chips{
  display:flex;
  gap:6px;
  align-items:center;
}
.color-chip{
  width:28px;
  height:28px;
  border-radius:50%;
  border:2px solid rgba(255,255,255,.12);
  cursor:pointer;
  transition:.18s;
  flex-shrink:0;
}
.color-chip:hover{
  transform:scale(1.18);
  border-color:rgba(255,255,255,.35);
}
.color-chip.selected{
  border-color:#fff;
  transform:scale(1.15);
}

/* زر حذف الخدمة */
.btn-delete-service{
  min-height:44px;
  padding:0 18px;
  border-radius:12px;
  border:1px solid rgba(255,80,80,.35);
  background:rgba(255,60,60,.06);
  color:#ff6b6b;
  font-weight:700;
  cursor:pointer;
  transition:.22s ease;
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.btn-delete-service:hover{
  background:rgba(255,50,50,.18);
  border-color:rgba(255,80,80,.7);
  color:#ff4444;
}

/* فاصل في أزرار الفوتر */
.admin-footer-separator{
  width:1px;
  height:36px;
  background:var(--line);
  margin:0 4px;
}

/* ====================================================
   LIGHTBOX MODAL & GALLERY ZOOM
   ==================================================== */
.gallery-grid .gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #101010;
  cursor: pointer;
}
.gallery-grid .gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.gallery-grid .gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-grid .gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}
.zoom-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transform: scale(.8);
  transition: transform .25s ease;
}
.gallery-grid .gallery-item:hover .zoom-icon-badge {
  transform: scale(1);
}

/* Lightbox overlay */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 4, 4, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

/* Close & Nav buttons */
.lightbox-close {
  position: absolute;
  top: 22px;
  left: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(20,20,20,.75);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 10010;
  display: grid;
  place-items: center;
  transition: .22s ease;
  line-height: 1;
}
.lightbox-close:hover {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  transform: scale(1.08);
}

.lightbox-counter {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 14px;
  font-weight: 700;
  color: #ccc;
  background: rgba(20,20,20,.75);
  border: 1px solid rgba(255,255,255,.12);
  padding: 6px 16px;
  border-radius: 999px;
  z-index: 10010;
  direction: ltr !important;
  font-variant-numeric: tabular-nums;
}

/* Zoom Toolbar */
.lightbox-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20,20,20,.85);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 6px 14px;
  z-index: 10010;
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
}
.lightbox-controls button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s ease;
}
.lightbox-controls button:hover {
  background: rgba(242,183,5,.25);
  color: var(--gold);
}

/* Nav arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(20,20,20,.75);
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10010;
  display: grid;
  place-items: center;
  transition: .22s ease;
  user-select: none;
}
.lightbox-nav:hover {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-nav.next { right: 26px; }
.lightbox-nav.prev { left: 26px; }

/* Image Container */
.lightbox-content {
  max-width: 90vw;
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  user-select: none;
  touch-action: pan-y;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 72px rgba(0,0,0,.7);
  transition: transform .22s ease-out;
  cursor: grab;
}
.lightbox-content img:active {
  cursor: grabbing;
}

/* Lightbox Loader & Spinner */
.lightbox-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10;
  border-radius: 12px;
  pointer-events: none;
}
.lightbox-loader[hidden] {
  display: none;
}
.lightbox-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(242,183,5,.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: lightboxSpin .75s linear infinite;
}
@keyframes lightboxSpin {
  to { transform: rotate(360deg); }
}

.lightbox-content img.is-loading {
  opacity: 0.35;
  filter: blur(4px);
  transition: opacity .15s ease, filter .15s ease;
}
.lightbox-content img.is-loaded {
  opacity: 1;
  filter: blur(0);
  transition: opacity .25s ease, filter .25s ease;
}

/* Mobile Lightbox Responsive Adjustments */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 96vw;
    max-height: 72vh;
  }
  .lightbox-content img {
    max-width: 96vw;
    max-height: 72vh;
  }
  .lightbox-nav {
    top: auto;
    bottom: 20px;
    transform: none;
    width: 44px;
    height: 44px;
    font-size: 24px;
    z-index: 10020;
    background: rgba(18,18,18,.92);
    border-color: rgba(242,183,5,.45);
    color: var(--gold);
    box-shadow: 0 8px 24px rgba(0,0,0,.65);
  }
  .lightbox-nav:hover {
    transform: scale(1.06);
  }
  .lightbox-nav.next {
    right: 18px;
  }
  .lightbox-nav.prev {
    left: 18px;
  }
  .lightbox-controls {
    bottom: 20px;
    padding: 4px 10px;
    gap: 4px;
  }
  .lightbox-controls button {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
}

/* ── Admin Styles Manager UI ── */
.styles-manager {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.style-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color .2s;
}
.style-box:hover {
  border-color: rgba(242, 183, 5, 0.3);
}
.style-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.style-title-input {
  flex: 1;
  min-width: 240px;
  background: #141414;
  border: 1px solid #282828;
  color: var(--gold);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  font-family: inherit;
}
.style-title-input:focus {
  border-color: var(--gold);
}
.btn-remove-style {
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 80, 80, 0.25);
  color: #ff7b7b;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.btn-remove-style:hover {
  background: rgba(255, 80, 80, 0.25);
}
.btn-add-style {
  background: rgba(242, 183, 5, 0.1);
  border: 1px dashed rgba(242, 183, 5, 0.4);
  color: var(--gold);
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: .22s ease;
  width: 100%;
}
.btn-add-style:hover {
  background: rgba(242, 183, 5, 0.2);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ── Website Styles Filter Tabs ── */
.gallery-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.gallery-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: #c3beb2;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
}
.gallery-tab-btn:hover {
  border-color: rgba(242, 183, 5, 0.4);
  color: #fff;
}
.gallery-tab-btn.active {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(242, 183, 5, 0.25);
}


/* ====================================================
   CONTACT MODAL — موديال التواصل الاحترافي
   ==================================================== */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4,4,4,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.22,1,.36,1);
}
.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.contact-modal {
  width: min(560px, 100%);
  background: linear-gradient(160deg, #141414 0%, #0e0e0e 60%, #111 100%);
  border: 1px solid rgba(242,183,5,.22);
  border-radius: 32px;
  padding: 40px 36px 36px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 60px 120px rgba(0,0,0,.7),
    0 0 80px rgba(242,183,5,.06);
  transform: translateY(28px) scale(.96);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.contact-modal-overlay.active .contact-modal {
  transform: translateY(0) scale(1);
}
.contact-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,183,5,.55), transparent);
  border-radius: 999px;
}
.contact-modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: #888;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .22s ease;
  line-height: 1;
}
.contact-modal-close:hover {
  background: rgba(255,80,80,.15);
  border-color: rgba(255,80,80,.4);
  color: #ff7b7b;
  transform: scale(1.08);
}
.contact-modal-header {
  text-align: center;
  margin-bottom: 32px;
}
.contact-modal-icon-top {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242,183,5,.22) 0%, rgba(242,183,5,.06) 60%, transparent 100%);
  border: 1px solid rgba(242,183,5,.3);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 26px;
  box-shadow: 0 0 30px rgba(242,183,5,.15);
}
.contact-modal-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}
.contact-modal-subtitle {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.contact-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-link-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
  text-decoration: none;
  color: var(--text);
  transition: all .25s cubic-bezier(.22,1,.36,1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.contact-link-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--contact-color, rgba(242,183,5,.08));
  opacity: 0;
  transition: opacity .25s;
  border-radius: inherit;
}
.contact-link-item:hover::before {
  opacity: 1;
}
.contact-link-item:hover {
  border-color: var(--contact-color-border, rgba(242,183,5,.4));
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.contact-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
  background: var(--contact-icon-bg, rgba(242,183,5,.12));
  border: 1px solid var(--contact-icon-border, rgba(242,183,5,.2));
  transition: transform .25s ease;
  position: relative;
  z-index: 1;
  color: var(--text);
}
.contact-link-icon svg,
.contact-channel-icon-preview svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.contact-link-item:hover .contact-link-icon {
  transform: scale(1.1) rotate(-5deg);
}
.contact-link-title {
  font-size: 16px;
  font-weight: 700;
  color: #ede9df;
  letter-spacing: -.01em;
  position: relative;
  z-index: 1;
}
.contact-modal-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  border: 1px dashed rgba(255,255,255,.12);
  border-radius: 18px;
}
.contact-modal-footer {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 500px) {
  .contact-modal {
    padding: 32px 20px 28px;
    border-radius: 24px;
  }
  .contact-links-grid {
    grid-template-columns: 1fr;
  }
  .contact-modal-title {
    font-size: 20px;
  }
}


/* ====================================================
   ADMIN — Contact Manager Section
   ==================================================== */
.contact-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact-section-header h3 {
  margin: 0;
  font-size: 18px;
}
.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.contact-channel-row {
  display: grid;
  grid-template-columns: 52px 1fr 1fr auto;
  gap: 10px;
  align-items: center;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  transition: border-color .2s;
}
.contact-channel-row:hover {
  border-color: rgba(242,183,5,.3);
}
.contact-channel-icon-preview {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: rgba(242,183,5,.08);
  border: 1px solid rgba(242,183,5,.18);
  flex-shrink: 0;
}
.contact-channel-select {
  background: #0c0c0c;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  width: 100%;
}
.contact-channel-select:focus {
  border-color: rgba(242,183,5,.65);
}
.contact-channel-value-input {
  background: #0c0c0c;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  width: 100%;
}
.contact-channel-value-input:focus {
  border-color: rgba(242,183,5,.65);
}
.btn-remove-channel {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,80,80,.25);
  background: rgba(255,60,60,.06);
  color: #ff7b7b;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: .2s ease;
  flex-shrink: 0;
}
.btn-remove-channel:hover {
  background: rgba(255,50,50,.2);
  border-color: rgba(255,80,80,.6);
}
.btn-add-channel {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1.5px dashed rgba(242,183,5,.4);
  background: rgba(242,183,5,.05);
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: .22s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}
.btn-add-channel:hover {
  background: rgba(242,183,5,.12);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.contact-admin-preview {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(242,183,5,.04);
  border: 1px solid rgba(242,183,5,.14);
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}
@media (max-width: 700px) {
  .contact-channel-row {
    grid-template-columns: 44px 1fr auto;
    grid-template-rows: auto auto;
  }
  .contact-channel-value-input {
    grid-column: 2 / 3;
    grid-row: 2;
  }
  .btn-remove-channel {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}

/* ── Admin Tab Navigation ── */
.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.admin-tab-btn {
  padding: 12px 22px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .22s ease;
  font-family: inherit;
  margin-bottom: -1px;
  border-radius: 10px 10px 0 0;
}
.admin-tab-btn:hover {
  color: var(--text);
  background: rgba(255,255,255,.03);
}
.admin-tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(242,183,5,.05);
}
.admin-tab-pane {
  display: none;
}
.admin-tab-pane.active {
  display: block;
}
