/* ==========================================================================
   ARWA for Business Services: customs clearance
   One bilingual page (Arabic RTL by default, English LTR).
   Light theme: white and light-blue surfaces, navy text, yellow as a small accent.
   Logical properties everywhere so the same rules serve both directions.
   ========================================================================== */

:root {
  --navy-900: #0f1f45;
  --navy-800: #1d1b5e;
  --blue-700: #1b5c9e;
  --blue-600: #2474c0;
  --blue-500: #33a9e0;
  --blue-300: #8fd3f4;
  --sky-200: #cfe9f8;
  --sky-100: #e6f4fc;
  --sky-50: #f3f9fe;
  --yellow: #fdc010;
  --green: #3ddc97;

  --ink: #12224a;
  --ink-soft: #4a5a78;
  --ink-mute: #7d8aa3;
  --line: #dcebf6;
  --paper: var(--sky-50);
  --white: #ffffff;

  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 84px;
  --radius: 24px;
  --radius-lg: 36px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 40px 80px -40px rgba(36, 116, 192, .35);
  --sign: -1; /* flips direction-dependent transforms */
}
[dir="ltr"] { --sign: 1; }

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[lang="en"] body { line-height: 1.7; }
main, footer { overflow-x: clip; } /* clip (not hidden) keeps Lenis and pinning intact */
img, svg { display: block; max-width: 100%; }
img { 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, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.3; text-wrap: balance; color: var(--navy-900); }
[lang="en"] h1, [lang="en"] h2 { letter-spacing: -0.025em; line-height: 1.08; }
[lang="en"] h3 { letter-spacing: -0.01em; }
em { font-style: normal; }
::selection { background: var(--blue-500); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--mono); font-feature-settings: "zero" 0; letter-spacing: 0.02em; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(96px, 13vw, 180px); }

.skip-link {
  position: fixed; inset-inline-start: 16px; top: -60px; z-index: 10001;
  background: var(--blue-600); color: var(--white); padding: 10px 18px; border-radius: 999px; font-weight: 600;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .9rem; font-weight: 500; color: var(--blue-600);
  margin-block-end: 28px;
}
.eyebrow .mono {
  font-size: .75rem; padding: 4px 10px; border-radius: 999px;
  border: 1px solid currentColor; line-height: 1.4;
}
.eyebrow--light { color: var(--blue-600); }

.pulse {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue-600); --fg: var(--white); --hover: var(--blue-700); --hover-fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  background: var(--bg); color: var(--fg);
  transition: color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover);
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover { color: var(--hover-fg); }
.btn:hover::before { transform: translateY(0); }
.btn__arrow { width: 18px; height: 18px; transition: transform .5s var(--ease); }
[dir="rtl"] .btn__arrow { transform: scaleX(-1); }
.btn:hover .btn__arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(4px); }
.btn--primary { box-shadow: 0 18px 36px -18px rgba(36, 116, 192, .7); }
.btn--ghost { --bg: rgba(255,255,255,.6); --fg: var(--blue-700); --hover: var(--blue-600); border: 1px solid rgba(36,116,192,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--light { --bg: var(--white); --fg: var(--blue-600); --hover: var(--sky-100); --hover-fg: var(--blue-700); }
.btn--sm { padding: 12px 22px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: radial-gradient(120% 80% at 50% 120%, var(--sky-100) 0%, var(--white) 60%);
  color: var(--ink);
}
.preloader__inner { width: min(360px, 80vw); display: grid; gap: 22px; justify-items: center; }
.preloader__mark { width: 84px; }
.preloader__meta { width: 100%; display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-mute); direction: ltr; }
.preloader__count { color: var(--blue-600); }
.preloader__bar { width: 100%; height: 2px; background: var(--sky-100); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--blue-600)); transform: scaleX(0); transform-origin: left; }

