/* ============================================================
   الخط مستضاف محليًّا: لا طلب خارجي ولا تتبّع لزوّار الموقع
   ============================================================ */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/plex-ar-400.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/plex-ar-500.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/plex-ar-600.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/plex-ar-700.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/plex-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/plex-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/plex-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/plex-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   شركة عمر بن مدوس للمحاماة والاستشارات القانونية
   Design System v4 — «بيج وعنابي»
   قاعدة بيج فاتحة مريحة للعين + العنابي لونًا بنائيًا + ذهبي مسطّح بلا سطوع
   ألوان دليل الهوية: #2F111A · #C59F58 · #FBF9F5 · #053753
   السلوقن: نصيغ الرصانة لنحمي الحقوق
   ============================================================ */

/* ---------- 01. الرموز ---------- */
:root {
  /* ألوان الهوية */
  --wine:        #2F111A;
  --wine-800:    #3C1823;
  --wine-700:    #4C2130;
  --wine-900:    #200B12;
  --gold:        #C59F58;
  --gold-deep:   #9C7436;
  --gold-text:   #846030;   /* الذهبي للنصّ الصغير على الفاتح: تباين 4.63 */
  --gold-soft:   #DCC79B;

  /* البيج — قاعدة الموقع */
  --beige:       #EFE7DA;
  --beige-2:     #E7DCCB;
  --beige-3:     #DFD2BC;
  --cream:       #F8F3EA;

  /* النص */
  --ink:         #2A1419;
  --ink-black:   #1A1A1A;   /* أسود الهوية */
  --ink-soft:    #493639;
  --ink-faint:   #665154;
  --on-wine:     #F7F1E8;
  --on-wine-soft: #EFE7DC;
  --on-wine-faint: #CFC2B7;

  /* الحدود والأسطح */
  --rule:        rgba(47, 17, 26, .12);
  --rule-strong: rgba(47, 17, 26, .22);
  --rule-gold:   rgba(197, 159, 88, .5);
  --rule-on-wine: rgba(247, 241, 232, .16);

  --surface:     rgba(251, 249, 245, .62);
  --surface-2:   rgba(251, 249, 245, .82);
  --blur:        saturate(120%) blur(18px);
  /* القلاس الخفيف — سطح واحد يُستخدم في كل بطاقات الموقع */
  --glass-bg:    linear-gradient(158deg, rgba(250, 246, 238, .95), rgba(238, 229, 214, .78) 62%);
  --glass-brd:   rgba(47, 17, 26, .14);
  --glass-blur:  saturate(125%) blur(14px);
  --glass-in:    inset 0 1px 0 rgba(251, 249, 245, .9);
  /* قلاس على الأسطح الداكنة */
  --glass-d-bg:  linear-gradient(158deg, rgba(247, 241, 232, .13), rgba(247, 241, 232, .05) 62%);
  --glass-d-brd: rgba(247, 241, 232, .2);
  --glass-d-in:  inset 0 1px 0 rgba(247, 241, 232, .16);
  --shadow-sm:   0 2px 6px -3px rgba(47, 17, 26, .14);
  --shadow:      0 18px 40px -28px rgba(47, 17, 26, .34), 0 2px 6px -4px rgba(47, 17, 26, .12);
  --shadow-lg:   0 28px 60px -34px rgba(47, 17, 26, .4);

  /* الخط */
  --f-display: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-body:    'IBM Plex Sans Arabic', system-ui, sans-serif;
  --f-serif:   'IBM Plex Sans Arabic', system-ui, sans-serif;

  /* القياسات */
  --gutter: clamp(18px, 4.2vw, 56px);
  --maxw: 1360px;
  --maxw-narrow: 900px;
  --sect: clamp(38px, 4vw, 68px);
  --rad:    16px;
  --rad-sm: 10px;
  --rad-xs: 8px;

  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--beige); }

body {
  font-family: var(--f-body);
  background: var(--beige);
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
body[dir="ltr"] { line-height: 1.7; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--wine); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 4px; }

/* ---------- 02. خلفية هادئة: دفء لوني خفيف بلا حركة مزعجة ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; contain: strict; }
.aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(90px); }
.aurora .a1 {
  width: 60vw; height: 52vw; top: -18vw; inset-inline-end: -12vw; opacity: .5;
  background: radial-gradient(circle, rgba(197, 159, 88, .20), rgba(197, 159, 88, 0) 68%);
}
.aurora .a2 {
  width: 48vw; height: 44vw; top: 46vh; inset-inline-start: -16vw; opacity: .42;
  background: radial-gradient(circle, rgba(47, 17, 26, .10), rgba(47, 17, 26, 0) 68%);
}
.aurora .a3 {
  width: 56vw; height: 44vw; bottom: -16vw; inset-inline-start: 22vw; opacity: .3;
  background: radial-gradient(circle, rgba(5, 55, 83, .09), rgba(5, 55, 83, 0) 70%);
}

.site-header, .drawer, main, section, footer, .wa-float { position: relative; z-index: 2; }

/* ---------- 03. الطباعة ----------
   سلّم الأوزان:
   700 ExtraBold : الأرقام الكبيرة فقط
   600 Bold      : العناوين H1..H4 وأسماء البطاقات
   500 Medium    : التسميات الصغيرة والأزرار والروابط
   400 Regular   : كل نص الفقرات
   300 Light     : غير مستخدم (ممنوع داخل الفقرات)
   ------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: var(--wine);
}
body[dir="ltr"] h1, body[dir="ltr"] h2, body[dir="ltr"] h3 { line-height: 1.14; letter-spacing: -0.025em; }

em, .grad { font-style: normal; color: var(--gold-deep); }

.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.9; font-weight: 400; color: var(--ink-soft); }

.label {
  font-family: var(--f-display);
  font-size: clamp(.82rem, .95vw, .95rem);
  font-weight: 600; letter-spacing: .1em; line-height: 1.7;
  color: var(--gold-deep); text-transform: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before { display: none; }

.serif-mark {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8; font-weight: 500; color: var(--gold-deep);
}
.idx { font-family: var(--f-display); font-weight: 400; font-variant-numeric: tabular-nums; color: var(--gold-deep); letter-spacing: .04em; }

/* ---------- 04. التخطيط ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--maxw-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sect); position: relative; }
.section-tight { padding-block: clamp(30px, 3.2vw, 52px); }

.tone-paper { background: transparent; }
.tone-paper-2 {
  background: var(--beige-2);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.tone-plain { background: transparent; }
.tone-wine { background: var(--wine); }
.hr { height: 1px; background: var(--rule); border: 0; }

/* ---- إيقاع ألوان الأقسام ---- */
.tone-cream { background: var(--cream); }
.tone-beige-2 { background: var(--beige-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.tone-beige-3 { background: var(--beige-3); }

/* القسم الكحلي — اللون الثالث في الهوية */
.tone-deep {
  background: linear-gradient(168deg, var(--wine-800) 0%, var(--wine) 44%, var(--wine-900) 100%);
  color: var(--on-wine-soft); position: relative; overflow: hidden;
}
.tone-deep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(62% 100% at 84% 0%, rgba(197, 159, 88, .13), transparent 62%);
}
/* درجة أعمق: تفصل قسمين عنابيين متجاورين دون كسر وحدة اللون */
.tone-deep--low { background: linear-gradient(168deg, var(--wine) 0%, var(--wine-900) 58%, #17070D 100%); }
.tone-deep > * { position: relative; z-index: 2; }
.tone-deep h1, .tone-deep h2, .tone-deep h3, .tone-deep h4 { color: var(--on-wine); }
.tone-deep p, .tone-deep .lead { color: var(--on-wine-soft); }
.tone-deep .label { color: var(--gold); }
.tone-deep .label::before { background: var(--gold); }
.tone-deep .idx { color: var(--gold); }
.tone-deep .why-item, .tone-deep .proof-item {
  background: rgba(247, 241, 232, .07); border-color: rgba(247, 241, 232, .15);
  box-shadow: none; backdrop-filter: none;
}
.tone-deep .why-item:hover, .tone-deep .proof-item:hover {
  background: rgba(247, 241, 232, .1); border-color: rgba(197, 159, 88, .45); box-shadow: none;
}
.tone-deep .why-item h3, .tone-deep .proof-item .cap { color: var(--on-wine); }
.tone-deep .why-item p, .tone-deep .proof-item .sub { color: var(--on-wine-soft); }
.tone-deep .proof-num { color: var(--on-wine); }
.tone-deep .proof-num sup { color: var(--gold); }
.tone-deep .proof-item::after { background: var(--gold); opacity: .85; }
.tone-deep .btn { color: var(--on-wine); border-color: rgba(247, 241, 232, .28); }
.tone-deep .btn:hover { background: rgba(247, 241, 232, .12); }
.tone-deep .btn-solid, .tone-deep .btn-gold { background: var(--cream); border-color: var(--cream); color: var(--wine-900); }
.tone-deep .tlink { color: var(--gold); }
.tone-deep .bars i { background: var(--gold); }

/* بطاقة مميّزة داخل شبكة المجالات — تكسر رتابة اللون الواحد */
.pcard.pcard--accent { background: var(--wine); border-color: var(--wine); }
.pcard.pcard--accent h3, .pcard.pcard--accent .pc-go { color: var(--cream); }
.pcard.pcard--accent .pc-top { border-bottom-color: var(--rule-on-wine); }
.pcard.pcard--accent .pc-idx { color: var(--gold); }
.pcard.pcard--accent .pc-en { color: var(--on-wine-faint); }
.pcard.pcard--accent .pc-meta dt { color: var(--gold); }
.pcard.pcard--accent .pc-meta dd { color: var(--on-wine-soft); }
.pcard.pcard--accent:hover { border-color: var(--gold); }
.pcard.pcard--accent:hover .pc-go { color: var(--gold); }

/* فاصل ذهبي رفيع بين الأقسام الفاتحة */
.rule-mark { display: flex; align-items: center; justify-content: center; gap: 14px; padding-block: 4px; }
.rule-mark span { height: 1px; width: min(120px, 18vw); background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.rule-mark i { width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold); flex: none; }

/* الأقسام العنابية: نصوص فاتحة */
.signature, .final, .page-hero, .site-footer { color: var(--on-wine-soft); }
.signature h2, .final h2, .page-hero h1, .site-footer h4 { color: var(--on-wine); }
.signature .label, .final .label, .page-hero .label { color: var(--gold); }
.signature .label::before, .final .label::before, .page-hero .label::before { background: var(--gold); }

/* ---------- 05. الأسطح: قلاس خفيف موحّد ---------- */
.glass, .glass-d, .tile,
.pcard, .why-item, .step, .person, .feature, .info-item, .mini-row, .form-panel, .proof-panel {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-in), var(--shadow-sm);
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass, .pcard, .why-item, .step, .person, .feature, .info-item, .mini-row, .form-panel, .proof-panel {
    background: rgba(251, 249, 245, .88);
  }
}
/* القلاس فوق الأسطح الداكنة */
.tone-deep .why-item, .tone-deep .proof-panel, .tone-deep .proof-item,
.tone-deep .statement-marks span, .hero.hero--wine .glass {
  background: var(--glass-d-bg);
  border-color: var(--glass-d-brd);
  box-shadow: var(--glass-d-in);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}

/* ---------- 06. علامة الشعار الصغيرة ---------- */
.mark-logo { display: none; }

/* ---------- 06b. الموتيف القديم (غير مستخدم) ---------- */
.bars { display: flex; flex-direction: column; gap: 4px; width: 62px; }
.bars i { display: block; height: 2px; border-radius: 2px; background: var(--gold); }
.bars i:nth-child(1) { width: 100%; }
.bars i:nth-child(2) { width: 72%; margin-inline-start: 14%; }
.bars i:nth-child(3) { width: 46%; margin-inline-start: 27%; }
.bars.sm { width: 40px; gap: 3px; }
.bars.sm i { height: 1.5px; }
.page-frame { display: none; }
.bracketed { position: relative; }

/* ---------- 07. الهيدر ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 70;
  padding: clamp(10px, 1.3vw, 16px) 0;
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(14px, 2.4vw, 36px);
  padding: 8px clamp(12px, 1.4vw, 18px);
  border-radius: 100px;
  border: 1px solid transparent;
  transition: background .45s var(--ease-soft), border-color .45s, box-shadow .45s;
}
/* عند النزول: الشريط يأخذ لونًا مضادًا للقسم من ألوان الهوية */
body.header-solid .header-in {
  background: rgba(47, 17, 26, .92);          /* عنابي فوق الأقسام الفاتحة */
  border-color: rgba(247, 241, 232, .14);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 10px 30px -18px rgba(47, 17, 26, .5);
}
body.header-solid .brand-txt strong { color: var(--on-wine); }
body.header-solid .brand-txt span { color: var(--on-wine-faint); }
body.header-solid .brand-logo img.on-light { opacity: 0; }
body.header-solid .brand-logo img.on-dark { opacity: 1; }
body.header-solid .nav a { color: var(--on-wine-soft); }
body.header-solid .nav a:hover { color: var(--on-wine); background: rgba(247, 241, 232, .1); }
body.header-solid .nav a[aria-current="page"] { color: var(--gold); background: rgba(197, 159, 88, .14); }
body.header-solid .nav-sep { background: var(--rule-on-wine); }
body.header-solid .lang { color: var(--on-wine-soft); border-color: var(--rule-on-wine); }
body.header-solid .lang:hover { color: var(--wine); background: var(--cream); border-color: var(--cream); }
body.header-solid .burger i { background: var(--on-wine); }

/* وفوق الأقسام العنابية/الكحلية ينقلب إلى العاجي */
body.header-solid.on-dark .header-in {
  background: rgba(251, 249, 245, .94);
  border-color: rgba(251, 249, 245, .9);
  box-shadow: var(--shadow-sm);
}
body.header-solid.on-dark .brand-txt strong { color: var(--wine); }
body.header-solid.on-dark .brand-txt span { color: var(--ink-faint); }
body.header-solid.on-dark .brand-logo img.on-dark { opacity: 0; }
body.header-solid.on-dark .brand-logo img.on-light { opacity: 1; }
body.header-solid.on-dark .nav a { color: var(--ink-soft); }
body.header-solid.on-dark .nav a:hover { color: var(--wine); background: rgba(47, 17, 26, .07); }
body.header-solid.on-dark .nav a[aria-current="page"] { color: var(--wine); background: rgba(47, 17, 26, .09); }
body.header-solid.on-dark .nav-sep { background: var(--rule); }
body.header-solid.on-dark .lang { color: var(--ink-soft); border-color: var(--rule-strong); }
body.header-solid.on-dark .lang:hover { color: var(--cream); background: var(--wine); border-color: var(--wine); }
body.header-solid.on-dark .burger i { background: var(--wine); }

/* شريط تقدّم القراءة */
.scroll-bar {
  position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 80;
  background: var(--gold); transform-origin: 100% 50%;
  transform: scaleX(var(--p, 0)); transition: transform .12s linear;
}
body[dir="ltr"] .scroll-bar { transform-origin: 0 50%; }
body.nav-open .header-in { background: transparent; border-color: transparent; box-shadow: none; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { position: relative; height: clamp(36px, 3vw, 46px); width: auto; flex: none; }
.brand-logo img { height: 100%; width: auto; transition: opacity .4s var(--ease-soft); }
.brand-logo img.on-light { position: absolute; inset: 0; }
body:not(.on-dark) .brand-logo img.on-dark { opacity: 0; }
body.on-dark .brand-logo img.on-light { opacity: 0; }

.brand-txt { line-height: 1.45; }
.brand-txt strong {
  display: block; font-family: var(--f-display); font-weight: 600;
  font-size: clamp(.85rem, 1vw, .96rem); color: var(--wine); letter-spacing: -0.01em; transition: color .4s;
}
.brand-txt span { display: block; font-size: .7rem; color: var(--ink-faint); transition: color .4s; }
body.on-dark .brand-txt strong { color: var(--on-wine); }
body.on-dark .brand-txt span { color: var(--on-wine-faint); }

.nav { display: flex; align-items: center; gap: clamp(2px, .7vw, 8px); }
.nav a {
  font-family: var(--f-display); font-size: .89rem; font-weight: 400; color: var(--ink-soft);
  padding: 9px 13px; border-radius: 100px; transition: color .3s, background .3s;
}
.nav a:hover { color: var(--wine); background: rgba(47, 17, 26, .06); }
.nav a[aria-current="page"] { color: var(--wine); background: rgba(47, 17, 26, .08); font-weight: 500; }
body.on-dark .nav a { color: var(--on-wine-soft); }
body.on-dark .nav a:hover, body.on-dark .nav a[aria-current="page"] { color: var(--on-wine); background: rgba(247, 241, 232, .1); }
.nav-sep { width: 1px; height: 16px; background: var(--rule); margin-inline: 8px; }
body.on-dark .nav-sep { background: var(--rule-on-wine); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang {
  font-family: var(--f-display); font-size: .72rem; letter-spacing: .1em; font-weight: 500;
  color: var(--ink-soft); padding: 9px 14px; border-radius: 100px; border: 1px solid var(--rule-strong);
  transition: .35s var(--ease-soft);
}
.lang:hover { color: var(--cream); background: var(--wine); border-color: var(--wine); }
body.on-dark .lang { color: var(--on-wine-soft); border-color: var(--rule-on-wine); }
body.on-dark .lang:hover { color: var(--wine); background: var(--cream); border-color: var(--cream); }

.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger i {
  position: absolute; inset-inline: 11px; height: 1.6px; border-radius: 2px; background: var(--wine);
  transition: transform .4s var(--ease), width .35s, background .35s;
}
.burger i:nth-child(1) { top: 17px; }
.burger i:nth-child(2) { top: 24px; width: 14px; inset-inline-end: 11px; inset-inline-start: auto; }
body.on-dark .burger i { background: var(--on-wine); }
body.nav-open .burger i { background: var(--on-wine); }
body.nav-open .burger i:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .burger i:nth-child(2) { width: 22px; transform: translateY(-3.5px) rotate(-45deg); }

/* القائمة الجانبية */
.drawer {
  position: fixed; inset: 0; z-index: 65; background: var(--wine);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease-soft), visibility .45s;
}
body.nav-open .drawer { opacity: 1; visibility: visible; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  font-family: var(--f-display); font-size: clamp(1.25rem, 5vw, 1.65rem); font-weight: 600;
  color: var(--on-wine); padding: 14px 0; border-bottom: 1px solid var(--rule-on-wine);
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .5s var(--ease) var(--d, 0s), transform .6s var(--ease-out) var(--d, 0s), color .3s;
}
.drawer nav a:hover { color: var(--gold); }
.drawer nav a span { font-size: .68rem; letter-spacing: .16em; color: var(--gold); font-weight: 400; }
.drawer nav a em { font-style: normal; color: inherit; }
body.nav-open .drawer nav a { opacity: 1; transform: none; }
.drawer-foot { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transition: opacity .5s var(--ease) .35s; }
body.nav-open .drawer-foot { opacity: 1; }
.drawer-foot a.dl { color: var(--on-wine-soft); font-size: .95rem; }
.drawer-foot .serif-mark { color: var(--gold); }

/* ---------- 08. الأزرار — بلا تدرجات لامعة ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-display); font-size: clamp(.88rem, 1vw, .95rem); font-weight: 500;
  padding: 15px 26px; border-radius: 100px;
  border: 1px solid var(--rule-strong); color: var(--wine); background: transparent;
  transition: background .35s var(--ease-soft), color .35s, border-color .35s, transform .35s var(--ease-out);
}
.btn:hover { background: rgba(47, 17, 26, .07); transform: translateY(-1px); }
.btn .arw { transition: transform .4s var(--ease); }
.btn:hover .arw { transform: translateX(-4px); }
body[dir="ltr"] .btn:hover .arw { transform: scaleX(-1) translateX(-4px); }

/* الأساسي: عنابي مصمت */
.btn-solid, .btn-gold { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.btn-solid:hover, .btn-gold:hover { background: var(--wine-700); border-color: var(--wine-700); color: var(--cream); }

/* على الخلفية العنابية */
.signature .btn, .final .btn, .page-hero .btn { color: var(--on-wine); border-color: var(--rule-on-wine); }
.signature .btn:hover, .final .btn:hover, .page-hero .btn:hover { background: rgba(247, 241, 232, .1); }
.final .btn-solid, .final .btn-gold, .page-hero .btn-solid, .page-hero .btn-gold {
  background: var(--cream); border-color: var(--cream); color: var(--wine);
}
.final .btn-solid:hover, .final .btn-gold:hover { background: var(--cream); color: var(--wine); }
.btn-ghost-dark { color: inherit; }

.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-display); font-size: .9rem; font-weight: 500; color: var(--wine);
  transition: gap .35s var(--ease), color .3s;
}
.tlink:hover { gap: 13px; color: var(--gold-deep); }
.page-hero .tlink, .final .tlink { color: var(--gold); }

.arw { width: 15px; height: 15px; flex: none; }
body[dir="ltr"] .arw { transform: scaleX(-1); }

/* ---------- 09. الهيرو — عنابي، السلوقن عنوانًا، بلا نداء للفعل ---------- */
.hero.hero--wine {
  background: linear-gradient(168deg, var(--wine) 0%, var(--wine-900) 48%, #150711 100%);
  color: var(--on-wine-soft);
}
.hero.hero--wine h1 { color: var(--on-wine); }
.hero.hero--wine h1 em { color: inherit; }
.hero.hero--wine .hero-sub { color: var(--on-wine-soft); }
.hero.hero--wine .label { color: var(--gold); }
.hero.hero--wine .label::before { background: var(--gold); }
.hero.hero--wine .hero-foot { border-top-color: var(--rule-on-wine); }
.hero.hero--wine .hero-sign .rule { background: var(--gold); }
.hero.hero--wine .scroll-cue { color: var(--on-wine-faint); }
.hero.hero--wine .scroll-cue .line { background: var(--rule-on-wine); }
.hero.hero--wine .hero-art .halo { stroke: rgba(247, 241, 232, .2); }
.hero.hero--wine .hero-art svg { opacity: .7; height: min(82%, 640px); inset-inline-end: clamp(-20px, 6vw, 120px); }

/* السلوقن عنوانًا رئيسيًا بخط الهوية الرصين */
.hero-slogan {
  font-family: var(--f-display) !important;
  font-size: clamp(2rem, 4vw, 3.3rem) !important;
  line-height: 1.42 !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  max-width: 18ch;
}
/* السطر المقلوب: الرسالة تحت الخط الفاصل */
.hero-line {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(.95rem, 1.35vw, 1.15rem); color: var(--on-wine); line-height: 1.7;
}

/* شريط إشارات الثقة — سطر تحريري لا بطاقة بيعية */
.trustline { background: var(--beige); border-bottom: 1px solid var(--rule); padding-top: clamp(20px, 2.6vw, 34px); }
.trustline-lead {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.6;
  color: var(--wine); max-width: 60ch;
}
.trustline-in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: clamp(16px, 2vw, 26px);
}
.tl-item {
  padding: clamp(10px, 1.4vw, 16px) clamp(14px, 2vw, 30px);
  border-inline-start: 1px solid var(--rule);
  border-radius: var(--rad-sm);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .45s var(--ease-out), background .4s var(--ease-soft);
}
.tl-item:hover { transform: translateY(-4px); background: rgba(248, 243, 234, .6); }
.tl-item b { transition: color .35s; }
.tl-item:hover b { color: var(--gold-deep); }
.tl-item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.tl-item b { font-family: var(--f-display); font-weight: 600; font-size: clamp(.9rem, 1.05vw, 1rem); color: var(--wine); line-height: 1.55; }
.tl-item span { font-size: .82rem; color: var(--ink-faint); line-height: 1.65; }

.hero {
  position: relative; min-height: min(100svh, 820px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(104px, 12vh, 140px); padding-bottom: clamp(26px, 3.4vh, 44px);
  overflow: hidden;
}
.hero-in { width: 100%; }

.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* ميدالية الشعار: علامة داخل أقواس ذهبية وبقعة ضوء */
.hero-mark {
  position: absolute; top: 50%; translate: 0 -50%;
  inset-inline-end: clamp(24px, 9vw, 170px);
  height: min(46%, 330px); width: auto; opacity: .9;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .45));
  animation: markIn 1.6s var(--ease-out) .25s both;
}
@keyframes markIn { from { opacity: 0; transform: scale(.92); } to { opacity: .9; transform: none; } }

/* شريط جانبي بالاسم اللاتيني — تفصيل تحريري */
.hero-rail {
  position: absolute; inset-inline-start: clamp(12px, 2.4vw, 34px); top: 50%;
  transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-family: var(--f-display); font-size: .68rem; letter-spacing: .34em;
  color: rgba(247, 241, 232, .34); text-transform: uppercase;
  display: flex; align-items: center; gap: 18px;
}


/* الخط الذي يرسم نفسه بجانب الرسالة */
.hero-msg { padding-inline-start: clamp(18px, 2.4vw, 34px); }
.hero-msg::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 4px; bottom: 4px; width: 1px;
  background: linear-gradient(180deg, rgba(197, 159, 88, .9), rgba(197, 159, 88, .1));
  transform-origin: 50% 0; transform: scaleY(0);
  animation: railDraw 1.3s var(--ease-out) .5s forwards;
}
@keyframes railDraw { to { transform: scaleY(1); } }
.hero-glow {
  position: absolute; inset-inline-end: -6%; top: 50%; translate: 0 -50%;
  width: min(56vw, 720px); height: min(56vw, 720px); border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 159, 88, .16), rgba(197, 159, 88, 0) 66%);
  filter: blur(20px);
}
/* طبقات ضوء تعطي عمقًا للمشهد */
.hero-layers { position: absolute; inset: 0; overflow: hidden; }
.hero-art { transition: transform 1.2s var(--ease-out); }
.hero-parallax { transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 12px), 0); }
.hero-parallax-soft { transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -6px), 0); }
.hero-layers span { position: absolute; display: block; pointer-events: none; }
.hero-layers .l1 {
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  top: -26%; inset-inline-end: -14%; border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 159, 88, .075), rgba(197, 159, 88, 0) 58%);
  filter: blur(46px); animation: heroDrift1 22s var(--ease-soft) infinite alternate;
}
.hero-layers .l2 {
  width: 62vw; height: 62vw; max-width: 780px; max-height: 780px;
  bottom: -30%; inset-inline-start: -10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 6, 10, .72), rgba(16, 6, 10, 0) 68%);
  filter: blur(50px); animation: heroDrift2 28s var(--ease-soft) infinite alternate;
}
.hero-layers .l3 { /* شعاع مائل ناعم */
  inset: -20% -30%; transform: rotate(-16deg);
  background: linear-gradient(100deg, transparent 38%, rgba(247, 241, 232, .055) 50%, transparent 62%);
}
.hero-layers .l4 { /* حبيبات دقيقة */
  inset: 0; opacity: .28; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
/* موجات بحرية ناعمة: دورات غير متزامنة فتبدو عشوائية */
.hero-waves { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-waves i {
  position: absolute; display: block; border-radius: 45% 55% 52% 48% / 50% 45% 55% 50%;
  filter: blur(62px); mix-blend-mode: soft-light;
}
.hero-waves .w1 {
  width: 46vw; height: 34vw; top: 8%; inset-inline-end: 6%;
  background: radial-gradient(circle at 40% 40%, rgba(197, 159, 88, .12), rgba(197, 159, 88, 0) 68%);
  animation: waveDrift1 23s ease-in-out infinite alternate;
}
.hero-waves .w2 {
  width: 54vw; height: 40vw; bottom: -6%; inset-inline-end: 26%;
  background: radial-gradient(circle at 60% 50%, rgba(96, 42, 58, .3), rgba(96, 42, 58, 0) 70%);
  animation: waveDrift2 31s ease-in-out infinite alternate;
}
.hero-waves .w3 {
  width: 40vw; height: 30vw; top: 32%; inset-inline-start: 4%;
  background: radial-gradient(circle at 50% 50%, rgba(64, 26, 38, .34), rgba(64, 26, 38, 0) 70%);
  animation: waveDrift3 37s ease-in-out infinite alternate;
}
.hero-waves .w4 {
  width: 32vw; height: 26vw; top: 4%; inset-inline-start: 22%;
  background: radial-gradient(circle at 50% 50%, rgba(197, 159, 88, .07), rgba(197, 159, 88, 0) 66%);
  animation: waveDrift4 43s ease-in-out infinite alternate;
}
@keyframes waveDrift1 { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-3vw, 4vh, 0) scale(1.12); } 100% { transform: translate3d(2vw, -3vh, 0) scale(1.04); } }
@keyframes waveDrift2 { 0% { transform: translate3d(0,0,0) scale(1.05); } 50% { transform: translate3d(4vw, -3vh, 0) scale(.95); } 100% { transform: translate3d(-2vw, 3vh, 0) scale(1.1); } }
@keyframes waveDrift3 { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(3vw, 3vh, 0) scale(1.14); } 100% { transform: translate3d(-3vw, -2vh, 0) scale(.98); } }
@keyframes waveDrift4 { 0% { transform: translate3d(0,0,0) scale(1.08); } 50% { transform: translate3d(-4vw, -4vh, 0) scale(.94); } 100% { transform: translate3d(3vw, 2vh, 0) scale(1.06); } }

