/* ==========================================================================
   LESS TIME — نظام التصميم
   لغة بصرية: كحلي + برونزي/ذهبي + كريمي · بطاقات ناعمة · عناوين ثنائية اللون
   ========================================================================== */

/* ---------- 01 · Tokens ---------- */
:root {
  /* ── الألوان مستخرجة من ملف اللوجو نفسه ──
     الذهبي: hue 42° · sat 56% · val 85%   |   الكحلي: #122A4E */
  --navy:    #123054;
  --navy-d:  #122A4E;
  --navy-dd: #0C1F3A;
  --navy-l:  #183660;

  --gold:     #D6B25E;   /* ذهبي العلامة — يُستخدم على الخلفيات الداكنة وكتعبئة بنص كحلي */
  --gold-l:   #E4C06C;
  --gold-ll:  #F0DCA8;
  --gold-ink: #0C1F3A;   /* لون النص فوق الذهبي */
  --bronze:   #A8823C;   /* ذهبي أعمق — للنصوص والحدود على الخلفيات الفاتحة */
  --bronze-d: #8A6A30;
  --gold-t:   rgba(214, 178, 94, .14);

  /* أسطح كريمية أهدأ */
  --cream:   #FCFBF8;
  --cream-2: #F6F2E9;
  --cream-3: #EDE6D8;
  --white:   #FFFFFF;

  /* نصوص بتباين أعلى */
  --ink:   #1C2530;
  --ink-2: #4C5563;
  --muted: #808A97;
  --line:  #E4DDD0;
  --line-d: rgba(255, 255, 255, .12);

  --on-d:  rgba(254, 253, 250, .78);
  --on-d2: rgba(254, 253, 250, .58);

  /* خطوط */
  --f: "Tajawal", system-ui, sans-serif;
  --f-h: "Cairo", "Tajawal", system-ui, sans-serif;

  /* شبكة */
  --wrap: 1240px;
  --pad: clamp(18px, 4vw, 40px);
  --sp: clamp(64px, 7.5vw, 108px);

  /* زوايا */
  --r-s: 10px;
  --r: 18px;
  --r-l: 24px;
  --r-p: 50px;

  /* ظلال */
  --sh1: 0 1px 3px rgba(13, 32, 56, .04), 0 6px 18px rgba(13, 32, 56, .05);
  --sh2: 0 2px 8px rgba(13, 32, 56, .05), 0 14px 40px rgba(13, 32, 56, .10);
  --sh3: 0 24px 70px rgba(13, 32, 56, .20);

  --e: cubic-bezier(.25, .8, .3, 1);
  --e2: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 02 · Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.lock, html.lock body { overflow: hidden; }

body {
  font-family: var(--f);
  font-size: 16px; font-weight: 400; line-height: 1.9;
  color: var(--ink-2);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.skip {
  position: absolute; inset-inline-start: 50%; inset-block-start: -100px;
  transform: translateX(50%); z-index: 999;
  background: var(--bronze); color: #fff; padding: 13px 26px; font-weight: 700;
  border-radius: 0 0 10px 10px; transition: inset-block-start .3s var(--e);
}
.skip:focus { inset-block-start: 0; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- 03 · Typography ---------- */
h1, h2, h3, h4 { font-family: var(--f-h); font-weight: 800; color: var(--navy-d); line-height: 1.55; }
.h1 { font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.42; }
.h2 { font-size: clamp(1.7rem, 3.1vw, 2.45rem); line-height: 1.5; }
.h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
.h4 { font-size: 1.08rem; }
.lead { font-size: clamp(.98rem, 1.15vw, 1.08rem); line-height: 2; }
.sm { font-size: .89rem; }
.xs { font-size: .8rem; }
.gold { color: var(--gold); }
.bronze { color: var(--bronze); }

/* عين العنوان: شرطتان حول نص صغير */
.eye {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f); font-size: .82rem; font-weight: 700;
  color: var(--bronze);
}
.eye::before, .eye::after { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .55; }
.eye--d { color: var(--gold-l); }

/* مسطرة منقّطة تحت العنوان */
.dots { display: flex; align-items: center; justify-content: center; gap: 7px; margin-block-start: 14px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .45; }
.dots i:nth-child(2) { width: 34px; border-radius: 3px; opacity: 1; }

.head { text-align: center; max-width: 660px; margin-inline: auto; margin-block-end: clamp(34px, 4vw, 54px); }
.head h2 { margin-block-start: 14px; }
.head p { margin-block-start: 16px; }
.head--start { text-align: start; margin-inline: 0; }
.head--start .dots { justify-content: flex-start; }

/* ---------- 04 · Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap--nar { max-width: 940px; }
.sec { padding-block: var(--sp); position: relative; }
.sec--cream2 { background: var(--cream-2); }
.sec--navy { background: var(--navy-d); color: var(--on-d); }
.sec--navy h1, .sec--navy h2, .sec--navy h3, .sec--navy h4 { color: var(--cream); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4.5vw, 64px); align-items: center; }

.mt-s { margin-block-start: 14px; } .mt { margin-block-start: 24px; } .mt-l { margin-block-start: 38px; }

/* ---------- 05 · Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--r-s);
  font-family: var(--f); font-size: .93rem; font-weight: 700;
  border: 1.5px solid transparent; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--e), border-color .4s var(--e), transform .25s var(--e), box-shadow .4s var(--e);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .5s var(--e2); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--e); }
.btn:hover svg { transform: translateX(-5px); }

.btn--p { background: var(--bronze); color: #fff; box-shadow: 0 6px 20px rgba(168, 130, 60, .28); }
.btn--p::before { background: var(--navy-d); }
.btn--p:hover { color: #fff; }

.btn--g { background: var(--gold); color: var(--gold-ink); box-shadow: 0 6px 20px rgba(214, 178, 94, .3); }
.btn--g::before { background: var(--navy-d); }
.btn--g:hover { color: #fff; }

.btn--o { background: transparent; color: var(--bronze); border-color: var(--bronze); }
.btn--o::before { background: var(--bronze); }
.btn--o:hover { color: #fff; }

.btn--w { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--w::before { background: #fff; }
.btn--w:hover { color: var(--navy-d); border-color: #fff; }

.btn--navy { background: var(--navy-d); color: #fff; }
.btn--navy::before { background: var(--bronze); }
.btn--navy:hover { color: #fff; }

.btn--lg { padding: 18px 38px; font-size: 1rem; }
.btn--sm { padding: 10px 20px; font-size: .84rem; }
.btn--block { width: 100%; }

/* ---------- 06 · Header ---------- */
/* كتلة واحدة مصمتة: الشريطان بنفس اللون، وفاصل واحد فقط أسفل الهيدر.
   لا خطوط ذهبية علوية ولا تدرّجات — كانت تُنتج خمسة مستويات في 120px */
/* شفاف فوق الغلاف الداكن، ويصبح مصمتاً عند التمرير */
.top {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 201;
  background: transparent; color: rgba(254, 253, 250, .72); font-size: .8rem; display: none;
  border-block-end: 1px solid rgba(255, 255, 255, .10);
  transition: transform .45s var(--e), opacity .3s var(--e);
}
.top.gone { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 40px; }
.top a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.top a:hover { color: var(--gold-l); }
.top svg { width: 14px; height: 14px; color: var(--gold); opacity: .85; }
.top__g { display: flex; align-items: center; gap: 26px; }

.hdr {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 200;
  background: transparent;
  border-block-end: 1px solid transparent;
  transition: background .45s var(--e), border-color .45s var(--e),
              box-shadow .45s var(--e), inset-block-start .45s var(--e);
}
@media (min-width: 1025px) { .hdr { inset-block-start: 41px; } }

.hdr.stuck {
  inset-block-start: 0;
  background: rgba(18, 42, 78, .93);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-block-end-color: rgba(214, 178, 94, .34);
  box-shadow: 0 10px 30px rgba(12, 31, 58, .38);
}
.hdr__bar { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 78px; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }

.menu { display: flex; align-items: center; gap: 2px; }
.menu a {
  position: relative; padding: 9px 14px; border-radius: var(--r-s);
  font-size: .92rem; font-weight: 500; color: var(--on-d);
  transition: color .3s var(--e), background .3s var(--e);
}
.menu a:hover { color: #fff; background: rgba(255,255,255,.06); }
.menu a.on { color: var(--gold-ll); font-weight: 700; }
.menu a.on::after {
  content: ""; position: absolute; inset-inline: 14px; inset-block-end: 2px;
  height: 2px; border-radius: 2px; background: var(--gold);
}

.hdr__cta { display: flex; align-items: center; gap: 10px; }

/* ── مبدّل اللغة ── */
.lang {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: var(--r-s);
  border: 1px solid rgba(214, 178, 94, .34);
  color: var(--gold-l); font-size: .82rem; font-weight: 700;
  transition: background .35s var(--e), color .35s var(--e), border-color .35s var(--e);
}
.lang:hover { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.lang svg { width: 15px; height: 15px; }

/* ── الوضع الإنجليزي ── */
html[lang="en"] {
  --f: "Poppins", system-ui, sans-serif;
  --f-h: "Poppins", system-ui, sans-serif;
}
html[lang="en"] body { line-height: 1.75; }
html[lang="en"] h1, html[lang="en"] h2,
html[lang="en"] h3, html[lang="en"] h4 { line-height: 1.3; letter-spacing: -.01em; }
html[lang="en"] .lead { line-height: 1.8; }
html[lang="en"] .eye { letter-spacing: .1em; text-transform: uppercase; }
html[lang="en"] .h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }

/* تعتيم الهيرو ينعكس مع اتجاه القراءة */
html[dir="ltr"] .hero__bg::after {
  background:
    radial-gradient(74% 62% at 85% 10%, rgba(214, 178, 94, .20), transparent 62%),
    linear-gradient(265deg, rgba(12, 31, 58, .26) 0%, rgba(18, 42, 78, .78) 40%, rgba(12, 31, 58, .94) 100%),
    linear-gradient(to top, rgba(12, 31, 58, .70), transparent 48%);
}
html[dir="ltr"] .phero__bg::after {
  background:
    radial-gradient(80% 70% at 16% 10%, rgba(214, 178, 94, .18), transparent 60%),
    linear-gradient(85deg, rgba(18, 42, 78, .62), rgba(12, 31, 58, .95));
}
/* زر الهيدر ذهبي مصمت — البرونزي كان يذوب في الكحلي الغامق */
.hdr__cta .btn--p, .sheet__f .btn--p {
  background: var(--gold); color: var(--navy-dd);
  box-shadow: 0 6px 18px rgba(214, 178, 94, .32);
}
.hdr__cta .btn--p::before, .sheet__f .btn--p::before { background: #fff; }
.hdr__cta .btn--p:hover, .sheet__f .btn--p:hover { color: var(--navy-dd); }

/* الروابط أوضح قليلاً على الخلفية الأغمق */
.menu a { color: rgba(254, 253, 250, .84); }
.menu a.on { color: var(--gold-ll); }
.burger { background: rgba(214, 178, 94, .14); border: 1px solid rgba(214, 178, 94, .28); }

.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-s); background: rgba(255,255,255,.07); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--e), opacity .25s; }
.burger.on i:nth-child(1) { transform: translateY(7px) rotate(-45deg); }
.burger.on i:nth-child(2) { opacity: 0; }
.burger.on i:nth-child(3) { transform: translateY(-7px) rotate(45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 190; background: var(--navy-dd);
  padding: 104px var(--pad) 36px; display: flex; flex-direction: column; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--e), visibility .35s;
}
.sheet.open { opacity: 1; visibility: visible; }
.sheet a.sheet__l {
  display: flex; align-items: center; gap: 14px; padding: 16px 0;
  border-block-end: 1px solid var(--line-d);
  font-family: var(--f-h); font-size: 1.24rem; font-weight: 700; color: #fff;
  opacity: 0; transform: translateY(12px);
  transition: opacity .45s var(--e), transform .45s var(--e), color .3s;
}
.sheet.open a.sheet__l { opacity: 1; transform: none; }
.sheet a.sheet__l:hover { color: var(--gold-ll); }
.sheet a.sheet__l i { font-style: normal; font-size: .72rem; color: var(--gold); font-family: var(--f); }
.sheet__f { margin-block-start: auto; padding-block-start: 30px; display: grid; gap: 12px; }
.sheet__m { color: var(--on-d2); font-size: .86rem; display: grid; gap: 5px; }

/* ---------- 07 · Hero ---------- */
/* ارتفاع الهيدر العائم: 41px شريط + 78px قائمة */
:root { --hdr-h: 78px; }
@media (min-width: 1025px) { :root { --hdr-h: 119px; } }

.hero {
  position: relative; background: var(--navy-d); color: var(--on-d); overflow: hidden;
  padding-block: calc(var(--hdr-h) + clamp(44px, 5.5vw, 76px)) clamp(58px, 7vw, 96px);
}
.hero__bg { position: absolute; inset: 0; }
/* الصورة أوضح، والتعتيم مركّز تحت النص (يمين الشاشة في RTL) */
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .44; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    /* توهّج ذهبي على الجانب الخالي من النص حتى لا يُضعف تباين العنوان */
    radial-gradient(74% 62% at 15% 10%, rgba(214, 178, 94, .20), transparent 62%),
    /* 95deg: أفتح يساراً وأغمق يميناً — عكس ما كان */
    linear-gradient(95deg, rgba(8, 23, 38, .26) 0%, rgba(13, 32, 56, .78) 40%, rgba(8, 23, 38, .94) 100%),
    /* حماية أسفل الشاشة حيث بطاقات المزايا */
    linear-gradient(to top, rgba(8, 23, 38, .70), transparent 48%);
}
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 340px; gap: clamp(30px, 4vw, 60px); align-items: center; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: var(--r-p);
  background: rgba(214,178,94,.16); border: 1px solid rgba(214,178,94,.34);
  font-size: .82rem; font-weight: 700; color: var(--gold-ll);
}
.hero__badge svg { width: 15px; height: 15px; }
.hero h1 { color: #fff; margin-block: 22px 20px; }
.hero h1 span { color: var(--gold-l); display: block; }
.hero__p { max-width: 54ch; color: var(--on-d); }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 32px; }