/* ---------- Language curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 9500; visibility: hidden;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--white), var(--sky-100) 50%, var(--blue-300));
  clip-path: inset(100% 0 0 0);
}
.curtain img { width: 72px; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 9999; pointer-events: none; display: none; opacity: 0; transition: opacity .4s; }
.cursor.is-visible { opacity: 1; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--blue-600); }
.cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(36,116,192,.55); transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .4s, border-color .4s; }
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(51,169,224,.15); border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1001; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-300), var(--blue-600)); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .scroll-progress span { transform-origin: right; background: linear-gradient(-90deg, var(--blue-300), var(--blue-600)); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  color: var(--ink);
  transition: transform .6s var(--ease), background-color .5s var(--ease), border-color .5s, box-shadow .5s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(36,116,192,.35);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: 100%; max-width: calc(var(--container) + 120px); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.header__brand img { height: 40px; width: auto; }
.header__nav { display: flex; gap: 6px; margin-inline: auto; }
.header__nav a {
  position: relative; padding: 8px 14px; font-size: .95rem; font-weight: 500; color: var(--ink-soft);
  transition: color .3s;
}
.header__nav a::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue-500);
  transform: scaleX(0); transition: transform .5s var(--ease);
}
.header__nav a:hover, .header__nav a.is-active { color: var(--blue-600); }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 12px; }

.lang {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 92px; height: 42px; padding: 4px;
  border-radius: 999px; border: 1px solid var(--sky-200); background: rgba(255,255,255,.7); font-size: .85rem; font-weight: 600;
}
.lang__opt { position: relative; z-index: 1; display: grid; place-items: center; transition: color .5s var(--ease); color: var(--ink-soft); }
.lang__pill {
  position: absolute; top: 4px; bottom: 4px; inset-inline-start: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--blue-600);
  transition: transform .7s var(--ease);
}
[lang="ar"] .lang__opt[data-l="ar"], [lang="en"] .lang__opt[data-l="en"] { color: var(--white); }
[lang="en"] .lang__pill { transform: translateX(100%); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--sky-200); background: rgba(255,255,255,.7); position: relative; color: var(--blue-700); }
.burger span { position: absolute; inset-inline: 14px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 999; display: none; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  background: linear-gradient(180deg, var(--white), var(--sky-100)); color: var(--navy-900);
  clip-path: circle(0% at var(--mx, 90%) 40px);
}
.menu__nav { display: grid; gap: 6px; }
.menu__nav a { display: flex; align-items: baseline; gap: 16px; font-size: clamp(2rem, 8vw, 3rem); font-weight: 600; line-height: 1.4; }
.menu__nav .mono { font-size: .8rem; color: var(--blue-500); font-weight: 400; }
.menu__foot { display: grid; gap: 8px; color: var(--ink-mute); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: calc(var(--header-h) + 40px) 0;
  background: var(--sky-50);
  color: var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__photo { position: absolute; inset: 0; overflow: hidden; will-change: transform; }
/* .hero__ship carries the sail-in entrance, .hero__bob the camera drift, the img/canvas only the mirror */
.hero__ship, .hero__bob { position: absolute; inset: 0; will-change: transform; }
.hero__ship { transform: scale(1.06); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
/* the ship sits on the photo's right: mirror it in Arabic so it lands on the side without text */
[dir="rtl"] .hero__photo img, [dir="rtl"] .hero__water { transform: scaleX(-1); }
/* the live water shader (hero-water.js) takes over from the photo once its texture is ready */
.hero__water { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.hero--live .hero__water { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 68%, rgba(243,249,254,.96) 100%),
    linear-gradient(to left, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,.4) 56%, rgba(255,255,255,0) 74%);
}
[dir="ltr"] .hero__shade {
  background:
    linear-gradient(180deg, rgba(255,255,255,.6) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 68%, rgba(243,249,254,.96) 100%),
    linear-gradient(to right, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 34%, rgba(255,255,255,.4) 56%, rgba(255,255,255,0) 74%);
}
.hero__grid { position: relative; flex: 1; display: flex; align-items: center; }
.hero__content { max-width: 680px; padding-block: 40px; }
.hero__title { font-size: clamp(2.5rem, 5.6vw, 5.4rem); font-weight: 600; line-height: 1.22; margin-block-end: 28px; }
[lang="en"] .hero__title { line-height: 1.02; }
/* highlighted word: blue over a soft yellow marker stroke */
.hero__title em {
  color: var(--blue-600);
  background: linear-gradient(transparent 68%, rgba(253, 192, 16, .45) 68% 90%, transparent 90%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--ink-soft); max-width: 560px; margin-block-end: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__foot {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 28px 36px; border-top: 1px solid rgba(36,116,192,.15);
}
.hero__points { display: flex; gap: clamp(20px, 4vw, 56px); flex-wrap: wrap; }
.hero__points li { display: flex; gap: 14px; align-items: center; }
.hero__points svg { width: 28px; height: 28px; color: var(--blue-500); flex: none; }
.hero__points strong { display: block; font-weight: 600; font-size: .98rem; line-height: 1.4; color: var(--navy-900); }
.hero__points span { font-size: .85rem; color: var(--ink-mute); line-height: 1.4; }
.scroll-cue { width: 28px; height: 46px; border-radius: 20px; border: 1px solid rgba(36,116,192,.35); display: grid; justify-items: center; padding-top: 8px; flex: none; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 3px; background: var(--blue-500); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-600)); color: var(--white);
  padding-block: 22px; transform: rotate(-1.5deg) scale(1.03); margin-block: -14px;
  box-shadow: 0 20px 40px -24px rgba(36,116,192,.6);
}
[dir="rtl"] .marquee { transform: rotate(1.5deg) scale(1.03); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); padding-inline-end: clamp(24px, 3vw, 48px); flex: none; }
.marquee__group span { font-size: clamp(1.4rem, 3vw, 2.5rem); font-weight: 600; white-space: nowrap; line-height: 1.3; }
.marquee__group img { width: auto; height: clamp(26px, 3vw, 40px); filter: brightness(0) invert(1); opacity: .9; }