/* هالة تتنفّس خلف العلامة */
.hero-glow { animation: glowBreath 6s var(--ease-soft) infinite; }
@keyframes glowBreath { 0%, 100% { opacity: .7; transform: translate(0, -50%) scale(1); } 50% { opacity: 1; transform: translate(0, -50%) scale(1.08); } }
@keyframes heroDrift1 { to { transform: translate3d(-5vw, 5vh, 0) scale(1.12); } }
@keyframes heroDrift2 { to { transform: translate3d(4vw, -4vh, 0) scale(1.1); } }
.hero-art svg {
  position: absolute; height: min(76%, 600px); top: 50%; translate: 0 -50%;
  inset-inline-end: clamp(-40px, 2vw, 56px); width: auto; opacity: .3;
}
.hero-art .draw {
  stroke: var(--gold); fill: none; stroke-width: 1; opacity: .8;
  stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000);
  transition: stroke-dashoffset 2.4s var(--ease-out) .3s;
}
.loaded .hero-art .draw { stroke-dashoffset: 0; }
.hero-art .bar {
  fill: var(--gold); opacity: 0; transform: translateY(-10px);
  transition: opacity .9s var(--ease) var(--d, .4s), transform 1.1s var(--ease-out) var(--d, .4s);
}
.loaded .hero-art .bar { opacity: .75; transform: none; }
.hero-art .halo { fill: none; stroke: rgba(47, 17, 26, .12); }

.hero-grid { display: block; }
.hero-msg { position: relative; }
.hero-brace { display: none; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: clamp(16px, 2.4vh, 26px);
  animation: riseIn .9s var(--ease-out) .15s both;
}
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-foot { animation: riseIn 1s var(--ease-out) 1.05s both; }

.hero h1 {
  font-size: clamp(1.95rem, 3.4vw, 2.95rem);
  line-height: 1.34; font-weight: 600; letter-spacing: -0.02em;
  color: var(--wine); max-width: 20ch;
}
body[dir="ltr"] .hero h1 { line-height: 1.12; max-width: 18ch; }
.hero h1 .soft { color: var(--ink-faint); }

.hero-sub {
  margin-top: clamp(14px, 2vh, 22px);
  font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--ink-soft); max-width: 46ch; line-height: 1.95;
}
.hero-cta { margin-top: clamp(24px, 3.4vh, 38px); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* بطاقة إشارات الثقة — بديلة عن تكرار طلب الاستشارة */
.hero-panel { padding: clamp(20px, 2vw, 26px); }
.hero-panel .p-top {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule);
}
.hero-panel .p-top .label { color: var(--gold-deep); }
.hero-panel .p-rows { display: flex; flex-direction: column; }
.hero-panel .p-row { padding-block: 13px; border-bottom: 1px solid var(--rule); }
.hero-panel .p-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.hero-panel .p-row b {
  display: block; font-family: var(--f-display); font-weight: 600; font-size: .94rem;
  color: var(--wine); line-height: 1.5;
}
.hero-panel .p-row span { display: block; font-size: .82rem; color: var(--ink-faint); line-height: 1.6; margin-top: 3px; }

.hero-foot {
  margin-top: clamp(20px, 3.4vh, 38px); padding-top: 16px; border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.hero-sign { display: flex; align-items: center; gap: 14px; }
.hero-sign .rule { display: none; }
.scroll-cue { display: flex; align-items: center; gap: 10px; font-size: .72rem; letter-spacing: .16em; color: var(--ink-faint); font-family: var(--f-display); }
.scroll-cue .line { display: block; width: 46px; height: 1px; background: var(--rule-strong); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 40%;
  background: var(--gold); animation: cue 2.8s var(--ease-soft) infinite;
}
@keyframes cue { 0% { transform: translateX(100%); } 60%, 100% { transform: translateX(-160%); } }
body[dir="ltr"] .scroll-cue .line::after { animation-direction: reverse; }

/* ---------- 10. البيان ---------- */
.statement h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.4; max-width: none; }
.statement-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(26px, 4vw, 70px); align-items: start;
}
/* التكديس: العنوان والنص والشرائح كلها من اليمين */
.statement-stack { display: block; }
.statement-stack > div + div { margin-top: clamp(14px, 1.6vw, 20px); }
.statement-stack .statement-body { max-width: 78ch; padding-top: 0; }
.statement-stack .serif-mark { max-width: none; }
.statement-body { padding-top: clamp(4px, 2vw, 26px); }
.statement p.body-lg { font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.85; color: var(--ink-soft); }
.statement p.body-lg strong { color: var(--wine); font-weight: 400; }
.statement-marks { margin-top: clamp(14px, 1.8vw, 20px); display: flex; flex-wrap: wrap; gap: 8px; }
.statement-marks span {
  font-family: var(--f-display); font-size: .8rem; color: var(--ink-soft);
  padding: 8px 16px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--rule);
}
.axis { display: none; }

