/* ==========================================================================
   Chek In Gat Travel — landing page
   Brand: charcoal ink + signal yellow, aviation signage language.
   Themes: light (default) / dark, driven by [data-theme] on <html>.
   ========================================================================== */

:root {
  /* brand constants (identical in both themes) */
  --ink: #161616;
  --ink-3: #2b2b2b;
  --ink-line: #333;
  --sun: #ffc20e;
  --sun-2: #ffd34d;
  --sun-deep: #d9a300;
  --red: #c8102e;
  --green: #1a8a4a;
  --green-light: #5ee08f;
  --wa: #1fa855;

  /* theme tokens — light */
  --bg: #f7f4ec;
  --bg-2: #efeadd;
  --surface: #ffffff;
  --surface-2: #f4f0e6;
  --input: #ffffff;
  --text: #1a1a1a;
  --text-2: #2c2a26;
  --muted: #5b574e;
  --line: #e2dccb;
  --line-strong: #cfc6af;
  --header-bg: rgb(247 244 236 / .88);
  --dot: rgb(22 22 22 / .1);
  --route: #c99700;
  --route-faint: rgb(22 22 22 / .14);
  --hl-color: var(--ink);
  --hl-bg: linear-gradient(transparent 60%, var(--sun) 60%, var(--sun) 92%, transparent 92%);
  --feature: #161616;     /* dark feature cards */
  --feature-line: #161616;
  --accent-sec: #1c1c1c;  /* always-dark sections (Omra, contact) */
  --footer: #101010;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --badge-green-bg: #e3f6ea;
  --badge-green-tx: #136b39;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .05), 0 2px 8px rgb(0 0 0 / .04);
  --shadow: 0 2px 6px rgb(0 0 0 / .05), 0 18px 40px -14px rgb(0 0 0 / .16);
  --shadow-lg: 0 30px 70px -24px rgb(0 0 0 / .35);
  color-scheme: light;

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-ar: "Noto Kufi Arabic", "Outfit", sans-serif;

  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1200px;
  --gutter: 20px;
}

:root[data-theme="dark"] {
  --bg: #111111;
  --bg-2: #161616;
  --surface: #1c1c1c;
  --surface-2: #252525;
  --input: #141414;
  --text: #f3f0e8;
  --text-2: #e3dfd6;
  --muted: #aaa69c;
  --line: #2c2c2c;
  --line-strong: #3a3a3a;
  --header-bg: rgb(17 17 17 / .88);
  --dot: rgb(255 255 255 / .08);
  --route: var(--sun);
  --route-faint: rgb(255 255 255 / .12);
  --hl-color: var(--sun);
  --hl-bg: none;
  --feature: #0a0a0a;
  --feature-line: #2c2c2c;
  --accent-sec: #0b0b0b;
  --footer: #080808;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f0e8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --badge-green-bg: rgb(94 224 143 / .12);
  --badge-green-tx: #7ce8a6;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --shadow: 0 18px 40px -14px rgb(0 0 0 / .7);
  --shadow-lg: 0 30px 70px -24px rgb(0 0 0 / .85);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* smooth colour swap when the theme changes */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, fill .35s ease, stroke .35s ease !important;
}
img, svg { display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[lang="ar"] { font-family: var(--font-ar); letter-spacing: 0; }
[hidden] { display: none !important; }
.sprite { position: absolute; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sun-deep); outline-offset: 3px; border-radius: 6px; }
[data-theme="dark"] :focus-visible { outline-color: var(--sun); }
.vip :focus-visible, .pass__tabs :focus-visible { outline-color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--bh); padding: 0 22px;
  border: 0; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease-out), background-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ico { transition: transform .25s var(--ease-out); }
