/* LARSA GROUP — طابع تحريري فاتح · ملف واحد يخدم RTL و LTR (logical properties) */

:root {
  --navy-900: #0E2748;
  --navy-700: #1B3A6B;
  --sky-100: #E6F0FA;
  --gold-500: #C8A24B;
  --paper: #FBFCFE;
  --ink-500: #51607A;
  --wa: #1FA855;

  --navy-950: #081A33;
  --line: rgba(14, 39, 72, .1);
  --line-2: rgba(14, 39, 72, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 1px 2px rgba(14, 39, 72, .05), 0 8px 20px -8px rgba(14, 39, 72, .12);
  --shadow-md: 0 2px 6px rgba(14, 39, 72, .05), 0 30px 60px -28px rgba(14, 39, 72, .35);
  --shadow-lg: 0 40px 80px -30px rgba(14, 39, 72, .45);
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 36px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --arch: 999px 999px 28px 28px;

  --f-display: "IBM Plex Serif", Georgia, serif;
  --f-accent: "IBM Plex Serif", Georgia, serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-num: "IBM Plex Sans", system-ui, sans-serif;
  --fw-body: 400;
  --fw-display: 600;
  --lh: 1.7;
  --lh-head: 1.12;
}
:root:lang(ar) {
  --f-display: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --f-accent: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --f-body: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  --f-num: "Alexandria", "Segoe UI", sans-serif;
  --fw-body: 400;
  --fw-display: 700;
  --lh: 1.9;
  --lh-head: 1.45;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--paper); color: var(--navy-900);
  font: var(--fw-body) 1.0625rem/var(--lh) var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
:root:lang(ar) body { font-size: 1.125rem; }
::selection { background: var(--navy-900); color: #fff; }
img, svg { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: var(--fw-display); line-height: var(--lh-head); margin: 0; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
table { border-collapse: collapse; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .flip { transform: scaleX(-1); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font: 600 .82rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700);
}
:lang(ar) .eyebrow { letter-spacing: 0; font-size: 1rem; text-transform: none; }
.eyebrow::before { content: ""; width: 32px; height: 1.5px; background: var(--gold-500); transform-origin: var(--o, left); }
[dir="rtl"] .eyebrow::before { --o: right; }

/* ================= Buttons ================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font: 600 1.02rem/1.2 var(--f-body); border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
/* نص أبيض على أخضر واتساب: ≥ 18.66px عريض ليحقق تباين النص الكبير */
.btn-lg { min-height: 60px; padding: 14px 30px; font-size: 1.1875rem; font-weight: 700; }
.btn-lg .ic { width: 23px; height: 23px; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 16px 32px -14px rgba(31, 168, 85, .8); }
.btn-wa:hover { box-shadow: 0 22px 40px -14px rgba(31, 168, 85, .9); }
.btn-line { color: var(--navy-900); border-color: var(--line-2); background: #fff; }
.btn-line:hover { border-color: var(--navy-900); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }

/* ================= Header (زجاجي فاتح) ================= */
.hdr { position: fixed; top: 0; inset-inline: 0; z-index: 60; padding-top: 14px; transition: transform .55s var(--ease-out), padding .35s var(--ease); }
.hdr.hide { transform: translateY(-140%); }
.hdr.scrolled { padding-top: 10px; }
.hdr-bar { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 20px; height: 72px; padding-inline: 22px 12px; border-radius: 999px; transition: height .35s var(--ease); }
[dir="rtl"] .hdr-bar { padding-inline: 22px 12px; }
.hdr-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 1px rgba(14, 39, 72, .06), 0 16px 40px -20px rgba(14, 39, 72, .35);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  transition: background-color .35s, box-shadow .35s;
}
.hdr.scrolled .hdr-bar { height: 62px; }
.hdr.on-dark .hdr-bar::before { background: rgba(8, 26, 51, .38); border-color: rgba(255, 255, 255, .16); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 16px 40px -20px rgba(0, 0, 0, .5); }
.hdr.on-dark .brand, .hdr.on-dark .nav-track a:hover, .hdr.on-dark .nav-track a.active { color: #fff; }
.hdr.on-dark .nav-track a { color: rgba(255, 255, 255, .78); }
.hdr.on-dark .nav-ind { background: rgba(255, 255, 255, .12); }
.hdr.on-dark .lang { border-color: rgba(255, 255, 255, .2); }
.hdr.on-dark .lang a { color: rgba(255, 255, 255, .7); }
.hdr.on-dark .lang a[aria-current] { background: #fff; color: var(--navy-900); }
.hdr.on-dark .menu-btn { background: rgba(255, 255, 255, .14); }
.hdr.scrolled .hdr-bar::before { background: rgba(255, 255, 255, .88); box-shadow: 0 0 0 1px rgba(14, 39, 72, .07), 0 20px 50px -22px rgba(14, 39, 72, .45); }

.brand { display: inline-flex; align-items: center; gap: 14px; flex: none; color: var(--navy-900); }
.hdr .brand { grid-column: 1; justify-self: start; }
.hdr .brand-tag { display: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; direction: ltr; }
.brand-mark { font: 700 1.36rem/1 "IBM Plex Sans", system-ui, sans-serif; letter-spacing: .17em; }
.brand-sub { font: 600 .58rem/1 "IBM Plex Sans", system-ui, sans-serif; letter-spacing: .78em; color: var(--gold-500); margin-top: 6px; }
.brand-tag { padding-inline-start: 14px; border-inline-start: 1px solid var(--line-2); font: 600 .9rem/1.2 var(--f-body); color: var(--navy-700); white-space: nowrap; }

.nav { grid-column: 2; }
.nav-track { position: relative; }
.nav-track ul { display: flex; gap: 2px; }
.nav-ind {
  position: absolute; top: 0; bottom: 0; left: 0; width: var(--w, 0); border-radius: 999px;
  transform: translateX(var(--x, 0)); opacity: 0; background: var(--sky-100);
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s; pointer-events: none;
}
.nav-ind.on { opacity: 1; }
.nav-track a { position: relative; z-index: 1; display: block; padding: 10px 16px; border-radius: 999px; font-size: 1rem; font-weight: 600; color: rgba(14, 39, 72, .72); transition: color .25s; }
.nav-track a:hover, .nav-track a.active { color: var(--navy-900); }
.nav-track a.active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold-500); }
.nav-extra { display: none; }

.hdr-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); font: 600 .78rem/1 "IBM Plex Sans", system-ui, sans-serif; letter-spacing: .08em; }
.lang a { padding: 9px 11px; border-radius: 999px; color: var(--ink-500); transition: background-color .2s, color .2s; }
.lang a:hover { color: var(--navy-900); }
.lang a[aria-current] { background: var(--navy-900); color: #fff; }
.btn-hdr-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 20px; border-radius: 999px; background: var(--wa); color: #fff; font-size: 1rem; font-weight: 700; transition: transform .25s var(--ease-out), box-shadow .25s; box-shadow: 0 10px 22px -12px rgba(31, 168, 85, .9); }
.btn-hdr-wa .ic { width: 21px; height: 21px; }
.btn-hdr-wa:hover { transform: translateY(-1px); }

.menu-btn { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; background: var(--navy-900); border: 0; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease-out), opacity .2s, top .35s var(--ease-out); }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ================= Hero: صورة كاملة العرض ================= */
.hero {
  --shade: right; position: relative; isolation: isolate; overflow: clip; color: #fff; background: var(--navy-900);
  min-height: clamp(600px, 100vh, 1080px); min-height: clamp(600px, 100svh, 1080px);
  display: flex; flex-direction: column; padding-top: 130px;
}
[dir="rtl"] .hero { --shade: left; }
.hero-media { position: absolute; inset: -8% 0; z-index: -2; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 62%; animation: kb 2.6s var(--ease-out) both; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to var(--shade), rgba(8, 26, 51, .94) 0%, rgba(8, 26, 51, .8) 32%, rgba(8, 26, 51, .28) 60%, rgba(8, 26, 51, .06) 82%),
    linear-gradient(180deg, rgba(8, 26, 51, .6) 0%, transparent 22%, transparent 52%, rgba(8, 26, 51, .92) 100%);
}
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; align-content: center; gap: 48px; padding-block: 16px 36px; }
.hero-copy { max-width: 660px; }