/* بطاقات عائمة */
.hcards { display: grid; gap: 14px; }
.hcard {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--r);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-d);
  backdrop-filter: blur(10px);
  transition: transform .45s var(--e), background .45s var(--e), border-color .45s;
}
.hcard:hover { transform: translateX(-8px); background: rgba(255,255,255,.1); border-color: rgba(214,178,94,.4); }
.hcard__i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bronze); color: #fff; }
.hcard__i svg { width: 20px; height: 20px; }
.hcard b { display: block; font-family: var(--f-h); font-size: .96rem; font-weight: 700; color: #fff; }
.hcard span { font-size: .78rem; color: var(--on-d2); }

/* ---------- 08 · شريط المزايا ---------- */
.strip { background: var(--cream-2); border-block: 1px solid var(--line); }
.strip__in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px; padding-block: 18px; }
.strip__i { display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.strip__i svg { width: 18px; height: 18px; color: var(--gold); }
.strip__d { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .5; }

/* ---------- 09 · بطاقات ---------- */
.card {
  position: relative; background: var(--white); border-radius: var(--r);
  border: 1px solid var(--line); padding: clamp(24px, 2.4vw, 32px);
  transition: transform .45s var(--e), box-shadow .45s var(--e), border-color .4s;
  height: 100%; display: flex; flex-direction: column;
}
/* خط ذهبي شعري يظهر أعلى البطاقة عند المرور */
.card::after {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .55s var(--e2);
}
.card:hover::after { transform: scaleX(1); }
.card:hover { transform: translateY(-5px); box-shadow: var(--sh2); border-color: var(--cream-3); }

/* بطاقة قيمة: صفّ علوي (أيقونة + رقم) وعنوان بارتفاع ثابت لتتحاذى الأوصاف */
.card--val .card__hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-block-end: 22px;
}
.card--val .card__i { margin-block-end: 0; align-self: auto; }
.card--val .card__n {
  font-family: var(--f-h); font-weight: 800; font-size: 1.85rem;
  color: var(--gold); opacity: .34; line-height: 1;
}
.card--val h3 {
  min-height: calc(2 * 1.55em);
  display: flex; align-items: flex-end;
  margin-block-end: 12px;
}
@media (max-width: 720px) { .card--val h3 { min-height: 0; display: block; } }
.card__i {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-t); color: var(--bronze); margin-block-end: 20px;
  transition: background .4s var(--e), color .4s var(--e);
  align-self: flex-end;
}
.card__i svg { width: 23px; height: 23px; }
.card:hover .card__i { background: var(--bronze); color: #fff; }
.card h3 { margin-block-end: 10px; }
.card p { font-size: .93rem; }
.card .btn { margin-block-start: auto; align-self: flex-start; margin-block-start: 22px; }

/* صندوق تحقق */
.chk { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--cream-2); border: 1px solid var(--line); font-size: .88rem; font-weight: 700; color: var(--ink); }
.chk__i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bronze); color: #fff; }
.chk__i svg { width: 14px; height: 14px; }

