/* =========================================================
   Iconic Treeo — main stylesheet
   ========================================================= */
:root {
  --ink: #1f1b1c;
  --ink-2: #2a2526;
  --ink-soft: #5b5355;
  --gold: #c4a57e;
  --gold-2: #d9c1a0;
  --gold-dark: #9c7f5a;
  --cream: #f5f0e9;
  --sand: #e8ddcf;
  --line: rgba(31, 27, 28, .12);
  --line-light: rgba(255, 255, 255, .14);
  --white: #fff;

  --font-en: 'Montserrat', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font: var(--font-en);
  --font-accent: var(--font-serif);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;
  --radius: 2px;
}
html[lang="ar"] {
  --font: var(--font-ar);
  --font-accent: var(--font-ar);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { line-height: 1.9; font-size: 16.5px; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-dark); margin: 0 0 22px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow .line { width: 42px; height: 1px; background: currentColor; display: inline-block; }
.eyebrow--light { color: var(--gold); }
.title {
  font-size: clamp(34px, 5vw, 64px); font-weight: 300; letter-spacing: -.01em; margin-bottom: 28px;
}
html[lang="ar"] .title { font-weight: 300; line-height: 1.35; letter-spacing: 0; }
.title em, .value__title em, .cta__title em, .hero__title em {
  font-family: var(--font-accent); font-style: italic; color: var(--gold-dark); font-weight: 400;
}
html[lang="ar"] .title em, html[lang="ar"] .value__title em, html[lang="ar"] .cta__title em {
  font-style: normal; font-weight: 500; color: var(--gold-dark);
}
.title--light { color: var(--cream); }
.title--light em { color: var(--gold); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.7; }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding-inline: 32px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--fg); background: var(--bg); overflow: hidden; isolation: isolate;
  border: 1px solid transparent; transition: color .5s var(--ease), border-color .5s var(--ease);
  border-radius: var(--radius); white-space: nowrap;
}
html[lang="ar"] .btn { letter-spacing: 0; font-size: 15px; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scaleY(1); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); }
.btn--gold:hover { color: var(--gold); }
.btn--ghost { --fg: var(--cream); border-color: rgba(255,255,255,.4); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); border-color: var(--cream); }
.btn--ghost-dark { --fg: var(--ink); border-color: var(--ink); }
.btn--ghost-dark:hover { color: var(--cream); }
.btn--sm { height: 44px; padding-inline: 22px; font-size: 12px; }
.btn--lg { height: 64px; padding-inline: 44px; }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
[dir="rtl"] .btn__arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(5px); }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; pointer-events: none; }
.preloader__curtain { position: absolute; inset-inline: 0; height: 50.5%; background: var(--ink); transition: transform 1.1s var(--ease-in-out); }
.preloader__curtain--top { top: 0; }
.preloader__curtain--bottom { bottom: 0; }
.preloader__inner { position: relative; text-align: center; color: var(--gold); transition: opacity .5s, transform .8s var(--ease); }
.preloader__logo { width: min(280px, 60vw); overflow: visible; }
.preloader__logo path, .preloader__logo circle {
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards;
}
.preloader__logo g:nth-of-type(1) > * { animation-delay: calc(.35s + var(--i, 0) * .09s); }
.preloader__logo g:nth-of-type(2) > * { animation-delay: calc(1s + var(--i, 0) * .07s); animation-duration: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__count { margin-top: 26px; font-size: 12px; letter-spacing: .4em; color: rgba(196,165,126,.7); font-family: var(--font-en); }
.preloader.is-done .preloader__inner { opacity: 0; transform: translateY(-20px); }
.preloader.is-done .preloader__curtain--top { transform: translateY(-100%); transition-delay: .25s; }
.preloader.is-done .preloader__curtain--bottom { transform: translateY(100%); transition-delay: .25s; }
.preloader.is-hidden { display: none; }
html:not(.js) .preloader { display: none; }

/* scroll progress */
.scroll-progress { position: fixed; top: 0; inset-inline-start: 0; height: 2px; width: 100%; background: var(--gold); z-index: 120; transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .scroll-progress { transform-origin: right; }

/* custom cursor */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999; border-radius: 50%; opacity: 0; }
.cursor {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(196,165,126,.7);
  display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s, opacity .3s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold); transition: opacity .3s, transform .3s; }
.cursor__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; font-weight: 500; }
html[lang="ar"] .cursor__label { letter-spacing: 0; font-size: 13px; }
.has-cursor .cursor, .has-cursor .cursor-dot { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(196,165,126,.12); }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--gold); border-color: var(--gold); }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view + .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; inset-inline: 0; z-index: 100; height: var(--header-h);
  transition: background .5s var(--ease), height .5s var(--ease), transform .6s var(--ease), box-shadow .5s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { width: 112px; height: auto; transition: width .5s var(--ease); }