.hero-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .78); }
.rot { display: inline-grid; padding: 8px 18px; border-radius: 999px; background: rgba(200, 162, 75, .16); border: 1px solid rgba(200, 162, 75, .55); color: #F3E3B5; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 .95rem/1.2 var(--f-body); overflow: hidden; }
.kicker-sep { width: 28px; height: 1.5px; background: var(--gold-500); }

.hero h1 { font-size: clamp(2.7rem, 1.4rem + 4.4vw, 5.4rem); letter-spacing: -.02em; line-height: 1.05; }
:lang(ar) .hero h1 { font-size: clamp(2.5rem, 1.3rem + 4vw, 4.9rem); letter-spacing: 0; line-height: 1.38; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .42em .2em; margin-block: -.42em -.2em; }
.hero h1.done .w { overflow: visible; }
.w > span { display: inline-block; animation: word-up 1.1s var(--ease-out) calc(120ms + var(--wi) * 80ms) backwards; }
.em { isolation: isolate; position: relative; display: inline-block; font-family: var(--f-accent); font-style: normal; font-weight: 700; color: var(--navy-700); }
:not(:lang(ar)) > .em, .em:not(:lang(ar)) { font-style: italic; font-weight: 500; }
[dir="rtl"] .hero h1 { color: #fff; text-shadow: 0 6px 40px rgba(3, 12, 28, .45); }
.hero .em { color: #E6CD8C; }
.hero-sub { margin-top: 26px; max-width: 54ch; font-size: 1.22rem; line-height: 1.8; color: rgba(255, 255, 255, .84); }
:lang(ar) .hero-sub { font-size: 1.26rem; line-height: 1.95; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .78); transition: color .2s; }
.hero-rating b { font: 700 1.2rem/1 var(--f-num); color: #fff; }
.hero-rating:hover { color: #fff; }
.hero-side { display: flex; justify-content: flex-end; align-self: start; padding-top: 62px; }
.stars { display: inline-flex; gap: 1px; color: var(--gold-500); }
.stars .ic { width: 15px; height: 15px; }

.doc-card { position: relative; z-index: 2; width: 360px; perspective: 1000px; animation: doc-in 1.1s var(--ease-out) .9s both; }
.dc-inner {
  position: relative; padding: 20px 22px 18px; background: #fff; border-radius: 24px;
  box-shadow: 0 0 0 1px var(--line), 0 50px 90px -40px rgba(14, 39, 72, .55), 0 18px 36px -24px rgba(14, 39, 72, .35);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
  transition: transform .6s var(--ease-out); animation: bob 6s ease-in-out 2.4s infinite;
}
.dc-inner::before { content: ""; position: absolute; top: 0; inset-inline: 28px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--gold-500), #E6CD8C, var(--gold-500)); }
.dc-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 0%), rgba(200, 162, 75, .16), transparent 60%); }
.dc-inner:hover .dc-glare { opacity: 1; }
.dc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dc-label { display: inline-flex; align-items: center; gap: 8px; font: 700 .95rem/1.2 var(--f-display); color: var(--navy-900); }
.dc-label .ic { width: 20px; height: 20px; color: var(--gold-500); }
.dc-tabs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sky-100); direction: ltr; }
.dc-tabs button { border: 0; background: transparent; cursor: pointer; padding: 7px 10px; border-radius: 999px; font: 700 .72rem/1 "IBM Plex Sans", system-ui, sans-serif; letter-spacing: .06em; color: var(--ink-500); transition: background-color .3s, color .3s; }
.dc-tabs button:hover { color: var(--navy-900); }
.dc-tabs button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.dc-doc { margin-top: 16px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(180deg, #F4F8FD, #fff); box-shadow: inset 0 0 0 1px var(--line); }
.dc-kind { display: block; font-size: .74rem; font-weight: 600; color: var(--ink-500); }
.dc-name { margin-top: 4px; min-height: 1.4em; font: 700 1.4rem/1.4 var(--f-display); color: var(--navy-900); transition: opacity .3s ease, filter .3s ease, transform .3s var(--ease-out); }
.dc-name:lang(ar) { font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif; }
.dc-name:not(:lang(ar)) { font-family: "IBM Plex Serif", Georgia, serif; }
.dc-name.swap { opacity: 0; filter: blur(6px); transform: translateY(8px); }
.dc-lines { display: grid; gap: 7px; margin-top: 12px; }
.dc-lines i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--sky-100) 40%, #F7FAFD 50%, var(--sky-100) 60%); background-size: 250% 100%; animation: shimmer 2.6s linear infinite; }
.dc-lines i:nth-child(2) { width: 88%; animation-delay: .15s; } .dc-lines i:nth-child(3) { width: 64%; animation-delay: .3s; }
.dc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.doc-check { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: .84rem; font-weight: 700; color: var(--navy-700); }
.doc-check .ic { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--wa); color: #fff; stroke-width: 3; }
.dc-seal { white-space: nowrap; font: 700 .64rem/1 "IBM Plex Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-500); }
.doc-stamp { position: absolute; bottom: -28px; inset-inline-end: -22px; width: 84px; height: 84px; color: var(--gold-500); background: rgba(255, 255, 255, .85); border-radius: 50%; rotate: -14deg; transform: translateZ(40px); animation: stamp .7s cubic-bezier(.3, 1.6, .5, 1) 1.9s both; }
.doc-stamp.again { animation: stamp .6s cubic-bezier(.3, 1.6, .5, 1) both; }

@media (min-width: 981px) and (max-height: 920px) {
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(2.4rem, 1rem + 3.4vw, 4.1rem); }
  :lang(ar) .hero h1 { font-size: clamp(2.3rem, 1rem + 3vw, 3.7rem); line-height: 1.32; }
  .hero-kicker { margin-bottom: 18px; }
  .hero-sub { margin-top: 18px; }
  .hero-ctas { margin-top: 26px; }
  .hero-rating { margin-top: 18px; }
  .hero-grid { padding-block: 8px 26px; }
  .stats li { padding-block: 18px; }
  .dc-doc { margin-top: 12px; padding: 12px 16px; }
}

@media (min-width: 981px) and (max-height: 800px) {
  .hero { padding-top: 96px; }
  .hero h1 { font-size: clamp(2.2rem, .8rem + 3vw, 3.4rem); }
  :lang(ar) .hero h1 { font-size: clamp(2.1rem, .8rem + 2.7vw, 3.2rem); line-height: 1.3; }
  .hero-kicker { margin-bottom: 12px; font-size: .88rem; }
  .hero-sub, :lang(ar) .hero-sub { margin-top: 12px; font-size: 1.08rem; line-height: 1.75; }
  .hero-ctas { margin-top: 20px; }
  .hero-ctas .btn-lg { min-height: 54px; padding-block: 10px; }
  .hero-side { padding-top: 40px; }
  .hero-bottom { padding-bottom: 26px; }
  .stats li { padding-block: 14px; }
  .stat-num { font-size: 2rem; }
  .stat-label { margin-top: 8px; font-size: .88rem; }
}

/* Stats — شريط زجاجي أسفل الهيرو */
.hero-bottom { padding-bottom: clamp(40px, 6vh, 72px); }
.stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-radius: 24px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 30px 60px -30px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.stats li { padding: 22px clamp(14px, 2vw, 28px); animation: rise .9s var(--ease-out) calc(1s + var(--si, 0) * 90ms) backwards; }
.stats li:nth-child(1) { --si: 0; } .stats li:nth-child(2) { --si: 1; } .stats li:nth-child(3) { --si: 2; } .stats li:nth-child(4) { --si: 3; } .stats li:nth-child(5) { --si: 4; }
.stats li + li { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.stat-num { display: flex; align-items: baseline; gap: 4px; font: 500 clamp(2rem, 1.3rem + 1.7vw, 2.9rem)/1 "IBM Plex Serif", Georgia, serif; color: #fff; letter-spacing: -.01em; }
[dir="rtl"] .stat-num { justify-content: flex-end; }
.stat-num i { font-style: normal; color: var(--gold-500); font-weight: 500; }
.stat-num .ic { width: .5em; height: .5em; color: var(--gold-500); margin-inline-start: 6px; align-self: center; }
.stat-label { display: block; margin-top: 12px; font-size: .95rem; font-weight: 500; color: rgba(255, 255, 255, .72); }

/* ================= Statement (إضاءة الكلمات مع التمرير) ================= */
.statement { padding-block: clamp(110px, 14vw, 190px); }
.st-text { max-width: 26ch; font: var(--fw-display) clamp(1.9rem, 1rem + 3vw, 3.6rem)/1.45 var(--f-display); letter-spacing: -.01em; }
:lang(ar) .st-text { max-width: 30ch; line-height: 1.7; letter-spacing: 0; }
.st-text span { transition: color .4s ease; }
.js .st-text span { color: rgba(14, 39, 72, .14); }
.js .st-text span.lit { color: var(--navy-900); }

/* إطار القوس (هوية الموقع) */
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow-lg); isolation: isolate; }
.arch picture, .arch img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); pointer-events: none; }