.btn:hover .ico:has(> use[href="#i-arrow"]) { transform: translateX(3px); }
.btn--lg { --bh: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
[data-theme="dark"] .sec .btn--ink, [data-theme="dark"] .visa .btn--ink { background: var(--text); color: var(--ink); }
[data-theme="dark"] .sec .btn--ink:hover, [data-theme="dark"] .visa .btn--ink:hover { background: #fff; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--text); }

.link { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-display); font-weight: 600; text-decoration: none; color: var(--text); padding: 6px 0; }
.link .ico { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease-out); }
.link:hover .ico { transform: translateX(4px); }
.link--sun { color: var(--sun); }
.link--ink { color: var(--ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sun-deep); }
.eyebrow .ico { width: 1.1em; height: 1.1em; }
.eyebrow--light { color: #b9b5ab; }
.eyebrow--light::before { background: var(--sun); }
.eyebrow:has(.ico)::before { display: none; }
.eyebrow [lang="ar"] { text-transform: none; font-size: 1.05em; letter-spacing: 0; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #d9d6cf; font-size: .8125rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); }
.topbar__links { display: none; align-items: center; gap: 20px; }
.topbar__links a { text-decoration: none; font-weight: 600; color: #fff; }
.topbar__links a:hover { color: var(--sun); }
.topbar__ar { color: var(--sun); }
@media (min-width: 768px) { .topbar__links { display: flex; } }

.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); color: var(--text); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo--light { color: #fff; }
.logo__mark { width: 44px; height: 44px; }
.logo__word { display: flex; flex-direction: column; line-height: 1; }
.logo__word > span { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -.02em; }
.logo__word b { color: var(--sun-deep); font-weight: 800; }
[data-theme="dark"] .logo__word b, .logo--light .logo__word b { color: var(--sun); }
.logo__word small { font-family: var(--font-display); font-weight: 600; font-size: .625rem; letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.logo--light .logo__word small { color: #b9b5ab; }
.logo__word small::before, .logo__word small::after { content: ""; height: 2px; flex: 1; background: var(--sun); max-width: 16px; }

.nav { display: none; }
.nav a { text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--text-2); padding: 10px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.nav a:not(.btn):hover { color: var(--text); background: var(--surface-2); }
.nav a.btn--sun { color: var(--ink); }
.nav__cta-mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; transition: background-color .2s, border-color .2s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .ico { width: 22px; height: 22px; }
.theme-toggle .ico { transition: transform .5s var(--ease-out), opacity .3s; }
.theme-toggle .t-sun { display: none; }
[data-theme="dark"] .theme-toggle .t-sun { display: block; }
[data-theme="dark"] .theme-toggle .t-moon { display: none; }
.theme-toggle:hover .ico { transform: rotate(-20deg); }

@media (max-width: 1023px) {
  .nav.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 12px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    animation: drop .25s var(--ease-out);
  }
  .nav.is-open a:not(.btn) { padding: 14px 8px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.is-open .nav__cta-mobile { display: inline-flex; margin-top: 16px; min-height: 52px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 2px; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); color: var(--text); padding: 48px 0 72px; }
.hero::before { /* dotted world-grid texture */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.3px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 80%);
}
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__routes { width: 100%; height: 100%; }
.route { fill: none; stroke: var(--route); stroke-width: 1.6; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .6; animation: dash 30s linear infinite; }
.route--faint { stroke: var(--route-faint); opacity: 1; animation-duration: 45s; }
@keyframes dash { to { stroke-dashoffset: -480; } }
.plane-runner { offset-path: path("M-40 520 C 260 380, 520 180, 1240 120"); offset-rotate: auto 45deg; animation: fly 14s cubic-bezier(.45,.05,.55,.95) infinite; }
.plane-ico { fill: var(--route); stroke: var(--route); stroke-width: 1; }
@keyframes fly { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__title { font-size: clamp(2.5rem, 7.2vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin-top: 18px; text-wrap: balance; }
.hl { color: var(--hl-color); background: var(--hl-bg); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__lead { margin-top: 20px; font-size: 1.125rem; color: var(--muted); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: .9375rem; font-weight: 600; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof .ico { color: var(--sun-deep); }
[data-theme="dark"] .hero__proof .ico { color: var(--sun); }
@media (max-width: 479px) { .hero__ctas .btn { width: 100%; } }
@media (min-width: 1024px) {
  .hero { padding: 72px 0 104px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
}

/* ---------- Boarding-pass quote widget ---------- */
.pass { position: relative; scroll-margin-top: 96px; background: var(--surface); color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.pass__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 22px 14px; background: var(--sun); }
.pass__kicker { font-family: var(--font-mono); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #5a4300; }
.pass__title { font-size: clamp(1.25rem, 5vw, 1.5rem); font-weight: 700; margin-top: 4px; color: var(--ink); }
.pass__code { font-family: var(--font-mono); font-weight: 700; font-size: 1.75rem; color: var(--ink); line-height: 1; padding: 6px 10px; border: 2px solid var(--ink); border-radius: 8px; }
.pass__tabs { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--sun); padding: 0 12px; }
.pass__tabs button {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-height: 58px; padding: 8px 4px 10px; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: .8125rem; color: #4a3800;
  border-radius: 12px 12px 0 0; transition: background-color .2s, color .2s;
}
.pass__tabs button .ico { width: 20px; height: 20px; }
.pass__tabs button:hover { background: rgb(255 255 255 / .35); color: var(--ink); }
.pass__tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); }
.pass__form { padding: 22px; }
.pass__panel { display: grid; gap: 14px; animation: fade .3s var(--ease-out); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .8125rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-display); }
.field label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.req { color: var(--red); }
[data-theme="dark"] .req { color: #ff7a8a; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--input);
  font-size: 1rem; font-weight: 600; color: var(--text);
  transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; font-weight: 500; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; font-weight: 500; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgb(255 194 14 / .35); }
.field input[type="date"] { min-width: 0; max-width: 100%; display: block; padding-inline: 12px; }
.field input[type="date"]::-webkit-calendar-picker-indicator { margin-left: 4px; cursor: pointer; }
[data-theme="dark"] .field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.field.has-error input, .field.has-error select { border-color: var(--red); }
.err { color: var(--red); font-size: .8125rem; font-weight: 600; }
[data-theme="dark"] .err { color: #ff7a8a; }

.route-row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.route-row__plane { display: none; }
.row-2, .row-3 { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.row-3 > :last-child { grid-column: 1 / -1; }
@media (min-width: 520px) {
  .route-row { grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; }
  .route-row__plane { display: grid; place-items: center; width: 40px; height: 50px; color: var(--sun-deep); }
  .route-row__plane .ico { width: 22px; height: 22px; transform: rotate(45deg); }
  .row-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); }
  .row-3 > :last-child { grid-column: auto; }
}
.pass__perf { position: relative; height: 24px; margin: 20px -22px 16px; }
.pass__perf::before { content: ""; position: absolute; left: 22px; right: 22px; top: 50%; border-top: 2px dashed var(--line-strong); }
.pass__perf::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(circle at 0 50%, var(--bg) 12px, transparent 12.5px),
  radial-gradient(circle at 100% 50%, var(--bg) 12px, transparent 12.5px); }
.pass__foot { display: grid; gap: 14px; }
.pass__note { text-align: center; font-size: .8125rem; color: var(--muted); font-weight: 600; }
.pass__note.is-ok { color: var(--green); }
[data-theme="dark"] .pass__note.is-ok, [data-theme="dark"] .cform__note.is-ok { color: var(--green-light); }

/* ---------- Departures board (always dark, it's a screen) ---------- */
.board-sec { background: var(--bg); padding-bottom: 56px; }
.board { background: #0d0d0d; border-radius: var(--r-lg); padding: 20px; box-shadow: inset 0 0 0 1px #262626, var(--shadow); color: #fff; }
.board__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #262626; }
.board__title { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 700; letter-spacing: .02em; color: var(--sun); text-transform: uppercase; }
.board__title .ico { transform: rotate(45deg); }
.board__hint { font-family: var(--font-body); font-size: .75rem; color: #8a867c; text-transform: none; letter-spacing: 0; font-weight: 600; display: none; }
@media (hover: hover) and (min-width: 768px) { .board__hint { display: inline; } }
.board__clock { font-family: var(--font-mono); font-weight: 700; color: var(--sun); font-size: 1.125rem; letter-spacing: .06em; white-space: nowrap; }
.board__head, .board__rows li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; }
.board__head { display: none; padding: 12px 8px 6px; font-family: var(--font-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .14em; color: #8a867c; }
.board__rows li { padding: 12px 8px; border-bottom: 1px solid #1d1d1d; font-family: var(--font-mono); border-radius: 10px; transition: background-color .25s; cursor: default; }
.board__rows li:hover { background: #161616; }
.board__rows li:last-child { border-bottom: 0; }
.b-code { display: none; color: #8a867c; font-size: .875rem; }
.b-dest { font-weight: 700; font-size: .8125rem; display: inline-flex; flex-wrap: nowrap; gap: 1px; perspective: 400px; }
.b-svc { grid-column: 1; grid-row: 2; color: #a9a59b; font-size: .8125rem; font-family: var(--font-body); font-weight: 600; }
.b-st { grid-column: 2; grid-row: 1 / span 2; justify-self: end; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.st--ok { color: var(--green-light); background: rgb(94 224 143 / .1); }
.st--sun { color: var(--sun); background: rgb(255 194 14 / .1); }
.st--hot { color: #ff8a8a; background: rgb(255 120 120 / .12); }
.flap { display: inline-grid; place-items: center; min-width: .95em; padding: 2px 1px; background: #1b1b1b; border-radius: 3px; position: relative; box-shadow: inset 0 -1px 0 #000; transform-origin: 50% 50%; backface-visibility: hidden; }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgb(0 0 0 / .7); }
.flap.is-flip { animation: flip .09s linear; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-88deg); } 100% { transform: rotateX(0); } }
.board__rows li:hover .flap { background: #232323; color: var(--sun); }
@media (min-width: 768px) {
  .board { padding: 28px 32px; }
  .board__head { display: grid; }
  .board__head, .board__rows li { grid-template-columns: 110px 1.4fr 1fr 170px; }
  .b-code { display: block; }
  .b-svc { grid-column: auto; grid-row: auto; font-size: .9375rem; }
  .b-st { grid-column: auto; grid-row: auto; justify-self: start; font-size: .75rem; padding: 6px 10px; }
  .b-dest { font-size: 1.125rem; letter-spacing: .08em; gap: 2px; }
  .flap { min-width: 1.05em; }
}
@media (max-width: 479px) { .board__title [lang="ar"], .board__title .sep { display: none; } .board__title { font-size: 1rem; } }

/* ---------- Promo strip ---------- */
.promo { background: var(--sun); color: var(--ink); overflow: hidden; border-block: 1px solid var(--sun-deep); }
.promo__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.promo:hover .promo__track { animation-play-state: paused; }
.promo__set { display: flex; align-items: center; gap: 48px; padding: 16px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; white-space: nowrap; }
.promo__set > span { display: inline-flex; align-items: center; gap: 10px; }
.promo__set > span::after { content: "✦"; margin-left: 38px; font-size: .8em; }
.promo__set b { font-weight: 800; font-size: 1.15em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: 80px 0; background: var(--bg); }
.sec--tight { padding: 56px 0; }
.sec--paper2 { background: var(--bg-2); }
.sec__head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 760px; }
.sec__head--split { max-width: none; }
@media (min-width: 1024px) {
  .sec { padding: 112px 0; }
  .sec--tight { padding: 64px 0; }
  .sec__head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; }
}
.sec__title { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.sec__title--light { color: #fff; }
.sec__lead { font-size: 1.0625rem; color: var(--muted); max-width: 38em; }
.sec__lead--light { color: #cfcbc2; }
.sec__head .btn { justify-self: start; margin-top: 8px; }

/* ---------- Services bento ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { font-size: 1.3125rem; font-weight: 700; }
.card p { color: var(--muted); }
.card .link { margin-top: auto; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); color: var(--text); overflow: hidden; flex: none; }
.card__icon .ico { width: 24px; height: 24px; }
.card__icon--sun { background: var(--sun); color: var(--ink); }
.card__icon--ink { background: var(--ink); color: var(--sun); }
.card--dark { background: var(--feature); border-color: var(--feature-line); color: #fff; }
.card--dark p { color: #cfcbc2; }
.card--dark:hover { border-color: var(--feature-line); }
.card--visa h3 { font-size: clamp(1.625rem, 3vw, 2.25rem); font-weight: 800; max-width: 12em; }
.card--sun { background: var(--sun); border-color: var(--sun-deep); color: var(--ink); }
.card--sun p { color: #3d3000; }
.card--sun:hover { border-color: var(--sun-deep); }
.card--wide { flex-direction: row; align-items: flex-start; gap: 18px; }
.card--wide > div:last-child { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 559px) { .card--wide { flex-direction: column; } }

.ticks { display: grid; gap: 10px; margin: 6px 0 4px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.ticks .ico { color: var(--sun); margin-top: 3px; width: 18px; height: 18px; stroke-width: 2.6; }
.ticks--sm li { font-size: .9375rem; color: var(--text); }
.ticks--sm .ico { color: var(--green); }
[data-theme="dark"] .ticks--sm .ico { color: var(--green-light); }

.stamps { position: relative; height: 130px; margin: 8px 0 4px; }
.stamp {
  position: absolute; font-family: var(--font-mono); font-weight: 700; font-size: .875rem; letter-spacing: .14em;
  padding: 10px 14px; border: 2.5px solid currentColor; border-radius: 10px;
  box-shadow: inset 0 0 0 3px var(--feature), inset 0 0 0 4.5px currentColor; --rot: 0deg; transform: rotate(var(--rot));
}
.stamp--a { color: #ff6b6b; left: 0; top: 10px; --rot: -8deg; }
.stamp--b { color: #7cb0ff; left: 120px; top: 52px; --rot: 5deg; border-radius: 50px; }
.stamp--c { color: var(--sun); left: 250px; top: 6px; --rot: -3deg; }
.stamp { white-space: nowrap; }
@media (max-width: 559px) { .stamp--b { left: 84px; top: 60px; } .stamp--c { left: auto; right: 0; top: 4px; } }

@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .card--visa, .card--wide { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .card--visa { grid-column: 1 / span 2; grid-row: span 2; padding: 36px; }
  .card--wide { grid-column: span 2; }
}

/* ---------- Visas ---------- */
.visas { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .visas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .visas { grid-template-columns: repeat(4, 1fr); } }
.visa {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.visa:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.visa h3 { font-size: 1.375rem; font-weight: 700; }
.visa p { color: var(--muted); }
.visa .btn { margin-top: auto; }
.visa__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.visa__badge { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; background: var(--surface-2); color: var(--text); }
.visa__badge--green { background: var(--badge-green-bg); color: var(--badge-green-tx); }
.visa__docs { display: flex; gap: 8px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--surface-2); font-size: .9375rem; }
.visa__docs .ico { margin-top: 2px; color: var(--text); }
.visa__docs b { color: var(--text); }
.visa--other { background: var(--feature); color: #fff; border-color: var(--feature-line); }
.visa--other p { color: #cfcbc2; }

/* CSS-only flags */
.visa__flag { width: 52px; height: 36px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); position: relative; overflow: hidden; }
.flag-cn { background: #de2910; }
.flag-cn::before { content: "★"; position: absolute; left: 6px; top: 1px; color: #ffde00; font-size: 17px; line-height: 1; }
.flag-cn::after { content: "★ ★"; position: absolute; left: 21px; top: 3px; color: #ffde00; font-size: 7px; letter-spacing: -1px; line-height: 1.1; width: 12px; }
.flag-za { background: linear-gradient(to bottom, #e03c31 0 33%, #fff 33% 37%, #007749 37% 63%, #fff 63% 67%, #001489 67%); }
.flag-za::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 22px; background: #000; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.flag-eu { background: #003399; }
.flag-eu::before { content: "✦ ✦ ✦"; position: absolute; inset: 0; display: grid; place-items: center; color: #ffcc00; font-size: 8px; letter-spacing: 1px; }
.flag-shine { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(0 0 0 / .14) 45%, transparent 60%); background-size: 260% 100%; }

/* Process steps */
.steps { display: grid; gap: 14px; margin-top: 56px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.step { position: relative; padding: 24px; background: var(--bg); border: 1.5px dashed var(--line-strong); border-radius: var(--r); }
@media (min-width: 1024px) {
  .step { border-radius: 0; border-left-width: 0; }
  .step:first-child { border-left-width: 1.5px; border-radius: var(--r) 0 0 var(--r); }
  .step:last-child { border-radius: 0 var(--r) var(--r) 0; }
}
.step:last-child { background: var(--sun); border-color: var(--sun-deep); border-style: solid; color: var(--ink); }
.step__n { font-family: var(--font-mono); font-weight: 700; font-size: .875rem; color: var(--ink); background: var(--sun); padding: 4px 8px; border-radius: 6px; }
.step:last-child .step__n { background: var(--ink); color: var(--sun); }
.step h3 { font-size: 1.1875rem; margin: 16px 0 8px; font-weight: 700; }
.step p { color: var(--muted); font-size: .9375rem; }
.step:last-child p { color: #3d3000; }

/* ---------- Omra (always dark) ---------- */
.omra { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 88px 0; background: var(--accent-sec); border-block: 1px solid var(--line); }
.omra::before { /* geometric 8-point star pattern */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffc20e' stroke-width='1.2'%3E%3Cpath d='M40 10 49 31 70 40 49 49 40 70 31 49 10 40 31 31Z'/%3E%3Crect x='22' y='22' width='36' height='36' transform='rotate(45 40 40)'/%3E%3Crect x='22' y='22' width='36' height='36'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  animation: drift 60s linear infinite;
}
@keyframes drift { to { background-position: 80px 80px; } }
.omra__grid { display: grid; gap: 48px; align-items: center; }
.omra__grid > * { min-width: 0; }
@media (min-width: 1024px) { .omra { padding: 120px 0; } .omra__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.omra__copy { display: grid; gap: 18px; justify-items: start; }
.omra__ar { font-size: 1.375rem; color: var(--sun); font-weight: 700; }
.omra__copy .hero__ctas { margin-top: 10px; }
.omra__list { display: grid; gap: 12px; }
.omra__list li { display: flex; gap: 16px; padding: 20px; border-radius: var(--r); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); transition: background-color .25s, border-color .25s, transform .35s var(--ease-out); }
.omra__list li:hover { background: rgb(255 255 255 / .07); border-color: rgb(255 194 14 / .35); transform: translateX(4px); }
.omra__list .ico { width: 26px; height: 26px; color: var(--sun); margin-top: 2px; }
.omra__list h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 4px; }
.omra__list p { color: #bdb9b0; font-size: .9375rem; }

/* ---------- Séjours ---------- */
.sejours { display: grid; gap: 40px; align-items: center; }
.sejours > * { min-width: 0; }
.sejours .sec__head { margin-bottom: 0; }
@media (min-width: 1024px) { .sejours { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.incl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; box-shadow: var(--shadow); position: relative; }
.incl::before { content: ""; position: absolute; top: -10px; left: 28px; right: 28px; height: 20px; background: radial-gradient(circle, var(--bg) 7px, transparent 7.5px) 0 0 / 22px 20px repeat-x; }
.incl__title { font-family: var(--font-mono); font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 18px; }
.incl__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .incl__grid { grid-template-columns: repeat(3, 1fr); } }
.incl__grid li { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: var(--r); background: var(--surface-2); font-weight: 700; font-family: var(--font-display); line-height: 1.25; transition: transform .35s var(--ease-out); }
.incl__grid li:hover { transform: translateY(-3px); }
.incl__grid .ico { width: 26px; height: 26px; padding: 10px; box-sizing: content-box; border-radius: 12px; background: var(--sun); color: var(--ink); }

/* ---------- VIP (always yellow) ---------- */
.vip { background: var(--sun); padding: 80px 0; color: var(--ink); }
@media (min-width: 1024px) { .vip { padding: 112px 0; } }
.vip__grid { display: grid; gap: 40px; align-items: center; }
.vip__grid > * { min-width: 0; }
@media (min-width: 1024px) { .vip__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.vip__card {
  position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 36px 32px;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .55);
  background-image: radial-gradient(rgb(255 255 255 / .06) 1px, transparent 1.3px);
  background-size: 18px 18px;
}
.vip__kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sun); }
.vip__title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.035em; margin-top: 14px; }
.vip__place { color: #cfcbc2; margin-top: 8px; font-weight: 600; }
.vip__ticket { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; margin-top: 36px; padding: 18px 20px; border-radius: 14px; border: 1.5px dashed rgb(255 194 14 / .5); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; color: #b9b5ab; }
.vip__ticket b { font-family: var(--font-display); font-size: 2rem; color: var(--sun); letter-spacing: .1em; }
.vip__body { display: grid; gap: 22px; justify-items: start; }
.vip__body .sec__lead { color: #2e2400; font-size: 1.1875rem; font-weight: 500; }
.vip__list { display: grid; gap: 10px; width: 100%; }
@media (min-width: 640px) { .vip__list { grid-template-columns: 1fr 1fr; } }
.vip__list li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgb(255 255 255 / .45); border-radius: 12px; font-weight: 700; font-family: var(--font-display); transition: transform .35s var(--ease-out), background-color .25s; }
.vip__list li:hover { transform: translateY(-2px); background: rgb(255 255 255 / .65); }
.vip__list .ico { width: 22px; height: 22px; }
.vip__for { color: #3d3000; }

/* ---------- Why ---------- */
.why { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why li { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.why li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why .ico { width: 30px; height: 30px; color: var(--ink); padding: 11px; box-sizing: content-box; background: var(--sun); border-radius: 14px; }
.why h3 { font-size: 1.1875rem; margin: 18px 0 6px; font-weight: 700; }
.why p { color: var(--muted); font-size: .9375rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 40px; }
.faq > * { min-width: 0; }
.faq .sec__head { margin-bottom: 0; align-content: start; }
@media (min-width: 1024px) { .faq { grid-template-columns: .85fr 1.15fr; gap: 72px; } .faq .sec__head { position: sticky; top: 110px; } }
.faq__list { display: grid; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.qa[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 22px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { width: 22px; height: 22px; padding: 6px; box-sizing: content-box; border-radius: 50%; background: var(--surface-2); transition: transform .3s var(--ease-out), background-color .2s, color .2s; }
.qa[open] summary .ico, .qa summary:hover .ico { background: var(--sun); color: var(--ink); }
.qa[open] summary .ico { transform: rotate(45deg); }
.qa p { padding: 0 22px 22px; color: var(--muted); max-width: 60ch; }

/* ---------- Contact (always dark) ---------- */
.contact { background: var(--accent-sec); color: #fff; padding: 80px 0 96px; position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 1024px) { .contact { padding: 112px 0 120px; } }
.contact__grid { display: grid; gap: 40px; align-items: start; }
.contact__grid > * { min-width: 0; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact__info { display: grid; gap: 22px; }
.contact__list { display: grid; gap: 4px; margin-top: 8px; }
.contact__list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ink-line); }
.contact__list .ico { width: 24px; height: 24px; color: var(--sun); margin-top: 2px; }
.contact__list div { display: grid; gap: 2px; }
.contact__list b { font-family: var(--font-display); font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: #9c988e; font-weight: 600; }
.contact__list a, .contact__list div > span { font-size: 1.125rem; font-weight: 600; color: #fff; text-decoration: none; }
.contact__list a:hover { color: var(--sun); text-decoration: underline; text-underline-offset: 4px; }
.contact__phones { display: flex !important; flex-wrap: wrap; gap: 4px 20px; }
.cform { background: var(--surface); color: var(--text); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
@media (min-width: 640px) { .cform { padding: 36px; } }
.cform__title { font-size: 1.625rem; font-weight: 800; }
.cform__sub { color: var(--muted); margin-top: -8px; }
.cform__note { text-align: center; font-size: .8125rem; color: var(--muted); font-weight: 600; }
.cform__note.is-ok { color: var(--green); }
@media (max-width: 479px) { .cform .row-2 { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: #b9b5ab; padding: 56px 0 120px; font-size: .9375rem; }
@media (min-width: 1024px) { .footer { padding-bottom: 40px; } }
.footer__in { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer__in { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand { display: grid; gap: 12px; justify-items: start; }
.footer__ar { color: var(--sun); }
.footer__nav, .footer__contact { display: grid; gap: 10px; align-content: start; }
.footer a { color: #e8e5de; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #222; font-size: .8125rem; }

/* ---------- Mobile dock & FAB ---------- */
.dock {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; padding: 6px;
  background: rgb(22 22 22 / .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 20px; box-shadow: 0 16px 40px -10px rgb(0 0 0 / .45), inset 0 0 0 1px rgb(255 255 255 / .08);
  transform: translateY(150%); transition: transform .35s var(--ease-out);
}
.dock.is-visible { transform: none; }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: 14px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .75rem; }
.dock a .ico { width: 22px; height: 22px; }
.dock__wa .ico { color: #25d366; }
.dock__main { background: var(--sun); color: var(--ink) !important; flex-direction: row !important; gap: 8px !important; font-size: .9375rem !important; }
@media (min-width: 1024px) { .dock { display: none; } }

.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; display: none; align-items: center; gap: 10px;
  height: 60px; padding: 0 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none;
  box-shadow: 0 10px 24px -10px rgb(0 0 0 / .4); font-family: var(--font-display); font-weight: 600;
  transition: transform .25s var(--ease-out);
}
.fab .ico { width: 26px; height: 26px; }
.fab__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease-out); }
.fab:hover { transform: translateY(-2px); }
.fab:hover .fab__label { max-width: 260px; }
@media (min-width: 1024px) { .fab { display: inline-flex; } }

/* ==========================================================================
   Motion design — looping micro-animations on cards
   Only transform/opacity, eased in-out, paused while off-screen (.is-live).
   ========================================================================== */
[data-anim] use, [data-anim] .ico-part { transform-box: fill-box; transform-origin: center; }
.loop, [data-anim] use { animation-play-state: paused !important; }
.is-live .loop, .is-live [data-anim] use, [data-anim].is-live use { animation-play-state: running !important; }

[data-anim="plane"] use  { animation: a-plane 4.2s var(--ease-io) infinite; }
[data-anim="globe"] use  { animation: a-globe 7s linear infinite; }
[data-anim="bed"] use    { animation: a-bed 3.4s var(--ease-io) infinite; transform-origin: 50% 100%; }
[data-anim="sun"] use    { animation: a-spin 14s linear infinite; }
[data-anim="moon"] use   { animation: a-rock 5s var(--ease-io) infinite; }
[data-anim="crown"] use  { animation: a-crown 3.6s var(--ease-io) infinite; }
[data-anim="lang"] use   { animation: a-flipY 5s var(--ease-io) infinite; }
[data-anim="headset"] use{ animation: a-tilt 4s var(--ease-io) infinite; }
[data-anim="user-check"] use, [data-anim="users"] use { animation: a-pop 3.2s var(--ease-io) infinite; }
[data-anim="store"] use  { animation: a-hop 3s var(--ease-io) infinite; transform-origin: 50% 100%; }
[data-anim="tag"] use    { animation: a-swing 3.6s var(--ease-io) infinite; transform-origin: 15% 15%; }
[data-anim="car"] use    { animation: a-drive 4.8s var(--ease-io) infinite; }
[data-anim="camera"] use { animation: a-snap 3.4s var(--ease-io) infinite; }
[data-anim="file"] use   { animation: a-file 3.8s var(--ease-io) infinite; }
[data-anim="zap"] use    { animation: a-zap 2.8s var(--ease-io) infinite; }
[data-anim="shield"] use { animation: a-pop 3.6s var(--ease-io) infinite; }
[data-anim] use { animation-delay: var(--ad, 0s); }

@keyframes a-plane {
  0%   { transform: translate(0, 0); opacity: 1; }
  38%  { transform: translate(130%, -130%); opacity: 1; }
  39%  { transform: translate(130%, -130%); opacity: 0; }
  40%  { transform: translate(-130%, 130%); opacity: 0; }
  41%  { transform: translate(-130%, 130%); opacity: 1; }
  72%, 100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes a-globe { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
@keyframes a-bed { 0%, 100% { transform: scale(1, 1); } 45% { transform: scale(1.06, .9); } 60% { transform: scale(.98, 1.04); } }
@keyframes a-spin { to { transform: rotate(360deg); } }
@keyframes a-rock { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(10deg) translateY(-1px); } }
@keyframes a-crown { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-3px) rotate(-6deg); } 60% { transform: translateY(-1px) rotate(5deg); } }
@keyframes a-flipY { 0%, 35% { transform: perspective(60px) rotateY(0); } 50%, 85% { transform: perspective(60px) rotateY(180deg); } 100% { transform: perspective(60px) rotateY(360deg); } }
@keyframes a-tilt { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 55% { transform: rotate(8deg); } }
@keyframes a-pop { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.14); } 35% { transform: scale(.96); } }
@keyframes a-hop { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 15% { transform: translateY(0) scale(1.08, .9); } 30% { transform: translateY(-4px) scale(.96, 1.05); } 45% { transform: translateY(0) scale(1.03, .97); } }
@keyframes a-swing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 50% { transform: rotate(-8deg); } 75% { transform: rotate(4deg); } }
@keyframes a-drive {
  0% { transform: translateX(0); opacity: 1; }
  40% { transform: translateX(150%); opacity: 1; }
  41% { transform: translateX(150%); opacity: 0; }
  42% { transform: translateX(-150%); opacity: 0; }
  43% { transform: translateX(-150%); opacity: 1; }
  75%, 100% { transform: translateX(0); opacity: 1; }
}
@keyframes a-snap { 0%, 70%, 100% { transform: scale(1); } 76% { transform: scale(.86); } 84% { transform: scale(1.08); } }
@keyframes a-file { 0%, 100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-3px) rotate(-6deg); } 70% { transform: translateY(0) rotate(3deg); } }
@keyframes a-zap { 0%, 100% { transform: scale(1) rotate(0); } 10% { transform: scale(1.15) rotate(-8deg); } 20% { transform: scale(.95) rotate(4deg); } 30% { transform: scale(1) rotate(0); } }

/* Stamps re-stamping on the visa feature card */
.stamp.loop { animation: a-stamp 6s var(--ease-out) infinite both; }
.stamp--b.loop { animation-delay: .5s; }
.stamp--c.loop { animation-delay: 1s; }
@keyframes a-stamp {
  0%   { opacity: 0; transform: rotate(var(--rot)) scale(1.6); }
  8%   { opacity: 1; transform: rotate(var(--rot)) scale(.94); }
  12%  { transform: rotate(var(--rot)) scale(1.02); }
  16%, 80% { opacity: .92; transform: rotate(var(--rot)) scale(1); }
  92%, 100% { opacity: 0; transform: rotate(var(--rot)) scale(1); }
}

/* Flags gently waving */
.visa__flag.loop { animation: a-wave 4.5s var(--ease-io) infinite; transform-origin: 0 50%; }
.visa__flag .flag-shine.loop { animation: a-shine 4.5s var(--ease-io) infinite; }
@keyframes a-wave { 0%, 100% { transform: perspective(120px) rotateY(0) skewY(0); } 50% { transform: perspective(120px) rotateY(-16deg) skewY(-2deg); } }
@keyframes a-shine { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* VIP ticket "scan" line and the steps' number tick */
.vip__ticket::after { content: ""; position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: var(--sun); opacity: .7; }
.vip__ticket.loop::after { animation: a-scan 3.8s var(--ease-io) infinite; }
@keyframes a-scan { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: .7; } 90% { opacity: .7; } 100% { transform: translateX(var(--w, 300px)); opacity: 0; } }
.step__n.loop { display: inline-block; animation: a-badge 4s var(--ease-io) infinite; animation-delay: var(--ad, 0s); }
@keyframes a-badge { 0%, 70%, 100% { transform: translateY(0); } 78% { transform: translateY(-4px); } 86% { transform: translateY(0); } }

/* ==========================================================================
   Drawn travel objects (inline SVG) — replace generic icons on cards
   Fixed palette on a cream plate so they read the same in both themes.
   ========================================================================== */
.obj { --plate: #f3eddd; width: 132px; aspect-ratio: 120 / 88; flex: none; border-radius: 18px; background: var(--plate); display: grid; place-items: center; overflow: hidden; }
.obj svg { width: 100%; height: 100%; overflow: visible; }
.obj--xl { width: 100%; max-width: 340px; aspect-ratio: 160 / 100; border-radius: 20px; margin: 4px 0 6px; }
.obj--sm { width: 76px; aspect-ratio: 64 / 48; border-radius: 14px; }
.obj--on-sun { background: rgb(255 255 255 / .5); }
.why .obj { width: 112px; }
.incl__grid .obj { background: var(--surface); }
[data-theme="dark"] .incl__grid .obj { background: #f3eddd; }
.visa--other .obj { background: #f3eddd; }
:where(.obj svg *) { transform-box: fill-box; transform-origin: center; }
.obj svg * { animation-play-state: paused; }
.is-live .obj svg * { animation-play-state: running; }

/* Visa: rubber stamp comes down on the passport */
.v-stamper { animation: v-stamp 3.6s var(--ease-io) infinite; }
.v-mark { animation: v-mark 3.6s var(--ease-out) infinite; }
@keyframes v-stamp { 0%, 20% { transform: translateY(-6px); } 31% { transform: translateY(19px); } 35% { transform: translateY(17px); } 39% { transform: translateY(19px); } 54%, 100% { transform: translateY(-6px); } }
@keyframes v-mark { 0%, 30% { opacity: 0; transform: scale(1.15); } 32% { opacity: 1; transform: scale(.94); } 38% { transform: scale(1); } 86% { opacity: 1; } 96%, 100% { opacity: 0; transform: scale(1); } }

/* Billet: pass floats, plane crosses, stub tears */
.t-pass { animation: t-float 4.4s var(--ease-io) infinite; }
.t-plane { animation: t-plane 2.2s var(--ease-io) infinite; }
.t-stub { transform-origin: 0 100%; animation: t-stub 4.4s var(--ease-io) infinite; }
@keyframes t-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes t-plane { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(7px); } }
@keyframes t-stub { 0%, 42% { transform: rotate(0); } 58% { transform: translate(4px, 3px) rotate(14deg); } 66% { transform: translate(4px, 3px) rotate(12deg); } 82%, 100% { transform: rotate(0); } }

/* Hôtel: key card taps the reader, LED turns green */
.h-key { animation: h-key 4s var(--ease-io) infinite; }
.h-led { animation: h-led 4s linear infinite; }
.h-waves { animation: h-waves 4s var(--ease-out) infinite; }
@keyframes h-key { 0%, 12% { transform: translateX(0); } 32%, 62% { transform: translateX(12px); } 84%, 100% { transform: translateX(0); } }
@keyframes h-led { 0%, 33% { fill: #D7263D; } 35%, 64% { fill: #22B35E; } 66%, 100% { fill: #D7263D; } }
@keyframes h-waves { 0%, 32% { opacity: 0; transform: scale(.7); } 38%, 58% { opacity: 1; transform: scale(1); } 66%, 100% { opacity: 0; transform: scale(1.1); } }

/* Séjour: suitcase hops, cloud drifts */
.s-bag { transform-origin: 50% 100%; animation: s-hop 2.6s var(--ease-io) infinite; }
.s-cloud { animation: s-cloud 7s var(--ease-io) infinite alternate; }
@keyframes s-hop { 0%, 60%, 100% { transform: translateY(0) scale(1, 1); } 12% { transform: translateY(0) scale(1.05, .93); } 30% { transform: translateY(-7px) scale(.97, 1.04); } 46% { transform: translateY(0) scale(1.04, .95); } }
@keyframes s-cloud { from { transform: translateX(0); } to { transform: translateX(14px); } }

/* Omra: crescent floats, stars twinkle */
.m-moon { animation: t-float 4.8s var(--ease-io) infinite; }
.m-star { animation: m-star 3.2s var(--ease-io) infinite; }
@keyframes m-star { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.1); } }

/* VIP: lanyard pass swings */
.p-lan { transform-box: view-box; transform-origin: 60px 0; animation: p-lan 3.4s var(--ease-io) infinite alternate; }
@keyframes p-lan { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }

/* Traduction: badge flips FR ⇄ ع, lines get written */
.tr-badge { animation: tr-flip 5s var(--ease-io) infinite; }
.tr-a { animation: tr-a 5s steps(1) infinite; }
.tr-b { animation: tr-b 5s steps(1) infinite; }
.tr-line { transform-origin: 0 50%; animation: tr-line 5s var(--ease-out) infinite; }
@keyframes tr-flip { 0%, 18% { transform: scaleX(1); } 25% { transform: scaleX(0); } 32%, 68% { transform: scaleX(1); } 75% { transform: scaleX(0); } 82%, 100% { transform: scaleX(1); } }
@keyframes tr-a { 0% { opacity: 1; } 25% { opacity: 0; } 75% { opacity: 1; } }
@keyframes tr-b { 0% { opacity: 0; } 25% { opacity: 1; } 75% { opacity: 0; } }
@keyframes tr-line { 0% { transform: scaleX(0); } 20%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* Globe (autres destinations) */
.g-mer { animation: g-mer 4s linear infinite; }
.g-mer--2 { animation-delay: -2s; }
.g-orbit { transform-box: view-box; transform-origin: 32px 24px; animation: a-spin 6s linear infinite; }
@keyframes g-mer { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }

/* 24/7 clock */
.c-h, .c-m { transform-box: view-box; transform-origin: 56px 44px; }
.c-h { animation: a-spin 12s linear infinite; }
.c-m { animation: a-spin 2s linear infinite; }

/* Phone: a WhatsApp-like conversation plays */
.ph-1, .ph-3 { transform-origin: 0 50%; }
.ph-2, .ph-4 { transform-origin: 100% 50%; }
.ph-1 { animation: ph-1 6.5s var(--ease-out) infinite; }
.ph-2 { animation: ph-2 6.5s var(--ease-out) infinite; }
.ph-3 { animation: ph-3 6.5s var(--ease-out) infinite; }
.ph-4 { animation: ph-4 6.5s var(--ease-out) infinite; }
.ph-dot { animation: ph-dot .9s var(--ease-io) infinite; }
@keyframes ph-1 { 0%, 4% { opacity: 0; transform: scale(.5); } 10%, 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes ph-2 { 0%, 20% { opacity: 0; transform: scale(.5); } 26%, 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes ph-3 { 0%, 36% { opacity: 0; transform: scale(.5); } 42%, 58% { opacity: 1; transform: scale(1); } 62%, 100% { opacity: 0; transform: scale(.8); } }
@keyframes ph-4 { 0%, 60% { opacity: 0; transform: scale(.5); } 66%, 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(1); } }
@keyframes ph-dot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6px); } }

/* Storefront: map pin drops and bounces, awning flaps */
.sf-pin { transform-origin: 50% 100%; animation: sf-pin 2.6s var(--ease-io) infinite; }
.sf-awn { transform-origin: 50% 0; animation: sf-awn 2.6s var(--ease-io) infinite; }
@keyframes sf-pin { 0%, 55%, 100% { transform: translateY(0) scale(1, 1); } 25% { transform: translateY(-7px) scale(.96, 1.04); } 42% { transform: translateY(0) scale(1.08, .9); } }
@keyframes sf-awn { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.08); } }

/* Price tag swings, discount alternates */
.tg-tag { transform-box: view-box; transform-origin: 28px 8px; animation: tg-swing 3.2s var(--ease-io) infinite alternate; }
.tg-a { animation: tr-a 6s steps(1) infinite; }
.tg-b { animation: tr-b 6s steps(1) infinite; }
@keyframes tg-swing { from { transform: rotate(-7deg); } to { transform: rotate(5deg); } }

/* Inclus — small objects */
.ar-front { animation: ar-front 4s var(--ease-io) infinite; }
.ar-back { animation: ar-back 4s var(--ease-io) infinite; }
@keyframes ar-front { 0%, 35%, 100% { transform: translate(0, 0); } 55%, 75% { transform: translate(5px, 3px); } }
@keyframes ar-back { 0%, 35%, 100% { transform: translate(0, 0); } 55%, 75% { transform: translate(-5px, -2px); } }
.st { animation: st 2.4s var(--ease-out) infinite; }
@keyframes st { 0% { opacity: 0; transform: translateY(3px); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(-4px); } }
.rd { animation: rd .9s linear infinite; }
@keyframes rd { to { stroke-dashoffset: -22; } }
.car { animation: car .45s var(--ease-io) infinite alternate; }
@keyframes car { from { transform: translateY(0); } to { transform: translateY(-1px); } }
.iris { animation: iris 3.4s var(--ease-io) infinite; }
.fl { animation: fl 3.4s linear infinite; }
@keyframes iris { 0%, 66%, 100% { transform: scale(1); } 74% { transform: scale(.35); } 82% { transform: scale(1); } }
@keyframes fl { 0%, 70%, 80%, 100% { opacity: 1; fill: #FFFDF6; } 74% { fill: #FFC20E; } }
.fg { transform-origin: 0 50%; animation: fg 1.8s var(--ease-io) infinite alternate; }
@keyframes fg { from { transform: skewY(-5deg) scaleX(.94); } to { transform: skewY(5deg) scaleX(1); } }
.lt { animation: lt 3.6s var(--ease-io) infinite; }
@keyframes lt { 0%, 20%, 100% { transform: translateY(0); } 45%, 70% { transform: translateY(-6px); } }

/* ==========================================================================
   Language switch + Arabic / RTL version (ar.html)
   ========================================================================== */
.lang-btn {
  display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px;
  border-radius: 12px; border: 1px solid var(--line-strong); color: var(--text); text-decoration: none;
  font-weight: 700; font-size: .9375rem; transition: background-color .2s;
}
.lang-btn:hover { background: var(--surface-2); }
.lang-btn[lang="ar"] { font-family: var(--font-ar); font-size: 1rem; }
.lang-btn[lang="fr"] { font-family: var(--font-display); letter-spacing: .04em; }

:root[lang="ar"] {
  --font-display: "Cairo", "Noto Kufi Arabic", system-ui, sans-serif;
  --font-body: "Cairo", "Noto Kufi Arabic", system-ui, sans-serif;
  --font-ar: "Cairo", "Noto Kufi Arabic", sans-serif;
}
/* Arabic letters must never be tracked apart or upper-cased */
[lang="ar"] :is(h1, h2, h3, p, a, span, b, label, button, li, summary, small, option, input, select, textarea, .eyebrow, .btn) { letter-spacing: 0; text-transform: none; }
[lang="ar"] :is(.b-dest, .b-code, .board__clock, .pass__code, .logo__word small, .vip__ticket span, .vip__ticket b) { letter-spacing: .08em; }
[lang="ar"] .logo__word small { letter-spacing: .5em; }
[lang="ar"] .logo__word > span { font-family: "Outfit", sans-serif; }
[lang="ar"] :is(h1, h2, h3) { line-height: 1.35; }
[lang="ar"] .hero__title { font-size: clamp(2.25rem, 5.4vw, 3.75rem); line-height: 1.3; font-weight: 800; letter-spacing: 0; }
[lang="ar"] .sec__title { line-height: 1.3; }
[lang="ar"] .hl { background-position: 0 6px; }
[lang="ar"] body { line-height: 1.8; }

/* Latin-only blocks stay left-to-right inside the RTL page */
[dir="rtl"] :is(.b-dest, .b-code, .board__clock, .pass__code, .vip__ticket, .promo__track),
[dir="rtl"] :is(.topbar__links a, .contact__list a[href^="tel:"], .contact__list a[href^="https://wa.me"], .footer__contact a, .logo__word) { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .promo__set > span { direction: rtl; }
[dir="rtl"] .contact__phones { justify-content: flex-start; }

/* Arrows point the reading direction */
[dir="rtl"] :is(.btn .ico:has(> use[href="#i-arrow"]), .link .ico) { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ico:has(> use[href="#i-arrow"]) { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .link:hover .ico { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .route-row__plane .ico { transform: scaleX(-1) rotate(45deg); }
[dir="rtl"] .board__title .ico { transform: scaleX(-1) rotate(45deg); }

/* Mirrored geometry */
[dir="rtl"] .field select { background-position: left 12px center; padding-right: 14px; padding-left: 40px; }
[dir="rtl"] .field input[type="date"]::-webkit-calendar-picker-indicator { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .fab { right: auto; left: 24px; }
[dir="rtl"] .omra__list li:hover { transform: translateX(-4px); }
[dir="rtl"] .omra::before { mask-image: linear-gradient(270deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(270deg, transparent, #000 60%); }
[dir="rtl"] .skip { left: auto; right: 12px; }
@media (min-width: 1024px) {
  [dir="rtl"] .step { border-left-width: 1.5px; border-right-width: 0; }
  [dir="rtl"] .step:first-child { border-right-width: 1.5px; border-radius: 0 var(--r) var(--r) 0; }
  [dir="rtl"] .step:last-child { border-radius: var(--r) 0 0 var(--r); }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.is-in:hover { transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .plane-runner { display: none; }
  .promo__track { animation: none; }
  .stamp.loop { animation: none; opacity: .92; }
}
[lang="ar"] .logo__word > span { white-space: nowrap; }
[lang="ar"] .logo__word small { text-transform: uppercase; }
[lang="ar"] :is(.pass__kicker, .incl__title, .vip__kicker, .board__head, .b-st, .step__n) { font-family: var(--font-body); letter-spacing: 0; }
[dir="rtl"] :is(.footer__contact a, .topbar__links a) { text-align: right; }
.logo__word > span { white-space: nowrap; }
@media (max-width: 420px) {
  .header__in { gap: 10px; }
  .header__actions { gap: 6px; }
  .icon-btn, .lang-btn { width: 44px; min-width: 44px; height: 44px; padding: 0; }
  .logo { gap: 8px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__word > span { font-size: 1.1875rem; }
}
.footer__links { display: inline-flex; gap: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sent { display: grid; gap: 12px; text-align: center; padding: 8px 0 4px; animation: fade .3s var(--ease-out); }
.sent__icon { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: #e3f6ea; color: #136b39; display: grid; place-items: center; }
.sent__icon .ico { width: 28px; height: 28px; stroke-width: 2.6; }
.sent h3 { font-size: 1.25rem; }
.sent p { color: var(--muted); }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #1a9049; }