.header.is-scrolled { background: rgba(31, 27, 28, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); height: 70px; box-shadow: 0 1px 0 var(--line-light); }
.header.is-scrolled .header__logo img { width: 92px; }
.header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav__link {
  position: relative; color: rgba(245,240,233,.85); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400;
  padding-block: 8px; transition: color .3s;
}
html[lang="ar"] .nav__link { letter-spacing: 0; font-size: 15px; }
.nav__link::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
[dir="rtl"] .nav__link::after { transform-origin: left; }
[dir="rtl"] .nav__link:hover::after, [dir="rtl"] .nav__link.is-active::after { transform-origin: right; }
.header__actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  position: relative; display: flex; align-items: center; height: 38px; padding: 3px; border: 1px solid rgba(255,255,255,.25); border-radius: 40px;
  color: var(--cream); font-size: 12px; font-family: var(--font-en);
}
.lang-toggle span { position: relative; z-index: 1; width: 34px; text-align: center; line-height: 30px; transition: color .4s; }
.lang-toggle__ar { font-family: var(--font-ar); font-size: 15px; }
.lang-toggle::before {
  content: ''; position: absolute; top: 3px; bottom: 3px; width: 34px; border-radius: 30px; background: var(--gold);
  left: 3px; transition: transform .5s var(--ease);
}
html[lang="en"] .lang-toggle::before { transform: translateX(34px); }
html[lang="ar"] .lang-toggle__ar, html[lang="en"] .lang-toggle__en { color: var(--ink); }
[dir="rtl"] .lang-toggle { flex-direction: row; direction: ltr; }
.install-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding-inline: 14px; border-radius: 40px;
  border: 1px solid rgba(196,165,126,.6); color: var(--gold); font-size: 12px; letter-spacing: .08em; transition: background .3s, color .3s;
}
.install-btn:hover { background: var(--gold); color: var(--ink); }
.install-btn[hidden] { display: none; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; inset-inline: 10px; height: 1px; background: var(--cream); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; inset-inline-start: 18px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 22px; inset-inline-start: 10px; transform: rotate(-45deg); }

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 90; visibility: hidden; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; }
.menu__bg { position: absolute; inset: 0; background: var(--ink); clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .9s var(--ease-in-out); }
[dir="rtl"] .menu__bg { clip-path: circle(0% at 40px 40px); }
.menu-open .menu { visibility: visible; }
.menu-open .menu__bg { clip-path: circle(150% at calc(100% - 40px) 40px); }
[dir="rtl"].menu-open .menu__bg, .menu-open [dir="rtl"] .menu__bg { clip-path: circle(150% at 40px 40px); }
.menu__nav { position: relative; display: flex; flex-direction: column; gap: 6px; }
.menu__link { display: flex; align-items: baseline; gap: 16px; color: var(--cream); font-size: clamp(30px, 8vw, 46px); font-weight: 200; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .7s var(--ease), color .3s; }
.menu__link small { font-size: 12px; color: var(--gold); font-family: var(--font-en); }
.menu__link:hover { color: var(--gold); }
.menu-open .menu__link { opacity: 1; transform: none; }
.menu-open .menu__link:nth-child(1) { transition-delay: .3s; } .menu-open .menu__link:nth-child(2) { transition-delay: .36s; }
.menu-open .menu__link:nth-child(3) { transition-delay: .42s; } .menu-open .menu__link:nth-child(4) { transition-delay: .48s; }
.menu-open .menu__link:nth-child(5) { transition-delay: .54s; } .menu-open .menu__link:nth-child(6) { transition-delay: .6s; }
.menu__foot { position: relative; margin-top: 48px; display: flex; flex-direction: column; gap: 6px; color: var(--gold); font-size: 14px; opacity: 0; transition: opacity .5s .7s; }
.menu-open .menu__foot { opacity: 1; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: var(--cream); overflow: hidden; display: flex; align-items: center; background: var(--ink); }
.hero__slides, .hero__slide, .hero__overlay { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover; background-position: center; opacity: 0; transform: scale(1.18);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1.02); }
.hero__overlay {
  background:
    linear-gradient(180deg, rgba(20,17,18,.55) 0%, rgba(20,17,18,.15) 35%, rgba(20,17,18,.55) 75%, rgba(20,17,18,.92) 100%),
    linear-gradient(90deg, rgba(20,17,18,.7) 0%, rgba(20,17,18,0) 65%);
}
[dir="rtl"] .hero__overlay {
  background:
    linear-gradient(180deg, rgba(20,17,18,.55) 0%, rgba(20,17,18,.15) 35%, rgba(20,17,18,.55) 75%, rgba(20,17,18,.92) 100%),
    linear-gradient(270deg, rgba(20,17,18,.7) 0%, rgba(20,17,18,0) 65%);
}
.hero__frame { position: absolute; inset: clamp(14px, 2.5vw, 32px); pointer-events: none; }
.hero__frame i { position: absolute; background: rgba(196,165,126,.45); transition: transform 1.6s var(--ease-in-out); }
.hero__frame i:nth-child(1) { top: 0; left: 0; right: 0; height: 1px; transform: scaleX(0); transform-origin: left; }
.hero__frame i:nth-child(2) { top: 0; bottom: 0; right: 0; width: 1px; transform: scaleY(0); transform-origin: top; transition-delay: .3s; }
.hero__frame i:nth-child(3) { bottom: 0; left: 0; right: 0; height: 1px; transform: scaleX(0); transform-origin: right; transition-delay: .6s; }
.hero__frame i:nth-child(4) { top: 0; bottom: 0; left: 0; width: 1px; transform: scaleY(0); transform-origin: bottom; transition-delay: .9s; }
.is-loaded .hero__frame i { transform: none; }
/* bottom padding reserves room for .hero__bottom so the CTA never sits under it */
.hero__content { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 24px) clamp(180px, 22vh, 210px); }
.hero__eyebrow { color: var(--gold); }
.hero__title {
  font-size: min(clamp(42px, 7.4vw, 112px), 11vh); font-weight: 200; line-height: 1.02; letter-spacing: -.02em; max-width: 14ch; margin-bottom: 30px;
}
html[lang="ar"] .hero__title { font-weight: 300; line-height: 1.3; letter-spacing: 0; max-width: 16ch; font-size: min(clamp(40px, 6.6vw, 96px), 10vh); }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.3s var(--ease); transition-delay: calc(var(--i) * 70ms + .2s); }
.is-loaded .hero__title .w > span { transform: none; }
.hero__title .w:nth-child(4n+3) > span { font-family: var(--font-accent); font-style: italic; color: var(--gold-2); font-weight: 400; }
html[lang="ar"] .hero__title .w:nth-child(4n+3) > span { font-style: normal; font-weight: 400; }
.hero__lead { max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); color: rgba(245,240,233,.82); margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
[data-anim="hero"] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-loaded [data-anim="hero"] { opacity: 1; transform: none; }
.is-loaded .hero__eyebrow { transition-delay: .1s; }
.is-loaded .hero__lead { transition-delay: .9s; }
.is-loaded .hero__cta { transition-delay: 1.1s; }
.hero__bottom { position: absolute; bottom: clamp(36px, 5vw, 64px); left: 0; right: 0; z-index: 2; display: flex; align-items: center; gap: 32px; pointer-events: none; }
.hero__bottom > * { pointer-events: auto; }
.hero__counter { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .1em; font-family: var(--font-en); color: var(--gold); }
.hero__counter i { width: 40px; height: 1px; background: rgba(255,255,255,.3); }
.hero__bars { display: flex; gap: 8px; }
.hero__bars button { width: 46px; height: 14px; position: relative; }
.hero__bars button::before, .hero__bars button::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgba(255,255,255,.25); }
.hero__bars button::after { background: var(--gold); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .hero__bars button::after { transform-origin: right; }
.hero__bars button.is-active::after { animation: bar var(--dur, 6s) linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.hero__scroll { margin-inline-start: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(245,240,233,.7); }
html[lang="ar"] .hero__scroll { letter-spacing: 0; font-size: 13px; }
.hero__scroll i { width: 1px; height: 54px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; width: 1px; height: 50%; background: var(--gold); animation: scrollLine 2s var(--ease-in-out) infinite; }
@media (max-width: 1500px) { .hero__scroll { margin-inline-end: 64px; } }
@media (max-width: 640px) { .hero__scroll { display: none; } }
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 100%; } }