/* تظليل ذهبي مرتّب خلف الكلمات المميزة */
.em::before {
  content: ""; position: absolute; z-index: -1; inset-inline: -.12em; bottom: .16em; height: .38em; border-radius: .14em;
  background: linear-gradient(90deg, rgba(200, 162, 75, .42), rgba(200, 162, 75, .26));
  transform: scaleX(0); transform-origin: var(--o, left); animation: hl 1s var(--ease-out) 1.2s forwards;
}
[dir="rtl"] .em::before { --o: right; }
:lang(ar) .em::before { bottom: .3em; height: .42em; }
.hero .em::before { background: rgba(200, 162, 75, .38); }
.hero .em { color: #F6E7BF; }
.js .reveal:not(.in) .em::before { animation-play-state: paused; }
.js .reveal.in .em::before { animation-delay: .6s; }
@keyframes hl { to { transform: scaleX(1); } }

/* ================= لماذا لارسا (صور حيّة) ================= */
.why { overflow: clip; }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.why .sec-head { margin-bottom: 34px; }
.why .sec-head h2 .em { color: var(--navy-700); }
.why-points { display: grid; gap: 22px; }
.why-points li { display: flex; align-items: flex-start; gap: 18px; }
.wp-ic { display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 16px; background: var(--navy-900); color: var(--gold-500); box-shadow: 0 12px 24px -12px rgba(14, 39, 72, .6); }
.why-points b { display: block; font: 700 1.16rem/1.4 var(--f-display); color: var(--navy-900); }
.why-points p { margin-top: 4px; color: var(--ink-500); font-size: 1.02rem; }
.why-cta { margin-top: 38px; }
.why-art { position: relative; padding-bottom: 70px; }
.why-main { width: 74%; margin-inline-start: auto; }
.why-outline { position: absolute; top: 22px; inset-inline-end: -22px; width: 74%; aspect-ratio: 4 / 5; border-radius: var(--arch); border: 1.5px solid var(--gold-500); z-index: -1; }
.why-main img { object-position: 50% 30%; }
.why-small {
  position: absolute; bottom: 0; inset-inline-start: 0; width: 46%; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 26px; border: 6px solid #fff; box-shadow: var(--shadow-lg); z-index: 2;
}
.why-small picture, .why-small img { width: 100%; height: 100%; }
.why-small img { object-fit: cover; object-position: 62% 40%; transition: transform 1s var(--ease-out); }
.why-small:hover img { transform: scale(1.06); }
.why-quote {
  position: absolute; top: 12%; inset-inline-start: 2%; z-index: 3; width: min(260px, 52%); margin: 0; padding: 18px 20px;
  border-radius: 20px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: bob 7s ease-in-out infinite;
}
.why-quote blockquote { margin: 8px 0 6px; font: 700 1.05rem/1.55 var(--f-display); color: var(--navy-900); }
.why-quote figcaption { font-size: .8rem; font-weight: 600; color: var(--ink-500); }
.why-chip {
  position: absolute; bottom: 30%; inset-inline-end: -3%; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; background: var(--navy-900); color: #fff; font-weight: 700; font-size: .92rem;
  box-shadow: 0 18px 36px -16px rgba(14, 39, 72, .7); animation: bob 6s ease-in-out 1.5s infinite;
}
.why-chip .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--wa); color: #fff; stroke-width: 3; }