/* ---------- 10 · صور ---------- */
.fig { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--cream-3); }
.fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--e2); }
.fig:hover img { transform: scale(1.05); }
.fig--tall { aspect-ratio: 4/4.6; }
.fig--wide { aspect-ratio: 16/10; }
.fig--sq { aspect-ratio: 1/1; }
.fig__cap {
  position: absolute; inset-block-end: 14px; inset-inline: 14px; z-index: 2;
  background: rgba(15,35,64,.82); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 12px 16px; color: #fff;
}
.fig__cap b { display: block; font-family: var(--f-h); font-size: .92rem; font-weight: 700; }
.fig__cap span { font-size: .76rem; color: var(--on-d2); }

.frame { position: relative; }
.frame::before {
  content: ""; position: absolute; inset-block: -16px; inset-inline-start: -16px; inset-inline-end: 34%;
  border: 2px solid var(--gold); border-radius: var(--r-l); z-index: 0;
}
.frame .fig { position: relative; z-index: 1; }
.frame__badge {
  position: absolute; inset-block-start: 22px; inset-inline-end: -14px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 12px; padding: 11px 16px; box-shadow: var(--sh2);
}
.frame__badge .i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--bronze); color: #fff; flex: none; }
.frame__badge .i svg { width: 16px; height: 16px; }
.frame__badge b { display: block; font-family: var(--f-h); font-size: .84rem; font-weight: 700; color: var(--navy-d); }
.frame__badge span { font-size: .72rem; color: var(--muted); }