/* ticker */
.ticker { background: var(--ink); color: var(--gold); overflow: hidden; padding-block: 22px; border-top: 1px solid var(--line-light); }
.ticker__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
[dir="rtl"] .ticker__track { animation-name: marqueeRtl; }
.ticker span { font-size: clamp(22px, 2.6vw, 36px); font-weight: 200; white-space: nowrap; color: var(--cream); }
.ticker span:nth-of-type(even) { font-family: var(--font-accent); font-style: italic; color: var(--gold); }
html[lang="ar"] .ticker span:nth-of-type(even) { font-style: normal; }
.ticker b { font-weight: 400; font-size: 14px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* =========================================================
   REVEAL
   ========================================================= */
.js [data-reveal]:not([data-reveal="img"]) { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.img-reveal { position: relative; overflow: hidden; }
.img-reveal img { width: 100%; height: 100%; object-fit: cover; }
.js .img-reveal[data-reveal="img"] { clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-in-out); transition-delay: var(--d, 0s); }
.js .img-reveal[data-reveal="img"] img { transform: scale(1.3); transition: transform 2s var(--ease); }
.js .img-reveal[data-reveal="img"].is-in { clip-path: inset(0 0 0 0); }
.js .img-reveal[data-reveal="img"].is-in img { transform: scale(1.08); }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about__media { position: relative; padding-bottom: 80px; padding-inline-end: 70px; }
.about__img-main { aspect-ratio: 4/5; }
.about__img-sub { position: absolute; bottom: 0; inset-inline-end: 0; width: 46%; aspect-ratio: 3/4; border: 10px solid var(--cream); }
.about__badge { position: absolute; top: 40px; inset-inline-end: 0; width: 150px; height: 150px; display: grid; place-items: center; background: var(--ink); border-radius: 50%; color: var(--gold); }
.about__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.about__badge-ring text { font-size: 13.5px; letter-spacing: 3.2px; fill: var(--gold); font-family: var(--font-en); }
html[lang="ar"] .about__badge-ring text { letter-spacing: 0; font-family: var(--font-ar); font-size: 15px; }
.about__badge-year { font-family: var(--font-serif); font-size: 32px; font-style: italic; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__text p:not(.eyebrow):not(.lead) { color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.stat { padding: 28px 18px 0 0; border-inline-end: 1px solid var(--line); padding-inline: 20px; }
.stat:first-child { padding-inline-start: 0; }
.stat:last-child { border: 0; }
.stat strong { display: block; font-size: clamp(36px, 4vw, 54px); font-weight: 200; color: var(--gold-dark); line-height: 1; margin-bottom: 10px; font-family: var(--font-en); }
.stat > span { font-size: 13px; color: var(--ink-soft); line-height: 1.4; display: block; }

/* =========================================================
   GROUP
   ========================================================= */
.group { background: var(--sand); }
.group__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1200px; }
.gcard {
  position: relative; padding: 48px 38px 44px; background: var(--cream); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s, background .6s var(--ease), color .6s;
  transform-style: preserve-3d; will-change: transform;
}
.gcard::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .8s var(--ease); z-index: 0; }
.gcard > * { position: relative; z-index: 1; }
.gcard:hover::before { transform: none; }
.gcard:hover { color: var(--cream); box-shadow: 0 40px 80px -30px rgba(31,27,28,.5); }
.gcard__num { position: absolute; top: 28px; inset-inline-end: 32px; font-family: var(--font-serif); font-size: 64px; font-style: italic; color: rgba(196,165,126,.35); line-height: 1; }
.gcard__icon { width: 52px; height: 52px; fill: none; stroke: var(--gold-dark); stroke-width: 1.2; margin-bottom: 36px; transition: stroke .5s; }
.gcard:hover .gcard__icon { stroke: var(--gold); }
.gcard h3 { font-size: 26px; font-weight: 400; margin-bottom: 6px; }
.gcard__tag { color: var(--gold-dark); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px !important; font-weight: 500; }
html[lang="ar"] .gcard__tag { letter-spacing: 0; font-size: 15px; }
.gcard:hover .gcard__tag { color: var(--gold); }
.gcard p:last-child { color: var(--ink-soft); margin: 0; transition: color .5s; }
.gcard:hover p:last-child { color: rgba(245,240,233,.75); }

/* =========================================================
   SERVICES
   ========================================================= */
.services__head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.services__head .lead { color: var(--ink-soft); font-size: 17px; }
.domains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: clamp(70px, 10vw, 120px); }
.domain { position: relative; aspect-ratio: 3/4.4; overflow: hidden; color: var(--cream); background: var(--ink); }
.domain__img, .domain__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.domain__img img { transition: transform 1.4s var(--ease), filter 1s; filter: grayscale(.35) brightness(.8); }
.domain::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,17,18,.88)); transition: opacity .6s; }
.domain:hover .domain__img img { transform: scale(1.1); filter: none; }
.domain__body { position: absolute; inset-inline: 0; bottom: 0; padding: 30px; z-index: 1; }
.domain__body span { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 20px; display: block; margin-bottom: 10px; }
.domain__body h3 { font-size: 26px; font-weight: 300; margin-bottom: 6px; }
.domain__body p { margin: 0; font-size: 14px; color: rgba(245,240,233,.75); max-height: 0; opacity: 0; transform: translateY(10px); transition: max-height .6s var(--ease), opacity .6s, transform .6s var(--ease); }
.domain:hover .domain__body p { max-height: 60px; opacity: 1; transform: none; }
@media (hover: none) { .domain__body p { max-height: none; opacity: 1; transform: none; } }