/* ================= Services: تمرير أفقي مثبّت ================= */
.hs { position: relative; background: var(--navy-900); color: #fff; }
.hs-sticky { display: flex; flex-direction: column; gap: 36px; padding: clamp(90px, 10vw, 130px) var(--gutter); }
.hs-head { max-width: 520px; }
.hs-head .eyebrow { color: var(--gold-500); }
.hs-head h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); }
.hs-lead { margin-top: 16px; font-size: 1.14rem; color: rgba(255, 255, 255, .72); }
.hs-progress { display: none; align-items: center; gap: 16px; margin-top: 36px; }
.hs-count { font: 500 .95rem/1 var(--f-num); color: rgba(255, 255, 255, .6); letter-spacing: .08em; }
.hs-count b { color: #fff; font-weight: 700; }
.hs-bar { position: relative; width: 140px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.hs-bar i { position: absolute; inset: 0; background: var(--gold-500); transform: scaleX(var(--hp, 0)); transform-origin: var(--o, left); }
[dir="rtl"] .hs-bar i { --o: right; }
.hs-hint { display: none; align-items: center; gap: 10px; margin-top: 26px; font-size: .88rem; color: rgba(255, 255, 255, .5); }
.hs-hint .ic { width: 20px; height: 20px; }
.mouse-wheel { animation: wheel 1.8s var(--ease) infinite; }

.hs-viewport { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 24px; scrollbar-width: none; }
.hs-viewport::-webkit-scrollbar { display: none; }
.hs-track { display: flex; gap: 22px; width: max-content; }
.hs-card {
  position: relative; isolation: isolate; flex: 0 0 min(82vw, 380px); aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; border-radius: 30px; color: #fff; scroll-snap-align: start; background: var(--navy-950);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: scale(var(--cs, 1)); opacity: var(--co, 1);
}
.hs-bg { position: absolute; inset: 0; z-index: -2; }
.hs-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.hs-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 26, 51, .35) 0%, rgba(8, 26, 51, .05) 30%, rgba(8, 26, 51, .72) 62%, rgba(8, 26, 51, .96) 100%); }
.hs-card:hover .hs-bg img { transform: scale(1.08); }
.hs-top { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 24px 0; }
.hs-num { font: 500 2.6rem/1 "IBM Plex Serif", Georgia, serif; color: transparent; -webkit-text-stroke: 1.2px rgba(230, 205, 140, .95); }
.hs-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: var(--gold-500); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hs-body { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; }
.hs-body::before { content: ""; width: 44px; height: 3px; border-radius: 3px; background: var(--gold-500); transition: width .5s var(--ease-out); }
.hs-card:hover .hs-body::before { width: 88px; }
.hs-body h3 { font-size: 1.36rem; line-height: 1.4; color: #fff; }
.hs-body p { color: rgba(255, 255, 255, .8); font-size: 1rem; line-height: 1.7; }
.hs-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: #F3E3B5; transition: gap .3s var(--ease-out); }
.hs-link .ic { width: 18px; height: 18px; }
.hs-link:hover { gap: 14px; }
.hs-card-cta { background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); justify-content: center; }
.hs-card-cta::before, .hs-card-cta .hs-body::before { display: none; }
.hs-card-cta .hs-body { align-items: flex-start; gap: 22px; padding: 40px 32px; }
.hs-card-cta h3 { font-size: 1.55rem; }
.hs-cta-ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(31, 168, 85, .15); color: var(--wa); }
.hs-cta-ic .ic { width: 36px; height: 36px; }

