/* Jusoor Travel — "your journey" layer (loaded only when Admin → Appearance
   is «رحلة كاملة»). Decoration only: pointer-events off except the pass's ×. */

/* ---------- boarding pass ---------- */
.jt-pass{position:fixed;z-index:1200;bottom:22px;inset-inline-start:22px;width:268px;color:#fff;
  background:linear-gradient(160deg,color-mix(in srgb,var(--navy) 94%,#000) 0%,var(--navy) 60%,color-mix(in srgb,var(--navy) 80%,var(--gold)) 140%);
  border-radius:18px;padding:12px 14px 12px;box-shadow:0 18px 50px rgba(10,14,38,.35),inset 0 0 0 1px rgba(255,255,255,.08);
  font-size:12px;line-height:1.35;pointer-events:none;opacity:0;transform:translateY(24px) scale(.97);transition:opacity .5s,transform .6s cubic-bezier(.2,.7,.2,1);}
.jt-pass::before,.jt-pass::after{content:'';position:absolute;top:62%;width:14px;height:14px;border-radius:50%;background:var(--bg);}
.jt-pass::before{inset-inline-start:-7px;} .jt-pass::after{inset-inline-end:-7px;}
.jt-pass.is-ready.is-shown{opacity:1;transform:none;}
.jt-pass.is-ready.is-shown.is-away{opacity:0;transform:translateY(24px) scale(.97);}
.jt-pass.is-gone{display:none;}
.jt-pass-x{pointer-events:auto;position:absolute;top:6px;inset-inline-end:8px;width:22px;height:22px;border-radius:50%;border:0;background:rgba(255,255,255,.1);color:#fff;font-size:15px;line-height:1;cursor:pointer;}
.jt-pass-x:hover{background:rgba(255,255,255,.22);}
.jt-pass-top{display:flex;align-items:center;gap:8px;padding-inline-end:24px;}
.jt-pass-no{font-weight:800;letter-spacing:.08em;color:var(--gold-2);font-size:11px;direction:ltr;}
.jt-pass-phase{font-weight:700;font-size:13px;}
.jt-pass.is-tick .jt-pass-phase{animation:jtTick .5s ease;}
@keyframes jtTick{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.jt-pass-route{display:flex;align-items:flex-end;gap:6px;margin:8px 0 6px;}
.jt-pass-end{display:flex;flex-direction:column;min-width:52px;text-align:center;}
.jt-pass-end small{opacity:.55;font-size:10px;}
.jt-pass-end b{font-size:20px;letter-spacing:.04em;direction:ltr;line-height:1.1;}
.jt-pass-end span{opacity:.7;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70px;}
.jt-pass-arc{position:relative;flex:1;height:34px;margin-bottom:14px;}
[dir="rtl"] .jt-pass-arc{transform:scaleX(-1);}
.jt-pass-arc svg:not(.jt-arc-plane){position:absolute;inset:0;width:100%;height:100%;overflow:visible;}
.jt-arc-bg{fill:none;stroke:rgba(255,255,255,.28);stroke-width:1.4;stroke-dasharray:2 4;vector-effect:non-scaling-stroke;}
.jt-arc-fg{fill:none;stroke:var(--gold-2);stroke-width:2;stroke-dasharray:1;stroke-dashoffset:1;vector-effect:non-scaling-stroke;}
.jt-arc-plane{position:absolute;width:17px;height:17px;fill:#fff;left:3%;top:88%;filter:drop-shadow(0 2px 4px rgba(0,0,0,.4));}
.jt-pass-stats{display:flex;gap:10px;border-top:1px dashed rgba(255,255,255,.22);padding-top:8px;}
.jt-pass-stats span{flex:1;display:flex;flex-direction:column;}
.jt-pass-stats small{opacity:.55;font-size:10px;}
.jt-pass-stats b{font-size:13px;font-variant-numeric:tabular-nums;}
.jt-pass.is-landed{box-shadow:0 18px 50px rgba(10,14,38,.35),inset 0 0 0 1px color-mix(in srgb,var(--gold) 70%,transparent);}
@media (max-width:899px){.jt-pass{display:none;}}
@media print{.jt-pass,.jt-clouds,.jt-foot-sea,.jt-hero-waves,.jt-sec-sky{display:none !important;}}

/* ---------- take-off ---------- */
.hero3-media,.hero-bg{will-change:transform;}
.hero3-inner,.hero-inner{will-change:transform,opacity;}

/* ---------- through the clouds ---------- */
.jt-clouds{position:fixed;inset:-20vh -10vw;z-index:900;pointer-events:none;opacity:0;visibility:hidden;will-change:transform,opacity;}
.jt-clouds i{position:absolute;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,255,255,.95),rgba(255,255,255,.78) 45%,rgba(255,255,255,0) 100%);}
.jt-clouds .c1{width:70vw;height:38vh;top:28%;left:-12%;}
.jt-clouds .c2{width:60vw;height:32vh;top:44%;right:-8%;}
.jt-clouds .c3{width:46vw;height:26vh;top:58%;left:22%;}
.jt-clouds .c4{width:40vw;height:22vh;top:34%;left:38%;opacity:.8;}
.jt-clouds .c5{width:80vw;height:30vh;top:66%;left:-20%;opacity:.7;}

/* ---------- passport stamps ---------- */
.jt-stamp{position:absolute;z-index:3;font-style:normal;top:16px;inset-inline-start:calc(50% - 41px);width:82px;height:82px;border-radius:50%;
  border:2px solid color-mix(in srgb,var(--gold-2) 85%,#fff);color:color-mix(in srgb,var(--gold-2) 90%,#fff);
  display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  box-shadow:inset 0 0 0 4px rgba(0,0,0,0),inset 0 0 0 5px color-mix(in srgb,var(--gold-2) 55%,transparent);
  background:rgba(10,14,38,.18);backdrop-filter:blur(1px);
  opacity:0;transform:rotate(var(--r,-10deg)) scale(1.9);pointer-events:none;}
.jt-stamp b{font-size:11px;font-weight:800;line-height:1.15;max-width:70px;padding-inline:4px;}
.jt-stamp small{font-size:9px;letter-spacing:.12em;font-weight:700;opacity:.9;direction:ltr;}
.jt-stamp .jt-stamp-k{letter-spacing:.2em;margin-bottom:2px;}
.dest-card.jt-stamped .jt-stamp{animation:jtStamp .55s cubic-bezier(.3,1.6,.5,1) var(--d,0ms) forwards;}
@keyframes jtStamp{0%{opacity:0;transform:rotate(var(--r)) scale(1.9)}60%{opacity:.95}100%{opacity:.92;transform:rotate(var(--r)) scale(1)}}
@media (max-width:700px){.jt-stamp{width:72px;height:72px;inset-inline-start:calc(50% - 36px);}.jt-stamp b{font-size:10px;}}
.jt-pass-end b.is-word{font-size:13px;letter-spacing:0;padding-top:6px;}

/* ---------- sky, clouds and clear sea ---------- */
.jt-wave{position:absolute;left:0;bottom:0;width:200%;height:100%;will-change:transform;
  animation:jtSlide var(--sp,22s) linear infinite;animation-play-state:paused;}
.jt-live .jt-wave{animation-play-state:running;}
[dir="rtl"] .jt-wave{animation-direction:reverse;}
@keyframes jtSlide{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

/* a puffy cloud made of three soft circles */
.jt-cloud{position:absolute;display:block;width:150px;height:56px;will-change:transform;
  animation:jtDrift var(--cd,80s) linear infinite;animation-play-state:paused;}
.jt-live .jt-cloud{animation-play-state:running;}
.jt-cloud i{position:absolute;bottom:0;border-radius:50%;
  background:radial-gradient(closest-side,#fff 0%,rgba(255,255,255,.92) 55%,rgba(255,255,255,0) 100%);}
.jt-cloud i:nth-child(1){width:46%;height:78%;left:6%;}
.jt-cloud i:nth-child(2){width:52%;height:100%;left:28%;}
.jt-cloud i:nth-child(3){width:40%;height:70%;left:56%;}
@keyframes jtDrift{from{transform:translate3d(var(--cx0,-30vw),0,0) scale(var(--cs,1))}to{transform:translate3d(var(--cx1,110vw),0,0) scale(var(--cs,1))}}
[dir="rtl"] .jt-cloud{--cx0:30vw;--cx1:-110vw;}

/* footer: night sea behind the content */
.jt-has-sea > .container, .jt-has-sea > .footer-sign{position:relative;z-index:1;}
.jt-foot-sea{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;border-radius:inherit;
  background:radial-gradient(120% 70% at 50% 100%,rgba(40,120,160,.22),rgba(40,120,160,0) 60%);}
.jt-foot-sky{position:absolute;inset:0 0 50% 0;}
.jt-foot-sky .jt-cloud{opacity:.05;--cs:1.6;}
.jt-foot-sky .jt-cloud:nth-child(1){top:10%;--cd:110s;animation-delay:-20s;}
.jt-foot-sky .jt-cloud:nth-child(2){top:38%;--cd:150s;--cs:1.1;animation-delay:-90s;}
.jt-foot-sky .jt-cloud:nth-child(3){top:62%;--cd:130s;--cs:.8;opacity:.05;animation-delay:-50s;}
.jt-foot-water{position:absolute;left:0;right:0;bottom:0;height:min(42%,240px);}
.jt-foot-water .w1{--sp:30s;height:100%;}
.jt-foot-water .w2{--sp:22s;height:70%;}
.jt-foot-water .w3{--sp:40s;height:45%;}
.jt-foot-glow{position:absolute;left:50%;bottom:0;width:min(560px,80%);height:85%;transform:translateX(-50%);opacity:.5;
  background:radial-gradient(50% 100% at 50% 100%,color-mix(in srgb,var(--gold) 26%,transparent),transparent 70%);
  animation:jtBreath 7s ease-in-out infinite;animation-play-state:paused;}
.jt-live .jt-foot-glow{animation-play-state:running;}
@keyframes jtBreath{0%,100%{opacity:.35}50%{opacity:.6}}
.jt-foot-plane{position:absolute;top:16%;width:26px;height:26px;fill:var(--gold-2);opacity:0;inset-inline-start:-4%;}
[dir="rtl"] .jt-foot-plane{transform:scaleX(-1);}
.jt-foot-sea.is-flying .jt-foot-plane{animation:jtFootFly 9s cubic-bezier(.4,0,.3,1) .4s forwards;}
@keyframes jtFootFly{0%{opacity:0;inset-inline-start:-4%;top:20%}12%{opacity:.45}85%{opacity:.45}100%{opacity:0;inset-inline-start:104%;top:8%}}

/* home photo: waves along the bottom edge */
.jt-hero-waves{position:absolute;left:0;right:0;bottom:0;height:120px;z-index:-1;pointer-events:none;overflow:hidden;}
.jt-hero-waves .w1{--sp:26s;height:70%;}
.jt-hero-waves .w2{--sp:38s;height:100%;}
.jt-hero-waves .w3{--sp:18s;height:50%;}

/* light sections: slow clouds behind the content */
.jt-has-sky{position:relative;isolation:isolate;}
.jt-sec-sky{position:absolute;inset:0;z-index:-1;overflow:hidden;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg,rgba(169,217,242,.22) 0%,rgba(205,234,248,.10) 30%,rgba(205,234,248,0) 55%);}
.jt-sec-sky .jt-cloud{opacity:.55;top:8%;--cd:140s;--cs:1.5;animation-delay:-40s;}
.jt-sec-sky .jt-cloud + .jt-cloud{top:62%;--cd:180s;--cs:1.1;opacity:.4;animation-delay:-120s;}
.jt-sec-sky.alt .jt-cloud{top:18%;animation-delay:-90s;}
