/* ستیکشو — لایه طراحی و موشن (نسخه 2.4.0) */

/* ---- رفع متن نامرئی در تم روز (جمله زیر اسلایدر رنگ روشن داشت) ---- */
body.theme-light .st-slogan { color: #0B1220 !important; }
body.theme-light .glass { color: #0B1220; }
body.theme-light .glass summary { color: #0B1220; }

/* ---- بافت دانه‌ای و لکه‌های رنگی متحرک پس‌زمینه ---- */
body.setikshu-body::before {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.st-blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.st-blobs span { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; opacity: .5; will-change: transform; }
.st-blobs span:nth-child(1) { top: -14vmax; right: -10vmax; background: radial-gradient(circle, rgba(85,152,217,.35), transparent 62%); animation: st-float-a 22s ease-in-out infinite alternate; }
.st-blobs span:nth-child(2) { bottom: -16vmax; left: -12vmax; background: radial-gradient(circle, rgba(255,140,0,.28), transparent 62%); animation: st-float-b 26s ease-in-out infinite alternate; }
.st-blobs span:nth-child(3) { top: 38%; left: 30%; width: 30vmax; height: 30vmax; background: radial-gradient(circle, rgba(56,189,248,.18), transparent 64%); animation: st-float-a 30s ease-in-out infinite alternate-reverse; }
body.theme-light .st-blobs span { opacity: .75; }
@keyframes st-float-a { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-8vmax,6vmax,0) scale(1.15); } }
@keyframes st-float-b { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(9vmax,-7vmax,0) scale(1.2); } }

/* ---- نوار پیشرفت اسکرول ---- */
.st-progress { position: fixed; top: 0; right: 0; width: 100%; height: 3px; z-index: 95; transform-origin: right center; transform: scaleX(0); background: linear-gradient(90deg, #FF8C00, #5598D9); pointer-events: none; }

/* ---- نمایش تدریجی هنگام اسکرول ---- */
.st-js .st-reveal { opacity: 0; translate: 0 28px; scale: .98; transition: opacity .7s cubic-bezier(.2,.7,.2,1), translate .7s cubic-bezier(.2,.7,.2,1), scale .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.st-js .st-reveal.in { opacity: 1; translate: 0 0; scale: 1; }
.st-js .st-reveal[data-tilt] { transition: opacity .7s cubic-bezier(.2,.7,.2,1), translate .7s cubic-bezier(.2,.7,.2,1), scale .7s cubic-bezier(.2,.7,.2,1), transform .25s ease-out; transition-delay: var(--d, 0ms); }
[data-tilt] { transition: transform .25s ease-out; transform-style: preserve-3d; will-change: transform; }

/* ---- کارت بلیت (خدمات و گالری) ---- */
body.setikshu-body .st-ticket { position: relative; background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 8px, transparent 8px 16px); background-size: 100% 2px; background-position: 0 62%; background-repeat: no-repeat; }
.st-ticket::before, .st-ticket::after { content: ''; position: absolute; top: calc(62% - 9px); width: 18px; height: 18px; border-radius: 50%; background: #070B14; z-index: 2; }
.st-ticket::before { right: -9px; }
.st-ticket::after { left: -9px; }
body.theme-light .st-ticket::before, body.theme-light .st-ticket::after { background: #FFF6E8; }

/* ---- کادر درخشان چرخان دور پرسشنامه ---- */
@property --st-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.st-glow-border { position: relative; }
.st-glow-border::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--st-a), transparent 0 62%, #FF8C00 78%, #5598D9 90%, transparent 100%);
  -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: st-spin 7s linear infinite;
}
@keyframes st-spin { to { --st-a: 360deg; } }

/* ---- اسلایدر: زوم سینمایی ---- */
.slider-slide img { transform: scale(1.02); transition: transform 7s ease-out; }
.slider-slide.is-active img { transform: scale(1.13); }
.st-word { display: inline-block; opacity: 0; translate: 0 .55em; filter: blur(6px); animation: st-word .75s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes st-word { to { opacity: 1; translate: 0 0; filter: none; } }

/* ---- نوار متحرک خدمات ---- */
.st-marquee { overflow: hidden; border-block: 1px solid rgba(255,255,255,.1); padding: .85rem 0; background: rgba(255,140,0,.08); }
body.theme-light .st-marquee { border-color: rgba(15,23,42,.1); background: rgba(255,140,0,.12); }
.st-marquee-track { display: flex; width: max-content; gap: 2.5rem; animation: st-marquee 28s linear infinite; font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.st-marquee-track span:nth-child(even) { color: #FF8C00; }
@keyframes st-marquee { to { transform: translateX(25%); } }

/* ---- مسیر سفر با هواپیما (بخش «چطور کار می‌کند») ---- */
.st-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.st-route-path { fill: none; stroke: #FF8C00; stroke-width: 2.5; stroke-dasharray: 6 8; stroke-linecap: round; opacity: .7; }
.st-plane { fill: #FF8C00; filter: drop-shadow(0 0 6px rgba(255,140,0,.7)); transition: opacity .3s; }
.st-step { position: relative; z-index: 1; }
@media (max-width: 767px) { .st-route { display: none; } }

/* ---- نور دنبال‌کننده ماوس (فقط دسکتاپ) ---- */
.st-cursor-glow { position: fixed; left: 0; top: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(85,152,217,.16), transparent 62%); transform: translate3d(var(--x, 50vw), var(--y, 40vh), 0); will-change: transform; }

/* ---- هدر و دکمه‌ها ---- */
header.sticky .max-w-6xl { transition: padding .3s ease; }
header.st-scrolled .max-w-6xl { padding-top: .35rem; padding-bottom: .35rem; }
header.st-scrolled { box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.setikshu-cta-btn { transition: transform .2s ease, box-shadow .2s ease, translate .2s ease; }
.setikshu-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,140,0,.38); }
.option-card.selected { animation: st-pop .35s ease; }
@keyframes st-pop { 50% { transform: scale(1.03); } }

/* ---- کانفتی بعد از ثبت درخواست ---- */
.st-confetti { position: fixed; inset: 0; z-index: 120; pointer-events: none; overflow: hidden; }
.st-confetti i { position: absolute; top: -14px; width: 9px; height: 15px; border-radius: 2px; opacity: 0; animation-name: st-fall; animation-timing-function: cubic-bezier(.25,.6,.4,1); animation-fill-mode: forwards; }
@keyframes st-fall { 0% { opacity: 1; transform: translate3d(0,0,0) rotate(0); } 100% { opacity: 0; transform: translate3d(var(--dx), 105vh, 0) rotate(var(--r)); } }

/* ---- کاهش حرکت ---- */
@media (prefers-reduced-motion: reduce) {
  .st-js .st-reveal { opacity: 1 !important; translate: none !important; scale: 1 !important; }
  .st-word { opacity: 1 !important; translate: none !important; filter: none !important; }
  .st-marquee-track { animation: none !important; }
  .slider-slide.is-active img { transform: none; }
}

/* =====================================================================
   2.5.0 — هیرو سینمایی، صحنه‌های اسکرولی، بلیت زنده، نوار گالری
   ===================================================================== */

/* ---- هیرو ---- */
.st-hero { height: clamp(520px, 88vh, 880px); isolation: isolate; }
.st-hero .slider-track { height: 100%; }
html { scroll-padding-top: 84px; }
.st-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.st-hero-copy { translate: calc(var(--mx, 0) * -16px) calc(var(--my, 0) * -10px); transition: translate .25s ease-out; }
.slider-slide img { translate: calc(var(--mx, 0) * 22px) calc(var(--my, 0) * 14px); }
.st-hero-title { font-size: clamp(2.2rem, 7vw, 5rem) !important; line-height: 1.25; font-weight: 900; text-shadow: 0 6px 40px rgba(0,0,0,.55); letter-spacing: -.01em; }
.st-hero-sub { font-size: clamp(.95rem, 2.2vw, 1.35rem); text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.st-hero-cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.6rem; padding: .95rem 2rem; border-radius: 999px; font-weight: 800; font-size: 1.05rem; background: linear-gradient(135deg, #FF8C00, #FFB347); color: #0B1220; box-shadow: 0 14px 40px rgba(255,140,0,.45); }
.st-hero-cta:hover { box-shadow: 0 18px 54px rgba(255,140,0,.6); }
.st-scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; z-index: 12; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.st-scroll-cue span { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #FF8C00; animation: st-cue 1.6s ease-in-out infinite; }
@keyframes st-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---- نوار عکس‌های گالری ---- */
.st-strip-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.st-strip-track { display: flex; width: max-content; gap: 1rem; animation: st-strip 60s linear infinite; }
.st-strip-viewport:hover .st-strip-track { animation-play-state: paused; }
.st-strip-item { width: clamp(200px, 26vw, 340px); aspect-ratio: 4 / 5; border-radius: 1.25rem; overflow: hidden; flex: none; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.st-strip-item:nth-child(even) { translate: 0 22px; }
.st-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.st-strip-item:hover img { transform: scale(1.08); }
@keyframes st-strip { to { transform: translateX(50%); } }

/* ---- بلیت زنده (بوردینگ‌پس) ---- */
.st-bp { --bp-a: #0f2a44; --bp-b: #16314f; --bp-c: #2a1f0d; position: relative; overflow: hidden; border-radius: 1.5rem; color: #fff; background: linear-gradient(145deg, var(--bp-a), var(--bp-b) 55%, var(--bp-c)); box-shadow: 0 30px 70px rgba(0,0,0,.4); transition: background .6s ease; }
.st-bp[data-dest="n"] { --bp-a: #06302e; --bp-b: #0c4a46; --bp-c: #12332a; }
.st-bp[data-dest="s"] { --bp-a: #4a1f08; --bp-b: #8a3a07; --bp-c: #b45309; }
.st-bp::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 90% 0%, rgba(255,255,255,.18), transparent 45%); pointer-events: none; }
.st-bp small { display: block; font-size: .7rem; letter-spacing: .02em; color: rgba(255,255,255,.62); margin-bottom: .15rem; }
.st-bp b { font-weight: 800; font-size: 1rem; }
.st-bp-top { padding: 1.3rem 1.5rem .6rem; }
.st-bp-brand { font-size: .78rem; font-weight: 700; color: #FFB347; margin-bottom: .8rem; }
.st-bp-route { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.st-bp-route b { font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.1; }
.st-bp-plane { width: 34px; height: 34px; flex: none; fill: #FF8C00; animation: st-plane 3.2s ease-in-out infinite; }
@keyframes st-plane { 0%, 100% { translate: -6px 0; } 50% { translate: 6px -3px; } }
.st-bp-body { padding: .4rem 1.5rem 1.1rem; }
.st-bp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.st-bp-services { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; min-height: 1.6rem; }
.st-bp-services span { padding: .2rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(255,140,0,.22); border: 1px solid rgba(255,140,0,.5); animation: st-pop .4s ease; }
.st-bp-cut { position: relative; height: 0; border-top: 2px dashed rgba(255,255,255,.28); margin: 0 1.3rem; }
.st-bp-cut::before, .st-bp-cut::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: #070B14; }
.st-bp-cut::before { right: -2.1rem; }
.st-bp-cut::after { left: -2.1rem; }
body.theme-light .st-bp-cut::before, body.theme-light .st-bp-cut::after { background: #FFF6E8; }
.st-bp-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem 1.3rem; }
.st-bp-barcode { position: relative; flex: none; width: 130px; height: 44px; border-radius: 4px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px, #fff 5px 6px, transparent 6px 9px, #fff 9px 12px, transparent 12px 14px, #fff 14px 15px, transparent 15px 19px); opacity: .9; }
.st-bp-barcode::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: #FF8C00; box-shadow: 0 0 12px #FF8C00; animation: st-scan 2.4s ease-in-out infinite; }
@keyframes st-scan { 0%, 100% { left: 0; } 50% { left: calc(100% - 3px); } }
.st-bp b.pop { animation: st-pop .45s ease; }
.st-bp-stamp { position: absolute; top: 38%; left: 50%; translate: -50% -50%; rotate: -12deg; padding: .5rem 1.4rem; border: 4px solid #4ADE80; border-radius: .8rem; color: #4ADE80; font-size: 2rem; font-weight: 900; opacity: 0; scale: 1.8; background: rgba(7,11,20,.55); pointer-events: none; }
.st-bp.done .st-bp-stamp { opacity: 1; scale: 1; transition: opacity .3s .15s, scale .45s .15s cubic-bezier(.2,1.4,.4,1); }
@media (max-width: 1023px) {
  .st-bp-body, .st-bp-cut, .st-bp-bottom { display: none; }
  .st-bp-top { padding: .9rem 1.2rem; }
  .st-bp-brand { margin-bottom: .4rem; }
  .st-bp.done .st-bp-body, .st-bp.done .st-bp-cut, .st-bp.done .st-bp-bottom { display: block; }
}

/* ---- دکمه شناور موبایل ---- */
.st-mobile-cta { position: fixed; right: 16px; bottom: 24px; z-index: 58; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 800; color: #0B1220; background: linear-gradient(135deg, #FF8C00, #FFB347); box-shadow: 0 12px 34px rgba(255,140,0,.5); translate: 0 140%; opacity: 0; transition: translate .4s ease, opacity .4s ease; }
.st-mobile-cta.show { translate: 0 0; opacity: 1; animation: st-pulse 2.4s ease-in-out infinite; }
@keyframes st-pulse { 50% { box-shadow: 0 12px 44px rgba(255,140,0,.85); } }
@media (min-width: 1024px) { .st-mobile-cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .st-strip-track, .st-bp-plane, .st-bp-barcode::after, .st-scroll-cue span, .st-mobile-cta.show { animation: none !important; }
}

/* ---- لوگوی ستیکشو: قطعه‌ها از اطراف می‌آیند و کنار هم می‌نشینند (حدود ۱.۵ ثانیه) ---- */
.st-brand { padding: clamp(3rem, 9vw, 6rem) 1rem; text-align: center; position: relative; }
.st-logo { --lw: min(560px, 86vw); position: relative; width: var(--lw); aspect-ratio: var(--ratio, 2.14); margin: 0 auto; }
.st-logo-full { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.st-lp { display: none; position: absolute; height: auto; pointer-events: none; will-change: transform, opacity; }
.st-js .st-logo .st-lp { display: block; opacity: 0; filter: blur(6px);
  transform: translate(calc(var(--dx) * .008 * var(--lw)), calc(var(--dy) * .008 * var(--lw))) rotate(calc(var(--r) * 1deg)) scale(.55); }
.st-js .st-logo .st-logo-full { opacity: 0; }
.st-js .st-logo.go .st-lp { opacity: 1; filter: none; transform: none;
  transition: transform .8s cubic-bezier(.2, 1.15, .35, 1), opacity .45s ease, filter .6s ease; transition-delay: var(--d, 0ms); }
.st-js .st-logo.done .st-lp { opacity: 0; transition: opacity .3s ease; transition-delay: 0ms; }
.st-js .st-logo.done .st-logo-full { opacity: 1; transition: opacity .3s ease; animation: st-logo-glow 1.4s ease-out; }
@keyframes st-logo-glow { 0% { filter: drop-shadow(0 0 0 rgba(255,140,0,0)); } 40% { filter: drop-shadow(0 0 34px rgba(255,140,0,.55)); } 100% { filter: drop-shadow(0 0 0 rgba(255,140,0,0)); } }
.st-brand-tag { margin-top: 1.8rem; font-size: clamp(1.6rem, 5vw, 2.6rem); font-weight: 900; }
.st-brand-sub { margin-top: .3rem; font-size: clamp(.95rem, 2.2vw, 1.2rem); opacity: .8; }
.st-js .st-after { opacity: 0; translate: 0 14px; transition: opacity .5s ease, translate .5s ease; }
.st-js .st-after.on { opacity: 1; translate: 0 0; }
.st-brand .st-hero-cta { margin-top: 1.4rem; }