/* ---------- 3D logo stage (#story) ----------
   With WebGL and motion, the section pins and the 3D mark assembles as you
   scroll; otherwise the flat SVG logo shows, centred, with its caption. */
.story {
  position: relative; overflow: hidden;
  background: radial-gradient(80% 70% at 50% 45%, var(--white) 0%, var(--sky-100) 70%, var(--sky-200) 100%);
}
.story__pin { position: relative; display: grid; grid-template-rows: 1fr auto; padding-block: clamp(96px, 12vw, 160px); }
.story__glow {
  position: absolute; top: 50%; left: 50%; width: 60vmin; height: 60vmin; margin: -34vmin 0 0 -30vmin;
  border-radius: 50%; background: var(--blue-300); filter: blur(120px); opacity: .45; pointer-events: none;
}
.story__stage { position: relative; display: grid; place-items: center; min-height: 320px; }
.story__logo { --h: clamp(70px, 9vw, 130px); position: relative; display: flex; align-items: center; gap: calc(var(--h) * .17); direction: ltr; }
.story__mark { height: var(--h); width: calc(var(--h) * 484 / 376); overflow: visible; }
.piece__fold { opacity: .5; mix-blend-mode: screen; }
.story__word { height: calc(var(--h) * 1.04); aspect-ratio: 1043 / 392; background: url("../img/logo.png") right center / auto 100% no-repeat; }
.story__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.story--3d .story__canvas { display: block; }
.story--3d .story__logo { display: none; }
.story__caption { position: relative; text-align: center; padding-block-start: 32px; }
.story__caption .eyebrow { margin-block-end: 14px; }
.story__line { color: var(--ink-soft); font-size: 1.1rem; max-width: 560px; margin-inline: auto; }

@media (prefers-reduced-motion: no-preference) {
  .js .story--3d .story__pin { height: 100vh; height: 100svh; min-height: 600px; padding-block: calc(var(--header-h) + 8px) 56px; }
}

/* ---------- ScrollReveal (port of the React Bits component) ---------- */
.scroll-reveal-text { display: block; }
.scroll-reveal-word, .scroll-reveal-piece { display: inline-block; }