/* ---------- 11. مجالات الممارسة ---------- */
.practice-head { display: block; padding-bottom: clamp(18px, 2.2vw, 30px); }
.practice-head h2 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); max-width: 30ch; }
.practice-head .lead { max-width: 58ch; margin-top: 12px; }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 14px); }
.pcard {
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.1vw, 28px);
  border-radius: var(--rad);
  
  
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.pcard:hover {
  transform: translateY(-3px);
  background: var(--wine); border-color: var(--wine);
  box-shadow: var(--shadow);
}
.pcard:hover h3, .pcard:hover .pc-go { color: var(--cream); }
.pcard:hover .pc-top { border-bottom-color: var(--rule-on-wine); }
.pcard:hover .pc-idx, .pcard:hover .pc-meta dt { color: var(--gold); }
.pcard:hover .pc-en { color: var(--on-wine-faint); }
.pcard:hover .pc-meta dd { color: var(--on-wine-soft); }
.pcard .pc-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px solid var(--rule); margin-bottom: 14px;
}
.pcard .pc-idx { font-family: var(--f-display); font-size: .74rem; letter-spacing: .14em; color: var(--gold-deep); }
.pcard .pc-en { font-family: var(--f-display); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.pcard h3 { font-size: clamp(1.05rem, 1.5vw, 1.28rem); font-weight: 600; line-height: 1.45; }

.pc-meta { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.pc-meta > div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.pc-meta dt { font-family: var(--f-display); font-size: .68rem; letter-spacing: .06em; color: var(--gold-deep); white-space: nowrap; }
.pc-meta dd { font-size: .86rem; line-height: 1.7; color: var(--ink-soft); }
.pcard .pc-go {
  margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--wine); font-family: var(--f-display); font-weight: 500;
  transition: gap .35s var(--ease), color .3s;
}
.pcard:hover .pc-go { gap: 12px; color: var(--gold-deep); }
.pgrid-foot { margin-top: clamp(16px, 2vw, 24px); display: flex; justify-content: center; }

/* قائمة المجالات الكاملة (صفحة الخدمات) */
.plist { display: flex; flex-direction: column; gap: 8px; }
.prow {
  border-radius: var(--rad-sm); border: 1px solid transparent;
  transition: background .4s var(--ease-soft), border-color .4s;
}
.prow:hover, .prow.open { background: var(--cream); border-color: var(--rule); box-shadow: var(--shadow-sm); }
.prow-btn {
  width: 100%; text-align: start;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 2.2vw, 32px); align-items: center;
  padding: clamp(18px, 2.2vw, 26px) clamp(14px, 1.8vw, 24px);
}
.prow-idx { font-family: var(--f-display); font-size: .78rem; letter-spacing: .1em; color: var(--gold-deep); }
.prow-txt { display: flex; flex-direction: column; gap: 3px; }
.prow-sit { font-size: clamp(.84rem, 1vw, .92rem); color: var(--ink-faint); }
.prow.open .prow-sit, .prow:hover .prow-sit { color: var(--gold-deep); }
.prow-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, 1.8vw, 1.42rem); line-height: 1.4; color: var(--wine); }
.prow-plus {
  position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%;
  border: 1px solid var(--rule-strong); transition: background .35s, border-color .35s, transform .4s var(--ease);
}
.prow:hover .prow-plus { border-color: var(--gold); }
.prow.open .prow-plus { background: var(--wine); border-color: var(--wine); transform: rotate(90deg); }
.prow-plus i { position: absolute; background: var(--wine); transition: transform .4s var(--ease), background .3s; }
.prow-plus i:first-child { inset-inline: 10px; top: 50%; height: 1.5px; margin-top: -.75px; }
.prow-plus i:last-child { inset-block: 10px; inset-inline-start: 50%; width: 1.5px; margin-inline-start: -.75px; }
.prow.open .prow-plus i { background: var(--cream); }
.prow.open .prow-plus i:last-child { transform: scaleY(0); }
.prow-panel { overflow: hidden; height: 0; transition: height .6s var(--ease-out); }
.prow-panel-in {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(12px, 2.2vw, 32px); padding: 0 clamp(14px, 1.8vw, 24px) clamp(20px, 2.4vw, 30px);
}
.prow-panel-in .spacer { width: clamp(14px, 1.4vw, 20px); }
.prow-panel p { max-width: 64ch; font-size: clamp(.94rem, 1.1vw, 1.02rem); }
.prow-panel .tlink { margin-top: 14px; }
.prow-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.prow-tags span {
  font-size: .76rem; color: var(--ink-soft); padding: 6px 13px; border-radius: 100px;
  background: var(--beige-2); border: 1px solid var(--rule);
}

/* ---------- 12. شريط السلوقن — عنابي نظيف ---------- */
.signature { position: relative; padding-block: clamp(46px, 5.4vw, 82px); background: var(--wine); overflow: hidden; }
.signature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 120% at 50% 50%, rgba(197, 159, 88, .09), transparent 70%);
}
.sig-in { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 1.8vw, 22px); text-align: center; position: relative; z-index: 2; }
.sig-mark { display: flex; align-items: center; gap: 18px; }
.sig-mark img { height: clamp(34px, 3.4vw, 46px); width: auto; }
.sig-mark .rule { display: none; }
.sig-line {
  font-family: var(--f-display); font-size: clamp(1.4rem, 2.7vw, 2.1rem);
  line-height: 1.5; color: var(--cream); font-weight: 600; letter-spacing: -0.02em;
}
.sig-line em { color: inherit; }
.sig-sub { font-size: clamp(.85rem, 1vw, .93rem); color: var(--on-wine-soft); max-width: 48ch; }

/* ---------- 13. المنهجية ---------- */
.approach-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 4.4vw, 76px); align-items: start; }
.approach-sticky { position: sticky; top: clamp(96px, 13vh, 150px); }
.approach-sticky h2 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); }
.approach-sticky .bars { margin-bottom: 20px; }

.steps { display: flex; flex-direction: column; gap: 8px; }
/* كل المراحل بنفس المعالجة — والحالية تُعلَّم بخط ذهبي لا بصندوق */
.step {
  position: relative; padding: clamp(16px, 1.9vw, 24px);
  border-radius: var(--rad-sm);
}
.step::before {
  content: ""; position: absolute; inset-block: 14%; inset-inline-start: 0; width: 2px; border-radius: 2px;
  background: var(--gold); opacity: 0; transition: opacity .4s var(--ease);
}
.step { transition: transform .45s var(--ease-out), box-shadow .45s, border-color .4s, background .4s; }
.step:hover {
  transform: translateY(-5px);
  border-color: var(--rule-gold);
  box-shadow: var(--glass-in), var(--shadow);
}
.step:hover h3 { color: var(--wine); }
.step:hover::before { opacity: 1; }
.step.active { border-color: var(--rule-gold); box-shadow: var(--glass-in), var(--shadow-sm); }
.step.active::before { opacity: 1; }
.step::before { transition: opacity .4s var(--ease), transform .5s var(--ease-out); transform: scaleY(.4); }
.step.active::before, .step:hover::before { transform: scaleY(1); }
.step-num { font-family: var(--f-display); font-size: .73rem; letter-spacing: .14em; color: var(--gold-deep); display: block; }

.step h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 600; margin-top: 6px; color: var(--wine); }
.step p { margin-top: 6px; max-width: 56ch; font-size: .93rem; color: var(--ink-soft); }

/* ---------- 14. المزايا ---------- */
.why-head { display: block; }
.why-head h2 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.5; max-width: 30ch; text-wrap: balance; }
.why-head .lead { max-width: 58ch; margin-top: 12px; font-size: clamp(.94rem, 1.15vw, 1.04rem); }
.why-grid { margin-top: clamp(18px, 2.4vw, 32px); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.2vw, 14px); }
.why-item {
  padding: clamp(20px, 2.2vw, 30px); border-radius: var(--rad);
  
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rule-gold); }
.why-item .keyline { display: none; }
.why-item .idx { font-size: .74rem; letter-spacing: .14em; }
.why-item h3 { font-size: clamp(1.05rem, 1.5vw, 1.28rem); margin-top: 10px; }
.why-item p { margin-top: 8px; max-width: 44ch; font-size: .92rem; color: var(--ink-soft); }

/* ---------- 15. الأرقام — أبرز أقسام الصفحة ---------- */
.proof.tone-figures {
  background: linear-gradient(150deg, var(--wine-700) 0%, var(--wine) 46%, var(--wine-900) 100%);
  position: relative; overflow: hidden;
}
.proof.tone-figures::before {
  content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  top: -30%; inset-inline-start: -12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 33, 48, .55), rgba(76, 33, 48, 0) 66%);
  filter: blur(30px); animation: heroDrift1 26s var(--ease-soft) infinite alternate;
}
.proof.tone-figures::after {
  content: ""; position: absolute; width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  bottom: -26%; inset-inline-end: -8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 159, 88, .2), rgba(197, 159, 88, 0) 64%);
  filter: blur(36px); animation: heroDrift2 30s var(--ease-soft) infinite alternate;
}
.proof.tone-figures .wrap { position: relative; z-index: 2; }
.proof.tone-figures h2 { color: var(--on-wine); }
.proof.tone-figures .label { color: var(--gold); }
.proof.tone-figures .proof-panel { background: none; border: 0; box-shadow: none; backdrop-filter: none; gap: clamp(10px, 1.2vw, 16px); }
.proof.tone-figures .proof-item {
  border: 1px solid var(--glass-d-brd); border-radius: var(--rad);
  background: var(--glass-d-bg); box-shadow: var(--glass-d-in);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  transition: transform .5s var(--ease-out), border-color .4s, background .4s;
}
.proof.tone-figures .proof-item:hover { transform: translateY(-6px); border-color: rgba(197, 159, 88, .5); }
.proof.tone-figures .proof-num { color: var(--cream); }
.proof.tone-figures .proof-num sup { color: var(--gold); }
.proof.tone-figures .cap { color: var(--on-wine); }
.proof.tone-figures .sub { color: var(--on-wine-soft); }
.proof.tone-figures .proof-item::after {
  content: ""; position: absolute; top: auto; bottom: 0; inset-inline: 0;
  width: auto; height: 2px; background: var(--gold); opacity: 0;
  transition: opacity .4s var(--ease);
}
.proof.tone-figures .proof-item:hover::after { opacity: .9; }

.proof-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.proof-head h2 { font-size: clamp(1.35rem, 2.3vw, 1.9rem); max-width: 22ch; }
.proof-panel {
  margin-top: clamp(18px, 2.2vw, 30px);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.proof-panel.proof-4 { grid-template-columns: repeat(4, 1fr); }
.proof-panel.proof-4 .proof-item { padding-inline: clamp(16px, 1.8vw, 26px); }
.proof-panel.proof-4 .proof-num { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.proof-panel {
  border-radius: var(--rad); overflow: hidden;
}
.proof-grid { margin-top: clamp(24px, 3.2vw, 44px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 14px); }
.proof-item {
  padding: clamp(22px, 2.6vw, 34px) clamp(16px, 2vw, 26px);
  border-inline-start: 1px solid var(--rule);
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.proof-panel .proof-item:first-child { border-inline-start: 0; }
.proof-item::after {
  content: ""; position: absolute; top: clamp(24px, 3vw, 40px); inset-inline-start: 0;
  width: 1px; height: 28px; background: var(--gold); opacity: 0;
}
.proof-panel .proof-item:hover::after { opacity: .9; }
.proof-num {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -0.04em;
  color: var(--wine); display: flex; align-items: flex-start; gap: 3px; font-variant-numeric: tabular-nums;
}
.proof-num sup { font-size: .32em; top: .5em; position: relative; color: var(--gold-deep); }
.proof-item .cap { margin-top: 12px; font-size: clamp(.92rem, 1.05vw, 1rem); color: var(--wine); font-family: var(--f-display); font-weight: 600; }
.proof-item .sub { margin-top: 5px; font-size: .82rem; color: var(--ink-faint); max-width: 30ch; }

/* ---------- 16. المعرفة القانونية ---------- */
.know-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; padding-bottom: clamp(16px, 2vw, 28px); }
.know-head > div { flex: 1 1 340px; }
.know-head h2 { font-size: clamp(1.45rem, 2.5vw, 2.1rem); max-width: 20ch; }
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr);
  gap: clamp(18px, 3vw, 52px); align-items: end;
  padding: clamp(22px, 2.8vw, 36px); border-radius: var(--rad);
  
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.feature h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.42; }
.feature h3 a:hover { color: var(--gold-deep); }
.art-meta { display: flex; align-items: center; gap: 11px; font-size: .79rem; color: var(--ink-faint); }
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); flex: none; opacity: .8; }
.art-kicker { font-family: var(--f-display); font-size: .68rem; letter-spacing: .16em; color: var(--gold-deep); }

.art-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 2vw, 30px); align-items: center;
  padding: clamp(15px, 1.8vw, 22px) clamp(14px, 1.8vw, 22px);
  border-radius: var(--rad-sm); border: 1px solid transparent;
  transition: background .35s, border-color .35s;
}
.art-row + .art-row { margin-top: 4px; }
.art-row:hover { background: var(--cream); border-color: var(--rule); }
.art-row h4 { font-size: clamp(.98rem, 1.5vw, 1.2rem); font-weight: 600; line-height: 1.5; }
.art-row:hover h4 { color: var(--gold-deep); }
.art-row .art-meta { justify-content: flex-end; }
.art-row .art-kicker { display: block; margin-bottom: 4px; }

/* ---------- 17. النداء الأخير ---------- */
.final { position: relative; padding-block: clamp(46px, 5vw, 80px); background: var(--wine); overflow: hidden; text-align: center; }
.final { background: var(--wine); }
.final::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(197, 159, 88, .55), transparent);
}
.final .wrap { position: relative; z-index: 2; }
.final h2 { font-size: clamp(1.55rem, 2.9vw, 2.4rem); line-height: 1.34; margin-inline: auto; max-width: 20ch; }
.final p { margin: clamp(14px, 2vw, 22px) auto 0; max-width: 52ch; font-size: clamp(.98rem, 1.2vw, 1.1rem); color: var(--on-wine-soft); }
.final .cta-row { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.final .bars { margin: 0 auto clamp(20px, 2.6vw, 30px); }

/* ---------- 18. الفوتر ---------- */
.site-footer { background: var(--ink-black); color: var(--on-wine-soft); padding-top: clamp(38px, 4.4vw, 60px); padding-bottom: 22px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3.4vw, 52px); }
.foot-brand img { height: 50px; width: auto; }
.foot-brand p { margin-top: 16px; max-width: 38ch; font-size: .89rem; line-height: 1.9; color: var(--on-wine-soft); }
.foot-brand .serif-mark { display: block; margin-top: 14px; font-size: 1.08rem; color: var(--gold); }
.foot-col h4 { font-family: var(--f-display); font-size: .7rem; letter-spacing: .16em; color: var(--gold); font-weight: 500; margin-bottom: 14px; }
.foot-col li + li { margin-top: 8px; }
.foot-col a, .foot-col span { font-size: .89rem; color: var(--on-wine-soft); transition: color .3s; }
.foot-col a:hover { color: var(--gold); }
.foot-bottom {
  margin-top: clamp(32px, 4vw, 52px); padding-top: 18px; border-top: 1px solid var(--rule-on-wine);
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between;
  font-size: .78rem; color: var(--on-wine-faint);
}
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom a:hover { color: var(--gold); }
.foot-social { display: inline-flex; align-items: center; gap: 8px; }
.foot-social svg { width: 15px; height: 15px; }

/* ---------- 19. واتساب عائم مباشر ---------- */
.wa-float {
  position: fixed; z-index: 68; bottom: clamp(16px, 2.2vw, 26px); inset-inline-start: clamp(16px, 2.2vw, 28px);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px; border-radius: 100px;
  background: var(--wine); color: var(--cream);
  border: 1px solid rgba(197, 159, 88, .35);
  box-shadow: 0 14px 34px -18px rgba(47, 17, 26, .75);
  transition: background .35s, border-color .35s, transform .3s var(--ease-out);
  animation: waIn .8s var(--ease-out) .6s both;
}
@keyframes waIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.wa-float:active { transform: scale(.96); }
body.at-footer .wa-float { opacity: 0; visibility: hidden; transform: translateY(20px); pointer-events: none; }
.wa-float:hover { background: var(--wine-700); border-color: var(--gold); }
.wa-float svg { width: 20px; height: 20px; color: #3BD07E; flex: none; }
.wa-label { font-family: var(--f-display); font-size: .85rem; font-weight: 500; }
.wa-float::after { /* نبضة خفيفة تلفت النظر مرة واحدة */
  content: ""; position: absolute; inset: -3px; border-radius: 100px;
  border: 1px solid rgba(59, 208, 126, .5); opacity: 0;
  animation: waPulse 3.6s var(--ease-soft) 2s 3;
}
@keyframes waPulse { 0% { opacity: .7; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.12); } }

/* أيقونات التواصل في الفوتر */
.foot-social { display: inline-flex; align-items: center; gap: 10px; }
.foot-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--on-wine-soft);
  border: 1px solid var(--rule-on-wine);
  transition: color .3s, border-color .3s, background .3s, transform .35s var(--ease-out);
}
.foot-social a:hover { color: var(--wine-900); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.foot-social svg { width: 15px; height: 15px; }

/* بطاقة حجز الموعد */
.book-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(14px, 2vw, 20px);
  margin-bottom: clamp(20px, 2.6vw, 30px); padding: clamp(18px, 2.2vw, 24px);
  border-radius: var(--rad);
  background: var(--wine); border: 1px solid var(--wine);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.book-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-lg); }
.book-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: rgba(197, 159, 88, .16); color: var(--gold); border: 1px solid rgba(197, 159, 88, .4);
}
.book-ico svg { width: 21px; height: 21px; }
.book-txt { display: flex; flex-direction: column; gap: 3px; }
.book-txt b { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; color: var(--cream); }
.book-txt span { font-size: .86rem; color: var(--on-wine-soft); line-height: 1.65; }
.book-go {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--f-display); font-size: .85rem; font-weight: 500; color: var(--gold);
  transition: gap .35s var(--ease);
}
.book-card:hover .book-go { gap: 13px; }
.cal-ico { width: 16px; height: 16px; flex: none; }