/* ---------- 11 · تبويبات ---------- */
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-block-end: 34px; }
.tab {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px; border-radius: var(--r-s);
  border: 1.5px solid var(--line); background: var(--white);
  font-size: .89rem; font-weight: 700; color: var(--ink-2);
  transition: all .35s var(--e);
}
.tab svg { width: 17px; height: 17px; }
.tab:hover { border-color: var(--bronze); color: var(--bronze); }
.tab.on { background: var(--bronze); border-color: var(--bronze); color: #fff; }

/* ---------- 12 · الفريق ---------- */
.pcard { border-radius: var(--r); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform .45s var(--e), box-shadow .45s var(--e); height: 100%; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh2); }
.pcard__top { position: relative; background: var(--navy-d); padding: 24px 20px 20px; text-align: center; }
.pcard__pill {
  position: absolute; inset-block-start: 14px; inset-inline-end: 14px;
  background: var(--gold); color: var(--gold-ink); border-radius: var(--r-p);
  padding: 5px 14px; font-size: .72rem; font-weight: 700;
}
.pcard__ph { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; margin: 8px auto 14px; border: 3px solid rgba(214,178,94,.45); }
.pcard__ph img { width: 100%; height: 100%; object-fit: cover; }
.pcard__top b { display: block; font-family: var(--f-h); font-size: 1.02rem; font-weight: 700; color: var(--gold-ll); }
.pcard__b { padding: 20px; text-align: center; }
.pcard__role { display: inline-block; background: var(--gold-t); color: var(--bronze); border-radius: var(--r-p); padding: 5px 15px; font-size: .76rem; font-weight: 700; margin-block-end: 12px; }
.pcard__b h3 { font-size: 1.05rem; margin-block-end: 8px; }
.pcard__b p { font-size: .86rem; }