.svc-list { display: grid; grid-template-columns: 320px 1fr; gap: 60px; border-top: 1px solid var(--line); padding-top: 50px; }
.svc-list__title { font-size: 30px; font-weight: 300; }
.svc-list__items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 50px; counter-reset: svc; }
.svc-item {
  position: relative; display: flex; align-items: center; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line);
  font-size: 17px; overflow: hidden; cursor: default; transition: color .4s, padding .5s var(--ease);
}
.svc-item::before { counter-increment: svc; content: counter(svc, decimal-leading-zero); font-family: var(--font-en); font-size: 12px; color: var(--gold-dark); letter-spacing: .1em; min-width: 22px; }
.svc-item::after { content: ''; position: absolute; bottom: -1px; inset-inline-start: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
[dir="rtl"] .svc-item::after { transform-origin: right; }
.svc-item:hover { padding-inline-start: 14px; color: var(--gold-dark); }
.svc-item:hover::after { transform: scaleX(1); }
.svc-item svg { margin-inline-start: auto; width: 18px; height: 18px; stroke: var(--gold-dark); fill: none; stroke-width: 1.4; opacity: 0; transform: translateX(-10px); transition: .5s var(--ease); }
[dir="rtl"] .svc-item svg { transform: scaleX(-1) translateX(-10px); }
.svc-item:hover svg { opacity: 1; transform: none; }
[dir="rtl"] .svc-item:hover svg { transform: scaleX(-1); }

/* =========================================================
   VALUE
   ========================================================= */
.value { position: relative; color: var(--cream); padding-block: clamp(110px, 14vw, 200px); overflow: hidden; background: var(--ink); }
.value__bg { position: absolute; inset: -15% 0; }
.value__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.value::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(31,27,28,.35) 40%, rgba(31,27,28,.5) 70%, var(--ink) 100%); z-index: 1; }
.value__inner { position: relative; z-index: 2; }
.value__title { font-size: clamp(40px, 6.5vw, 96px); font-weight: 200; max-width: 13ch; margin-bottom: 70px; letter-spacing: -.02em; }
html[lang="ar"] .value__title { line-height: 1.3; letter-spacing: 0; }
.value__title em { color: var(--gold); }
.value__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.vitem { padding: 36px 36px 36px 0; border-inline-end: 1px solid var(--line-light); padding-inline: 0 36px; transition: background .5s; }
.vitem:not(:first-child) { padding-inline-start: 36px; }
.vitem:last-child { border: 0; }
.vitem span { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--gold); display: block; margin-bottom: 18px; }
.vitem h3 { font-size: 21px; font-weight: 300; line-height: 1.45; }
.value__quote { margin: 70px 0 0; max-width: 820px; font-family: var(--font-accent); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.5; color: rgba(245,240,233,.9); padding-inline-start: 34px; border-inline-start: 1px solid var(--gold); }
html[lang="ar"] .value__quote { font-style: normal; font-weight: 300; line-height: 1.8; }