/* بطاقة الخريطة */
.map-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(14px, 2vw, 22px);
  margin-top: 18px; padding: clamp(18px, 2.2vw, 26px);
  border-radius: var(--rad);
  background:
    linear-gradient(158deg, rgba(251, 249, 245, .82), rgba(244, 238, 228, .58) 62%),
    repeating-linear-gradient(45deg, rgba(47, 17, 26, .04) 0 2px, transparent 2px 16px);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-in), var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.map-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rule-gold); }
.map-pin {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--wine); color: var(--gold);
}
.map-pin svg { width: 20px; height: 20px; }
.map-txt { display: flex; flex-direction: column; gap: 2px; }
.map-txt b { font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; color: var(--wine); }
.map-txt span { font-size: .88rem; color: var(--ink-soft); }
.map-go {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-family: var(--f-display); font-size: .85rem; font-weight: 500; color: var(--gold-deep);
  transition: gap .35s var(--ease);
}
.map-card:hover .map-go { gap: 13px; color: var(--wine); }

/* ---------- 20. الصفحات الداخلية ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(168deg, var(--wine) 0%, var(--wine-900) 52%, #150711 100%);
  padding-top: clamp(120px, 16vh, 168px); padding-bottom: clamp(40px, 5vw, 70px);
}
/* درجة واحدة لرأس كل صفحة: عنابي الهوية كما في الرئيسية.
   الكحلي والبيج يبقيان نغمة أقسام داخل الصفحة، لا لون رأس. */

.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(62% 105% at 84% 0%, rgba(197, 159, 88, .055), transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.32; max-width: 20ch; }
.page-hero h1 .soft { color: var(--on-wine-faint); }
.page-hero p { margin-top: 18px; max-width: 54ch; font-size: clamp(.98rem, 1.2vw, 1.1rem); color: var(--on-wine-soft); }
.crumb { font-size: .78rem; color: var(--on-wine-faint); margin-bottom: 18px; display: flex; gap: 9px; align-items: center; }
.crumb a:hover { color: var(--gold); }
.crumb .sep { opacity: .5; }

.ph-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ph-art svg { display: none; }
.ph-mark {
  position: absolute; top: 50%; translate: 0 -50%;
  inset-inline-end: clamp(16px, 7vw, 130px);
  height: min(120%, 210px); width: auto; opacity: .16;
}
.ph-glow {
  position: absolute; inset-inline-end: -4%; top: 50%; translate: 0 -50%;
  width: min(40vw, 520px); height: min(40vw, 520px); border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 159, 88, .065), rgba(197, 159, 88, 0) 66%);
  animation: glowBreath 6s var(--ease-soft) infinite;
}
.ph-echo { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ph-echo > * {
  position: absolute; display: block; border-radius: 48% 52% 50% 50% / 52% 48% 52% 48%;
  filter: blur(50px); mix-blend-mode: screen;
  width: 40vw; height: 22vw; top: -10%; inset-inline-end: 8%;
  background: radial-gradient(circle at 50% 50%, rgba(197, 159, 88, .2), rgba(197, 159, 88, 0) 68%);
  animation: waveDrift1 27s ease-in-out infinite alternate;
}
.ph-echo > *:nth-child(2) {
  width: 46vw; height: 26vw; top: auto; bottom: -22%; inset-inline-end: 30%;
  background: radial-gradient(circle at 50% 50%, rgba(140, 70, 92, .45), rgba(140, 70, 92, 0) 70%);
  animation: waveDrift2 34s ease-in-out infinite alternate;
}
.ph-echo > *:nth-child(3) {
  width: 34vw; height: 20vw; top: 20%; inset-inline-start: 6%;
  background: radial-gradient(circle at 50% 50%, rgba(92, 42, 56, .4), rgba(92, 42, 56, 0) 70%);
  animation: waveDrift3 41s ease-in-out infinite alternate;
}
.ph-art .draw {
  stroke: var(--gold); fill: none; stroke-width: 1; opacity: .6;
  stroke-dasharray: var(--len, 800); stroke-dashoffset: var(--len, 800);
  transition: stroke-dashoffset 2s var(--ease-out) .2s;
}
.loaded .ph-art .draw { stroke-dashoffset: 0; }
.ph-art .bar { fill: var(--gold); opacity: 0; transform: translateY(-8px); transition: opacity .8s var(--ease) var(--d, .3s), transform 1s var(--ease-out) var(--d, .3s); }
.loaded .ph-art .bar { opacity: .6; transform: none; }
.ph-art .halo { fill: none; stroke: rgba(247, 241, 232, .14); }

.prose p { margin-bottom: 16px; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-size: clamp(1.12rem, 1.7vw, 1.4rem); margin: 26px 0 10px; }
.prose ul { margin: 0 0 16px; }
.prose ul li { position: relative; padding-inline-start: 20px; margin-bottom: 10px; color: var(--ink-soft); }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; width: 9px; height: 1px; background: var(--gold); }

.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.split-sticky { position: sticky; top: clamp(96px, 13vh, 148px); }

.mini-list { display: flex; flex-direction: column; gap: 6px; }
.mini-row { padding: clamp(14px, 1.8vw, 22px); border-radius: var(--rad-sm);  display: grid; grid-template-columns: auto minmax(0,1fr); gap: clamp(10px, 1.8vw, 26px); }
.mini-row h4 { font-size: clamp(1rem, 1.4vw, 1.2rem); }
.mini-row p { margin-top: 5px; font-size: .92rem; max-width: 62ch; }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 14px); }
.person {
  padding: clamp(20px, 2.4vw, 32px); border-radius: var(--rad);
  
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rule-gold); }
.person .avatar {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--f-display); font-size: 1rem; font-weight: 600; color: var(--wine);
  background: var(--beige-2); border: 1px solid var(--rule-gold);
}
.person h3 { font-size: clamp(1.05rem, 1.5vw, 1.24rem); }
.person .role { font-size: .82rem; color: var(--gold-deep); margin-top: 4px; font-family: var(--f-display); }
.person p { margin-top: 10px; font-size: .9rem; color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3.6vw, 64px); align-items: start; }
.glass-bed { position: relative; }
.form-panel { padding: clamp(20px, 2.6vw, 34px); background: var(--cream); border: 1px solid var(--rule); border-radius: var(--rad); box-shadow: var(--shadow); }
.form-panel .fp-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--rule); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .78rem; color: var(--ink-faint); margin-bottom: 6px; font-family: var(--f-display); letter-spacing: .03em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: var(--beige); border: 1px solid var(--rule); border-radius: var(--rad-xs);
  padding: 12px 14px; transition: border-color .35s var(--ease-soft), background .35s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--cream); }
.form-note { font-size: .78rem; color: var(--ink-faint); margin-top: 10px; line-height: 1.7; }
.form-ok { display: none; margin-top: 12px; padding: 13px 15px; border-radius: var(--rad-xs); border: 1px solid var(--rule-gold); background: rgba(197, 159, 88, .1); color: var(--wine); font-size: .9rem; }
.form-ok.show { display: block; }

.info-list { display: flex; flex-direction: column; gap: 6px; }
.info-item {
  padding: clamp(13px, 1.6vw, 18px) clamp(14px, 1.8vw, 20px); border-radius: var(--rad-sm);
  
  display: grid; grid-template-columns: 92px minmax(0,1fr); gap: 14px; align-items: baseline;
}
.info-item dt { font-size: .73rem; letter-spacing: .12em; color: var(--gold-deep); font-family: var(--f-display); }
.info-item dd { font-size: .96rem; color: var(--ink); }
.info-item dd a:hover { color: var(--gold-deep); }
.map-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 7px; font-size: .85rem; color: var(--wine); }
.map-link svg { width: 15px; height: 15px; }
.map-frame { border-radius: var(--rad); overflow: hidden; margin-top: 18px; border: 1px solid var(--rule); filter: grayscale(.6) contrast(.95); }
.map-frame iframe { display: block; width: 100%; height: 290px; border: 0; }

/* ---------- 21. الحركة ---------- */
/* دخول الصفحة وخروجها */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageIn .7s var(--ease-out) both; }
@keyframes pageOut { from { opacity: 1; } to { opacity: 0; } }
body.page-leaving { animation: pageOut .3s var(--ease-soft) forwards; }

/* روابط التنقل: خط ذهبي ينزلق */
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; bottom: 5px; inset-inline: 13px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .45s var(--ease);
}
body[dir="ltr"] .nav a::after { transform-origin: 0 50%; }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { transform: scaleX(0); }

/* ضغطة الأزرار */
.btn:active { transform: translateY(0) scale(.985); }
.pcard:active, .why-item:active, .step:active { transform: translateY(-1px); }

/* روابط الفوتر والقوائم */
.foot-col a, .crumb a, .talk-opt, .art-row { transition: color .3s var(--ease-soft), background .35s, transform .35s var(--ease-out), border-color .35s; }
.foot-col a:hover { transform: translateX(-3px); }
body[dir="ltr"] .foot-col a:hover { transform: translateX(3px); }

/* ظهور أنعم للعناصر */
[data-reveal] { transition-duration: .85s, .95s; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
.mask { display: block; }
.mask .ln { display: block; overflow: hidden; padding-bottom: .08em;
            padding-inline: .12em; margin-inline: -.12em; }
.mask .ln > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease-out) var(--d, 0s); }
.mask.is-in .ln > span { transform: none; }
[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .mask .ln > span { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 21b. ضمان التباين فوق الكحلي والعنابي ---------- */
section.tone-deep p, section.tone-deep .lead, section.tone-deep p.body-lg,
section.tone-deep .step p, section.tone-deep .why-item p { color: var(--on-wine-soft); }
section.tone-deep p.body-lg strong { color: var(--on-wine); font-weight: 400; }
section.tone-deep h2, section.tone-deep h3, section.tone-deep h4 { color: var(--on-wine); }
section.tone-deep .serif-mark { color: var(--gold); }
section.tone-deep .idx, section.tone-deep .step-num { color: var(--gold); }
section.tone-deep .statement-marks span { color: var(--on-wine-soft); border-color: rgba(247, 241, 232, .22); }
section.tone-deep .tlink { color: var(--gold); }
section.tone-deep .art-meta, section.tone-deep .form-note { color: var(--on-wine-faint); }


/* ---------- 21b2. حركة موحّدة لكل البوكسات ---------- */
.pcard, .why-item, .step, .person, .feature, .info-item, .mini-row, .proof-item, .statement-marks span, .art-row {
  position: relative; isolation: isolate;
  transition:
    transform .55s cubic-bezier(.16, 1, .3, 1),
    box-shadow .5s var(--ease-soft),
    border-color .45s var(--ease-soft),
    background .45s var(--ease-soft);
}
/* لمعة داخلية تمر عند المرور */
.pcard::after, .why-item::after, .step::after, .person::after, .proof-item::after, .feature::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(197, 159, 88, .16), transparent 62%);
  opacity: 0; transition: opacity .5s var(--ease-soft);
}
.pcard:hover::after, .why-item:hover::after, .step:hover::after,
.person:hover::after, .proof-item:hover::after, .feature:hover::after { opacity: 1; }

.pcard:hover, .why-item:hover, .step:hover, .person:hover, .feature:hover, .mini-row:hover, .info-item:hover {
  transform: translateY(-6px);
  border-color: var(--rule-gold);
  box-shadow: 0 26px 50px -30px rgba(47, 17, 26, .45), var(--glass-in);
}
.tone-deep .why-item:hover, .tone-deep .proof-item:hover, .proof.tone-figures .proof-item:hover {
  transform: translateY(-6px);
  border-color: rgba(197, 159, 88, .55);
  box-shadow: 0 26px 54px -28px rgba(0, 0, 0, .5);
}
/* المراحل: كلها متطابقة — لا حالة «نشطة» مختلفة الشكل */
.step.active { border-color: var(--glass-brd); box-shadow: var(--glass-in), var(--shadow-sm); }
.step::before, .step.active::before { display: none; }

/* شرائح البيان: أوضح وبحركة مستقلة */
.statement-marks span {
  cursor: default; padding: 10px 20px;
  border-color: rgba(197, 159, 88, .38);
  color: var(--ink);
}
.statement-marks span:hover { transform: translateY(-3px); border-color: var(--gold); }
section.tone-deep .statement-marks span { color: var(--on-wine); border-color: rgba(197, 159, 88, .45); }
section.tone-deep .statement-marks span:hover { background: rgba(197, 159, 88, .16); border-color: var(--gold); }

/* ---------- 21c. سطح القلاس يسبق كل تخصيص لاحق ---------- */
.pcard, .why-item, .step, .person, .feature, .info-item, .mini-row, .form-panel, .proof-panel, .glass, .glass-d, .tile {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-in), var(--shadow-sm);
}
.tone-deep .why-item, .tone-deep .proof-item, .tone-deep .statement-marks span,
.proof.tone-figures .proof-item, .hero .glass {
  background: var(--glass-d-bg);
  border-color: var(--glass-d-brd);
  box-shadow: var(--glass-d-in);
}
.proof.tone-figures .proof-panel { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .pcard, .why-item, .step, .person, .feature, .info-item, .mini-row, .form-panel { background: rgba(251, 249, 245, .92); }
}

/* الأسطر تنكسر عند الحاجة: المحتوى الأطول كان يُقصّ لأن الغلاف
   يخفي الفائض أفقيًّا. الاتزان أفضل من منع الكسر. */
@media (min-width: 900px) {
  .mask .ln > span,
  .approach-sticky .lead, .why-head .lead, .practice-head .lead,
  .statement .serif-mark, .trustline-lead { text-wrap: balance; }
}
@media (min-width: 900px) and (max-width: 1240px) {
  .approach-sticky .lead, .why-head .lead, .practice-head .lead,
  .statement .serif-mark, .trustline-lead { white-space: normal; }
}

/* ---------- 22. الاستجابة ---------- */
@media (min-width: 1081px) {
  .approach-grid { display: block; }
  .approach-sticky { position: static; margin-bottom: clamp(16px, 2vw, 26px); }
  .approach-sticky h2 { max-width: none; }
  .approach-sticky .lead { max-width: none; margin-top: 12px !important; }
  .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1vw, 12px); }
  .step { padding: clamp(16px, 1.7vw, 22px); }
  .step h3 { font-size: clamp(1rem, 1.35vw, 1.2rem); }
  .step p { font-size: .87rem; line-height: 1.7; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .why-item { padding: clamp(18px, 1.9vw, 26px); }
  .why-item h3 { font-size: clamp(1rem, 1.35vw, 1.2rem); }
  .why-item p { font-size: .88rem; line-height: 1.7; }
}