/* ---------- About ---------- */
.about { background: var(--white); }
.statement {
  font-size: clamp(1.7rem, 3.5vw, 3.3rem); font-weight: 500; line-height: 1.5; color: var(--navy-900);
  max-width: 1150px; margin-block-end: clamp(64px, 9vw, 120px);
}
[lang="en"] .statement { line-height: 1.2; }
.about__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: #bcdcf4; box-shadow: var(--shadow); }
.about__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 72% 50%; }
.about__text > p { color: var(--ink-soft); margin-block-end: 20px; }
.checklist { display: grid; gap: 14px; margin-block: 32px; }
.checklist li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.checklist li > span:first-child { width: 30px; height: 30px; border-radius: 50%; background: var(--blue-600); color: var(--white); display: grid; place-items: center; flex: none; }
.checklist svg { width: 14px; height: 14px; }
.sectors__label { font-size: .85rem; font-weight: 500; color: var(--ink-mute); margin-block-end: 12px; }
[lang="en"] .sectors__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.sectors ul { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li { padding: 8px 18px; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--line); font-size: .92rem; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.sectors li:hover { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-block-start: clamp(72px, 10vw, 140px); border-top: 1px solid var(--line); }
.facts li { padding-block-start: 32px; display: grid; gap: 6px; border-inline-start: 1px solid var(--line); padding-inline: 28px; }
.facts li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts strong { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 600; line-height: 1.1; color: var(--blue-600); }
.facts strong.mono { font-weight: 500; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Growth story ----------
   Full width: the 3D ship (ship3d.js) fills the section, and the chapters sit on
   the inline-start side over a soft white fade, the same build as the hero. With
   WebGL the section pins and the ship grows as you scroll; otherwise the photo
   shows with the last chapter. */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 24px) 48px; background: var(--sky-100);
}
.band__grid { position: relative; z-index: 1; width: 100%; }
.band__content { max-width: 520px; }
.band__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block-end: 28px; }
.band__top .eyebrow { margin: 0; }
.band__count { white-space: nowrap; flex: none; direction: ltr; unicode-bidi: isolate; font-size: .8rem; color: var(--blue-600); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--sky-200); background: rgba(255,255,255,.8); display: none; }
/* chapters stack in one grid cell; without the 3D ship only the last one shows */
.band__chapters { display: grid; align-items: start; }
.band__chapter { grid-area: 1 / 1; }
.band__chapter:not(:last-child) { display: none; }
.band__heading { font-size: clamp(2.1rem, 4vw, 3.8rem); font-weight: 600; color: var(--navy-900); margin-block-end: 18px; }
.band__text { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-soft); max-width: 460px; }
.band__bars { display: none; gap: 8px; margin-block-start: 40px; max-width: 320px; }
.band__bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(36,116,192,.18); overflow: hidden; }
.band__bars i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-300), var(--blue-600)); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .band__bars i { transform-origin: right; background: linear-gradient(-90deg, var(--blue-300), var(--blue-600)); }

/* the scene fills the whole section */
.band__stage { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.band__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.band__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
/* label pinned to Palestine on the globe; globe-route.js moves it every frame */
.band__pin {
  position: absolute; top: 0; left: 0; z-index: 1; display: none; pointer-events: none; opacity: 0;
  margin: -46px 0 0 -10px; padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--navy-900);
  background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 10px 24px -12px rgba(15,31,69,.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.band--3d .band__pin { display: inline-flex; }
/* white fade behind the text (inline-start), plus soft blends into the sections above and below */
.band__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 14%, rgba(243,249,254,0) 86%, rgba(243,249,254,.9) 100%),
    linear-gradient(to left, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 28%, rgba(255,255,255,0) 52%);
}
[dir="ltr"] .band__stage::after {
  background:
    linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 14%, rgba(243,249,254,0) 86%, rgba(243,249,254,.9) 100%),
    linear-gradient(to right, rgba(255,255,255,.94) 0%, rgba(255,255,255,.78) 28%, rgba(255,255,255,0) 52%);
}
.band__coords {
  position: absolute; z-index: 1; bottom: 32px; inset-inline-end: var(--gutter);
  display: inline-flex; align-items: center; gap: 10px; direction: ltr;
  padding: 7px 14px; border-radius: 999px; font-size: .75rem; color: var(--navy-900);
  background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

.band--3d .band__canvas { display: block; }
.band--3d .band__stage img { display: none; }
.band--3d .band__chapter:not(:last-child) { display: block; }
.band--3d .band__count { display: inline-block; }
.band--3d .band__bars { display: flex; }

@media (max-width: 991px) {
  /* the ship takes the top of the screen, the text sits at the bottom */
  .band { align-items: flex-end; padding-block-end: 40px; }
  .band__stage::after, [dir="ltr"] .band__stage::after {
    background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 14%, rgba(255,255,255,0) 44%, rgba(255,255,255,.9) 62%, rgba(243,249,254,.98) 100%);
  }
  .band__coords { top: calc(var(--header-h) + 12px); bottom: auto; }
  .band__top { margin-block-end: 16px; }
  .band__bars { margin-block-start: 22px; }
}

/* ---------- Section head ---------- */
.section-head { max-width: 760px; margin-block-end: clamp(48px, 7vw, 88px); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); margin-block-end: 20px; }
.section-head__lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 620px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-head__lead { margin-inline: auto; }

/* ---------- Services ----------
   Editorial layout: the heading stays pinned on one side while the service
   cards stack on the other. Each card is a link to the quote form. */