/* =========================================================
   PROCESS
   ========================================================= */
.process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.process__intro > p:not(.eyebrow) { color: var(--ink-soft); max-width: 520px; }
.process__img { margin-top: 40px; aspect-ratio: 16/11; }
.steps { position: relative; padding-top: 20px; }
.steps::before { content: ''; position: absolute; top: 30px; bottom: 30px; inset-inline-start: 31px; width: 1px; background: var(--line); }
.steps::after { content: ''; position: absolute; top: 30px; inset-inline-start: 31px; width: 1px; height: calc((100% - 60px) * var(--p, 0)); background: var(--gold); transition: height .2s linear; }
.step { position: relative; display: flex; gap: 30px; padding-block: 30px; }
.step__n { position: relative; z-index: 1; flex: 0 0 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); background: var(--cream); display: grid; place-items: center; font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--gold-dark); transition: background .5s, color .5s; }
.step.is-in .step__n { background: var(--ink); color: var(--gold); }
.step h3 { font-size: 24px; font-weight: 400; margin: 10px 0 10px; }
.step p { color: var(--ink-soft); margin: 0; }

/* =========================================================
   PROJECTS
   ========================================================= */
.projects { background: var(--white); }
.projects__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 60px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 34px; }
.filter { height: 42px; padding-inline: 20px; border: 1px solid var(--line); border-radius: 40px; font-size: 13px; letter-spacing: .06em; transition: .4s var(--ease); }
html[lang="ar"] .filter { letter-spacing: 0; font-size: 15px; }
.filter:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.pgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.pcard { position: relative; grid-column: span 4; cursor: pointer; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.pcard:nth-child(5n+1) { grid-column: span 7; }
.pcard:nth-child(5n+2) { grid-column: span 5; }
.pcard.is-hidden { display: none; }
.pcard.is-filtering { opacity: 0; transform: translateY(30px) scale(.97); }
.pcard__img { position: relative; overflow: hidden; aspect-ratio: 4/3.2; background: var(--sand); }
.pcard:nth-child(5n+1) .pcard__img { aspect-ratio: 16/10.4; }
.pcard:nth-child(5n+2) .pcard__img { aspect-ratio: 16/14.2; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; }
.pcard:hover .pcard__img img { transform: scale(1.08); }
.pcard__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20,17,18,.6)); opacity: 0; transition: opacity .6s; }
.pcard:hover .pcard__img::after { opacity: 1; }
.pcard__year { position: absolute; top: 18px; inset-inline-start: 18px; z-index: 1; background: rgba(245,240,233,.92); padding: 4px 12px; font-size: 12px; letter-spacing: .1em; font-family: var(--font-en); }
.pcard__meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; }
.pcard__type { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 500; }
html[lang="ar"] .pcard__type { letter-spacing: 0; font-size: 14px; }
.pcard h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 300; margin: 6px 0 4px; transition: color .4s; }
.pcard:hover h3 { color: var(--gold-dark); }
.pcard__loc { font-size: 14px; color: var(--ink-soft); }
.pcard__area { text-align: end; font-family: var(--font-en); font-size: 13px; color: var(--ink-soft); white-space: nowrap; padding-top: 4px; }
.pcard__area strong { display: block; font-size: 22px; font-weight: 300; color: var(--ink); }