/* ---------- 13 · شهادات ---------- */
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 2.2vw, 30px); height: 100%; display: flex; flex-direction: column; transition: transform .45s var(--e), box-shadow .45s var(--e); }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--sh2); }
.tcard__h { display: flex; align-items: center; justify-content: space-between; margin-block-end: 16px; }
.tcard__q { width: 30px; height: 30px; color: var(--gold); opacity: .45; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; color: var(--gold-l); }
.tcard p { font-size: .92rem; margin-block-end: auto; }
.tcard__f { display: flex; align-items: center; gap: 12px; margin-block-start: 20px; padding-block-start: 18px; border-block-start: 1px solid var(--line); }
.tcard__av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--bronze); color: #fff; font-weight: 700; flex: none; font-size: .9rem; }
.tcard__f b { display: block; font-family: var(--f-h); font-size: .92rem; font-weight: 700; color: var(--navy-d); }
.tcard__f span { font-size: .78rem; color: var(--muted); }

/* ---------- 14 · الجهات المختصة ---------- */
.ent {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.ent__i {
  background: var(--white); padding: clamp(22px, 2.4vw, 30px);
  display: flex; gap: 16px; align-items: flex-start;
  transition: background .4s var(--e);
}
.ent__i:hover { background: var(--cream-2); }
.ent__ic {
  flex: none; width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--gold-t); color: var(--bronze);
  transition: background .4s var(--e), color .4s var(--e), transform .5s var(--e2);
}
.ent__i:hover .ent__ic { background: var(--bronze); color: #fff; transform: rotate(-6deg); }
.ent__ic svg { width: 22px; height: 22px; }
.ent__i b {
  display: block; font-family: var(--f-h); font-weight: 800;
  font-size: 1rem; color: var(--navy-d); margin-block-end: 6px; line-height: 1.5;
}
.ent__i span { display: block; font-size: .86rem; line-height: 1.75; }
.ent__note { margin-block-start: 22px; font-size: .84rem; color: var(--muted); text-align: center; }

@media (max-width: 1024px) { .ent { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .ent { grid-template-columns: 1fr; } }

/* ---------- 14ب · مسار التأسيس ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.step {
  background: var(--white); padding: clamp(24px, 2.6vw, 34px);
  transition: background .4s var(--e);
}
.step:hover { background: var(--cream-2); }
.step__n {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-d); color: var(--gold-l);
  font-family: var(--f-h); font-weight: 800; font-size: .95rem;
  margin-block-end: 18px;
  transition: background .4s var(--e), color .4s var(--e), transform .5s var(--e2);
}
.step:hover .step__n { background: var(--gold); color: var(--gold-ink); transform: scale(1.08); }
.step h3 { font-size: 1.04rem; margin-block-end: 8px; }
.step p { font-size: .88rem; line-height: 1.75; }
.step__note { margin-block-start: 22px; font-size: .84rem; color: var(--muted); text-align: center; }

@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px)  { .steps { grid-template-columns: 1fr; } }

/* ---------- 15 · معرض ---------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 172px; gap: clamp(12px, 1.4vw, 18px); }
.gal > *:nth-child(1) { grid-column: span 1; grid-row: span 1; }
.gal > *:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.gal > *:nth-child(3) { grid-column: span 2; grid-row: span 2; }
.gal > *:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.gal > *:nth-child(5) { grid-column: span 1; grid-row: span 1; }

/* ---------- 16 · نداء ---------- */
.band { position: relative; overflow: hidden; background: var(--cream-2); border-block: 1px solid var(--line); }
.band__bg { position: absolute; inset: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .12; }
.band__in { position: relative; z-index: 2; text-align: center; padding-block: clamp(48px, 5.5vw, 76px); }
.band h2 { max-width: 22ch; margin-inline: auto; }
.band p { max-width: 56ch; margin: 16px auto 0; }
.band--navy { background: var(--navy-d); border-color: transparent; }
.band--navy h2 { color: #fff; }
.band--navy p { color: var(--on-d); }
.band--navy .band__bg img { opacity: .18; }

/* ---------- 17 · مقالات ---------- */
.post { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .45s var(--e), box-shadow .45s var(--e); height: 100%; }
.post:hover { transform: translateY(-5px); box-shadow: var(--sh2); }
.post .fig { border-radius: 0; aspect-ratio: 16/10; }
.post__b { padding: 22px; }
.post__m { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); margin-block-end: 10px; }
.post__c { background: var(--gold-t); color: var(--bronze); border-radius: var(--r-p); padding: 3px 12px; font-weight: 700; }
.post h3 { font-size: 1.02rem; line-height: 1.65; transition: color .3s; }
.post:hover h3 { color: var(--bronze); }
.post__b p { font-size: .88rem; margin-block-start: 10px; }

/* ---------- 18 · أكورديون ---------- */
.acc__it { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-block-end: 12px; overflow: hidden; transition: border-color .35s, box-shadow .35s; }
.acc__it.on { border-color: var(--bronze); box-shadow: var(--sh1); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; text-align: start; font-family: var(--f-h); font-weight: 700; font-size: 1rem; color: var(--navy-d); transition: color .3s; }
.acc__btn:hover { color: var(--bronze); }
.acc__ic { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: all .4s var(--e); }
.acc__ic::before, .acc__ic::after { content: ""; position: absolute; background: currentColor; transition: transform .4s var(--e), opacity .3s; }
.acc__ic::before { width: 12px; height: 1.6px; }
.acc__ic::after { width: 1.6px; height: 12px; }
.acc__it.on .acc__ic { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.acc__it.on .acc__ic::after { opacity: 0; }
.acc__p { overflow: hidden; height: 0; transition: height .45s var(--e2); }
.acc__p > div { padding: 0 24px 22px; font-size: .93rem; }

/* ---------- 19 · باقات ---------- */
.pk { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: clamp(26px, 2.6vw, 36px); height: 100%; display: flex; flex-direction: column; transition: transform .45s var(--e), box-shadow .45s var(--e), border-color .4s; }
.pk:hover { transform: translateY(-6px); box-shadow: var(--sh2); }
.pk--hot { border-color: var(--bronze); box-shadow: var(--sh2); }
.pk__tag { display: inline-block; align-self: flex-start; background: var(--bronze); color: #fff; border-radius: var(--r-p); padding: 5px 15px; font-size: .74rem; font-weight: 700; margin-block-end: 16px; }
.pk h3 { font-size: 1.2rem; margin-block-end: 8px; }
.pk__price { display: flex; align-items: baseline; gap: 8px; margin-block: 16px 6px; }
.pk__price b { font-family: var(--f-h); font-size: 2.3rem; font-weight: 800; color: var(--navy-d); line-height: 1; }
.pk__price span { font-size: .86rem; color: var(--muted); }
.pk ul { margin-block: 22px; display: grid; gap: 11px; }
.pk li { display: flex; gap: 10px; font-size: .9rem; }
.pk li svg { width: 17px; height: 17px; color: var(--bronze); flex: none; margin-block-start: 5px; }
.pk .btn { margin-block-start: auto; }

/* ---------- 20 · نماذج ---------- */
.f { margin-block-end: 18px; }
.f label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy-d); margin-block-end: 8px; }
.f label .rq { color: var(--bronze); }
.f input, .f textarea, .f select {
  width: 100%; padding: 14px 16px; background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--r-s);
  font-size: .94rem; transition: border-color .3s, box-shadow .3s;
}
.f textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A8175' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; background-size: 17px; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(168,130,60,.12); }
.f.err input, .f.err textarea, .f.err select { border-color: #C0392B; }
.f__e { display: none; font-size: .79rem; color: #C0392B; margin-block-start: 6px; }
.f.err .f__e { display: block; }

.cbx { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.cbx input { width: 18px; height: 18px; margin-block-start: 4px; accent-color: var(--bronze); flex: none; }
.cbx.err { color: #C0392B; }

.note { display: none; padding: 16px 20px; border-radius: var(--r-s); background: #EFF7F0; border: 1px solid #C5E0C8; color: #2C6B33; font-size: .9rem; margin-block-end: 20px; }
.note.on { display: block; animation: rise .45s var(--e2); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.info { display: flex; gap: 14px; padding-block: 18px; border-block-end: 1px solid var(--line); }
.info__i { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-t); color: var(--bronze); }
.info__i svg { width: 19px; height: 19px; }
.info h4 { font-family: var(--f-h); font-size: .98rem; font-weight: 700; margin-block-end: 3px; }
.info p, .info a { font-size: .9rem; }
.info a:hover { color: var(--bronze); }

/* ---------- 21 · الفوتر ---------- */
.ft { background: var(--navy-dd); color: var(--on-d2); position: relative; overflow: hidden; }
.ft__glow { position: absolute; inset-block-start: -34%; inset-inline-start: -6%; width: 560px; height: 560px; background: radial-gradient(circle, rgba(214,178,94,.15), transparent 66%); pointer-events: none; }
.ft__g { position: relative; z-index: 2; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.3fr; gap: clamp(26px, 3vw, 48px); padding-block: clamp(44px, 5vw, 68px) clamp(26px, 3vw, 38px); }
.ft__b img { height: 50px; width: auto; }
.ft__b p { margin-block: 18px 20px; max-width: 36ch; font-size: .9rem; line-height: 1.85; }
.ft h4 { color: #fff; font-family: var(--f-h); font-size: .96rem; font-weight: 700; padding-block-end: 13px; margin-block-end: 18px; border-block-end: 1px solid var(--line-d); }
.ft__n li { margin-block-end: 11px; }
.ft__n a { font-size: .9rem; display: inline-block; transition: color .3s, transform .3s var(--e); }
.ft__n a:hover { color: var(--gold-ll); transform: translateX(-5px); }
.ft__a li { display: flex; gap: 11px; margin-block-end: 14px; font-size: .9rem; line-height: 1.75; }
.ft__a svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-block-start: 5px; }
.ft__a a:hover { color: var(--gold-ll); }

.soc { display: flex; gap: 9px; }
.soc a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-d); color: var(--on-d); transition: all .35s var(--e); }
.soc a:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; transform: translateY(-3px); }
.soc svg { width: 16px; height: 16px; }

.ft__note { position: relative; z-index: 2; border-block-start: 1px solid var(--line-d); padding-block: 18px; font-size: .8rem; line-height: 1.85; color: rgba(254,253,250,.4); max-width: 96ch; }
.ft__note b { color: rgba(254,253,250,.62); }
.ft__end { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 18px 28px; border-block-start: 1px solid var(--line-d); font-size: .82rem; color: rgba(254,253,250,.42); }
.ft__end-l { display: flex; flex-wrap: wrap; gap: 20px; }
.ft__end a:hover { color: var(--gold-ll); }

/* ---------- 22 · عائم ---------- */
.wa { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 150; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 28px rgba(37,211,102,.34); transition: transform .35s var(--e); }
.wa:hover { transform: translateY(-3px) scale(1.05); }
.wa svg { width: 26px; height: 26px; }
.totop { position: fixed; inset-block-end: 22px; inset-inline-start: 22px; z-index: 150; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-d); color: var(--gold-ll); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .4s var(--e); }
.totop.on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--bronze); color: #fff; }
.totop svg { width: 18px; height: 18px; }
.bar { position: fixed; inset-block-start: 0; inset-inline-start: 0; z-index: 210; height: 3px; width: 0; background: linear-gradient(90deg, var(--bronze), var(--gold-l)); transition: width .1s linear; }

/* ---------- 23 · غلاف الصفحات ---------- */
.phero {
  position: relative; background: var(--navy-d); color: var(--on-d); overflow: hidden;
  padding-block: calc(var(--hdr-h) + clamp(40px, 5vw, 68px)) clamp(56px, 6.5vw, 88px);
}
.phero__bg { position: absolute; inset: 0; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 84% 10%, rgba(214,178,94,.18), transparent 60%), linear-gradient(275deg, rgba(15,35,64,.62), rgba(10,25,48,.95)); }
.phero__in { position: relative; z-index: 2; text-align: center; }
.phero h1 { color: #fff; }
.phero p { max-width: 58ch; margin: 14px auto 0; }
.crumb { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: .8rem; color: var(--on-d2); margin-block-end: 16px; }
.crumb a:hover { color: var(--gold-ll); }
.crumb i { font-style: normal; opacity: .5; }

/* ---------- 24 · ظهور ---------- */
[data-rv] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--e2), transform .8s var(--e2); }
[data-rv="fade"] { transform: none; }
[data-rv="l"] { transform: translateX(-26px); }
[data-rv="r"] { transform: translateX(26px); }
[data-rv="zoom"] { transform: scale(.94); }
[data-rv="blur"] { transform: none; filter: blur(10px); transition: opacity .9s var(--e2), filter .9s var(--e2); }
[data-rv].in { opacity: 1; transform: none; filter: none; }