@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav, .nav-sep { display: none; }
  .burger { display: block; }
  .hero { min-height: auto; padding-top: clamp(108px, 14vh, 132px); }
  .hero-grid { grid-template-columns: 1fr; gap: clamp(22px, 3vw, 30px); }
  .hero-art svg { opacity: .18; inset-inline-end: -14%; height: min(60%, 420px); }
  .statement-grid, .approach-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .approach-sticky, .split-sticky { position: static; }
  .practice-head, .why-head { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .trustline-in { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .tl-item:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .why-head h2, .practice-head h2 { max-width: none; }
  .book-card, .map-card { grid-template-columns: auto minmax(0, 1fr); }
  .book-go, .map-go { grid-column: 2; }
  .why-grid, .proof-grid { grid-template-columns: 1fr; }
  .proof-panel, .proof-panel.proof-4 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; align-items: start; gap: 14px; }
  .art-row { grid-template-columns: auto minmax(0, 1fr); }
  .art-row .art-meta { grid-column: 2; justify-content: flex-start; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 60px; }
  .hero h1 { max-width: 16ch; }
  .hero-cta .btn { width: 100%; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .scroll-cue { display: none; }
  .pgrid { grid-template-columns: 1fr; }
  .trustline-in { grid-template-columns: 1fr; gap: 16px; }
  .tl-item { border-inline-start: 0; padding-inline: 0; }
  .hero-slogan { font-size: clamp(1.85rem, 8vw, 2.4rem) !important; }
  .prow-btn { gap: 12px; align-items: start; padding-inline: 14px; }
  .prow-plus { width: 28px; height: 28px; margin-top: 4px; }
  .prow-plus i:first-child { inset-inline: 8px; }
  .prow-plus i:last-child { inset-block: 8px; }
  .prow-panel-in { grid-template-columns: 1fr; padding-inline: 14px; }
  .prow-panel-in .spacer { display: none; }
  .people { grid-template-columns: 1fr; }
  .proof-panel, .proof-panel.proof-4 { grid-template-columns: 1fr; }
  .info-item { grid-template-columns: 1fr; gap: 3px; }
  .foot-top { grid-template-columns: 1fr; gap: 26px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .final .cta-row .btn { width: 100%; }
  .wa-float { inset-inline-start: 12px; bottom: 12px; padding: 11px 15px; }
  .wa-label { display: none; }
}

/* ============================================================
   ٢٣. تمريرة الذوق البصري (design-taste)
   ترقيات موضعية على ما هو قائم: نسيج، عمق، تناسق غير متماثل،
   إيقاع بصري للحواف، وتفاصيل طباعية تمنع الشكل الافتراضي.
   ============================================================ */

/* ---- ٢٣.١ نسيج دقيق على الأرضية الفاتحة: يمنع الإحساس المسطّح ---- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='.055'/%3E%3C/svg%3E");
}

/* ---- ٢٣.٢ حواف الأقسام: فواصل حادّة وصريحة ---- */
.tone-paper-2, .tone-deep, .signature, .final, .proof.tone-figures, .trustline { position: relative; }
.tone-paper-2 {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* ---- ٢٣.٣ أنصاف أقطار متدرّجة: الحاوية أنعم والداخل أضيق ---- */
:root { --rad-lg: 22px; }
.pcard, .why-item, .person, .feature, .form-panel, .proof-panel, .book-card, .map-card { border-radius: var(--rad-lg); }
.step, .mini-row, .info-item, .art-row, .prow { border-radius: var(--rad); }
.pc-meta > div, .prow-tags span, .field input, .field select, .field textarea { border-radius: var(--rad-xs); }
.book-ico, .map-pin, .person .avatar { border-radius: calc(var(--rad-lg) - 8px); }

/* ---- ٢٣.٤ ظلال ملوّنة بلون سطحها لا سوداء عامة ---- */
.tone-deep .why-item, .tone-deep .proof-item {
  box-shadow: var(--glass-d-in), 0 18px 40px -28px rgba(3, 26, 40, .55);
}
.proof.tone-figures .proof-item {
  box-shadow: var(--glass-d-in), 0 18px 40px -28px rgba(26, 6, 12, .6);
}
.site-footer .foot-social a { box-shadow: 0 2px 8px -5px rgba(0, 0, 0, .7); }

/* ---- ٢٣.٥ إيقاع رأسي بصري: القاع أوسع قليلًا من القمة ---- */
.section { padding-block: var(--sect) calc(var(--sect) * 1.16); }

/* ---- ٢٣.٦ طباعة: لا كلمات يتيمة، ومقاس سطر مريح ---- */
h1, h2, h3, h4 { text-wrap: balance; }
p, .lead, .pc-meta dd, .step p, .why-item p, .proof-item .sub { text-wrap: pretty; }
.prose p, .statement p.body-lg, .prow-panel p { max-width: 66ch; }
.statement-stack .statement-body { max-width: 66ch; }
/* الاسم اللاتيني: حروف صغيرة متباعدة بدل الكابيتال الصارخ */
.pcard .pc-en {
  text-transform: lowercase; font-variant: small-caps;
  letter-spacing: .14em; font-size: .72rem; font-weight: 500;
}
/* أرقام جدولية أينما ظهرت أرقام */
[dir="ltr"], .info-item dd, .foot-col a, .art-meta, .pcard .pc-idx, .prow-idx, .step-num {
  font-variant-numeric: tabular-nums;
}

/* ---- ٢٣.٧ عمق بالتراكب: لوح الأرقام يعبر حدّ القسم ---- */
.proof.tone-figures .proof-panel { margin-top: clamp(16px, 2vw, 26px); }
.proof.tone-figures { padding-bottom: calc(var(--sect) * 1.3); }

/* ---- ٢٣.٨ حالات الحقول: خطأ واضح داخل السطر ---- */
.field input:user-invalid, .field textarea:user-invalid {
  border-color: rgba(150, 45, 45, .55);
  background: rgba(150, 45, 45, .05);
}
.field input:user-invalid + .field-hint, .field textarea:user-invalid + .field-hint { display: block; }

/* ---- ٢٣.٩ حلقة تركيز واضحة على السطحين ---- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.tone-deep :focus-visible, .final :focus-visible, .page-hero :focus-visible,
.site-footer :focus-visible, .hero :focus-visible { outline-color: var(--gold-soft); }

/* ---- ٢٣.١٠ شبكة المجالات: إيقاع غير متماثل بدل ثلاثة أعمدة متطابقة ---- */
@media (min-width: 1081px) {
  .pgrid { grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.3vw, 16px); }
  .pgrid > .pcard:nth-child(1) { grid-column: span 5; }
  .pgrid > .pcard:nth-child(2) { grid-column: span 4; }
  .pgrid > .pcard:nth-child(3) { grid-column: span 3; }
  .pgrid > .pcard:nth-child(4) { grid-column: span 3; }
  .pgrid > .pcard:nth-child(5) { grid-column: span 4; }
  .pgrid > .pcard:nth-child(6) { grid-column: span 5; }
  /* البطاقة الأوسع تأخذ عنوانًا أكبر قليلًا لتوازن الكتلة */
  .pgrid > .pcard:nth-child(1) h3, .pgrid > .pcard:nth-child(6) h3 { font-size: clamp(1.15rem, 1.6vw, 1.38rem); }
}

/* ============================================================
   ٢٥. ضبط الحركة — سلّم زمني واحد للموقع
   المشكلة السابقة: كل مكوّن بمدّته الخاصة (من 0.3 إلى 1.1 ثانية)
   فتبدو الحركة غير منضبطة. هنا أربع مدد فقط, ومنحنى دخول واحد.
   ============================================================ */
:root {
  --t-1: 160ms;   /* لمسات دقيقة: لون, حدّ */
  --t-2: 260ms;   /* تفاعل قياسي: أزرار, روابط */
  --t-3: 420ms;   /* حركة البطاقات والارتفاع */
  --t-4: 620ms;   /* ظهور العناصر مع التمرير */
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --ease-ui:    cubic-bezier(.4, 0, .2, 1);
}

/* ظهور أقصر مسافةً وأسرع زمنًا: يبدو استجابة لا تأخّرًا */
[data-reveal] {
  transform: translateY(12px);
  transition:
    opacity var(--t-4) var(--ease-enter) var(--d, 0s),
    transform var(--t-4) var(--ease-enter) var(--d, 0s);
}
.mask .ln > span { transition: transform 700ms var(--ease-enter) var(--d, 0s); }

/* تفاعل موحّد */
.btn, .tlink, .nav a, .lang, .foot-col a, .crumb a, .talk-opt, .map-link,
.prow-plus, .art-row, .foot-social a, .wa-float {
  transition-duration: var(--t-2);
  transition-timing-function: var(--ease-ui);
}
.btn:active, .wa-float:active { transition-duration: var(--t-1); }
.nav a::after, .tlink::after { transition-duration: var(--t-2); }

/* البطاقات: ارتفاع واحد وزمن واحد */
.pcard, .why-item, .step, .person, .feature, .info-item, .mini-row,
.proof-item, .statement-marks span, .tl-item, .book-card, .map-card, .prow {
  transition:
    transform var(--t-3) var(--ease-enter),
    box-shadow var(--t-3) var(--ease-ui),
    border-color var(--t-2) var(--ease-ui),
    background var(--t-2) var(--ease-ui);
}
.pcard::after, .why-item::after, .step::after,
.person::after, .proof-item::after, .feature::after { transition: opacity var(--t-3) var(--ease-ui); }

/* الحركة المحيطة تبقى بطيئة جدًا حتى لا تُلاحَظ كحركة */
.hero-glow { animation-duration: 11s; }
.scroll-cue .line::after { animation-duration: 3.4s; }

/* لوحة المجالات في صفحة الخدمات */
.prow-panel { transition: height var(--t-4) var(--ease-enter); }

@media (prefers-reduced-motion: reduce) {
  .hero-waves i, .hero-glow, .scroll-cue .line::after { animation: none !important; }
}

/* ============================================================
   ٢٦. انتقال الصفحات (Framer Motion style)
   ستارة عنابية تصعد لتغطّي الصفحة المغادرة, ثم تواصل صعودها
   لتكشف الصفحة الجديدة — حركة واحدة متصلة بحافة منحنية.
   ============================================================ */
.pt-curtain {
  position: fixed; inset: 0; z-index: 95; pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(197,159,88,.10), transparent 62%),
    linear-gradient(180deg, #14070B 0%, #240D15 55%, #2F111A 100%);
  display: grid; place-items: center;
  transform: translateY(100%);
  will-change: transform, border-radius;
}
.pt-curtain::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.pt-mark {
  width: clamp(52px, 6.5vw, 82px); aspect-ratio: 1.1;
  background: url(../assets/logo_gold.png) center/contain no-repeat;
  opacity: 0; transform: translateY(12px);
}

@keyframes ptCover {
  from { transform: translateY(100%); border-radius: 46% 46% 0 0 / 15% 15% 0 0; }
  60%  { border-radius: 8% 8% 0 0 / 2% 2% 0 0; }
  to   { transform: translateY(0);    border-radius: 0; }
}
@keyframes ptReveal {
  from { transform: translateY(0);     border-radius: 0; }
  40%  { border-radius: 0 0 8% 8% / 0 0 2% 2%; }
  to   { transform: translateY(-100%); border-radius: 0 0 46% 46% / 0 0 15% 15%; }
}
@keyframes ptMarkIn { from { opacity: 0; transform: translateY(12px); } to { opacity: .92; transform: none; } }

body.pt-cover  .pt-curtain { animation: ptCover 460ms cubic-bezier(.76, 0, .24, 1) forwards; }
body.pt-cover  .pt-mark    { animation: ptMarkIn 380ms cubic-bezier(.22, 1, .36, 1) 140ms forwards; }
body.pt-reveal .pt-curtain { animation: ptReveal 580ms cubic-bezier(.76, 0, .24, 1) forwards; }
body.pt-reveal .pt-mark    { opacity: .92; }

/* الستارة تغطّي من أول رسمة عند الوصول من صفحة أخرى (قبل تحميل السكربت) */
html.pt-enter::before {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none;
  background: linear-gradient(180deg, #14070B 0%, #240D15 55%, #2F111A 100%);
  animation: ptReveal 580ms cubic-bezier(.76, 0, .24, 1) 80ms forwards;
}

/* لم يعد التلاشي القديم مستخدمًا */
body.page-leaving { animation: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .pt-curtain, html.pt-enter::before { display: none !important; }
}

/* ============================================================
   ٢٧. تسليم الأقسام — الانتقال بين جزء وجزء
   الحافة بين لونين تبقى حادّة كما طُلب, لكنها تصل بحركة:
   خيط ذهبي يُرسم من المنتصف إلى الطرفين, يمرّ عليه وميض واحد,
   ثم يتتابع محتوى القسم بإيقاع واحد (عنوان فرعي ← عنوان ← نص ← شبكة).
   ============================================================ */
.sec-seam {
  position: absolute; top: 0; inset-inline: 0; height: 1px; z-index: 4;
  pointer-events: none; overflow: hidden;
  transform: scaleX(0); transform-origin: 50% 50%;
  background: linear-gradient(90deg,
    transparent 0%, var(--seam-c) 16%, var(--seam-c) 84%, transparent 100%);
  transition: transform 880ms var(--ease-enter) 60ms;
  --seam-c: rgba(197, 159, 88, .40);
}
.tone-deep > .sec-seam,
.tone-figures > .sec-seam,
.final > .sec-seam,
.signature > .sec-seam { --seam-c: rgba(197, 159, 88, .55); }

.sec-in > .sec-seam { transform: scaleX(1); }

/* وميض واحد يعبر الخيط بعد اكتماله — مرّة واحدة لا تتكرّر */
.sec-seam::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 22%;
  background: linear-gradient(90deg, transparent, rgba(220, 199, 155, .95), transparent);
  transform: translateX(-140%); opacity: 0;
}
.sec-in > .sec-seam::after { animation: seamGlint 1100ms var(--ease-ui) 620ms 1 forwards; }
@keyframes seamGlint {
  0%   { transform: translateX(-140%); opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: translateX(560%); opacity: 0; }
}

/* ثقل بصري عند حدّ الأشرطة الداكنة: يعمّق الانتقال دون أن يُرى كحركة */
.sec-weight {
  position: absolute; inset-inline: 0; top: 0; height: clamp(90px, 12vh, 180px);
  pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .22), transparent);
  opacity: 0; transition: opacity 900ms var(--ease-ui) 120ms;
}
.sec-in > .sec-weight { opacity: 1; }

/* أساس التتابع: المحتوى يبدأ أخفض قليلًا داخل القسم الداكن */
section[data-sec] { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .sec-seam { transform: scaleX(1) !important; transition: none !important; }
  .sec-seam::after { animation: none !important; }
  .sec-weight { opacity: 1 !important; transition: none !important; }
}

/* ============================================================
   ٢٧.ب المغادرة: القسم الخارج يتنحّى مربوطًا بالتمرير نفسه
   يكمل «التسليم»: القسم القادم يصل بخيطه وتتابعه, والقسم
   المغادر ينسحب بهدوء بدل أن يُقطع عند الحافة.
   ============================================================ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes secPart {
      from { opacity: 1; transform: none; }
      to   { opacity: .5; transform: translateY(-16px); }
    }
    section[data-sec]:not(.hero):not(.page-hero):not(.final) > .wrap,
    .site-footer > .wrap {
      animation: secPart linear both;
      animation-timeline: view();
      animation-range: exit 30% exit 100%;
    }
    /* العمود اللاصق في «منهجيتنا» يبقى خارج هذا السلوك */
    .approach > .wrap { animation: none; }
  }
}

/* ============================================================
   ٢٨. المنهجية: سلسلة على خيط, لا صناديق متكرّرة
   خمس مراحل متتابعة تُقرأ كمسار واحد. الخيط الرأسي يحمل
   علامة كل مرحلة, والمرحلة التي يقف عندها التمرير تُضيء وحدها.
   ============================================================ */
.approach .steps {
  --rail: clamp(30px, 3.6vw, 52px);
  --step-pad: clamp(18px, 2.2vw, 28px);
  position: relative; display: flex; flex-direction: column; gap: 0;
  padding-inline-start: var(--rail);
}
.approach .steps::before {
  content: ""; position: absolute; inset-block: 10px; inset-inline-start: 0;
  width: 1px; background: var(--rule);
}

.approach .steps .step {
  position: relative;
  background: none; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  padding: var(--step-pad) 0;
  border-bottom: 1px solid var(--rule);
  transition: opacity var(--t-3) var(--ease-ui), transform var(--t-3) var(--ease-enter);
}
.approach .steps .step:last-child { border-bottom: 0; }
.approach .steps .step::after { content: none; }

/* قطعة الخيط التي تخصّ المرحلة الحالية */
.approach .steps .step::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: calc(-1 * var(--rail));
  width: 2px; border-radius: 2px; background: var(--gold);
  opacity: 0; transform: scaleY(.28); transform-origin: top center;
  transition: opacity var(--t-3) var(--ease-ui), transform 520ms var(--ease-enter);
}
.approach .steps .step.active::before,
.approach .steps .step:hover::before { opacity: 1; transform: none; }

/* علامة معيّنة على الخيط بمحاذاة رقم المرحلة */
.approach .steps .step .step-num { position: relative; }
.approach .steps .step .step-num::before {
  content: ""; position: absolute; top: .34em;
  inset-inline-start: calc(-1 * var(--rail) - 3px);
  width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--beige); border: 1px solid var(--rule-gold);
  transition: background var(--t-2) var(--ease-ui), border-color var(--t-2) var(--ease-ui), transform var(--t-3) var(--ease-enter);
}
.approach .steps .step.active .step-num::before,
.approach .steps .step:hover .step-num::before {
  background: var(--gold); border-color: var(--gold); transform: rotate(45deg) scale(1.18);
}

/* المراحل البعيدة عن موضع القراءة تخفت قليلًا: يقرأها العين كمسار */
.approach .steps .step { opacity: .62; }
.approach .steps .step.active,
.approach .steps .step:hover { opacity: 1; }
.approach .steps .step:hover { transform: translateX(-4px); }
body[dir="ltr"] .approach .steps .step:hover { transform: translateX(4px); }
.approach .steps .step.active h3 { color: var(--wine); }
.approach .steps .step p { max-width: 58ch; }