.services { background: var(--sky-50); }
.services__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.services__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.services__intro h2 { font-size: clamp(2.1rem, 4.2vw, 3.8rem); margin-block-end: 20px; }
.services__intro .section-head__lead { margin-block-end: 36px; }
/* Each service is a card; scroll-stack.js pins them so they stack as you scroll */
.services__list { position: relative; }
.scroll-stack__slot { position: sticky; }
.srow {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "num go" "body body";
  align-content: space-between; gap: 28px;
  min-height: clamp(240px, 26vw, 300px); padding: clamp(28px, 3vw, 44px);
  border-radius: 28px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 -12px 40px -22px rgba(36,116,192,.35), 0 30px 60px -36px rgba(15,31,69,.35);
  transform-origin: 50% 0; will-change: transform;
}
/* soft light-blue glow in the corner, brighter on hover */
.srow::before {
  content: ""; position: absolute; z-index: -1; inset-inline-end: -20%; top: -40%; width: 70%; height: 120%;
  background: radial-gradient(closest-side, var(--sky-100), transparent); opacity: .7;
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.srow:hover::before, .srow:focus-visible::before { opacity: 1; transform: scale(1.15); }
/* the card underneath darkens slightly as the next one covers it */
.scroll-stack-card__shade { position: absolute; inset: 0; border-radius: inherit; background: var(--navy-900); opacity: var(--scroll-stack-dim, 0); pointer-events: none; }
.srow__num {
  grid-area: num; align-self: start;
  font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(36,116,192,.35);
  transition: color .5s var(--ease), -webkit-text-stroke-color .5s;
}
.srow:hover .srow__num { color: var(--blue-600); -webkit-text-stroke-color: var(--blue-600); }
.srow__body { grid-area: body; }
.srow h3 { font-size: clamp(1.5rem, 2.3vw, 2.1rem); margin-block-end: 10px; transition: color .4s; }
.srow:hover h3 { color: var(--blue-600); }
.srow p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; max-width: 520px; }
.srow__go {
  grid-area: go; align-self: start;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--sky-200); color: var(--blue-600); background: var(--white);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s, scale .6s var(--ease);
}
.srow__go svg { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform .6s var(--ease); }
[dir="rtl"] .srow__go svg { transform: scaleX(-1) rotate(-45deg); }
.srow:hover .srow__go { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); scale: 1.06; }
.srow:hover .srow__go svg { transform: rotate(0deg); }
[dir="rtl"] .srow:hover .srow__go svg { transform: scaleX(-1) rotate(0deg); }
/* without the stack (no JS) the cards simply sit in a column */
.services__list:not(.scroll-stack) { display: grid; gap: 16px; }


/* ---------- Process ----------
   Base layout is a vertical timeline; on wide screens with motion allowed
   it becomes a pinned horizontal track (media query at the end of this block). */
.process { position: relative; background: linear-gradient(180deg, var(--sky-100), var(--sky-50)); overflow: hidden; }
.process__viewport { position: relative; display: flex; flex-direction: column; padding-block-end: 96px; }
.process__hud { display: flex; align-items: center; gap: 28px; padding-block-start: 96px; max-width: none; }
.process__hud .eyebrow { margin: 0; white-space: nowrap; }
.process__rail { position: relative; flex: 1; height: 2px; border-radius: 2px; background: rgba(36,116,192,.15); display: none; }
.process__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue-300), var(--blue-600)); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .process__fill { transform-origin: right; background: linear-gradient(-90deg, var(--blue-300), var(--blue-600)); }
.process__runner { --p: 0; position: absolute; top: -10px; inset-inline-start: calc(var(--p) * (100% - 46px)); width: 46px; height: 22px; color: var(--blue-600); }
.process__runner svg { width: 100%; height: 100%; }
.process__counter { font-size: .85rem; color: var(--ink-mute); direction: ltr; display: none; }