/* ==========================================================================
   24ب · طبقة الحركة
   ========================================================================== */

/* دخول الواجهة بتتابع */
@keyframes inUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes inSide { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes glowIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

.hero__badge { animation: glowIn .75s var(--e2) .08s both; }
.hero h1     { animation: inUp .9s var(--e2) .2s both; }
.hero__p     { animation: inUp .9s var(--e2) .34s both; }
.hero__act   { animation: inUp .9s var(--e2) .46s both; }
.hcard:nth-child(1) { animation: inSide .85s var(--e2) .56s both; }
.hcard:nth-child(2) { animation: inSide .85s var(--e2) .66s both; }
.hcard:nth-child(3) { animation: inSide .85s var(--e2) .76s both; }

.phero .crumb { animation: inUp .7s var(--e2) .06s both; }
.phero h1     { animation: inUp .85s var(--e2) .18s both; }
.phero p      { animation: inUp .85s var(--e2) .3s both; }

/* لمعة تمرّ على الزر */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(112deg, transparent 34%, rgba(255,255,255,.30) 50%, transparent 66%);
  transform: translateX(-130%);
  transition: transform .85s var(--e);
}
.btn:hover::after { transform: translateX(130%); }
.btn--o::after, .btn--w::after { background: linear-gradient(112deg, transparent 34%, rgba(255,255,255,.18) 50%, transparent 66%); }