@media (hover: none) { .approach .steps .step { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .approach .steps .step { opacity: 1; transform: none !important; } }

/* ============================================================
   ٢٩. «منهجيتنا» على سطح عنابي
   المسار نفسه لكن على أرضية الهوية: الخيط والمعيّنات والفواصل
   تُقرأ على الداكن كما كانت تُقرأ على الفاتح.
   ============================================================ */
.approach.tone-deep .steps::before { background: var(--rule-on-wine); }
.approach.tone-deep .steps .step { border-bottom-color: var(--rule-on-wine); }
.approach.tone-deep .steps .step h3 { color: var(--on-wine); }
.approach.tone-deep .steps .step p { color: var(--on-wine-soft); }
.approach.tone-deep .steps .step .step-num { color: var(--gold); }
.approach.tone-deep .steps .step .step-num::before {
  background: transparent; border-color: rgba(197, 159, 88, .55);
}
.approach.tone-deep .steps .step.active .step-num::before,
.approach.tone-deep .steps .step:hover .step-num::before {
  background: var(--gold); border-color: var(--gold);
}
.approach.tone-deep .steps .step.active h3 { color: var(--on-wine); }
.approach.tone-deep .approach-sticky h2 .ln > span[style*="ink-faint"],
.approach.tone-deep h2 span[style] { color: var(--on-wine-faint) !important; }

/* ============================================================
   ٣١. الأسطح بعد إعادة ترتيب الأقسام
   القاعدة: لا يتكرر لون في قسمين متتاليين، والكحلي مرّة واحدة
   في الصفحة، والأسود للشريط السفلي وحده.
   ============================================================ */

/* ---- ٣١.١ سجلّنا المهني على البيج: الأرقام تصير عنابية ---- */
.proof.tone-paper-2 { position: relative; }
.proof.tone-paper-2 .proof-num { color: var(--wine); }
.proof.tone-paper-2 .proof-num sup { color: var(--gold-deep); }
.proof.tone-paper-2 .proof-item .cap { color: var(--wine); }
.proof.tone-paper-2 .proof-item .sub { color: var(--ink-soft); }
.proof.tone-paper-2 .proof-item::after { background: var(--gold-deep); opacity: .55; }
.proof.tone-paper-2 .proof-item { border-inline-start-color: var(--rule); }

/* ---- ٣١.٢ مجالات الممارسة على العنابي ---- */
.tone-deep .pcard {
  background: rgba(247, 241, 232, .055);
  border-color: rgba(247, 241, 232, .14);
  box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.tone-deep .pcard h3 { color: var(--on-wine); }
.tone-deep .pcard .pc-idx, .tone-deep .pcard .pc-meta dt { color: var(--gold); }
.tone-deep .pcard .pc-en { color: var(--on-wine-faint); }
.tone-deep .pcard .pc-meta dd { color: var(--on-wine-soft); }
.tone-deep .pcard .pc-top { border-bottom-color: var(--rule-on-wine); }
.tone-deep .pcard .pc-go { color: var(--gold); }
.tone-deep .pcard:hover {
  background: rgba(247, 241, 232, .105);
  border-color: rgba(197, 159, 88, .5);
  box-shadow: var(--glass-d-in), 0 18px 40px -28px rgba(0, 0, 0, .6);
}
.tone-deep .pcard:hover h3 { color: var(--on-wine); }
.tone-deep .pcard:hover .pc-go { color: var(--gold-soft); }
.tone-deep .pcard:hover .pc-meta dd { color: var(--on-wine-soft); }
.tone-deep .pcard::after { background: var(--gold); }
.tone-deep .pgrid-foot .btn { color: var(--on-wine); border-color: var(--rule-on-wine); }
.tone-deep .pgrid-foot .btn:hover { background: rgba(247, 241, 232, .1); border-color: var(--gold); }

/* ---- ٣١.٣ معاييرنا على البيج: البطاقات تعود للسطح الفاتح ---- */
/* معاييرنا على الكحلي: النصّ فاتح, والألوان الداكنة أُلغيت */
.criteria .why-head h2, .criteria .why-item h3 { color: var(--on-wine); }
.criteria .why-item p { color: var(--on-wine-soft); }
.criteria .why-item .idx { color: var(--gold); }

/* ============================================================
   ٣٢. بطاقة الموقع: سطح عنابي وحركة عند المؤشر
   ============================================================ */
.map-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 140% at 88% 0%, rgba(197, 159, 88, .12), transparent 58%),
    linear-gradient(158deg, var(--wine-800) 0%, var(--wine) 46%, var(--wine-900) 100%);
  border-color: rgba(247, 241, 232, .14);
  box-shadow: var(--glass-d-in), 0 16px 38px -28px rgba(0, 0, 0, .6);
  transition: transform var(--t-3) var(--ease-enter),
              box-shadow var(--t-3) var(--ease-ui),
              border-color var(--t-2) var(--ease-ui);
}
.map-txt b { color: var(--on-wine); }
.map-txt span { color: var(--on-wine-soft); }
.map-go { color: var(--gold); }
.map-pin {
  background: rgba(197, 159, 88, .14); color: var(--gold);
  border: 1px solid rgba(197, 159, 88, .3);
  transition: transform var(--t-3) var(--ease-enter), background var(--t-2) var(--ease-ui);
}

/* شعاع ذهبي يعبر البطاقة مرّة عند المرور */
.map-card::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(220, 199, 155, .14), transparent);
  transform: translateX(-160%); opacity: 0; pointer-events: none;
}
.map-card:hover::before { animation: mapSweep 900ms var(--ease-ui) forwards; }
@keyframes mapSweep {
  0%   { transform: translateX(-160%); opacity: 0; }
  22%  { opacity: 1; }
  100% { transform: translateX(260%); opacity: 0; }
}

.map-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197, 159, 88, .52);
  box-shadow: var(--glass-d-in), 0 26px 54px -30px rgba(0, 0, 0, .72);
}
.map-card:hover .map-pin { transform: scale(1.06) rotate(-4deg); background: rgba(197, 159, 88, .22); }
.map-card:hover .map-go { gap: 13px; color: var(--gold-soft); }
.map-card:active { transform: translateY(-1px); }

@media (prefers-reduced-motion: reduce) {
  .map-card::before { animation: none !important; }
  .map-card:hover { transform: none; }
}

/* ============================================================
   ٣٣. السجلّ المهني: أربع محطّات موسّطة على خيط ذهبي
   الخيط يُرسم, تهبط العُقد, تصعد الأرقام وهي تعدّ. وعند المؤشر
   يكبر المربّع ويعبره انعكاس زجاجي من أعلى اليمين لأسفل اليسار.
   ============================================================ */
.record-sec { text-align: center; }
.record-sec .proof-head { margin-bottom: clamp(40px, 5.2vw, 70px); }
.record-sec .proof-head h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.35rem); line-height: 1.42;
  max-width: 26ch; margin-inline: auto;
}
.record-sec .proof-head { display: flex; align-items: center; text-align: center; }
.record-sec .proof-head .label { display: inline-block; }
.record-sec .proof-head .label::before { display: none; }

.record {
  --node: 13px;
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  padding-top: calc(var(--node) + 34px);
}

/* الخيط الأفقي */
.record-line {
  position: absolute; top: calc(var(--node) / 2); inset-inline: 6%; height: 1px;
  background: linear-gradient(to left, rgba(197, 159, 88, .2), var(--gold-deep) 22%, var(--gold-deep) 78%, rgba(197, 159, 88, .2));
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 1150ms var(--ease-enter) 60ms;
  overflow: hidden;
}
body[dir="ltr"] .record-line { transform-origin: 0 50%; }
.sec-in .record-line { transform: scaleX(1); }
.record-line > i {
  position: absolute; inset-block: -1px; width: 16%;
  background: linear-gradient(90deg, transparent, rgba(197, 159, 88, .9), transparent);
  transform: translateX(-160%); opacity: 0;
}
.sec-in .record-line > i { animation: recGlint 3200ms var(--ease-ui) 1300ms infinite; }
@keyframes recGlint {
  0%   { transform: translateX(-160%); opacity: 0; }
  12%  { opacity: 1; }
  42%  { opacity: 1; }
  56%, 100% { transform: translateX(680%); opacity: 0; }
}

/* المحطّة: مربّع زجاجي موسّط */
.rec {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px) clamp(14px, 1.6vw, 22px) clamp(20px, 2.2vw, 28px);
  border-radius: var(--rad);
  background: linear-gradient(168deg, rgba(251, 249, 245, .72), rgba(244, 238, 228, .42));
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-in);
  transition: transform 520ms var(--ease-enter), box-shadow 520ms var(--ease-ui),
              border-color var(--t-2) var(--ease-ui);
}

/* العقدة: معيّن ذهبي على الخيط, موسّط فوق المربّع */
.rec-node {
  position: absolute; top: calc(-34px - var(--node) / 2 - var(--node) / 2);
  left: 50%; width: var(--node); height: var(--node);
  transform: translateX(-50%) rotate(45deg) scale(.2);
  background: var(--beige); border: 1px solid var(--gold-deep);
  opacity: 0; z-index: 3;
  transition: transform 620ms var(--ease-enter), opacity 420ms var(--ease-ui),
              background var(--t-2) var(--ease-ui), border-color var(--t-2) var(--ease-ui);
  transition-delay: calc(820ms + var(--i) * 130ms);
}
.sec-in .rec-node { opacity: 1; transform: translateX(-50%) rotate(45deg) scale(1); }

/* نبض بطيء يعطي القسم حياة دون ضجيج */
.sec-in .rec-node::after {
  content: ""; position: absolute; inset: -6px; border: 1px solid var(--gold);
  opacity: 0; animation: nodePulse 4200ms var(--ease-ui) infinite;
  animation-delay: calc(1600ms + var(--i) * 420ms);
}
@keyframes nodePulse {
  0%   { opacity: .5; transform: scale(.55); }
  38%  { opacity: 0;  transform: scale(1.5); }
  100% { opacity: 0;  transform: scale(1.5); }
}

/* الرقم يصعد من خلف قناع بينما يعدّ */
.rec-num {
  display: flex; align-items: baseline; justify-content: center; gap: 2px; overflow: hidden;
  font-family: var(--f-display); font-weight: 700; color: var(--wine);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06;
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.rec-val {
  display: inline-block; transform: translateY(105%); opacity: 0;
  transition: transform 780ms var(--ease-enter), opacity 520ms var(--ease-ui);
  transition-delay: calc(900ms + var(--i) * 130ms);
}
.sec-in .rec-val { transform: none; opacity: 1; }
.rec-plus {
  font-size: .44em; color: var(--gold-deep); font-weight: 600;
  align-self: flex-start; margin-top: .34em; opacity: 0;
  transition: opacity 420ms var(--ease-ui); transition-delay: calc(1180ms + var(--i) * 130ms);
}
.sec-in .rec-plus { opacity: 1; }

.rec-cap {
  margin-top: 12px; font-size: clamp(.95rem, 1.2vw, 1.08rem); font-weight: 600;
  color: var(--wine); line-height: 1.5;
}
.rec-cap::after {
  content: ""; display: block; width: 26px; height: 1px; margin: 12px auto 0;
  background: var(--gold-deep); transform: scaleX(0); transform-origin: center;
  transition: transform 520ms var(--ease-enter), width var(--t-3) var(--ease-enter);
  transition-delay: calc(1120ms + var(--i) * 130ms);
}
.sec-in .rec-cap::after { transform: scaleX(1); }
.rec-sub {
  margin-top: 12px; font-size: .84rem; line-height: 1.75; color: var(--ink-soft);
  max-width: 28ch; margin-inline: auto;
  opacity: 0; transform: translateY(8px);
  transition: opacity 560ms var(--ease-ui), transform 560ms var(--ease-enter);
  transition-delay: calc(1080ms + var(--i) * 130ms);
}
.sec-in .rec-sub { opacity: 1; transform: none; }

/* ---- عند المؤشر: يكبر المربّع ويعبره انعكاس زجاجي قطريّ ---- */
.rec::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg,
    transparent 40%, rgba(255, 255, 255, .72) 47%,
    rgba(197, 159, 88, .3) 52%, transparent 60%);
  background-size: 260% 260%; background-position: 100% 0%;
  opacity: 0;
}
.rec:hover::before { animation: recSheen 900ms var(--ease-ui) forwards; }
@keyframes recSheen {
  0%   { background-position: 100% 0%;  opacity: 0; }
  14%  { opacity: 1; }
  100% { background-position: 0% 100%;  opacity: 0; }
}
/* العقدة مستثناة: موضعها مطلق فوق الخيط لا داخل المربّع */
.rec > :not(.rec-node) { position: relative; z-index: 2; }

.rec:hover {
  transform: scale(1.045) translateY(-4px);
  border-color: var(--rule-gold);
  box-shadow: var(--glass-in), 0 22px 46px -30px rgba(47, 17, 26, .45);
}
.rec:hover .rec-node { background: var(--gold); border-color: var(--gold); }
.rec:hover .rec-cap::after { width: 46px; }
.rec:active { transform: scale(1.01) translateY(-1px); }

@media (max-width: 900px) {
  .record { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(30px, 5vw, 44px); }
  .record-line { inset-inline: 22%; }
}
@media (max-width: 560px) {
  .record { grid-template-columns: 1fr; }
  .record-line { display: none; }
  .rec-node { position: static; transform: rotate(45deg) !important; opacity: 1 !important; margin: 0 auto 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .record-line { transform: scaleX(1) !important; transition: none !important; }
  .record-line > i, .rec-node::after, .rec::before { animation: none !important; }
  .rec-node { opacity: 1 !important; transform: translateX(-50%) rotate(45deg) !important; transition: none !important; }
  .rec-val, .rec-plus, .rec-sub { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rec-cap::after { transform: scaleX(1) !important; }
  .rec:hover { transform: none; }
}

/* ============================================================
   ٣٤. أسطح ما بعد إعادة توزيع الألوان
   ============================================================ */

/* ---- ٣٤.١ المعرفة القانونية على العنابي ---- */
.tone-deep .know-head h2 { color: var(--on-wine); }
.tone-deep .feature, .tone-deep .art-row {
  background: rgba(247, 241, 232, .055);
  border-color: rgba(247, 241, 232, .14);
  box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.tone-deep .feature h3 a, .tone-deep .art-row h3, .tone-deep .art-row h3 a { color: var(--on-wine); }
.tone-deep .feature h3 a:hover, .tone-deep .art-row h3 a:hover { color: var(--gold-soft); }
.tone-deep .art-kicker { color: var(--gold); }
.tone-deep .art-meta, .tone-deep .art-meta span { color: var(--on-wine-faint); }
.tone-deep .art-meta .dot { background: var(--gold-deep); }
.tone-deep .tlink { color: var(--gold); }
.tone-deep .tlink:hover { color: var(--gold-soft); }
.tone-deep .feature:hover, .tone-deep .art-row:hover {
  background: rgba(247, 241, 232, .1);
  border-color: rgba(197, 159, 88, .5);
}

/* ---- ٣٤.٢ الدعوة الأخيرة على البيج ---- */
.final.final--light {
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(197, 159, 88, .09), transparent 62%),
    linear-gradient(180deg, var(--cream) 0%, var(--beige-2, var(--beige)) 100%);
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
}
.final--light h2, .final--light h2 .ln > span { color: var(--wine); }
.final--light p { color: var(--ink-soft); }
.final--light .label { color: var(--gold-deep); }
.final--light .btn { color: var(--wine); border-color: var(--rule-gold); }
.final--light .btn:hover { background: rgba(47, 17, 26, .06); border-color: var(--gold-deep); }
.final--light .btn-gold, .final--light .btn-solid {
  background: var(--wine); border-color: var(--wine); color: var(--on-wine);
}
.final--light .btn-gold:hover, .final--light .btn-solid:hover {
  background: var(--wine-800); border-color: var(--gold); color: var(--cream);
}

/* ---- ٣٤.٣ مجالات الممارسة: بيج الهوية وانعكاس عنابي عند المؤشر ---- */
#practice .pcard { position: relative; overflow: hidden; }
#practice .pcard::before {
  content: ""; position: absolute; inset: -30%;
  background: linear-gradient(135deg, transparent 38%, rgba(47, 17, 26, .16) 50%, transparent 62%);
  transform: translate(60%, -60%); opacity: 0; pointer-events: none; z-index: 1;
  transition: opacity var(--t-2) var(--ease-ui);
}
#practice .pcard:hover::before { animation: cardSheen 820ms var(--ease-ui) forwards; }
@keyframes cardSheen {
  0%   { transform: translate(60%, -60%); opacity: 0; }
  18%  { opacity: 1; }
  100% { transform: translate(-60%, 60%); opacity: 0; }
}
#practice .pcard > * { position: relative; z-index: 2; }

/* ============================================================
   ٣٥. حركة الواجهة والدعوة الأخيرة
   وميض بطيء يعبر المشهد الأول, ومغادرة مشدودة إلى التمرير,
   ودعوة ختامية لم تعد ساكنة.
   ============================================================ */

/* ---- ٣٥.١ وميض يعبر الواجهة: شعاع واحد كل عشر ثوانٍ ---- */
.hero .hero-layers .l3 {
  background: linear-gradient(100deg,
    transparent 36%, rgba(247, 241, 232, .05) 46%,
    rgba(220, 199, 155, .075) 50%, rgba(247, 241, 232, .035) 54%, transparent 64%);
  animation: heroSweep 11s var(--ease-soft) 1.4s infinite;
}
@keyframes heroSweep {
  0%        { transform: rotate(-16deg) translateX(-42%); opacity: 0; }
  12%       { opacity: 1; }
  46%       { opacity: 1; }
  62%, 100% { transform: rotate(-16deg) translateX(42%); opacity: 0; }
}

/* نبض خفيف على حافة الشعار: المشهد يتنفّس */
.hero .hero-mark { animation: markBreath 9s var(--ease-soft) infinite; }
@keyframes markBreath {
  0%, 100% { opacity: .92; }
  50%      { opacity: 1; }
}

/* ---- ٣٥.٢ عند النزول: المشهد الأول يتنحّى بهدوء ---- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes heroPart {
      from { opacity: 1; transform: none; }
      to   { opacity: .28; transform: translateY(-34px) scale(.985); }
    }
    @keyframes heroArtPart {
      from { transform: none; }
      to   { transform: translateY(46px) scale(1.06); }
    }
    .hero .hero-in {
      animation: heroPart linear both;
      animation-timeline: view();
      animation-range: exit -10% exit 88%;
    }
    .hero .hero-mark {
      animation: markBreath 9s var(--ease-soft) infinite, heroArtPart linear both;
      animation-timeline: auto, view();
      animation-range: normal, exit -10% exit 100%;
    }
  }
}

/* ---- ٣٥.٣ الدعوة الأخيرة: لم تعد صامتة ---- */
.final--light { position: relative; overflow: hidden; }

/* هالة دافئة تتنفّس خلف العنوان */
.final--light::before {
  content: ""; position: absolute; inset-inline: 22%; top: -34%;
  aspect-ratio: 1.6; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(197, 159, 88, .16), rgba(197, 159, 88, 0) 66%);
  filter: blur(34px);
  animation: ctaBreath 9s var(--ease-soft) infinite;
}
@keyframes ctaBreath {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.1); }
}

