/* Husna.ae
   Flat, editorial, ASICO colours only: navy with one gold accent. English: Soliden headings, Neue Haas Grotesk text.
   Arabic: Almarai (Arabic glyphs only; Latin names and numerals still use the English faces).
   Logical properties throughout, so the Arabic (RTL) pages mirror from the same rules. */

@font-face { font-family: "Soliden"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/soliden-regular.woff2") format("woff2"); }
@font-face { font-family: "Soliden"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/soliden-bold.woff2") format("woff2"); }
@font-face { font-family: "Neue Haas"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/neue-haas-roman.woff2") format("woff2"); }
@font-face { font-family: "Neue Haas"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/neue-haas-italic.woff2") format("woff2"); }
@font-face { font-family: "Neue Haas"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/neue-haas-medium.woff2") format("woff2"); }
@font-face { font-family: "Neue Haas"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/neue-haas-bold.woff2") format("woff2"); }
@font-face { font-family: "Almarai"; font-weight: 300; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; src: url("../fonts/almarai-300.woff2") format("woff2"); }
@font-face { font-family: "Almarai"; font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; src: url("../fonts/almarai-400.woff2") format("woff2"); }
@font-face { font-family: "Almarai"; font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; src: url("../fonts/almarai-700.woff2") format("woff2"); }
@font-face { font-family: "Almarai"; font-weight: 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; src: url("../fonts/almarai-800.woff2") format("woff2"); }

:root {
  --navy:   #14315d;     /* ASICO navy */
  --navy-d: #0e2442;     /* the same navy, darker, for the footer */
  --gold:   #f2b966;     /* ASICO accent: the only accent colour */
  --white:  #fff;
  --soft:   #f4f6f9;
  --text:   #25324a;
  --muted:  #5c6a82;
  --line:   #dde2ea;
  --line-d: rgba(255,255,255,.18);

  --head: "Soliden", "Neue Haas", "Helvetica Neue", Arial, sans-serif;
  --body: "Neue Haas", "Helvetica Neue", Arial, sans-serif;
  --splash: #fff;

  --gutter: 28px;
  --wrap: 1240px;
  --header-h: 80px;
  --sec: clamp(72px, 9vw, 128px);
  --r: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
:root:lang(ar), [lang="ar"] { --head: "Almarai", "Soliden", "Neue Haas", Arial, sans-serif; --body: "Almarai", "Neue Haas", Arial, sans-serif; }

/* --- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.7 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; color: var(--navy); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.on-dark :focus-visible, .footer :focus-visible, .phero :focus-visible { outline-color: var(--gold); }
.skip { position: fixed; inset-inline-start: 12px; top: -64px; z-index: 3000; background: var(--navy); color: #fff; padding: .7rem 1.1rem; transition: top .2s; }
.skip:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* --- Buttons -------------------------------------------------------------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: 0 1.6rem; border: 1.5px solid var(--navy); border-radius: 999px; background: var(--navy); color: #fff; font: 500 .95rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon { transform: translateX(-3px); }
.btn:hover { background: var(--navy-d); border-color: var(--navy-d); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--line { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--line:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--sm { min-height: 42px; padding: 0 1.2rem; font-size: .9rem; }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: .5rem; color: var(--navy); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 2px; }
.link:hover { border-color: var(--gold); }

/* --- Header and mega menus ------------------------------------------------- */

.header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); background: #fff; border-bottom: 1px solid var(--line); }
.header__in { height: 100%; width: min(1360px, 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.nav { margin-inline: auto; height: 100%; }
.nav__list { display: flex; height: 100%; }
.nav__item { display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: .45rem; height: 100%; padding: 0 1rem; border: 0; background: none; color: var(--navy); font: 500 .95rem/1 var(--body); text-decoration: none; cursor: pointer; position: relative; }
.nav__link::after { content: ""; position: absolute; inset-inline: 1rem; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__item.is-open > .nav__link::after, .nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__link .icon { width: .9em; height: .9em; transition: transform .3s var(--ease); }
.nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }

.tools { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.nav + .tools { margin-inline-start: 0; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .55rem; height: 42px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: 500 .88rem/1 var(--body); cursor: pointer; transition: border-color .2s; }
.lang__btn:hover, .lang.is-open .lang__btn { border-color: var(--navy); }
.lang__btn .icon { width: .85em; height: .85em; }
.flag { width: 26px; height: 13px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(20,49,93,.18); }
.lang__menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .2s; z-index: 5; }
.lang.is-open .lang__menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.lang__menu a { display: flex; align-items: center; gap: .7rem; padding: .65rem .7rem; border-radius: 4px; text-decoration: none; color: var(--navy); font-size: .95rem; }
.lang__menu a[lang="ar"] { font-family: "Almarai", sans-serif; font-size: 1rem; }
.lang__menu a:hover, .lang__menu a[aria-current="true"] { background: var(--soft); }

.mega { position: absolute; inset-inline: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .3s var(--ease), visibility 0s .2s; }
.nav__item.is-open > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mega__in { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 320px 1fr 300px; gap: 56px; padding: 44px 0 48px; }
.mega__intro h3 { font-size: 1.6rem; margin-bottom: .8rem; }
.mega__intro p { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.mega__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; align-content: start; }
.mlink { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; }
.mlink .icon { margin-top: 2px; color: var(--navy); width: 22px; height: 22px; stroke-width: 1.4; }
.mlink b { display: block; font: 500 1.02rem/1.3 var(--body); color: var(--navy); }
.mlink span span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.5; margin-top: 2px; }
.mlink:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mfeature { display: block; text-decoration: none; color: var(--navy); }
.mfeature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.mfeature small { display: block; margin-top: 14px; font: 500 .75rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
[lang="ar"] .mfeature small, [lang="ar"] .eyebrow, [lang="ar"] .subnav small, [lang="ar"] .info small, [lang="ar"] .pager small, [lang="ar"] .facts small { letter-spacing: 0; text-transform: none; }
.mfeature b { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 4px; font: 500 1.05rem/1.3 var(--body); }
.mfeature:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; place-items: center; }
.burger .icon { width: 22px; height: 22px; grid-area: 1 / 1; transition: opacity .2s; }
.burger .i-x { opacity: 0; }
.burger[aria-expanded="true"] .i-menu { opacity: 0; }
.burger[aria-expanded="true"] .i-x { opacity: 1; }
.drawer { position: fixed; inset: var(--header-h) 0 0 0; z-index: 999; background: #fff; overflow-y: auto; padding: 8px var(--gutter) 40px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
.drawer.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__btn, .drawer__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 0; border: 0; background: none; font: 400 1.5rem/1.2 var(--head); color: var(--navy); text-decoration: none; cursor: pointer; text-align: start; }
.drawer__btn .icon { transition: transform .3s var(--ease); }
.drawer__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.drawer__btn[aria-expanded="true"] + .drawer__panel { grid-template-rows: 1fr; }
.drawer__panel > div { overflow: hidden; }
.drawer__panel a { display: block; padding: 12px 0; text-decoration: none; color: var(--text); font-size: 1.05rem; }
.drawer__panel a:last-child { margin-bottom: 14px; }
.drawer__lang { display: flex; gap: 10px; margin-top: 24px; }
.drawer__lang a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); }
.drawer__lang a[aria-current="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.drawer__cta { margin-top: 16px; width: 100%; }

@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .burger { display: grid; }
  .tools { margin-inline-start: auto; }
}
@media (min-width: 1101px) { .drawer { display: none; } }

/* --- Home hero: the original photo and animated banner, refined ------------- */

.main { padding-top: var(--header-h); }
.main--home { padding-top: 0; }
.hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: calc(var(--header-h) + 12px) 10px 24px; background: url("../img/husna-project.avif") center / cover no-repeat; }
@supports (height: 100svh) { .hero { min-height: 100svh; } }
.hero__inner { width: 100%; max-width: 1140px; text-align: center; }
.hero__banner { width: 58%; margin-inline: auto; animation: banner-in 1.2s var(--ease) both; }
@keyframes banner-in { from { opacity: 0; transform: translate3d(0, -60%, 0); } to { opacity: 1; transform: none; } }
.hero__copy { max-width: 780px; margin: clamp(28px, 4vw, 52px) auto 0; padding-inline: var(--gutter); animation: rise .9s .5s var(--ease) both; }
.eyebrow { display: block; font: 500 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2rem, 3.7vw, 3.15rem); margin-bottom: 1.2rem; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text); max-width: 640px; margin-inline: auto; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* --- Facts band --------------------------------------------------------------- */

.facts { background: var(--navy); color: #fff; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts div { padding: 34px 28px; border-inline-start: 1px solid var(--line-d); }
.facts div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts small { display: block; font: 500 .72rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: .6rem; }
.facts b { display: block; font: 400 1.2rem/1.3 var(--head); }
[lang="ar"] .facts b { font-weight: 700; font-size: 1.2rem; }

/* --- Page hero (sub-pages): photo with a flat navy veil ----------------------- */

.phero { position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.phero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 36, 66, .8); }
.phero .wrap { animation: rise .8s .05s var(--ease) both; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font: 400 .88rem var(--body); color: rgba(255,255,255,.75); margin-bottom: 2rem; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs .icon { width: .85em; height: .85em; opacity: .6; }
.phero .eyebrow { color: var(--gold); }
.phero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 20ch; }
[lang="ar"] .phero h1 { max-width: 22ch; }
.phero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 44rem; margin: 1.4rem 0 0; }

.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 30; }
.subnav .wrap { display: flex; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.subnav small { font: 500 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.subnav a { position: relative; display: inline-flex; align-items: center; gap: .5rem; height: 60px; color: var(--muted); text-decoration: none; font-size: .95rem; white-space: nowrap; }
.subnav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); }
.subnav a:hover { color: var(--navy); }
.subnav a:hover::after, .subnav a[aria-current="page"]::after { transform: scaleX(1); }
.subnav a[aria-current="page"] { color: var(--navy); font-weight: 500; }

/* --- Sections -------------------------------------------------------------------- */

.sec { padding: var(--sec) 0; }
.sec--soft { background: var(--soft); }
.sec--navy { background: var(--navy); color: rgba(255,255,255,.85); }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec--navy .eyebrow { color: var(--gold); }
.sec--navy .rows li, .sec--navy .rows { border-color: var(--line-d); }
.sec--tight { padding: clamp(48px, 6vw, 80px) 0; }

.editorial { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.editorial__head h2, .h2 { font-size: clamp(1.8rem, 3.1vw, 2.65rem); }
[lang="ar"] .editorial__head h2, [lang="ar"] .h2 { font-size: clamp(1.8rem, 3.3vw, 2.8rem); }
.editorial__head .eyebrow { margin-bottom: 1.4rem; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--navy); }
.sec--navy .lead { color: #fff; }
.prose p { color: var(--text); max-width: 38rem; }
.sec--navy .prose p { color: rgba(255,255,255,.82); }
.prose .btn, .prose .link { margin-top: .6rem; }

.rows { border-bottom: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; padding: 24px 0; border-top: 1px solid var(--line); }
.rows h3 { font: 500 1.15rem/1.35 var(--body); color: var(--navy); letter-spacing: 0; }
[lang="ar"] .rows h3 { font-weight: 700; }
.rows p { margin: 0; color: var(--muted); }
.sec--navy .rows h3 { color: #fff; } .sec--navy .rows p { color: rgba(255,255,255,.72); }
.rows--num li { grid-template-columns: 64px minmax(0, 1fr); align-items: baseline; }
.rows--num li > span:first-child { font: 400 .95rem var(--head); color: var(--muted); }
.rows--link a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding .25s var(--ease); }
.rows--link { border-bottom: 1px solid var(--line); }
.rows--link a:hover { padding-inline-start: 12px; }
.rows--link a > span:first-child { color: var(--muted); font: 400 .95rem var(--head); }
.rows--link h3 { font: 400 clamp(1.4rem, 2.2vw, 1.9rem)/1.2 var(--head); }
[lang="ar"] .rows--link h3 { font-weight: 700; font-size: 1.35rem; }
.rows--link p { margin: .25rem 0 0; color: var(--muted); font-size: .98rem; }
.rows--link .icon { color: var(--navy); transition: transform .25s var(--ease); }
.rows--link a:hover .icon { transform: translateX(6px); }
[dir="rtl"] .rows--link a:hover .icon { transform: translateX(-6px); }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.grid3--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid3--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cell { padding: 36px 32px 40px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
.cell > span { display: block; font: 400 .95rem var(--head); color: var(--muted); margin-bottom: 1.6rem; }
.cell h3 { font: 500 1.25rem/1.3 var(--body); letter-spacing: 0; margin-bottom: .7rem; }
[lang="ar"] .cell h3 { font-weight: 700; }
.cell p { margin: 0; color: var(--muted); }
.cell .icon { width: 28px; height: 28px; stroke-width: 1.3; color: var(--navy); margin-bottom: 1.4rem; display: block; }
.sec--navy .grid3, .sec--navy .cell { border-color: var(--line-d); }
.sec--navy .cell h3 { color: #fff; } .sec--navy .cell p { color: rgba(255,255,255,.72); } .sec--navy .cell > span { color: rgba(255,255,255,.55); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.split--flip > :first-child { order: 2; }
.fig { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--soft); aspect-ratio: 4 / 3; }
.fig--tall { aspect-ratio: 4 / 5; }
.fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.fig:hover img { transform: scale(1.03); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); counter-reset: s; }
.step { padding: 32px 28px 36px; border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); min-height: 220px; display: flex; flex-direction: column; }
.step__n { font: 400 2.4rem/1 var(--head); color: var(--navy); margin-bottom: auto; padding-bottom: 2.4rem; }
.step h3 { font: 500 1.08rem/1.4 var(--body); letter-spacing: 0; }
[lang="ar"] .step h3 { font-weight: 700; }

.callout { background: var(--navy); color: rgba(255,255,255,.86); padding: clamp(32px, 5vw, 64px); border-radius: var(--r); }
.callout h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 1rem; max-width: 24ch; }
.callout p { max-width: 50rem; } .callout p:last-child { margin: 0; }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pager a { display: block; padding: 32px 0; text-decoration: none; transition: background .2s; }
.pager a:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pager small { display: block; font: 500 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.pager b { display: inline-flex; align-items: center; gap: .6rem; font: 400 1.3rem/1.2 var(--head); color: var(--navy); }
[lang="ar"] .pager b { font-weight: 700; font-size: 1.25rem; }
.pager .next { text-align: end; border-inline-start: 1px solid var(--line); padding-inline-end: 0; padding-inline-start: 32px; }
.pager .next b { justify-content: flex-end; }

.cta { background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 112px) 0; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.7rem); max-width: 20ch; }
.cta p { color: rgba(255,255,255,.8); max-width: 34rem; margin: 1.2rem 0 0; }
.cta__side { display: grid; gap: 22px; justify-items: start; }
.verse { font: 400 1.6rem/1.9 "Almarai", serif; color: var(--gold); margin: 0; direction: rtl; }
.verse-en { color: rgba(255,255,255,.7); font-size: .92rem; margin: 0; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery .fig { aspect-ratio: 1; }

/* --- Brochure viewer (pdf.js) ------------------------------------------------------ */

.pdf { --bar: 56px; position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; direction: ltr; height: min(82vh, 760px); min-height: 520px; }
.pdf:fullscreen { height: 100vh; border: 0; border-radius: 0; }
.pdf__bar { display: flex; align-items: center; gap: 4px; min-height: var(--bar); padding: 0 10px; border-bottom: 1px solid var(--line); background: #fff; flex-wrap: wrap; }
.pdf__sp { flex: 1; }
.pdf__sep { width: 1px; height: 24px; background: var(--line); margin: 0 8px; }
.pdf__b { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--navy); cursor: pointer; transition: background .2s; }
.pdf__b:hover { background: var(--soft); }
.pdf__b[aria-pressed="true"] { background: var(--navy); color: #fff; }
.pdf__b[disabled] { opacity: .35; pointer-events: none; }
.pdf__b .icon { width: 20px; height: 20px; }
.pdf__pager { display: inline-flex; align-items: center; gap: 4px; }
.pdf--rtl .pdf__pager { flex-direction: row-reverse; }
.pdf--rtl .pdf__nav--prev { inset-inline-start: auto; inset-inline-end: 12px; }
.pdf--rtl .pdf__nav--next { inset-inline-end: auto; inset-inline-start: 12px; }
.pdf__page { display: inline-flex; align-items: center; gap: 8px; font: 400 .92rem var(--body); color: var(--muted); }
.pdf__page input { width: 54px; height: 36px; text-align: center; border: 1px solid var(--line); border-radius: 4px; font: 500 .95rem var(--body); color: var(--navy); background: #fff; -moz-appearance: textfield; appearance: textfield; }
.pdf__page input::-webkit-outer-spin-button, .pdf__page input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdf__zoom { min-width: 56px; text-align: center; font: 500 .9rem var(--body); color: var(--navy); }
.pdf__main { display: flex; flex: 1; min-height: 0; position: relative; }
.pdf__side { width: 220px; flex: none; border-inline-end: 1px solid var(--line); background: #fff; display: none; flex-direction: column; min-height: 0; }
.pdf.has-side .pdf__side { display: flex; }
.pdf__tabs { display: flex; border-bottom: 1px solid var(--line); }
.pdf__tabs button { flex: 1; height: 44px; border: 0; background: none; font: 500 .88rem var(--body); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.pdf__tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.pdf__list { overflow-y: auto; flex: 1; padding: 12px; }
.pdf__thumb { display: block; width: 100%; padding: 0; margin: 0 0 12px; border: 2px solid transparent; border-radius: 4px; background: var(--soft); cursor: pointer; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.pdf__thumb canvas { width: 100%; height: 100%; display: block; }
.pdf__thumb span { position: absolute; inset-inline-start: 6px; bottom: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(14,36,66,.85); color: #fff; font: 500 .72rem var(--body); }
.pdf__thumb[aria-current="true"] { border-color: var(--gold); }
.pdf__chap { display: grid; grid-template-columns: 32px 1fr; gap: 6px; width: 100%; padding: 12px 6px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: start; cursor: pointer; font: 400 .92rem/1.35 var(--body); color: var(--text); direction: inherit; }
.pdf__chap:hover { color: var(--navy); background: var(--soft); }
.pdf__chap i { font: normal 500 .8rem var(--body); color: var(--muted); }
.pdf__chap[aria-current="true"] { color: var(--navy); font-weight: 500; }
.pdf__stage { flex: 1; min-width: 0; overflow: auto; background: #e9edf2; position: relative; cursor: grab; display: grid; place-items: center; touch-action: pan-x pan-y pinch-zoom; }
.pdf__stage.is-drag { cursor: grabbing; }
.pdf__canvas { display: block; background: #fff; box-shadow: 0 0 0 1px rgba(20,49,93,.12); margin: 16px; max-width: none; }
.pdf__prog { position: absolute; inset: 0 0 auto 0; height: 3px; background: transparent; z-index: 2; }
.pdf__prog i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.pdf__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--navy); cursor: pointer; display: grid; place-items: center; z-index: 2; opacity: 0; transition: opacity .2s; box-shadow: 0 0 0 1px var(--line); }
.pdf__main:hover .pdf__nav, .pdf__nav:focus-visible { opacity: 1; }
.pdf__nav--prev { inset-inline-start: 12px; } .pdf__nav--next { inset-inline-end: 12px; }
[dir="rtl"] .pdf__nav--prev .icon, [dir="rtl"] .pdf__nav--next .icon { transform: none; }
.pdf__load { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; text-align: center; background: #e9edf2; color: var(--navy); z-index: 3; font: 400 .98rem var(--body); direction: initial; }
.pdf__load[hidden] { display: none; }
.pdf__load b { display: block; font: 400 2rem var(--head); }
.pdf__load progress { width: 220px; height: 4px; border: 0; background: var(--line); accent-color: var(--navy); }
.pdf__toast { position: absolute; inset-inline: 0; bottom: 20px; margin-inline: auto; width: max-content; max-width: 90%; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: #fff; font: 400 .9rem var(--body); opacity: 0; transition: opacity .25s; z-index: 4; pointer-events: none; }
.pdf__toast.on { opacity: 1; }
.pdf__fallback { padding: 28px; }
@media (max-width: 800px) { .pdf { min-height: 440px; height: 70vh; } .pdf__side { position: absolute; inset: 0 auto 0 0; z-index: 5; width: min(260px, 80%); } .pdf__sep, .pdf__hide-s { display: none; } .pdf__nav { opacity: 1; width: 40px; height: 40px; } }

/* --- Film player ------------------------------------------------------------------- */

.vp { position: relative; background: #000; border-radius: var(--r); overflow: hidden; direction: ltr; aspect-ratio: 16 / 9; user-select: none; -webkit-user-select: none; }
.vp:fullscreen { border-radius: 0; aspect-ratio: auto; }
.vp video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.vp__big { position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border: 0; border-radius: 50%; background: var(--gold); color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease), opacity .25s; z-index: 2; }
.vp__big:hover { transform: scale(1.06); }
.vp__big .icon { width: 34px; height: 34px; fill: currentColor; stroke: none; margin-inline-start: 4px; }
.vp.is-playing .vp__big { opacity: 0; pointer-events: none; transform: scale(.8); }
.vp__flash { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: rgba(14,36,66,.8); color: #fff; display: grid; place-items: center; opacity: 0; pointer-events: none; z-index: 2; font: 500 .95rem var(--body); }
.vp__flash.on { animation: flash .6s var(--ease); }
@keyframes flash { 0% { opacity: 1; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.25); } }
.vp__ctl { position: absolute; inset: auto 0 0 0; z-index: 3; background: rgba(10,22,42,.92); color: #fff; padding: 0 12px 8px; transform: translateY(0); transition: transform .3s var(--ease), opacity .3s; }
.vp.is-idle.is-playing .vp__ctl { transform: translateY(100%); opacity: 0; }
.vp.is-idle.is-playing { cursor: none; }
.vp__seek { position: relative; height: 18px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.vp__seek::before { content: ""; position: absolute; inset-inline: 0; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); transition: height .15s; }
.vp__seek:hover::before, .vp__seek.is-drag::before { height: 6px; }
.vp__buf, .vp__cur { position: absolute; inset-inline-start: 0; height: 4px; border-radius: 2px; pointer-events: none; transition: height .15s; }
.vp__seek:hover .vp__buf, .vp__seek:hover .vp__cur, .vp__seek.is-drag .vp__buf, .vp__seek.is-drag .vp__cur { height: 6px; }
.vp__buf { background: rgba(255,255,255,.4); width: 0; }
.vp__cur { background: var(--gold); width: 0; }
.vp__knob { position: absolute; width: 14px; height: 14px; margin-inline-start: -7px; border-radius: 50%; background: var(--gold); inset-inline-start: 0; transform: scale(0); transition: transform .15s; pointer-events: none; }
.vp__seek:hover .vp__knob, .vp__seek.is-drag .vp__knob { transform: scale(1); }
.vp__tip { position: absolute; bottom: 24px; padding: 3px 8px; border-radius: 4px; background: #fff; color: var(--navy); font: 500 .78rem var(--body); transform: translateX(-50%); pointer-events: none; opacity: 0; white-space: nowrap; }
.vp__seek:hover .vp__tip { opacity: 1; }
.vp__row { display: flex; align-items: center; gap: 2px; }
.vp__b { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: background .15s; position: relative; }
.vp__b:hover { background: rgba(255,255,255,.14); }
.vp__b[aria-pressed="true"] { color: var(--gold); }
.vp__b .icon { width: 21px; height: 21px; }
.vp__b .fill { fill: currentColor; stroke: none; }
.vp__time { font: 400 .85rem var(--body); font-variant-numeric: tabular-nums; margin-inline: 8px; color: rgba(255,255,255,.92); white-space: nowrap; }
.vp__sp { flex: 1; }
.vp__vol { display: flex; align-items: center; }
.vp__vol input { width: 0; opacity: 0; transition: width .2s var(--ease), opacity .2s; accent-color: var(--gold); height: 4px; margin: 0; }
.vp__vol:hover input, .vp__vol:focus-within input { width: 78px; opacity: 1; margin-inline: 4px 8px; }
.vp__menu { position: absolute; inset-inline-end: 8px; bottom: 62px; min-width: 150px; padding: 6px; border-radius: var(--r); background: #fff; color: var(--navy); display: none; z-index: 4; }
.vp__menu.on { display: block; }
.vp__menu b { display: block; padding: 6px 10px; font: 500 .72rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vp__menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 8px 10px; border: 0; border-radius: 4px; background: none; font: 400 .92rem var(--body); color: var(--navy); cursor: pointer; text-align: start; }
.vp__menu button:hover { background: var(--soft); }
.vp__menu button[aria-checked="true"] { font-weight: 500; }
.vp__menu button[aria-checked="true"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 1px var(--navy); }
.vp__toast { position: absolute; inset-inline: 0; top: 16px; margin-inline: auto; width: max-content; padding: 8px 16px; border-radius: 999px; background: rgba(14,36,66,.92); color: #fff; font: 400 .88rem var(--body); opacity: 0; transition: opacity .25s; z-index: 4; pointer-events: none; }
.vp__toast.on { opacity: 1; }
.vp__help { color: var(--muted); font-size: .85rem; margin-top: 12px; }
@media (max-width: 640px) { .vp__big { width: 68px; height: 68px; } .vp__vol, .vp__hide-s { display: none; } .vp__time { margin-inline: 4px; font-size: .78rem; } }

/* --- Contact -------------------------------------------------------------------------- */

.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 112px); align-items: start; }
.info { margin-top: 2.2rem; border-bottom: 1px solid var(--line); }
.info > a, .info > div { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; }
.info .icon { margin-top: 3px; color: var(--navy); width: 22px; height: 22px; stroke-width: 1.4; }
.info small { display: block; font: 500 .72rem var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info b { font: 500 1.05rem/1.45 var(--body); color: var(--navy); word-break: break-word; }
.info a:hover b { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.form { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.form h2 { font-size: 2rem; margin-bottom: .5rem; }
.form .note { color: var(--muted); margin-bottom: 1.8rem; }
.field { margin-bottom: 20px; }
.field label { display: block; font: 500 .88rem var(--body); color: var(--navy); margin-bottom: 8px; }
.field .req { color: var(--navy); margin-inline-start: 3px; }
.field input, .field textarea { width: 100%; font: 400 1rem var(--body); padding: .95rem 1rem; border: 1px solid #c8d0dc; border-radius: var(--r); background: #fff; color: var(--text); transition: border-color .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.field .err { display: none; color: #b3261e; font-size: .86rem; margin: 7px 0 0; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b3261e; }
.field.is-invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.check a { color: var(--navy); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; min-height: 56px; }
.form-status { margin: 14px 0 0; font-size: .95rem; min-height: 1.4em; }
.form-status.is-err { color: #b3261e; }
.done { padding: 20px 0; }
.done h2 { margin-bottom: .6rem; }

/* --- Footer ---------------------------------------------------------------------------- */

.footer { background: var(--navy-d); color: rgba(255,255,255,.75); padding: clamp(64px, 7vw, 96px) 0 0; font-size: .98rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
.footer__logo { height: 54px; width: auto; margin-bottom: 1.4rem; }
.partners { display: inline-flex; padding: 12px 16px; border-radius: var(--r); background: #fff; margin-bottom: 1.4rem; }
.partners img { height: 28px; width: auto; }
.footer p { line-height: 1.7; max-width: 24rem; }
.footer h4 { color: #fff; font: 500 .75rem var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.3rem; }
[lang="ar"] .footer h4 { letter-spacing: 0; text-transform: none; font-size: .95rem; font-weight: 700; }
.footer li { margin-bottom: .7rem; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer .row { display: flex; gap: 12px; align-items: flex-start; }
.footer .row .icon { margin-top: 4px; color: var(--gold); width: 1.1em; height: 1.1em; }
.footer__bar { margin-top: 64px; padding: 24px 0 32px; border-top: 1px solid var(--line-d); display: flex; gap: 12px 32px; justify-content: space-between; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer__bar p { margin: 0; max-width: none; }
.to-top { position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 900; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease), background .2s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--navy); }

/* --- Reveal ----------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* --- Splash (home) ------------------------------------------------------------------------ */

#loader { position: fixed; inset: 0; z-index: 9999; display: flex; justify-content: center; align-items: center; background: var(--splash); transition: opacity .6s; }
#lottie-loader { width: min(300px, 60vw); aspect-ratio: 300 / 156; }

[hidden] { display: none !important; }

/* --- Responsive --------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .editorial, .split, .contact, .cta .wrap { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .grid3, .grid3--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line-d); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .fig, .fig--tall { aspect-ratio: 16 / 10; }
}
@media (max-width: 767px) {
  :root { --header-h: 68px; --gutter: 20px; }
  .hero { min-height: auto; padding-bottom: 56px; }
  .hero__banner { width: 88%; }
  .grid3, .grid3--2, .grid3--4, .steps, .pager, .footer__grid, .facts .wrap { grid-template-columns: 1fr; }
  .facts div, .facts div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line-d); }
  .facts div:first-child { border-top: 0; }
  .rows--num li, .rows--link a { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .rows--num li { grid-template-columns: 44px minmax(0, 1fr); }
  .pager .next { border-inline-start: 0; border-top: 1px solid var(--line); padding-inline-start: 0; text-align: start; }
  .pager .next b { justify-content: flex-start; }
  .phero h1 { max-width: none; }
  .brand img { height: 36px; }
  .lang__btn span.t { display: none; }
}
@media (max-height: 480px) and (orientation: landscape) { .hero { min-height: auto; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