/* =========================================================
   SCOPE (horizontal scroll)
   ========================================================= */
.scope { position: relative; background: var(--ink); color: var(--cream); }
.scope__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 90px 40px; }
.scope__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.scope__head .title { margin: 0; }
.scope__lead { max-width: 420px; color: rgba(245,240,233,.65); margin: 0; }
.scope__track { display: flex; gap: 24px; padding-inline: var(--gutter); will-change: transform; width: max-content; }
@media (min-width: 1400px) { .scope__track { padding-inline: calc((100vw - var(--container)) / 2 + var(--gutter)); } }
.scard { position: relative; flex: 0 0 auto; width: clamp(260px, 30vw, 420px); aspect-ratio: 4/5; overflow: hidden; }
.scard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); filter: brightness(.82); }
.scard:hover img { transform: scale(1.08); }
.scard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,17,18,.85)); }
.scard__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.scard__n { font-family: var(--font-serif); font-style: italic; font-size: 52px; color: var(--gold); line-height: .9; opacity: .85; }
.scard h3 { font-size: 24px; font-weight: 300; max-width: 12ch; }
.scope__progress { margin-top: 40px; height: 1px; background: var(--line-light); position: relative; }
.scope__progress i { position: absolute; inset-inline-start: var(--gutter); top: 0; height: 1px; width: calc((100% - var(--gutter) * 2) * var(--p, 0)); background: var(--gold); }

/* =========================================================
   CLIENTS
   ========================================================= */
.clients { overflow: hidden; }
.logos { display: flex; flex-direction: column; gap: 22px; margin-bottom: clamp(70px, 9vw, 110px); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__row { display: flex; gap: 22px; width: max-content; animation: marquee 55s linear infinite; }
.logos__row--rev { animation-direction: reverse; animation-duration: 62s; }
[dir="rtl"] .logos__row { animation-name: marqueeRtl; }
.logos:hover .logos__row { animation-play-state: paused; }
.logo-card { flex: 0 0 auto; width: 200px; height: 110px; display: grid; place-items: center; padding: 18px 26px; background: var(--white); border: 1px solid rgba(31,27,28,.06); transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.logo-card img { width: 100%; height: 100%; max-height: 70px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .65; transition: filter .5s, opacity .5s; }
.logo-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(31,27,28,.35); }
.logo-card:hover img { filter: none; opacity: 1; }
.kp { display: grid; grid-template-columns: 300px 1fr; gap: 60px; border-top: 1px solid var(--line); padding-top: 50px; }
.kp__tabs { display: flex; flex-direction: column; gap: 4px; }
.kp__tab { position: relative; text-align: start; padding: 16px 0; font-size: 20px; font-weight: 300; color: var(--ink-soft); border-bottom: 1px solid var(--line); transition: color .4s, padding .5s var(--ease); }
.kp__tab::before { content: ''; position: absolute; inset-inline-start: 0; top: 50%; width: 0; height: 1px; background: var(--gold); transition: width .5s var(--ease); }
.kp__tab.is-active, .kp__tab:hover { color: var(--ink); }
.kp__tab.is-active { padding-inline-start: 40px; }
.kp__tab.is-active::before { width: 26px; }
.kp__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 40px; align-content: start; }
.kp__list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 16px; opacity: 0; transform: translateY(14px); animation: kpIn .6s var(--ease) forwards; animation-delay: calc(var(--i) * 35ms); }
.kp__list li::before { content: ''; width: 6px; height: 6px; border: 1px solid var(--gold-dark); transform: rotate(45deg); flex: 0 0 6px; }
@keyframes kpIn { to { opacity: 1; transform: none; } }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; overflow: hidden; color: var(--cream); padding-block: clamp(110px, 15vw, 200px); text-align: center; background: var(--ink); }
.cta__bg { position: absolute; inset: -20% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(31,27,28,.35), rgba(31,27,28,.85)); }
.cta__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 44px; }
.cta__title { font-size: clamp(38px, 6vw, 88px); font-weight: 200; max-width: 15ch; letter-spacing: -.02em; }
html[lang="ar"] .cta__title { line-height: 1.35; letter-spacing: 0; }
.cta__title em { color: var(--gold-2); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 8vw, 110px); }
.contact__info > p:not(.eyebrow) { color: var(--ink-soft); max-width: 460px; }
.cinfo { margin-top: 44px; display: flex; flex-direction: column; gap: 6px; }
.cinfo li { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cinfo svg { flex: 0 0 44px; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--gold); border-radius: 50%; fill: none; stroke: var(--gold-dark); stroke-width: 1.4; }
.cinfo small { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; font-weight: 500; }
html[lang="ar"] .cinfo small { letter-spacing: 0; font-size: 14px; }
.cinfo a, .cinfo span { font-size: 17px; }
.cinfo a:hover { color: var(--gold-dark); }
[dir="rtl"] .cinfo a[dir="ltr"] { display: inline-block; }
.cform { background: var(--white); padding: clamp(28px, 4vw, 56px); box-shadow: 0 40px 80px -50px rgba(31,27,28,.35); align-self: start; }
.field { position: relative; margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 22px 0 10px; font: inherit; font-size: 16px; color: var(--ink);
  outline: none; transition: border-color .4s; border-radius: 0; resize: vertical;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; color: var(--ink-soft); padding-top: 16px; }