/* خيط ذهبي يُرسم فوق العنوان عند وصول القسم */
.final--light .wrap { position: relative; z-index: 2; }
.final--light .wrap::before {
  content: ""; display: block; width: clamp(48px, 7vw, 84px); height: 1px;
  margin: 0 auto clamp(22px, 2.6vw, 34px);
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 900ms var(--ease-enter) 120ms;
}
.sec-in.final--light .wrap::before { transform: scaleX(1); }

/* الأزرار تصل متتابعة, ويعبرها بريق عند المؤشر */
.final--light .cta-row .btn { position: relative; overflow: hidden; }
.final--light .cta-row .btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .5) 48%, transparent 58%);
  background-size: 240% 100%; background-position: 100% 0; opacity: 0;
}
.final--light .cta-row .btn:hover::after { animation: btnSheen 760ms var(--ease-ui) forwards; }
@keyframes btnSheen {
  0%   { background-position: 100% 0; opacity: 0; }
  18%  { opacity: 1; }
  100% { background-position: -40% 0; opacity: 0; }
}
.final--light .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -20px rgba(47, 17, 26, .6); }
.final--light .btn:hover { transform: translateY(-2px); }
.final--light .btn:active { transform: translateY(0); }

/* العنوان يستقرّ مشدودًا إلى التمرير */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes ctaSettle {
      from { transform: translateY(26px) scale(.985); }
      to   { transform: none; }
    }
    .final--light .cta-row, .final--light h2 {
      animation: ctaSettle linear both;
      animation-timeline: view();
      animation-range: entry 6% entry 58%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-layers .l3, .hero .hero-mark, .final--light::before { animation: none !important; }
  .final--light .wrap::before { transform: scaleX(1) !important; }
  .final--light .cta-row .btn::after { animation: none !important; }
}

/* ============================================================
   ٣٦. الدعوة الأخيرة: تركيب غير متماثل
   القول على جهة والفعل على الأخرى. لا بطاقة موسّطة ولا فراغ.
   ============================================================ */
.final.final--light { padding-block: clamp(46px, 5vw, 78px); text-align: start; }
.final--light::before, .final--light .wrap::before { display: none; }

.cta-split {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4.4vw, 74px); align-items: center;
}

/* ---- القول ---- */
.cta-rule {
  display: block; width: clamp(40px, 5vw, 62px); height: 2px; border-radius: 2px;
  background: var(--gold-deep); margin-bottom: clamp(18px, 2.2vw, 26px);
  transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform 820ms var(--ease-enter) 120ms;
}
body[dir="ltr"] .cta-rule { transform-origin: 0 50%; }
.sec-in .cta-rule { transform: scaleX(1); }

.final--light .cta-say h2 { font-size: clamp(1.6rem, 3vw, 2.45rem); line-height: 1.36; color: var(--wine); }
.final--light .cta-say p { margin-top: 16px; max-width: 42ch; font-size: .97rem; color: var(--ink-soft); }

/* ---- الفعل: بطاقة الحجز ---- */
.cta-act { display: flex; flex-direction: column; gap: 14px; }

.cta-book {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: clamp(14px, 1.8vw, 20px);
  padding: clamp(18px, 2.2vw, 26px) clamp(18px, 2.2vw, 26px);
  border-radius: clamp(14px, 1.6vw, 20px);
  background: linear-gradient(165deg, var(--wine-800) 0%, var(--wine) 52%, var(--wine-900) 100%);
  border: 1px solid var(--wine-900); color: var(--on-wine);
  box-shadow: inset 0 0 0 1px rgba(197, 159, 88, .26), 0 22px 46px -30px rgba(47, 17, 26, .7);
  transition: transform var(--t-3) var(--ease-enter), box-shadow var(--t-3) var(--ease-ui);
}
.cta-book > * { position: relative; z-index: 2; }
.cta-book::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(104deg, transparent 40%, rgba(255, 255, 255, .3) 48%, rgba(220, 199, 155, .22) 52%, transparent 62%);
  background-size: 300% 100%; background-position: 130% 0;
  animation: bookSheen 6s linear infinite;
}
@keyframes bookSheen {
  0% { background-position: 130% 0; opacity: 0; }
  12% { opacity: 1; } 52% { opacity: 1; }
  66%, 100% { background-position: -30% 0; opacity: 0; }
}
.cb-ico {
  width: clamp(42px, 4.4vw, 52px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 14px; background: rgba(197, 159, 88, .16);
  border: 1px solid rgba(197, 159, 88, .34); color: var(--gold);
  transition: background var(--t-2) var(--ease-ui), transform var(--t-3) var(--ease-enter);
}
.cb-ico svg { width: 21px; height: 21px; }
.cb-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cb-txt b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.14rem); color: var(--on-wine); }
.cb-txt i { font-style: normal; font-size: .82rem; line-height: 1.6; color: var(--on-wine-soft); }
.cta-book .arw { width: 19px; height: 19px; color: var(--gold); flex: none; transition: transform var(--t-2) var(--ease-ui); }

.cta-book:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(197, 159, 88, .7), 0 28px 56px -30px rgba(47, 17, 26, .78);
}
.cta-book:hover .cb-ico { background: rgba(197, 159, 88, .28); transform: scale(1.05); }
.cta-book:hover .arw { transform: translateX(-5px); }
body[dir="ltr"] .cta-book:hover .arw { transform: translateX(5px); }
.cta-book:active { transform: translateY(-1px); }

/* ---- الفعل البديل: بطاقة بنفس الهيئة, بوزن أخفّ ---- */
.cta-alt {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: clamp(14px, 1.8vw, 20px);
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 26px);
  border-radius: clamp(14px, 1.6vw, 20px);
  background: linear-gradient(168deg, rgba(255, 255, 255, .58), rgba(244, 238, 228, .34));
  border: 1px solid var(--rule-gold); color: var(--wine);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform var(--t-3) var(--ease-enter), box-shadow var(--t-3) var(--ease-ui),
              border-color var(--t-2) var(--ease-ui), background var(--t-2) var(--ease-ui);
}
.cta-alt .cb-ico {
  background: rgba(197, 159, 88, .12); border-color: rgba(197, 159, 88, .4); color: var(--gold-deep);
  width: clamp(38px, 4vw, 46px); border-radius: 13px;
}
.cta-alt .cb-ico svg { width: 19px; height: 19px; }
.cta-alt .cb-txt b { color: var(--wine); font-size: clamp(.95rem, 1.2vw, 1.05rem); }
.cta-alt .cb-txt i { color: var(--ink-soft); font-size: .8rem; }
.cta-alt .arw { width: 18px; height: 18px; color: var(--gold-deep); flex: none; transition: transform var(--t-2) var(--ease-ui); }
.cta-alt:hover {
  transform: translateY(-3px); border-color: var(--gold-deep);
  background: linear-gradient(168deg, rgba(255, 255, 255, .78), rgba(244, 238, 228, .5));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 18px 38px -28px rgba(47, 17, 26, .5);
}
.cta-alt:hover .cb-ico { background: rgba(197, 159, 88, .2); }
.cta-alt:hover .arw { transform: translateX(-5px); }
body[dir="ltr"] .cta-alt:hover .arw { transform: translateX(5px); }
.cta-alt:active { transform: translateY(-1px); }

@media (max-width: 860px) {
  .cta-split { grid-template-columns: 1fr; gap: clamp(24px, 4vw, 34px); }
  .cta-act { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-book::before { animation: none !important; }
  .cta-rule { transform: scaleX(1) !important; }
  .cta-book:hover { transform: none; }
}

/* ============================================================
   ٣٧. نبض مستمر: الواجهة والعُقد
   ============================================================ */

/* الوميض يعبر الواجهة بلا توقّف */
.hero .hero-layers .l3 { animation: heroSweep 8s linear infinite; }
@keyframes heroSweep {
  0%        { transform: rotate(-16deg) translateX(-46%); opacity: 0; }
  10%       { opacity: 1; }
  52%       { opacity: 1; }
  66%, 100% { transform: rotate(-16deg) translateX(46%); opacity: 0; }
}

/* الموجات تنبض: اتساع وانحسار فوق حركتها الأفقية */
.hero-waves .w1 { animation: waveDrift1 23s ease-in-out infinite alternate, wavePulse 6.5s var(--ease-soft) infinite; }
.hero-waves .w2 { animation: waveDrift2 31s ease-in-out infinite alternate, wavePulse 8s   var(--ease-soft) .9s infinite; }
.hero-waves .w3 { animation: waveDrift3 37s ease-in-out infinite alternate, wavePulse 9.5s var(--ease-soft) 1.8s infinite; }
.hero-waves .w4 { animation: waveDrift4 43s ease-in-out infinite alternate, wavePulse 7.2s var(--ease-soft) 2.6s infinite; }
@keyframes wavePulse {
  0%, 100% { opacity: .4; }
  50%      { opacity: .78; }
}

/* نبض موجي مربوط بالتمرير: كلّما نزلت اتّسعت الموجة */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes waveScroll {
      from { scale: 1; }
      to   { scale: 1.22; }
    }
    .hero-waves i {
      animation-composition: add;
      animation-timeline: auto, auto, view();
      animation-range: normal, normal, exit 0% exit 100%;
    }
    .hero-waves .w1 { animation: waveDrift1 23s ease-in-out infinite alternate, wavePulse 6.5s var(--ease-soft) infinite, waveScroll linear both; }
    .hero-waves .w2 { animation: waveDrift2 31s ease-in-out infinite alternate, wavePulse 8s   var(--ease-soft) .9s infinite, waveScroll linear both; }
    .hero-waves .w3 { animation: waveDrift3 37s ease-in-out infinite alternate, wavePulse 9.5s var(--ease-soft) 1.8s infinite, waveScroll linear both; }
    .hero-waves .w4 { animation: waveDrift4 43s ease-in-out infinite alternate, wavePulse 7.2s var(--ease-soft) 2.6s infinite, waveScroll linear both; }
  }
}

/* عُقد السجلّ تنبض بلا توقّف: المعيّن نفسه لا الحلقة وحدها */
.sec-in .rec-node {
  animation: nodeBeat 3600ms var(--ease-soft) infinite;
  animation-delay: calc(1500ms + var(--i) * 340ms);
}
@keyframes nodeBeat {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 159, 88, 0); }
  42%      { box-shadow: 0 0 0 4px rgba(197, 159, 88, .16); }
  70%      { box-shadow: 0 0 0 7px rgba(197, 159, 88, 0); }
}
.sec-in .rec-node::after { animation: nodePulse 3600ms var(--ease-ui) infinite; animation-delay: calc(1500ms + var(--i) * 340ms); }

@media (prefers-reduced-motion: reduce) {
  .hero-waves i { animation: none !important; }
  .sec-in .rec-node, .sec-in .rec-node::after { animation: none !important; }
}

/* ============================================================
   ٣٨. بطاقة الموقع: لوحة عنابية بترتيب واضح
   الاسم عنوانًا, العنوان تحته, والفعل على الطرف المقابل.
   ============================================================ */
.map-card {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center; gap: clamp(16px, 2.2vw, 26px);
  margin-top: 20px; padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.4vw, 28px);
  border-radius: clamp(14px, 1.6vw, 20px);
  background:
    radial-gradient(130% 150% at 88% 0%, rgba(197, 159, 88, .13), transparent 56%),
    linear-gradient(165deg, var(--wine-800) 0%, var(--wine) 52%, var(--wine-900) 100%);
  border: 1px solid var(--wine-900);
  box-shadow: inset 0 0 0 1px rgba(197, 159, 88, .22), 0 22px 46px -32px rgba(47, 17, 26, .7);
  transition: transform var(--t-3) var(--ease-enter), box-shadow var(--t-3) var(--ease-ui);
}
.map-card > * { position: relative; z-index: 2; }

.map-pin {
  width: clamp(44px, 4.6vw, 54px); height: auto; aspect-ratio: 1; border-radius: 15px;
  display: grid; place-items: center; flex: none;
  background: rgba(197, 159, 88, .16); border: 1px solid rgba(197, 159, 88, .36); color: var(--gold);
  transition: background var(--t-2) var(--ease-ui), transform var(--t-3) var(--ease-enter);
}
.map-pin svg { width: 21px; height: 21px; }

.map-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.map-txt b {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1rem, 1.3vw, 1.14rem); color: var(--on-wine); line-height: 1.4;
}
.map-txt span { font-size: .86rem; line-height: 1.6; color: var(--on-wine-soft); }

.map-go {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  font-size: .88rem; font-weight: 500; color: var(--gold);
  padding-bottom: 4px; border-bottom: 1px solid rgba(197, 159, 88, .34);
  transition: gap var(--t-2) var(--ease-ui), color var(--t-2) var(--ease-ui), border-color var(--t-2) var(--ease-ui);
}
.map-go .arw { width: 17px; height: 17px; }

/* ضوء يعبر البطاقة عند المؤشر */
.map-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(104deg, transparent 40%, rgba(255, 255, 255, .28) 48%, rgba(220, 199, 155, .2) 52%, transparent 62%);
  background-size: 300% 100%; background-position: 130% 0; opacity: 0;
}
.map-card:hover::before { animation: mapSweep 900ms var(--ease-ui) forwards; }
@keyframes mapSweep {
  0%   { background-position: 130% 0; opacity: 0; }
  16%  { opacity: 1; }
  100% { background-position: -30% 0; opacity: 0; }
}
.map-card:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px rgba(197, 159, 88, .62), 0 28px 56px -32px rgba(47, 17, 26, .78);
}
.map-card:hover .map-pin { background: rgba(197, 159, 88, .28); transform: scale(1.05); }
.map-card:hover .map-go { gap: 14px; color: var(--gold-soft); border-color: var(--gold); }
.map-card:active { transform: translateY(-1px); }