/* وضع التثبيت (يتفعّل بالـ JS على الشاشات الكبيرة) */
.hs.is-pinned { height: var(--hs-h, 300vh); }
.hs.is-pinned .hs-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  flex-direction: row; align-items: center; gap: clamp(40px, 5vw, 80px); padding: 90px 0 40px; padding-inline-start: var(--edge);
}
.hs.is-pinned .hs-head { flex: 0 0 min(360px, 30vw); }
.hs.is-pinned .hs-progress, .hs.is-pinned .hs-hint { display: flex; }
.hs.is-pinned .hs-viewport { flex: 1; min-width: 0; overflow: clip; margin: 0; padding: 30px 0; scroll-snap-type: none; -webkit-mask-image: linear-gradient(to var(--fade), transparent, #000 70px); mask-image: linear-gradient(to var(--fade), transparent, #000 70px); }
.hs { --fade: right; }
[dir="rtl"] .hs { --fade: left; }
.hs.is-pinned .hs-track { padding-inline-end: var(--edge); will-change: transform; }
.hs.is-pinned .hs-card { flex-basis: clamp(300px, 26vw, 380px); height: min(66vh, 580px); aspect-ratio: auto; }

/* ================= Services: قائمة تُضاء مع التمرير + صورة ثابتة تتبدّل ================= */
.svc { position: relative; background: var(--navy-900); color: #fff; padding-block: clamp(90px, 11vw, 150px); overflow: clip; isolation: isolate; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 40% at 85% 0%, rgba(45, 90, 160, .45), transparent 70%), radial-gradient(40% 35% at 10% 100%, rgba(200, 162, 75, .12), transparent 70%); }
.svc .eyebrow { color: var(--gold-500); }
.svc-head .sec-lead { color: rgba(255, 255, 255, .72); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.svc-item { position: relative; display: flex; gap: 26px; align-items: flex-start; min-height: 58vh; padding-block: 44px; border-top: 1px solid rgba(255, 255, 255, .1); opacity: .32; transition: opacity .6s var(--ease-out); }
.svc-item:last-child { min-height: 46vh; }
.svc-item.is-active { opacity: 1; }
.svc-item::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; height: 2px; width: 0; background: var(--gold-500); transition: width .9s var(--ease-out); }
.svc-item.is-active::before { width: 120px; }
.svc-num { font: 500 clamp(2.6rem, 2rem + 1.6vw, 3.6rem)/1 "IBM Plex Serif", Georgia, serif; color: transparent; -webkit-text-stroke: 1.2px rgba(230, 205, 140, .9); flex: none; transition: color .6s; }
.svc-item.is-active .svc-num { color: rgba(200, 162, 75, .18); }
.svc-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.svc-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--gold-500); }
.svc-txt h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.4; }
.svc-txt p { max-width: 42ch; font-size: 1.1rem; line-height: 1.8; color: rgba(255, 255, 255, .78); }
.svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: #F3E3B5; transition: gap .3s var(--ease-out); }
.svc-link .ic { width: 18px; height: 18px; }
.svc-link:hover { gap: 14px; }
.svc-mimg { display: none; }
.svc-visual { position: sticky; top: max(110px, calc(50vh - 300px)); }
.svc-visual { width: min(100%, calc((100vh - 170px) * .8)); margin-inline: auto; }
.svc-frame { position: relative; aspect-ratio: 4 / 5; outline: 1.5px solid rgba(200, 162, 75, .55); outline-offset: 14px; border-radius: var(--arch); overflow: hidden; background: var(--navy-950); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); }
.svc-shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease-out), transform 1.4s var(--ease-out); }
.svc-shot.is-active { opacity: 1; transform: none; }
.svc-shot picture, .svc-shot img { width: 100%; height: 100%; object-fit: cover; }
.svc-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8, 26, 51, .55)); pointer-events: none; }
.svc-dots { position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.svc-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .45); transition: width .5s var(--ease-out), background-color .5s; }
.svc-dots i.is-active { width: 28px; background: var(--gold-500); }
.svc-more { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding: 26px 30px; border-radius: 26px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.svc-more p { font: 600 1.2rem/1.5 var(--f-display); }

/* ================= Documents: بطاقات بشكل وثيقة ================= */
.sec { position: relative; padding-block: clamp(90px, 11vw, 150px); }
.sec-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec h2 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); letter-spacing: -.015em; }
:lang(ar) .sec h2 { font-size: clamp(2rem, 1.2rem + 2.3vw, 3.1rem); letter-spacing: 0; }
.sec-lead { margin-top: 16px; font-size: 1.18rem; color: var(--ink-500); }
.docs-sec { background: var(--sky-100); }
.docs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.docs-head .sec-head { margin-bottom: 0; }
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.doc {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 196px; padding: 24px 22px 20px;
  background: #fff; border-radius: 20px; box-shadow: 0 18px 40px -28px rgba(14, 39, 72, .45);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
[dir="rtl"] .doc { clip-path: polygon(34px 0, 100% 0, 100% 100%, 0 100%, 0 34px); }
.doc::before { content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px; border-bottom-left-radius: 10px; background: linear-gradient(225deg, transparent 50%, #D5E3F2 50%); transition: background .4s; }
[dir="rtl"] .doc::before { right: auto; left: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 10px; background: linear-gradient(135deg, transparent 50%, #D5E3F2 50%); }
.doc:hover::before { background: linear-gradient(225deg, transparent 50%, var(--gold-500) 50%); }
[dir="rtl"] .doc:hover::before { background: linear-gradient(135deg, transparent 50%, var(--gold-500) 50%); }
.doc-ic { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 12px; border-radius: 15px; background: var(--navy-900); color: var(--gold-500); transition: transform .45s var(--ease-out); }
.doc:hover .doc-ic { transform: rotate(-8deg) scale(1.06); }
.doc b { font: 600 1.12rem/1.45 var(--f-display); color: var(--navy-900); }
.doc-alt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: .84rem; font-weight: 500; line-height: 1.5; color: var(--ink-500); }
.doc-alt span:lang(ar) { font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif; }
.doc-alt span:not(:lang(ar)) { font-family: "IBM Plex Sans", system-ui, sans-serif; }
.doc-alt span { display: inline-flex; align-items: center; gap: 7px; }
.doc-alt span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); flex: none; }
.doc-cta { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; align-self: flex-start; padding: 9px 14px; border-radius: 999px; background: var(--sky-100); color: var(--navy-900); font-size: .88rem; font-weight: 600; transition: background-color .3s, color .3s, gap .3s var(--ease-out); }
.doc-cta .ic { width: 17px; height: 17px; }
.doc-cta .ic:first-child { color: var(--wa); }
.doc-cta .flip, .doc-cta .ic:last-child { width: 15px; height: 15px; }
.doc:hover .doc-cta, .doc-cta:hover { background: var(--wa); color: #fff; gap: 11px; }
.doc:hover .doc-cta .ic:first-child, .doc-cta:hover .ic:first-child { color: #fff; }
.doc-alt { margin-bottom: 16px; }
.doc-lines { display: none; }
.doc-lines i { display: block; height: 5px; border-radius: 3px; background: var(--sky-100); }
.doc-lines i:last-child { width: 62%; }
.doc:hover .doc-lines i { background: linear-gradient(90deg, var(--sky-100) 40%, #F7FAFD 50%, var(--sky-100) 60%); background-size: 250% 100%; animation: shimmer 1.6s linear infinite; }
.docs-more { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 600; color: var(--navy-700); transition: gap .3s var(--ease-out), box-shadow .3s; }
.docs-more .ic:first-child { color: var(--wa); }
.docs-more .ic:last-child { width: 18px; height: 18px; }
.docs-more:hover { gap: 16px; box-shadow: var(--shadow-md); }

/* ================= Process: بطاقات متراكبة ================= */
.process { background: var(--paper); }
.proc-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.proc-head { position: sticky; top: 140px; }
.proc-head .btn { margin-top: 34px; }
.stack { display: grid; gap: 28px; padding-bottom: 8vh; }
.stack-card {
  position: sticky; top: calc(130px + var(--i) * 28px); min-height: 330px; display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
  padding: clamp(28px, 3.4vw, 44px); border-radius: 30px; background: #fff; color: var(--navy-900);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(14, 39, 72, .35);
  transform-origin: 50% 0; transform: scale(var(--s, 1));
}
.sc-2 { background: var(--navy-700); color: #fff; box-shadow: 0 30px 60px -30px rgba(14, 39, 72, .5); }
.sc-3 { background: var(--navy-900); color: #fff; box-shadow: 0 30px 60px -30px rgba(14, 39, 72, .6); }
.sc-top { display: flex; align-items: flex-start; justify-content: space-between; }
.sc-label { font-weight: 600; font-size: .95rem; opacity: .7; }
.sc-num { font: 700 clamp(4rem, 3rem + 3vw, 6.2rem)/.8 var(--f-num); color: transparent; -webkit-text-stroke: 1.5px var(--gold-500); letter-spacing: -.03em; }
.sc-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--sky-100); color: var(--navy-700); }
.sc-2 .sc-ic, .sc-3 .sc-ic { background: rgba(255, 255, 255, .1); color: var(--gold-500); }
.sc-ic .ic { width: 28px; height: 28px; }
.sc-text { font: var(--fw-display) clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem)/1.4 var(--f-display); max-width: 20ch; }

/* ================= Reviews ================= */
.rev-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.big-score { display: flex; align-items: center; gap: 20px; margin-top: 34px; }
.big-score > b { font: 700 clamp(4.4rem, 3rem + 4vw, 7rem)/.9 var(--f-num); letter-spacing: -.04em; color: var(--navy-900); }
.big-score .stars .ic { width: 22px; height: 22px; }
.big-score p { margin-top: 8px; font-weight: 600; color: var(--ink-500); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; font-weight: 700; color: var(--navy-700); border-bottom: 1.5px solid var(--gold-500); padding-bottom: 6px; }
.link-arrow .ic { width: 18px; height: 18px; }
.notes { display: grid; gap: 22px; }
.note figure {
  margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; padding: 28px 32px; border-radius: 22px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  rotate: var(--r, 0deg); transition: rotate .5s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s;
}
.note:nth-child(1) { --r: -1.4deg; }
.note:nth-child(2) { --r: 1.1deg; margin-inline-start: clamp(0px, 5vw, 64px); }
.note:nth-child(3) { --r: -.6deg; margin-inline-start: clamp(0px, 2vw, 24px); }
.note figure:hover { rotate: 0deg; transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-md); }
.q-mark { grid-row: span 2; width: 34px; color: var(--gold-500); margin-top: 6px; }
[dir="rtl"] .q-mark { transform: scaleX(-1); }
.note blockquote { margin: 0; font: 600 1.2rem/1.65 var(--f-display); }
:lang(ar) .note blockquote { font-size: 1.22rem; line-height: 1.85; font-weight: 500; }
.note figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .88rem; font-weight: 500; color: var(--ink-500); }
.note figcaption i { font-style: normal; }

/* ================= CTA band ================= */
.cta-band { position: relative; overflow: hidden; isolation: isolate; display: grid; align-items: center; min-height: clamp(480px, 70vh, 680px); color: #fff; text-align: center; }
.cta-bg { position: absolute; inset: -14% 0; z-index: -2; }
.cta-bg picture, .cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 39, 72, .55), rgba(8, 26, 51, .88)); }
.cta-in { display: flex; flex-direction: column; align-items: center; }
.cta-in .eyebrow { color: #fff; }
.cta-in h2 { max-width: 18ch; font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); }
.cta-in > p:not(.eyebrow) { margin-top: 18px; font-size: 1.2rem; color: rgba(255, 255, 255, .82); }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }

/* ================= Location ================= */
#location { background: var(--sky-100); }
.loc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 22px; align-items: stretch; }
.loc-card { padding: clamp(24px, 3vw, 40px); background: #fff; border-radius: 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.loc-list { margin: 0; display: grid; gap: 22px; }
.loc-list > div + div { padding-top: 22px; border-top: 1px solid var(--line); }
.loc-list dt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .95rem; font-weight: 600; color: var(--ink-500); margin-bottom: 6px; }
.loc-list dt .ic { width: 20px; height: 20px; color: var(--gold-500); }
.loc-list dd { margin: 0; padding-inline-start: 30px; font-size: 1.1rem; font-weight: 600; }
.loc-list dd small { display: block; margin-top: 4px; font-size: .9rem; font-weight: 400; color: var(--ink-500); }
[dir="rtl"] .loc-list dd small { text-align: right; }
.hours th, .hours td { padding: 3px 0; font-weight: 600; text-align: start; white-space: nowrap; }
[dir="rtl"] .hours td { text-align: right; }
.hours th { padding-inline-end: 24px; font-weight: 500; color: var(--ink-500); }
.hours tr.today th, .hours tr.today td { color: var(--navy-900); font-weight: 700; }
.hours tr.today th::before { content: "●"; margin-inline-end: 8px; font-size: .6em; vertical-align: middle; color: var(--gold-500); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: rgba(81, 96, 122, .12); color: var(--ink-500); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-open { background: rgba(31, 168, 85, .12); color: #11753A; }
.tel { font: 700 1.3rem/1.3 var(--f-num); color: var(--navy-700); }
.tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.loc-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.loc-ctas .ic { width: 20px; height: 20px; }
.map { position: relative; display: block; min-height: 380px; border-radius: 28px; overflow: hidden; background: var(--sky-100); color: var(--navy-900); isolation: isolate; box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.map-img { position: absolute; inset: 0; z-index: -1; }
.map-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.map:hover .map-img img { transform: scale(1.05); }
.map::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 35%, rgba(14, 39, 72, .25) 100%); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -52px 0 0 -23px; }
.map-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--navy-900); box-shadow: 0 10px 20px -6px rgba(14, 39, 72, .6); }
.map-pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--gold-500); }
.map-pin i { position: absolute; left: 50%; top: 100%; width: 60px; height: 60px; margin: -24px 0 0 -30px; border-radius: 50%; background: rgba(200, 162, 75, .35); animation: pulse-pin 2.4s var(--ease) infinite; z-index: -1; }
.map-credit { position: absolute; bottom: 88px; inset-inline-end: 22px; font-size: .68rem; color: rgba(14, 39, 72, .7); background: rgba(255, 255, 255, .75); padding: 2px 6px; border-radius: 4px; }
.map-pulse { transform-box: fill-box; transform-origin: center; animation: pulse-pin 2.4s var(--ease) infinite; }
.map-meta { position: absolute; top: 18px; inset-inline-start: 18px; display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .82rem; letter-spacing: .04em; color: #fff; direction: ltr; background: rgba(14, 39, 72, .82); }
[dir="rtl"] .map-meta { text-align: right; }
.map-cta { position: absolute; bottom: 18px; inset-inline: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 22px; border-radius: 999px; font-weight: 700; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-md); transition: background-color .25s; }
.map:hover .map-cta { background: var(--navy-700); }
.map-cta .ic { width: 18px; height: 18px; color: var(--gold-500); }