/* الشرطة الذهبية تُرسم عند ظهور رأس القسم */
.head .dots i:nth-child(2) { transform-origin: right; transform: scaleX(0); transition: transform .9s var(--e2) .25s; }
.head.in .dots i:nth-child(2) { transform: scaleX(1); }
.head .dots i:nth-child(1), .head .dots i:nth-child(3) { opacity: 0; transition: opacity .5s var(--e) .5s; }
.head.in .dots i:nth-child(1), .head.in .dots i:nth-child(3) { opacity: .45; }

/* عين العنوان: الشرطتان تمتدّان */
.eye::before, .eye::after { transition: width .7s var(--e2) .1s; }
.head:not(.in) .eye::before, .head:not(.in) .eye::after { width: 0; }

/* أيقونة البطاقة تنبض قليلاً */
.card:hover .card__i { transform: translateY(-3px) rotate(-5deg); }
.card__i { transition: background .4s var(--e), color .4s var(--e), transform .5s var(--e2); }

/* الأيقونة الدائرية في شريط المزايا */
.strip__i svg { transition: transform .45s var(--e2); }
.strip__i:hover svg { transform: scale(1.18) rotate(-6deg); }

/* صورة الفريق تكبر برفق */
.pcard__ph img { transition: transform .9s var(--e2); }
.pcard:hover .pcard__ph img { transform: scale(1.08); }
.pcard__pill { transition: transform .4s var(--e2); }
.pcard:hover .pcard__pill { transform: translateY(-3px); }

/* النجوم تتتابع */
.tcard .stars svg { opacity: 0; animation: glowIn .4s var(--e2) both; }
.tcard.in .stars svg:nth-child(1) { animation-delay: .10s; }
.tcard.in .stars svg:nth-child(2) { animation-delay: .18s; }
.tcard.in .stars svg:nth-child(3) { animation-delay: .26s; }
.tcard.in .stars svg:nth-child(4) { animation-delay: .34s; }
.tcard.in .stars svg:nth-child(5) { animation-delay: .42s; }