.process__track { display: flex; flex-direction: column; gap: 48px; padding-inline: var(--gutter); }
.process__intro { padding-block-start: 24px; }
.process__intro h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); margin-block-end: 22px; }
.process__intro p { color: var(--ink-soft); font-size: 1.1rem; max-width: 440px; }
.process__steps { display: grid; gap: 16px; }
.pstep {
  position: relative;
  padding: 36px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: border-color .6s var(--ease), box-shadow .6s var(--ease);
}
.pstep__num {
  font-size: 4rem; line-height: 1; font-weight: 500; margin-block-end: auto;
  color: transparent; -webkit-text-stroke: 1px rgba(36,116,192,.3);
  transition: color .6s var(--ease), -webkit-text-stroke-color .6s;
}
.pstep__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--sky-100); color: var(--blue-600); margin-block: 20px 16px; transition: background-color .6s, color .6s; }
.pstep__icon svg { width: 26px; height: 26px; }
.pstep h3 { font-size: 1.45rem; margin-block-end: 10px; }
.pstep p { color: var(--ink-soft); line-height: 1.75; }
.pstep.is-active { border-color: var(--blue-500); box-shadow: var(--shadow); }
.pstep.is-active .pstep__num { color: var(--blue-600); -webkit-text-stroke-color: var(--blue-600); }
.pstep.is-active .pstep__icon { background: var(--blue-600); color: var(--white); }

@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .js .process__viewport { height: 100vh; min-height: 640px; padding-block-end: 0; }
  .js .process__hud { padding-block-start: calc(var(--header-h) + 24px); }
  .js .process__rail { display: block; }
  .js .process__counter { display: inline; }
  .js .process__track { flex: 1; flex-direction: row; align-items: center; gap: clamp(24px, 3vw, 48px); width: max-content; padding-inline: var(--gutter) 12vw; will-change: transform; }
  .js .process__intro { width: min(38vw, 560px); flex: none; padding-block-start: 0; }
  .js .process__steps { display: flex; gap: clamp(20px, 2vw, 32px); }
  .js .pstep { flex: none; width: clamp(300px, 28vw, 420px); min-height: min(56vh, 480px); }
  .js .pstep__num { font-size: clamp(5rem, 8vw, 7.5rem); }
  .js .pstep__icon { margin-block: 32px 22px; }
}

/* ---------- Vision ---------- */
.vision { background: var(--white); overflow: hidden; }
.vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; z-index: 1; }
.vcard {
  position: relative; overflow: hidden; padding: clamp(36px, 4.5vw, 64px); border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--blue-500), var(--blue-600) 75%); color: var(--white);
  min-height: 460px; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.vcard::after {
  content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 60px rgba(255,255,255,.06), 0 0 0 120px rgba(255,255,255,.04);
}
.vcard__icon { width: 64px; height: 64px; color: var(--white); margin-block-end: auto; }
.vcard__icon svg { width: 100%; height: 100%; }
.vcard__label { font-size: .75rem; letter-spacing: .2em; color: rgba(255,255,255,.75); margin-block: 56px 10px; }
.vcard h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); margin-block-end: 16px; color: var(--white); }
.vcard p { color: rgba(255,255,255,.9); font-size: 1.05rem; }
/* the second card is the white counterpart */
.vcard:nth-child(2) { background: linear-gradient(150deg, var(--white), var(--sky-50)); color: var(--ink); border: 1px solid var(--line); }
.vcard:nth-child(2)::after { border-color: rgba(36,116,192,.14); box-shadow: 0 0 0 60px rgba(36,116,192,.04), 0 0 0 120px rgba(36,116,192,.03); }
.vcard:nth-child(2) .vcard__icon { color: var(--blue-500); }
.vcard:nth-child(2) .vcard__label { color: var(--ink-mute); }
.vcard:nth-child(2) h3 { color: var(--navy-900); }
.vcard:nth-child(2) p { color: var(--ink-soft); }
.vision__mark { position: absolute; width: 46vw; max-width: 720px; inset-inline-start: -10vw; bottom: -12vw; opacity: .06; pointer-events: none; }

/* ---------- Leadership ---------- */
.leader { background: var(--sky-50); overflow: hidden; }
.leader__watermark { position: absolute; width: 40vw; max-width: 600px; inset-inline-end: -8vw; top: 6%; opacity: .06; pointer-events: none; }
.leader__grid {
  position: relative; display: grid; grid-template-columns: 1.35fr minmax(300px, .85fr);
  gap: clamp(40px, 7vw, 120px); align-items: center; margin-block-end: clamp(72px, 9vw, 128px);
}
.leader__quote { font-size: clamp(1.8rem, 3.2vw, 3rem); font-weight: 500; line-height: 1.55; color: var(--navy-900); }
.leader__quote::before { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--blue-500); margin-block-end: 32px; }
[lang="en"] .leader__quote { line-height: 1.22; letter-spacing: -0.02em; }