@media (max-width: 620px) {
  .map-card { grid-template-columns: auto minmax(0, 1fr); row-gap: 16px; }
  .map-go { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .map-card::before { animation: none !important; }
  .map-card:hover { transform: none; }
}

/* ============================================================
   ٤٢. الاستجابة: جوال · تابلت · لابتوب · سطح مكتب
   ما دون ٩٠٠ بكسل يصير المشهد الأول عموديًّا: الشعار خلف النصّ
   لا فوقه, والشريط الرأسي يختفي لأن لا مكان له.
   ============================================================ */

/* ---- ٤٢.١ الواجهة على الشاشات الضيقة ---- */
@media (max-width: 900px) {
  .hero-rail { display: none; }
  /* الشعار يصير علامة مائية موسّطة خلف النصّ, لا عنصرًا يزاحمه */
  .hero .hero-mark {
    inset-inline: 0; margin-inline: auto;
    width: min(48%, 196px); height: auto;
    /* موضعه خلف النصّ كان يُخفي نصفه فيبدو مقطوع الإطار:
       ينزل إلى الفراغ العلوي — حضور للعلامة بلا تصادم */
    top: clamp(96px, 15vh, 150px); translate: none;
    opacity: .12;
    /* نَفَس الشعار على الشاشات الواسعة يفرض شفافية عالية — يُستبدل هنا */
    animation: markBreathSoft 9s var(--ease-soft) infinite;
  }
  @keyframes markBreathSoft {
    0%, 100% { opacity: .10; }
    50%      { opacity: .17; }
  }
  .hero-in { position: relative; z-index: 2; }
  .hero-msg { text-align: start; }
  .hero-sub { max-width: 40ch; }
  .hero-waves i { filter: blur(44px); }
}

@media (max-width: 640px) {
  .hero .hero-mark { width: min(44%, 156px); top: clamp(84px, 12vh, 108px); }
  @keyframes markBreathSoft { 0%, 100% { opacity: .09; } 50% { opacity: .15; } }
  .hero { padding-top: clamp(96px, 13vh, 118px); min-height: min(88svh, 700px); }
  .hero-sub { font-size: .97rem; line-height: 1.85; }
  .hero-eyebrow .label { font-size: .7rem; line-height: 1.7; }
}

/* ---- ٤٢.٢ التابلت: عمودان حيث يتّسع, وعمود حيث لا يتّسع ---- */
@media (min-width: 641px) and (max-width: 1080px) {
  .record { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(30px, 4vw, 44px); }
  .record-line { inset-inline: 24%; }
  .cta-split { grid-template-columns: 1fr; gap: clamp(26px, 4vw, 38px); }
  .cta-act { max-width: 520px; }
  .approach .steps { --rail: clamp(26px, 4vw, 38px); }
}

/* ---- ٤٢.٣ الجوال: بطاقات بعرض كامل وإيقاع أقصر ---- */
@media (max-width: 640px) {
  .section { padding-block: clamp(42px, 9vw, 60px) clamp(46px, 10vw, 66px); }
  .record { grid-template-columns: 1fr; gap: 14px; padding-top: 0; }
  .record-line { display: none; }
  .rec { padding: clamp(20px, 5vw, 26px) clamp(16px, 4vw, 20px); }
  .rec-node { position: static; transform: rotate(45deg) !important; opacity: 1 !important;
              margin: 0 auto 14px; display: block; }
  .rec-num { font-size: clamp(2rem, 11vw, 2.6rem); }
  .rec-sub { max-width: none; }

  .cta-split { grid-template-columns: 1fr; gap: 24px; }
  .cta-book, .cta-alt { grid-template-columns: auto minmax(0, 1fr); row-gap: 10px; padding: 18px 16px; }
  .cta-book .arw, .cta-alt .arw { grid-column: 2; justify-self: start; }
  .cb-txt i { font-size: .78rem; }

  .map-card { grid-template-columns: auto minmax(0, 1fr); row-gap: 14px; }
  .map-go { grid-column: 1 / -1; }

  .pcard { padding: clamp(18px, 4.6vw, 24px); }
  .pc-meta > div { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; }
  .why-grid { gap: 12px; }
  .approach .steps { --rail: 24px; --step-pad: 18px; }
  .drawer nav a { font-size: 1.15rem; }
  .cta-plate { padding: clamp(24px, 6vw, 32px) clamp(18px, 5vw, 24px); }
}

/* ---- ٤٢.٤ الشاشات الضيقة جدًّا: لا شيء يفيض ---- */
@media (max-width: 400px) {
  .brand-txt strong { font-size: .92rem; }
  .brand-txt span { font-size: .68rem; }
  .lang { width: 40px; height: 40px; font-size: .68rem; }
  .btn { width: 100%; justify-content: center; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .wa-float span { display: none; }
  .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
}

/* ---- ٤٢.٥ اللابتوب: المحتوى لا يتمدّد بلا حدّ ---- */
@media (min-width: 1081px) and (max-width: 1440px) {
  .wrap { padding-inline: clamp(24px, 3.6vw, 48px); }
}
/* ---- ٤٢.٦ سطح المكتب العريض: إطار يمنع تشتّت العين ---- */
@media (min-width: 1680px) {
  .wrap { max-width: 1420px; }
  .hero-mark { inset-inline-end: clamp(60px, 11vw, 240px); }
}

/* ---- ٤٢.٧ أمان عام: لا فيضان أفقي مهما ضاقت الشاشة ---- */
html, body { overflow-x: hidden; }
img, svg, video { max-width: 100%; }
.wrap, .wrap-narrow { min-width: 0; }

/* ============================================================
   ٤٣. ميزان الألوان: البورغندي هو السطح, والبيج فاصل لا فصل
   أقسام البيج تُضغط رأسيًّا لتُقرأ كأشرطة تنفّس بين فصول
   عنابية, فترتفع حصّة لون الهوية من مساحة الصفحة.
   ============================================================ */
.trustline,
.section.tone-paper,
.section.tone-paper-2,
.section.tone-cream,
.section.tone-beige-2 {
  padding-block: clamp(34px, 3.6vw, 54px) clamp(38px, 4vw, 60px);
}

/* الفواصل البيج تضيق داخليًّا أيضًا */
.trustline-in { gap: clamp(14px, 1.8vw, 22px) 0; }
.record-sec .proof-head { margin-bottom: clamp(26px, 3vw, 40px); }
.record-sec .proof-head h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.rec { padding: clamp(20px, 2.2vw, 28px) clamp(14px, 1.6vw, 20px) clamp(18px, 1.9vw, 24px); }
.rec-sub { margin-top: 10px; }

.approach.tone-paper-2 .steps .step { padding-block: clamp(14px, 1.7vw, 22px); }
.approach.tone-paper-2 .approach-sticky h2 { font-size: clamp(1.35rem, 2.3vw, 1.9rem); }

.tone-paper .know-head { margin-bottom: clamp(18px, 2.2vw, 28px); }
.tone-paper .feature { padding-block: clamp(18px, 2.2vw, 28px); }
.tone-paper .art-row { padding-block: clamp(14px, 1.7vw, 20px); }

/* أقسام البورغندي تحتفظ بإيقاعها الكامل */
.section.tone-deep { padding-block: clamp(56px, 6vw, 92px) clamp(60px, 6.6vw, 100px); }

@media (max-width: 640px) {
  .trustline, .section.tone-paper, .section.tone-paper-2,
  .section.tone-cream, .section.tone-beige-2 { padding-block: clamp(30px, 7vw, 42px); }
  .section.tone-deep { padding-block: clamp(44px, 10vw, 64px); }
}

/* ============================================================
   ٤٤. السجلّ على السطح العنابي
   ============================================================ */
.record-sec.tone-deep .rec {
  background: rgba(247, 241, 232, .055);
  border-color: rgba(247, 241, 232, .14);
  box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.record-sec.tone-deep .rec-num { color: var(--on-wine); }
.record-sec.tone-deep .rec-plus { color: var(--gold); }
.record-sec.tone-deep .rec-cap { color: var(--on-wine); }
.record-sec.tone-deep .rec-cap::after { background: var(--gold); }
.record-sec.tone-deep .rec-sub { color: var(--on-wine-soft); }
.record-sec.tone-deep .rec-node { background: var(--wine-900); border-color: var(--gold); }
.record-sec.tone-deep .record-line {
  background: linear-gradient(to left, rgba(197,159,88,.2), var(--gold) 22%, var(--gold) 78%, rgba(197,159,88,.2));
}
.record-sec.tone-deep .rec::before {
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,.26) 47%,
              rgba(197,159,88,.3) 52%, transparent 60%);
}
.record-sec.tone-deep .rec:hover {
  background: rgba(247, 241, 232, .105);
  border-color: rgba(197, 159, 88, .5);
  box-shadow: 0 22px 46px -30px rgba(0, 0, 0, .6);
}
.record-sec.tone-deep .rec:hover .rec-node { background: var(--gold); }

/* ============================================================
   ٤٥. ثمانية أقسام عنابية متتابعة: الخيط الذهبي هو الفاصل
   اللون واحد كما طُلب, فالفصل يأتي من الحدّ لا من تغيّر السطح.
   ============================================================ */
.tone-deep + .tone-deep > .sec-seam,
.tone-deep + .section.tone-deep > .sec-seam { --seam-c: rgba(197, 159, 88, .62); }

/* الشريط الأسود يضيق: نصيبه من الصفحة نسبة لا مساحة */
.site-footer { padding-top: clamp(30px, 3.4vw, 46px); padding-bottom: 16px; }
.foot-top { gap: clamp(20px, 2.6vw, 34px); }
.foot-brand p { margin-top: 10px; }
.foot-bottom { margin-top: clamp(18px, 2.2vw, 28px); padding-top: 14px; }

/* ============================================================
   ٤٦. الدعوة الختامية على السطح العنابي
   ============================================================ */
.final:not(.final--light) .cta-say h2 { color: var(--on-wine); }
.final:not(.final--light) .cta-say p { color: var(--on-wine-soft); }
.final:not(.final--light) .cta-rule { background: var(--gold); }

.final:not(.final--light) .cta-alt {
  background: rgba(247, 241, 232, .07);
  border-color: rgba(247, 241, 232, .18);
  box-shadow: none; color: var(--on-wine);
}
.final:not(.final--light) .cta-alt .cb-txt b { color: var(--on-wine); }
.final:not(.final--light) .cta-alt .cb-txt i { color: var(--on-wine-soft); }
.final:not(.final--light) .cta-alt .cb-ico {
  background: rgba(197, 159, 88, .14); border-color: rgba(197, 159, 88, .34); color: var(--gold);
}
.final:not(.final--light) .cta-alt .arw { color: var(--gold); }
.final:not(.final--light) .cta-alt:hover {
  background: rgba(247, 241, 232, .12); border-color: rgba(197, 159, 88, .5);
  box-shadow: 0 18px 38px -28px rgba(0, 0, 0, .6);
}
/* بطاقة الحجز تُميَّز بحدّ ذهبي بدل اختلاف السطح */
.final:not(.final--light) .cta-book {
  border-color: rgba(197, 159, 88, .42);
  box-shadow: inset 0 0 0 1px rgba(197, 159, 88, .3), 0 22px 46px -30px rgba(0, 0, 0, .7);
}

/* ============================================================
   ٤٧. ضبط الميزان على النسب المطلوبة
   شريط البيج الوحيد يأخذ نصيبه كاملًا, والشريط الأسود يضيق
   إلى أدنى ما يسمح به محتواه.
   ============================================================ */
.trustline {
  padding-block: clamp(58px, 7vw, 104px) clamp(62px, 7.4vw, 110px);
}
.trustline-lead { font-size: clamp(1.08rem, 1.7vw, 1.42rem); line-height: 1.75; }
.trustline-in { margin-top: clamp(28px, 3.4vw, 46px); gap: clamp(22px, 2.6vw, 34px) 0; }
.tl-item b { font-size: clamp(.95rem, 1.1vw, 1.05rem); }

.site-footer { padding-top: clamp(26px, 3vw, 38px); padding-bottom: 14px; }
.site-footer .foot-top { gap: clamp(16px, 2vw, 26px); }
.site-footer .foot-brand p { margin-top: 8px; font-size: .86rem; line-height: 1.7; }
.site-footer .foot-col a { padding-block: 5px; }
.site-footer .foot-bottom { margin-top: clamp(14px, 1.8vw, 22px); padding-top: 12px; }
.site-footer .foot-social { margin-top: 12px; }

/* ============================================================
   ٤٨. القسمان العنابيان المتجاوران الوحيدان
   «مصلحتك أولويتنا» ثم «سجلّنا»: مواضع البيج المطلوبة تفرض
   تجاورهما. يُفرَّق بينهما بالعمق لا باللون, فتبقى الهوية واحدة.
   ============================================================ */
.record-sec.tone-deep {
  background: linear-gradient(168deg, var(--wine) 0%, var(--wine-900) 58%, #150709 100%);
}
.record-sec.tone-deep > .sec-seam { --seam-c: rgba(197, 159, 88, .7); }

/* ============================================================
   ٤٩. تباين الذهبي في النصّ الصغير على الأسطح الفاتحة
   --gold-deep يبقى للخطوط والحدود (لا معيار تباين عليها),
   و--gold-text للنصّ المقروء.
   ============================================================ */
.tone-paper .label, .tone-paper-2 .label, .tone-cream .label, .trustline .label,
.final--light .label, .page-hero--beige .label,
.pcard .pc-idx, .pc-meta dt, .step-num, .art-kicker, .prow-idx,
.why-item .idx, .rec-plus, .map-go, .cta-alt .arw, .tlink,
.final--light .cta-rule ~ * .label, .idx { color: var(--gold-text); }
.record-sec:not(.tone-deep) .rec-plus,
.record-sec:not(.tone-deep) .rec-cap::after { color: var(--gold-text); }
.tone-deep .label, .tone-deep .pc-idx, .tone-deep .pc-meta dt, .tone-deep .step-num,
.tone-deep .art-kicker, .tone-deep .idx, .tone-deep .tlink { color: var(--gold); }

/* ---- رابط التخطّي: يظهر عند التنقّل بلوحة المفاتيح فقط ---- */
.skip-link {
  position: fixed; inset-inline-start: 50%; translate: -50% 0; top: -100px; z-index: 200;
  background: var(--wine); color: var(--on-wine); padding: 12px 22px;
  border: 1px solid var(--gold); border-radius: 0 0 12px 12px;
  font-weight: 600; font-size: .9rem;
  transition: top var(--t-2, 260ms) ease;
}
.skip-link:focus-visible { top: 0; outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---- مصيدة الروبوتات: خارج الشاشة لا display:none (بعضها يتجاهل المخفي) ---- */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   ٥٠. توازن الواجهة على الجوال
   كان المحتوى يعلو والفراغ يتجمّع أسفله (نحو 200px فارغة),
   فيبدو القسم ناقصًا. هنا يُوسّط المحتوى داخل ارتفاع الشاشة
   ويبقى مؤشّر النزول قريبًا من الحافة.
   ============================================================ */
@media (max-width: 900px) {
  .hero {
    display: grid;
    align-content: center;
    min-height: min(86svh, 660px);
    padding-block: clamp(92px, 14vh, 116px) clamp(30px, 5vh, 48px);
  }
  .hero-in { width: 100%; }
  .hero-foot { margin-top: clamp(26px, 5vh, 46px); }
}

@media (max-width: 640px) {
  .hero { min-height: min(84svh, 620px); }
}

/* ============================================================
   ٥١. إتقان الجوال: قراءة مريحة وأهداف لمس كافية
   العناوين الصغيرة كانت عند 10.9px مع تباعد حروف, وهو حدّ
   متعب للعين العربية على الشاشة الصغيرة. وروابط الفوتر كانت
   بارتفاع 27–29px, دون الحدّ المريح للإبهام.
   ============================================================ */
@media (max-width: 900px) {
  .label, .art-kicker, .crumb, .pc-en, .tl-item span { font-size: .78rem; letter-spacing: .04em; }
  .label.no-rule { font-size: .8rem; }

  /* أرقام الدرج وسطر الهوية في الهيدر: أصغر من حدّ القراءة */
  .brand-txt span { font-size: .74rem; }
  .drawer nav a > span { font-size: .75rem; }

  /* مساحة اللمس تتّسع دون أن يتغيّر مكان أي نص */
  .tlink, .crumb a, .art-more { padding-block: 10px; }
  .site-footer .foot-col li a, .site-footer nav a, .drawer .dl {
    display: inline-block; padding-block: 8px;
  }
  .site-footer .foot-col li { margin-block: 0; }
  .drawer nav a { min-height: 52px; }
  /* الهاتف والبريد في صفحة التواصل: أهمّ هدفَي لمس في الموقع */
  .info-list .info-item dd a { display: inline-block; padding-block: 8px; }
}

/* ============================================================
   ٥٢. تصحيحات ما قبل الرفع
   ============================================================ */

/* ---- ٥٢.١ اتزان أيقونات التواصل داخل دوائرها ----
   الرسوم الثلاثة بأحجام مختلفة داخل مربّع واحد: واتساب ٢٠ وحدة
   وإكس ١٨ ولينكدإن ١٧٫٥ ومركزه مزاح — فيبدو الأول أكبر.
   تُوحَّد بصريًّا لا حسابيًّا. */
/* التخصيص مرفوع عمدًا: قاعدة روابط الفوتر العامة أقوى من
   `.foot-social a`, وكانت تحوّل الدائرة إلى سطر نصّ فينزاح الرسم. */
.foot-social a,
.site-footer .foot-col li .foot-social a {
  width: 40px; height: 40px; padding: 0;
  display: grid; place-items: center;
}
.foot-social a svg,
.site-footer .foot-col li .foot-social a svg { width: 16px; height: 16px; display: block; }
.foot-social a[aria-label="واتساب"] svg  { transform: scale(.90); }
.foot-social a[aria-label="X"] svg        { transform: scale(1); }
.foot-social a[aria-label="LinkedIn"] svg { transform: scale(1.03) translate(-.4%, -1.4%); }

/* ---- ٥٢.٢ الهاتف وواتساب: استجابة فورية للّمس ----
   تأخير النقر المزدوج في المتصفّحات اللمسية يبتلع الضغطة أحيانًا
   قبل أن تصل إلى تطبيق الاتصال. */
@media (hover: none) {
  a[href^="tel:"], a[href*="wa.me"] { touch-action: manipulation; }
}

/* ============================================================
   ٥٣. متن المقال
   عمود واحد بعرض قراءة مريح, وإيقاع رأسي يفصل الأفكار دون
   أن يقطع النصّ. الألوان كلها من الهوية, ولا شفافية في الخطّ.
   ============================================================ */
.post { max-width: 68ch; margin-inline: auto; }

.post > * + * { margin-top: 1.15em; }

.post p {
  font-size: 1.04rem;
  line-height: 2.05;
  color: var(--ink);
}

.post h2 {
  margin-top: 2.1em;
  font-family: var(--f-display);
  font-size: clamp(1.32rem, 2.4vw, 1.68rem);
  line-height: 1.5;
  color: var(--wine-900);
  letter-spacing: -.01em;
}
/* خطّ ذهبي قصير يسبق العنوان: فاصل بصري بلا مساحة ضائعة */
.post h2::before {
  content: "";
  display: block;
  width: 34px; height: 1px;
  margin-bottom: .72em;
  background: var(--gold);
}

.post h3 {
  margin-top: 1.7em;
  font-family: var(--f-display);
  font-size: 1.07rem;
  line-height: 1.7;
  color: var(--wine-800);
}
.post h3 + p { margin-top: .5em; }

.post ul { margin-top: 1.1em; padding: 0; list-style: none; }
.post li {
  position: relative;
  padding-inline-start: 22px;
  margin-top: .78em;
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--ink);
}
.post li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: .82em;
  width: 7px; height: 1px;
  background: var(--gold-text);
}
.post li strong { color: var(--wine-900); font-weight: 600; }
.post p strong  { color: var(--wine-900); font-weight: 600; }

/* سطر الخلاصة: يُقرأ كوقفة, لا كاقتباس خارجي */
.post .post-note {
  margin: 1.9em 0;
  padding: 18px 22px;
  border: 0;
  border-inline-start: 2px solid var(--gold);
  background: var(--cream);
  font-family: var(--f-display);
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--wine-900);
}

/* تاريخ المقال ووقت قراءته تحت العنوان في الهيرو */
.page-hero .post-meta { margin-top: 20px; color: var(--on-wine-soft); }
.page-hero .post-meta .dot { background: var(--on-wine-faint); }

.post-disc { max-width: 68ch; margin-inline: auto; margin-top: 2.6em; }

/* صفّ المقالات على خلفية بورغندي */
.tone-deep .art-row h4        { color: var(--on-wine); }
.tone-deep .art-row .idx,
.tone-deep .art-row .art-meta { color: var(--on-wine-soft); }
.tone-deep .art-row           { border-color: var(--rule-on-wine); }

@media (max-width: 640px) {
  .post p, .post li { font-size: 1rem; line-height: 1.95; }
  .post .post-note  { padding: 15px 17px; font-size: 1.01rem; }
}