.field--select::after { content: ''; position: absolute; inset-inline-end: 4px; top: 24px; width: 8px; height: 8px; border-right: 1px solid var(--ink-soft); border-bottom: 1px solid var(--ink-soft); transform: rotate(45deg); pointer-events: none; }
.field label { position: absolute; inset-inline-start: 0; top: 22px; font-size: 16px; color: var(--ink-soft); pointer-events: none; transform-origin: left top; transition: transform .4s var(--ease), color .4s; }
[dir="rtl"] .field label { transform-origin: right top; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-20px) scale(.78); color: var(--gold-dark); }
.field.is-error input { border-color: #b4553f; }
.cform__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.cform__note { margin: 18px 0 0; font-size: 14px; color: var(--gold-dark); min-height: 1.5em; }
.cform__note.is-error { color: #b4553f; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: rgba(245,240,233,.7); padding-top: 80px; }
.footer__top { display: flex; align-items: center; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer__logo { width: 150px; }
.footer__top p { margin: 0; max-width: 460px; font-family: var(--font-accent); font-style: italic; font-size: 20px; color: rgba(245,240,233,.75); }
html[lang="ar"] .footer__top p { font-style: normal; font-size: 17px; }
.footer__up { margin-inline-start: auto; width: 56px; height: 56px; border: 1px solid rgba(196,165,126,.5); border-radius: 50%; display: grid; place-items: center; transition: background .4s, transform .4s var(--ease); }
.footer__up svg { width: 20px; fill: none; stroke: var(--gold); stroke-width: 1.4; transition: stroke .4s; }
.footer__up:hover { background: var(--gold); transform: translateY(-4px); }
.footer__up:hover svg { stroke: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 28px; font-size: 13px; }
.footer__links { display: flex; gap: 26px; }
.footer__links a:hover { color: var(--gold); }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .5s var(--ease); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: pulse 2.4s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }

/* =========================================================
   MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: clamp(0px, 3vw, 40px); visibility: hidden; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,17,18,.88); backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s var(--ease); }
.modal__panel { position: relative; width: min(1280px, 100%); max-height: 100%; background: var(--cream); display: grid; grid-template-columns: 1.6fr 1fr; overflow: hidden; opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.modal.is-open { visibility: visible; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close { position: absolute; top: 16px; inset-inline-end: 16px; z-index: 5; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); transition: transform .5s var(--ease); }
.modal__close:hover { transform: rotate(90deg); }
.modal__close span { position: absolute; left: 15px; right: 15px; top: 50%; height: 1px; background: var(--gold); transform: rotate(45deg); }
.modal__close span + span { transform: rotate(-45deg); }
.modal__gallery { position: relative; background: var(--ink); min-height: 0; display: flex; flex-direction: column; }
.modal__stage { position: relative; flex: 1; min-height: 340px; aspect-ratio: 4/3; overflow: hidden; }
.modal__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.modal__stage img.is-active { opacity: 1; transform: none; }
.modal__nav { position: absolute; top: calc(50% - 60px); width: 50px; height: 50px; border-radius: 50%; background: rgba(245,240,233,.9); display: grid; place-items: center; z-index: 2; transition: background .3s; }
.modal__nav:hover { background: var(--gold); }
.modal__nav svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.modal__nav--prev { left: 16px; } .modal__nav--next { right: 16px; }
.modal__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none; }
.modal__thumbs button { flex: 0 0 90px; height: 64px; opacity: .45; transition: opacity .3s; outline: 1px solid transparent; }
.modal__thumbs button.is-active { opacity: 1; outline-color: var(--gold); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__info { padding: clamp(28px, 4vw, 56px); overflow-y: auto; display: flex; flex-direction: column; }
.modal__info .pcard__type { display: block; margin-bottom: 12px; }
.modal__info h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 300; margin-bottom: 8px; }
.modal__info .loc { color: var(--ink-soft); margin-bottom: 30px; }
.modal__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); margin-bottom: 30px; }
.modal__facts div { padding: 18px 0; }
.modal__facts div + div { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.modal__facts small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 4px; }
html[lang="ar"] .modal__facts small { letter-spacing: 0; font-size: 13px; }
.modal__facts strong { font-weight: 300; font-size: 22px; font-family: var(--font-en); }
html[lang="ar"] .modal__facts strong { font-family: var(--font-ar); }
.modal__info p { color: var(--ink-soft); }
.modal__info .btn { margin-top: auto; align-self: flex-start; }

/* toast */
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 300; transform: translate(-50%, 140%); background: var(--ink); color: var(--cream); padding: 14px 18px 14px 22px; display: flex; align-items: center; gap: 16px; font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); transition: transform .6s var(--ease), visibility 0s .6s; max-width: calc(100% - 32px); border-inline-start: 2px solid var(--gold); visibility: hidden; }
.toast.is-show { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }
.toast button { color: var(--gold); text-decoration: underline; font-size: 14px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .domains { grid-template-columns: repeat(2, 1fr); }
  .domain { aspect-ratio: 4/4.4; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .about__grid, .process__grid, .contact__grid, .services__head { grid-template-columns: 1fr; }
  .services__head { gap: 10px; }
  .group__grid { grid-template-columns: 1fr; }
  .svc-list, .kp { grid-template-columns: 1fr; gap: 30px; }
  .value__grid { grid-template-columns: 1fr; }
  .vitem, .vitem:not(:first-child) { padding: 28px 0; border-inline-end: 0; border-bottom: 1px solid var(--line-light); }
  .pcard, .pcard:nth-child(5n+1), .pcard:nth-child(5n+2) { grid-column: span 6; }
  .pcard .pcard__img, .pcard:nth-child(5n+1) .pcard__img, .pcard:nth-child(5n+2) .pcard__img { aspect-ratio: 4/3.4; }
  .modal__panel { grid-template-columns: 1fr; overflow-y: auto; height: 100%; }
  .modal__stage { aspect-ratio: 4/3; min-height: 0; flex: none; }
  .modal { padding: 0; }
  .kp__tabs { flex-direction: row; overflow-x: auto; gap: 10px; scrollbar-width: none; }
  .kp__tab { flex: 0 0 auto; padding: 10px 18px; border: 1px solid var(--line); border-radius: 40px; font-size: 15px; }
  .kp__tab.is-active { padding-inline-start: 18px; background: var(--ink); color: var(--gold); }
  .kp__tab::before { display: none; }
  /* scope: native swipe */
  .scope { height: auto !important; }
  .scope__sticky { position: relative; height: auto; padding-block: 90px; }
  .scope__head { flex-direction: column; align-items: flex-start; }
  .scope__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; scrollbar-width: none; padding-bottom: 6px; }
  .scope__track::-webkit-scrollbar { display: none; }
  .scard { scroll-snap-align: center; width: 76vw; }
  .scope__progress { display: none; }
}
@media (max-width: 640px) {
  .hero__bars { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 0 22px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-inline-end: 14px; border-inline-end: 1px solid var(--line); }
  .stat:nth-child(even) { padding-inline-start: 18px; }
  .stat:first-child { padding-inline-start: 0; }
  .about__media { padding-inline-end: 40px; padding-bottom: 60px; }
  .about__badge { width: 110px; height: 110px; top: 20px; }
  .about__badge-year { font-size: 24px; }
  .about__badge-ring text { font-size: 15px; }
  .domains { grid-template-columns: 1fr; }
  .domain { aspect-ratio: 4/3.2; }
  .svc-list__items, .kp__list { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; gap: 40px; }
  .pcard, .pcard:nth-child(5n+1), .pcard:nth-child(5n+2) { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cform__actions .btn { flex: 1 1 100%; }
  .footer__top { flex-wrap: wrap; gap: 24px; }
  .footer__links { flex-direction: column; gap: 4px; }
  .modal__facts { grid-template-columns: 1fr 1fr 1fr; }
  .modal__facts strong { font-size: 18px; }
  .install-btn span { display: none; }
  .install-btn { padding-inline: 11px; }
  .logo-card { width: 150px; height: 90px; padding: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__slide { transform: none !important; }
}