.leader__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(32px, 3.5vw, 48px); border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--blue-500), var(--blue-600) 70%); color: var(--white);
  box-shadow: 0 60px 100px -50px rgba(36,116,192,.7);
  will-change: transform;
}
.leader__card::before {
  content: ""; position: absolute; z-index: -1; inset-inline-end: -110px; top: -110px; width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 56px rgba(255,255,255,.06), 0 0 0 112px rgba(255,255,255,.04);
}
.leader__card::after {
  content: ""; position: absolute; z-index: -1; inset-inline-start: -30%; bottom: -40%; width: 90%; height: 70%;
  background: radial-gradient(closest-side, rgba(255,255,255,.25), transparent); pointer-events: none;
}
.leader__monogram { position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; margin-block-end: 28px; }
.leader__monogram::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 0deg, var(--yellow), var(--white), var(--blue-300), var(--yellow));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 9s linear infinite;
}
.leader__monogram span {
  width: calc(100% - 14px); height: calc(100% - 14px); border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--blue-600); font-size: 2.4rem; font-weight: 600; line-height: 1;
}
@keyframes spin { to { transform: rotate(1turn); } }
.leader__name { font-size: 1.6rem; font-weight: 600; line-height: 1.3; }
.leader__role { color: var(--sky-100); font-size: .95rem; }
.leader__rule { width: 100%; height: 1px; background: rgba(255,255,255,.3); margin-block: 24px; }
.leader__company { color: rgba(255,255,255,.85); font-size: .92rem; margin-block-end: 28px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.pillar { position: relative; padding-block-start: 32px; border-top: 1px solid var(--sky-200); }
.pillar::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 56px; height: 2px; background: var(--blue-500); transition: width .8s var(--ease); }
.pillar:hover::before { width: 100%; }
.pillar__top { display: flex; justify-content: space-between; align-items: center; margin-block-end: 24px; }
.pillar__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--blue-600);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.pillar__icon svg { width: 24px; height: 24px; }
.pillar:hover .pillar__icon { background: var(--blue-600); color: var(--white); transform: rotate(-8deg); }
.pillar__num { font-size: .8rem; color: var(--ink-mute); }
.pillar h3 { font-size: 1.3rem; margin-block-end: 8px; }
.pillar p { color: var(--ink-soft); font-size: .98rem; line-height: 1.75; }

/* ---------- Big CTA ----------
   A floating gradient panel: dot grid, watermark mark, a shipping route that
   draws itself on scroll with a point travelling along it, centred content. */
.cta { position: relative; padding-block: clamp(80px, 10vw, 140px); background: var(--white); }
.cta__panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(72px, 9vw, 128px) clamp(24px, 6vw, 96px);
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, rgba(143,211,244,.35), transparent 60%),
    linear-gradient(135deg, var(--blue-500) 0%, var(--blue-600) 55%, var(--blue-700) 100%);
  color: var(--white); text-align: center;
  box-shadow: 0 60px 120px -60px rgba(36,116,192,.75);
  will-change: transform;
}
.cta__dots {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 100%);
  mask: radial-gradient(70% 70% at 50% 50%, #000 0%, transparent 100%);
}
.cta__mark {
  position: absolute; z-index: -1; width: clamp(280px, 38vw, 560px);
  inset-inline-end: -6%; bottom: -18%; opacity: .1;
  filter: brightness(0) invert(1); pointer-events: none;
}
.cta__route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
[dir="rtl"] .cta__route { transform: scaleX(-1); }
.cta__track { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 2; stroke-dasharray: 2 12; stroke-linecap: round; }
.cta__trail { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.cta__pin {
  position: absolute; z-index: -1; width: 44px; height: 44px; margin: -22px; border-radius: 50%;
  display: grid; place-items: center; color: var(--blue-600); background: var(--white);
  box-shadow: 0 0 0 8px rgba(255,255,255,.18), 0 14px 30px -10px rgba(15,31,69,.4);
}
.cta__pin svg { width: 20px; height: 20px; }
.cta__pin--start { inset-inline-start: 5.83%; top: 83.9%; }
.cta__pin--end { inset-inline-start: 94.17%; top: 16.07%; }
.cta__traveller {
  position: absolute; left: 0; top: 0; z-index: -1; width: 12px; height: 12px; margin: -6px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 5px rgba(253,192,16,.25), 0 0 22px 6px rgba(253,192,16,.55);
}
.cta__content { position: relative; max-width: 820px; margin-inline: auto; }
.cta__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-block-end: 26px;
  padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.cta__title { font-size: clamp(2.3rem, 5.4vw, 4.8rem); font-weight: 600; line-height: 1.25; color: var(--white); margin-block-end: 20px; }
[lang="en"] .cta__title { line-height: 1.05; }
.cta__title em { color: var(--sky-200); }
.cta__lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255,255,255,.88); max-width: 560px; margin: 0 auto 40px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-block-end: 44px; }
.btn--glass { --bg: rgba(255,255,255,.12); --fg: var(--white); --hover: var(--white); --hover-fg: var(--blue-700); border: 1px solid rgba(255,255,255,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn__icon { width: 18px; height: 18px; }
.cta__checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding-block-start: 32px; border-top: 1px solid rgba(255,255,255,.2); }
.cta__checks li { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: rgba(255,255,255,.92); }
.cta__checks svg { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: rgba(255,255,255,.2); color: var(--white); flex: none; }


/* ---------- Contact ---------- */
.contact { background: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__info h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); margin-block-end: 18px; }
.contact__list { display: grid; gap: 12px; margin-block-start: 40px; }
.citem { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 18px; background: var(--sky-50); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s, background-color .4s; }
a.citem:hover { border-color: var(--blue-500); background: var(--white); transform: translateX(calc(var(--sign) * 6px)); }
.citem__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-600); color: var(--white); display: grid; place-items: center; flex: none; }
.citem__icon svg { width: 22px; height: 22px; }
.citem small { display: block; color: var(--ink-mute); font-size: .82rem; line-height: 1.4; }
.citem strong { font-weight: 600; line-height: 1.5; color: var(--navy-900); }