/* ================= Footer ================= */
.ftr { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: rgba(255, 255, 255, .78); padding-top: 80px; }
.ftr::after { content: "LARSA"; position: absolute; z-index: -1; bottom: -.2em; left: 50%; transform: translateX(-50%); font: 700 clamp(6rem, 22vw, 19rem)/1 "IBM Plex Sans", system-ui, sans-serif; letter-spacing: .12em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); pointer-events: none; white-space: nowrap; }
.ftr-grid { display: grid; grid-template-columns: 1.2fr 1.4fr .8fr; gap: 40px; }
.ftr .brand { color: #fff; margin-bottom: 20px; }
.ftr .brand-tag { color: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .2); }
.ftr-brand p { max-width: 34ch; }
.ftr-h { font: 600 .82rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 20px; }
:lang(ar) .ftr-h { letter-spacing: 0; font-size: 1rem; text-transform: none; }
.ftr-list { display: grid; gap: 14px; }
.ftr-list li { display: flex; gap: 12px; align-items: flex-start; }
.ftr-list .ic { width: 20px; height: 20px; margin-top: 5px; color: var(--gold-500); }
.ftr a:hover { color: #fff; }
.ftr-langs { display: grid; gap: 12px; }
.ftr-langs a[aria-current] { color: var(--gold-500); }
.ftr-bottom { margin-top: 64px; padding-block: 24px 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }

/* ================= WhatsApp float ================= */
.wa-float { position: fixed; z-index: 50; bottom: max(22px, env(safe-area-inset-bottom)); inset-inline-end: 22px; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 16px 32px -10px rgba(12, 70, 36, .6); animation: wa-pulse 4s ease-out infinite; transition: transform .3s var(--ease-out), opacity .3s, scale .3s var(--ease-out); }
.js .wa-float:not(.show) { opacity: 0; scale: .6; pointer-events: none; }
.wa-float .ic { width: 31px; height: 31px; }
.wa-float:hover { transform: scale(1.08); }

/* ================= Motion ================= */
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes word-up { from { transform: translateY(110%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rot { 0% { opacity: 0; transform: translateY(80%); } 5%, 30% { opacity: 1; transform: none; } 35%, 100% { opacity: 0; transform: translateY(-80%); } }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); } to { clip-path: inset(0 0 0 0 round 999px 999px 28px 28px); } }
@keyframes img-zoom { from { scale: 1.25; } to { scale: 1; } }
@keyframes kb { from { scale: 1.14; } to { scale: 1; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.9); } }
@keyframes doc-in { from { opacity: 0; transform: translateY(70px) scale(.94); } }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes stamp { from { opacity: 0; scale: 2.2; } to { opacity: 1; scale: 1; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(4px); opacity: 0; } 100% { opacity: 0; } }
@keyframes clip-up { from { clip-path: inset(0 0 100% 0); transform: translateY(24px); } to { clip-path: inset(0 0 -12% 0); transform: none; } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes pulse-pin { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes wa-pulse { 0% { box-shadow: 0 16px 32px -10px rgba(12, 70, 36, .6), 0 0 0 0 rgba(31, 168, 85, .5); } 40%, 100% { box-shadow: 0 16px 32px -10px rgba(12, 70, 36, .6), 0 0 0 20px rgba(31, 168, 85, 0); } }

.h-in { animation: rise .9s var(--ease-out) calc(var(--i, 0) * 110ms) backwards; }
.js .reveal { opacity: 0; }
.js .reveal.in { opacity: 1; animation: rise .8s var(--ease-out) calc(var(--d, 0) * 70ms) backwards; }
.js .reveal.in h2, .js .in > .sec-head h2 { animation: clip-up 1s var(--ease-out) .1s backwards; }
.js .reveal.in .eyebrow::before { animation: grow .8s var(--ease-out) .2s backwards; }

/* ================= Responsive ================= */
@media (max-width: 1180px) {
  .docs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-tag { display: none; }
  .nav-track a { padding-inline: 12px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats li:nth-child(4) { border-inline-start: 0; }
  .stats li:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .btn-hdr-wa span { display: none; }
  .btn-hdr-wa { padding: 8px 12px; }
}
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .lang-d { display: none; }
  .hdr-bar { height: 64px; padding-inline: 18px 9px; grid-template-columns: 1fr auto; }
  .hdr-actions { grid-column: 2; }
  .nav { position: fixed; inset: 0; z-index: -2; margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 110px calc(var(--gutter) + 12px) 40px; background: rgba(251, 252, 254, .9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
  .nav.open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
  .nav-ind { display: none; }
  .nav-track ul { flex-direction: column; gap: 0; }
  .nav-track a { padding: 12px 4px; font: var(--fw-display) 2rem/1.3 var(--f-display); color: var(--navy-900); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-track a.active { color: var(--navy-700); }
  .nav-track a.active::after { display: none; }
  .nav li { opacity: 0; transform: translateY(18px); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
  .nav.open li { opacity: 1; transform: none; transition-delay: calc(80ms + var(--n) * 60ms); }
  .nav-extra { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; opacity: 0; transition: opacity .4s .35s; }
  .nav.open .nav-extra { opacity: 1; }
  .nav-cta { width: 100%; }
  .nav-tel { display: inline-flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; }
  .nav-tel .ic { color: var(--gold-500); }
  html:not(.js) .menu-btn { display: none; }
  body.menu-open { overflow: hidden; }

  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 36px; }
  .hero { min-height: 0; padding-top: 112px; }
  .hero-shade { background: linear-gradient(180deg, rgba(8, 26, 51, .78) 0%, rgba(8, 26, 51, .55) 30%, rgba(8, 26, 51, .8) 62%, rgba(8, 26, 51, .96) 100%); }
  .hero-media img { object-position: 42% 50%; }
  .hero-side { justify-content: flex-start; align-self: auto; padding-top: 0; }
  .proc-grid, .rev-grid, .why-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-visual { display: none; }
  .svc-list { display: grid; gap: 22px; }
  .svc-item { opacity: 1; min-height: 0; flex-direction: column; gap: 0; padding: 0; border: 0; border-radius: 28px; overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
  .svc-item:last-child { min-height: 0; }
  .svc-item::before { display: none; }
  .svc-mimg { display: block; position: relative; width: 100%; aspect-ratio: 16 / 10; }
  .svc-mimg picture, .svc-mimg img { width: 100%; height: 100%; object-fit: cover; }
  .svc-num { position: absolute; top: 18px; inset-inline-start: 20px; font-size: 2.4rem; color: rgba(8, 26, 51, .25); -webkit-text-stroke-color: #F3E3B5; }
  .svc-txt { padding: 22px 22px 26px; }
  .svc-more { padding: 22px; }
  .svc-more .btn { width: 100%; }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-art { max-width: 520px; width: 100%; margin-inline: auto; }
  .proc-head { position: static; }
  .loc { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hdr { padding-top: 10px; }
  .hdr-bar { height: 60px; }
  .brand-mark { font-size: 1.16rem; }
  .hero-kicker { font-size: .85rem; gap: 10px; }
  .rot { font-size: .85rem; padding: 7px 14px; }
  .hero-sub, :lang(ar) .hero-sub { font-size: 1.1rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .doc-card { width: min(100%, 330px); }
  .dc-inner { padding: 14px 14px 12px; border-radius: 20px; }
  .dc-label { font-size: .8rem; }
  .dc-tabs button { padding: 6px 7px; font-size: .64rem; }
  .dc-doc { margin-top: 12px; padding: 12px; }
  .dc-name { font-size: 1.08rem; }
  .dc-lines i:nth-child(3) { display: none; }
  .dc-seal { display: none; }
  .doc-check { font-size: .76rem; }
  .doc-stamp { width: 60px; height: 60px; bottom: -20px; inset-inline-end: -12px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li { padding: 22px 12px; }
  .stats li:nth-child(n) { border-inline-start: 0; border-top: 0; }
  .stats li:nth-child(even) { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
  .stats li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .stats li:last-child { grid-column: 1 / -1; }
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .doc { min-height: 170px; padding: 18px 16px 16px; }
  .doc b { font-size: 1rem; }
  .doc-alt { font-size: .76rem; }
  .doc-ic { width: 44px; height: 44px; margin-bottom: 8px; }
  .doc-cta { white-space: nowrap; padding: 8px 12px; font-size: .8rem; gap: 6px; }
  .doc-cta .ic:last-child { display: none; }
  .why-quote { display: none; }
  .why-quote blockquote { font-size: .92rem; }
  .why-chip { font-size: .8rem; padding: 9px 14px; inset-inline-end: 0; }
  .why-points li { gap: 14px; }
  .wp-ic { width: 46px; height: 46px; border-radius: 14px; }
  .why-cta { width: 100%; }
  .stack-card { top: calc(90px + var(--i) * 18px); min-height: 250px; border-radius: 24px; }
  .note:nth-child(n) { margin-inline-start: 0; }
  .note figure { padding: 22px; grid-template-columns: 1fr; }
  .q-mark { grid-row: auto; width: 28px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { width: 56px; height: 56px; bottom: max(16px, env(safe-area-inset-bottom)); inset-inline-end: 16px; }
  .map { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
      .rot > span:first-child { opacity: 1; }
  .js .reveal { opacity: 1; }
  .em::before { transform: none; }
  .js .st-text span { color: var(--navy-900); }
  .js .wa-float:not(.show) { opacity: 1; scale: 1; pointer-events: auto; }
}

/* ---------- OG image template (src/og.mjs) ---------- */
body.og { width: 1200px; height: 630px; overflow: hidden; background: var(--navy-900); color: #fff; }
.og-card { position: relative; width: 1200px; height: 630px; display: flex; align-items: center; padding: 70px 80px; isolation: isolate; }
.og-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.og-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 26, 51, .92) 30%, rgba(8, 26, 51, .35)); }
[dir="rtl"] .og-card::before { background: linear-gradient(-90deg, rgba(8, 26, 51, .92) 30%, rgba(8, 26, 51, .35)); }
.og-card::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 8px; background: var(--gold-500); }
.og-copy { max-width: 720px; }
.og-card .brand { color: #fff; margin-bottom: 34px; }
.og-card .brand-mark { font-size: 2rem; }
.og-card h1 { font-size: 3.5rem; line-height: 1.12; }
[lang="ar"] .og-card h1 { font-size: 3.3rem; line-height: 1.45; }
.og-card h1 em { font-family: var(--f-accent); font-style: normal; color: var(--gold-500); }
.og-meta { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 1.3rem; color: rgba(255, 255, 255, .85); }
.og-meta:first-of-type { margin-top: 30px; }
.og-meta .stars .ic { width: 22px; height: 22px; }