/* تسمية صورة المعرض تنزلق */
.fig__cap { transform: translateY(6px); opacity: .92; transition: transform .5s var(--e2), opacity .4s; }
.fig:hover .fig__cap { transform: none; opacity: 1; }

/* رابط القائمة يرسم خطاً */
.menu a::before {
  content: ""; position: absolute; inset-inline: 14px; inset-block-end: 4px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--e2);
}
.menu a:hover::before { transform: scaleX(1); }
.menu a.on::before { display: none; }

/* الشعار في الهيدر */
.brand img { transition: transform .5s var(--e2); }
.brand:hover img { transform: scale(1.05); }

/* الهيدر يتقلّص عند التمرير */
.hdr__bar { transition: height .45s var(--e); }
.hdr.stuck .hdr__bar { height: 68px; }

/* صورة الغلاف تتنفّس ببطء */
.hero__bg img, .phero__bg img { animation: slowZoom 22s var(--e) forwards; }
@keyframes slowZoom { from { transform: scale(1.09); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-rv] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .head .dots i { transform: none !important; opacity: .45 !important; }
  .head .eye::before, .head .eye::after { width: 24px !important; }
  .tcard .stars svg { opacity: 1 !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 25 · استجابة ---------- */
@media (min-width: 1025px) { .top { display: block; } }

@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g6 { grid-template-columns: repeat(3, 1fr); }
  .ft__g { grid-template-columns: 1fr 1fr; }
  .hero__in { grid-template-columns: 1fr 300px; }
}

@media (max-width: 1024px) {
  .menu, .hdr__cta .btn { display: none; }
  .burger { display: flex; }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .hero__in { grid-template-columns: 1fr; }
  .hcards { grid-template-columns: repeat(3, 1fr); }
  /* عند تكديس المحتوى فوق الصورة، التعتيم يصبح رأسياً موحّداً */
  .hero__bg img { opacity: .34; }
  .hero__bg::after {
    background:
      radial-gradient(80% 44% at 50% 4%, rgba(214, 178, 94, .17), transparent 64%),
      linear-gradient(to top, rgba(8, 23, 38, .93) 12%, rgba(13, 32, 56, .84) 55%, rgba(8, 23, 38, .90) 100%);
  }
  .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gal > *:nth-child(3) { grid-column: span 2; grid-row: span 2; }
  .frame::before { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .g2, .g3, .g4, .g6 { grid-template-columns: 1fr; }
  .hcards { grid-template-columns: 1fr; }
  .ft__g { grid-template-columns: 1fr; }
  .ft__end { flex-direction: column; align-items: flex-start; padding-block-end: 82px; }
  .gal { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .gal > *:nth-child(3) { grid-column: span 1; grid-row: span 1; }
  .btn { width: 100%; }
  .hero__act .btn, .tabs .btn { width: auto; }
  [data-rv="l"], [data-rv="r"] { transform: translateY(22px); }
  .frame__badge { inset-inline-end: 10px; }
  .totop { inset-block-end: 84px; }

  /* ── ضبط الجوال ── */
  /* مسافات أقصر: الصفحة كانت طويلة أكثر من اللازم */
  .sec { padding-block: clamp(46px, 9vw, 62px); }
  .head { margin-block-end: 28px; }

  /* أهداف لمس ≥ 44px (كانت 27px) */
  .ft__n a, .ft__end a, .ft__end-l a, .crumb a, .top a { padding-block: 11px; display: inline-block; }
  .ft__a a, .info a { padding-block: 10px; display: inline-block; }
  .ft__n li { margin-block-end: 2px; }
  .cbx input { width: 22px; height: 22px; margin-block-start: 2px; }

  /* شريط المزايا: شبكة بدل سطر متكسّر بفواصل */
  .strip__d { display: none; }
  .strip__in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding-block: 20px; }
  .strip__i { font-size: .84rem; align-items: flex-start; }
  .strip__i svg { margin-block-start: 3px; }

  /* نصوص صغيرة تُرفع لحد مقروء */
  .pcard__pill, .pcard__role, .frame__badge span { font-size: .78rem; }
  .post__m, .xs { font-size: .82rem; }

  /* الواجهة: عنوان أقصر ارتفاعاً وبطاقات أقرب */
  .hero { padding-block: calc(var(--hdr-h) + 26px) clamp(44px, 8vw, 60px); }
  .hero h1 { font-size: clamp(1.8rem, 8.4vw, 2.3rem); }
  .hcards { gap: 10px; }
  .hcard { padding: 13px 15px; }

  /* البطاقات أنحف قليلاً */
  .card, .tcard, .pk { padding: 22px 20px; }
  .pcard__b { padding: 18px 16px; }

  /* الأزرار العائمة لا تلامس الحافة */
  .wa { inset-block-end: 18px; inset-inline-end: 18px; width: 50px; height: 50px; }
  .totop { inset-inline-start: 18px; width: 44px; height: 44px; }

  /* الحركة أخف على الجوال */
  .hcard:nth-child(1), .hcard:nth-child(2), .hcard:nth-child(3) { animation-name: inUp; }
  .hero__bg img, .phero__bg img { animation: none; }
}