.form { padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 50px 90px -50px rgba(36,116,192,.4); }
.form h3 { font-size: 1.7rem; margin-block-end: 6px; }
.form > p { color: var(--ink-soft); margin-block-end: 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-block-end: 22px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--sky-50);
  border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 18px 10px; min-height: 62px; outline: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232474c0' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
[dir="rtl"] .field select { background-position: left 18px center; }
.field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field label {
  position: absolute; inset-inline-start: 19px; top: 20px; color: var(--ink-mute); font-size: 1rem; line-height: 1.3;
  pointer-events: none; transform-origin: top right; transition: transform .35s var(--ease), color .3s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 36px);
}
[dir="ltr"] .field label { transform-origin: top left; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(51,169,224,.14); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-11px) scale(.78); color: var(--blue-600); }
.form__note { margin-block-start: 14px; font-size: .85rem; color: var(--ink-mute); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--sky-100), var(--sky-50)); color: var(--ink-soft); padding-block: clamp(80px, 10vw, 120px) 32px; overflow: hidden; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 44px; width: auto; margin-block-end: 22px; }
.footer__brand p { max-width: 340px; }
.footer h4 { color: var(--navy-900); font-weight: 600; font-size: 1rem; margin-block-end: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--blue-600); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block-start: 24px; border-top: 1px solid var(--sky-200); font-size: .9rem; }
.footer__top:hover { color: var(--blue-600); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__nav { display: none; }
  .burger { display: block; }
  .menu { display: flex; }
  .header__actions { margin-inline-start: auto; }
}
@media (max-width: 991px) {
  .about__grid, .leader__grid, .contact__grid, .vision__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .facts li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cta__route, .cta__pin, .cta__traveller { display: none; } /* the route needs a wide panel */
  .pillars { grid-template-columns: 1fr; }
  .leader__watermark { width: 70vw; top: 2%; }
  .story__logo { --h: 16vw; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .header__cta { display: none; }
  .header__brand img { height: 32px; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero__points { flex-direction: column; gap: 16px; }
  .scroll-cue { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .srow { min-height: 220px; gap: 20px; padding: 24px; border-radius: 22px; }
  .srow__num { font-size: 2.6rem; }
  .srow__go { width: 44px; height: 44px; }
  .footer__grid { grid-template-columns: 1fr; }
  .facts li { padding-inline: 16px; }
  .hero__photo img { object-position: 81% 50%; }
  .hero__shade, [dir="ltr"] .hero__shade { background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 52%, rgba(255,255,255,.35) 78%, rgba(243,249,254,.96) 100%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
