/* 15•72 — motion layer. Everything is disabled under prefers-reduced-motion (.rm). */
:root {
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #FF8A4F, var(--accent)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- sticky nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: transform .45s var(--ease), background-color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav__in { transition: padding .35s var(--ease); }
.nav.is-scrolled { background: rgba(18, 18, 20, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: rgba(255, 255, 255, .06); }
.nav.is-scrolled .nav__in { padding-top: 14px; padding-bottom: 14px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-current { color: var(--accent); }
@media (max-width: 767px) { .nav.is-scrolled .nav__in { padding-top: 10px; padding-bottom: 10px; } }

/* ---------- buttons ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn--accent::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .5) 50%, transparent 75%);
  transform: translateX(-130%);
}
.btn--accent:hover::after { transform: translateX(130%); transition: transform .8s var(--ease); }
.btn--accent:hover { box-shadow: 0 10px 30px -8px rgba(255, 106, 43, .6); }
.i--go { transition: transform .35s var(--ease); }
a:hover > .i--go, button:hover > .i--go, a:hover > span > .i--go, button:hover > span > .i--go { transform: translateX(4px); }
.arrow-btn .i--go { transform: none !important; }

/* ---------- segmented / tabs sliding pill ---------- */
.seg, .tabs { position: relative; isolation: isolate; }
.seg::before, .tabs::before {
  content: ""; position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px);
  border-radius: 100px; background: var(--accent); transition: transform .45s var(--ease);
}
.seg:has(input[value="parcel"]:checked)::before { transform: translateX(calc(100% + 4px)); }
.seg__opt { position: relative; z-index: 1; }
.seg__opt input:checked + span { background: transparent; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; }
.tabs:has(.is-active[data-dir="from"])::before { transform: translateX(calc(100% + 4px)); }
.tabs__btn { position: relative; z-index: 1; text-align: center; }
.tabs__btn.is-active { background: transparent; }

/* chips */
.chip span { transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.chip span:active { transform: scale(.95); }
/* check mark grows in instead of popping the chip width */
.chip span .i { display: inline-block; width: 0; margin-right: -6px; opacity: 0; transform: scale(.3) rotate(-30deg); transition: width .35s var(--ease), margin .35s var(--ease), opacity .25s, transform .4s var(--ease); }
.chip input:checked + span .i { width: 14px; margin-right: 0; opacity: 1; transform: none; }
.swap { transition: transform .5s var(--ease), border-color .2s; }
.swap:hover { border-color: var(--accent); }

/* price hint bump */
.price-hint.is-bump { animation: bump .5s var(--ease); }
.price-hint.is-bump b, .price-hint.is-bump span { animation: fadeUp .45s var(--ease); }

/* booking steps */
.js:not(.rm) .step:not([hidden]) { animation: stepIn .5s var(--ease); }
.js:not(.rm) .step--done:not([hidden]) > * { animation: fadeUp .6s var(--ease) both; }
.js:not(.rm) .step--done > :nth-child(2) { animation-delay: .12s; }
.js:not(.rm) .step--done > :nth-child(3) { animation-delay: .22s; }
.js:not(.rm) .step--done > :nth-child(4) { animation-delay: .32s; }
.js:not(.rm) .step--done > :nth-child(5) { animation-delay: .42s; }
.js:not(.rm) .step--done:not([hidden]) .check { animation: pop .6s var(--ease) both; }
.step--done .check { position: relative; }
.step--done .check::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.js:not(.rm) .step--done:not([hidden]) .check::after { animation: ring 1.2s .3s var(--ease) both; }
.js:not(.rm) .step--done:not([hidden]) .check .i { stroke-dasharray: 26; stroke-dashoffset: 26; animation: draw .55s .3s var(--ease) forwards; }
.btn--wa { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
.js:not(.rm) .step--done:not([hidden]) .btn--wa { animation: fadeUp .6s .42s var(--ease) both, waGlow 2.4s 1.2s infinite; }

/* ---------- hero entrance ---------- */
.hero__bg { inset: -50px 0; will-change: transform; }
.js:not(.rm) .hero__bg img { animation: kenburns 2.6s var(--ease) both; }
.js:not(.rm) .hero__visual { animation: heroBox 1.1s var(--ease) both; }
.js:not(.rm) .hero__text > * { animation: fadeUp .9s var(--ease) both; }
.js:not(.rm) .hero__text > :nth-child(1) { animation-delay: .15s; }
.js:not(.rm) .hero__text > :nth-child(2) { animation-delay: .25s; }
.js:not(.rm) .hero__text > :nth-child(3), .js:not(.rm) .hero__text > :nth-child(4) { animation-delay: .45s; }
.js:not(.rm) .hero__text > :nth-child(5) { animation-delay: .55s; }
.js:not(.rm) .hero__text > :nth-child(6) { animation-delay: .65s; }
.js:not(.rm) .h1 .accent { animation: fadeUp .9s .4s var(--ease) both; }
.h1 .accent {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent) 40%, #FFC2A3 50%, var(--accent) 60%, var(--accent) 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.js:not(.rm) .h1 .accent { animation: fadeUp .9s .4s var(--ease) both, shimmer 1.8s 1.3s var(--ease-io) both; }
.js:not(.rm) .facts li { animation: fadeUp .8s var(--ease) both; }
.js:not(.rm) .facts li:nth-child(1) { animation-delay: .6s; }
.js:not(.rm) .facts li:nth-child(2) { animation-delay: .7s; }
.js:not(.rm) .facts li:nth-child(3) { animation-delay: .8s; }
.js:not(.rm) .booking { animation: panelIn 1.1s .35s var(--ease) both; }
.js:not(.rm) .nav { animation: navIn .8s var(--ease) both; }
.js:not(.rm) .perks .i { animation: pop .5s var(--ease) both; animation-delay: .9s; }
.count { font-variant-numeric: tabular-nums; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; margin-top: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; white-space: nowrap; }
.ticker span { font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: var(--text); opacity: .9; }
.ticker span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1px rgba(244, 242, 238, .45); }
.ticker i { font-style: normal; color: var(--accent); font-size: 14px; }
.js:not(.rm) .ticker__track { animation: marquee 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (max-width: 767px) { .ticker { padding: 16px 0; margin-top: 28px; } .ticker span { font-size: 17px; } .ticker__track { gap: 20px; } }

/* ---------- scroll reveal ---------- */
.js:not(.rm) [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js:not(.rm) [data-reveal="fade"] { transform: none; }
.js:not(.rm) [data-reveal="left"] { transform: translateX(-32px); }
.js:not(.rm) [data-reveal="scale"] { transform: translateY(24px) scale(.96); }
.js:not(.rm) [data-reveal].is-in { opacity: 1; transform: none; }
.js:not(.rm) [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(14% 8% 14% 8% round 24px); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0ms); }
.js:not(.rm) [data-reveal="clip"] img { transform: scale(1.18); transition: transform 1.6s var(--ease); transition-delay: var(--d, 0ms); }
.js:not(.rm) [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round 24px); }
.js:not(.rm) [data-reveal="clip"].is-in img { transform: scale(1); }
.js:not(.rm) [data-reveal="clip"].is-in:hover img { transform: scale(1.05); transition-delay: 0ms; transition-duration: 1.2s; }
.js:not(.rm) [data-reveal="clip"].is-in.is-done { clip-path: none; }

/* headings: line-mask rise */
.js:not(.rm) .h2[data-reveal] { transform: translateY(40px); clip-path: inset(0 0 100% 0); transition: opacity .9s var(--ease), transform 1s var(--ease), clip-path 1s var(--ease); transition-delay: var(--d, 0ms); }
.js:not(.rm) .h2[data-reveal].is-in { clip-path: inset(-10% -5% -20% -5%); transform: none; opacity: 1; }

/* ---------- section details ---------- */
/* routes */
.route { transition: background-color .3s; }
.route:hover { background: rgba(255, 255, 255, .02); }
.route__title > .i:not(.chev) { transition: transform .35s var(--ease), color .3s; }
.route:hover .route__title > .i:not(.chev) { transform: translateX(4px); color: var(--accent); }
.route__title .chev { transition: transform .4s var(--ease); }
.route__wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.route.is-open .route__wrap { grid-template-rows: 1fr; }
.route__inner { overflow: hidden; min-height: 0; }
.route__details li { opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); }
.route.is-open .route__details li { opacity: 1; transform: none; }
.route.is-open .route__details li:nth-child(2) { transition-delay: .06s; }
.route.is-open .route__details li:nth-child(3) { transition-delay: .12s; }
.route__details li { transition-property: opacity, transform, border-color; }
.route__details li:hover { border-color: rgba(255, 106, 43, .35); }

/* services: accent line draws in */
.service { position: relative; }
.service::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease); }
.service--main { border-top-color: var(--line); }
.js .service--main.is-in::before, html:not(.js) .service--main::before, .rm .service--main::before { transform: scaleX(1); }
.service:hover::before { transform: scaleX(1); }
.service .service__top .i { transition: transform .5s var(--ease); }
.service:hover .service__top .i { transform: translateY(-3px) rotate(-8deg) scale(1.1); }

/* promo bento */
.promo-main, .promo-card, .group-card, .review, .board, .times li, .points li, .msg, .howto { transition: translate .45s var(--ease), background-color .3s, border-color .3s, box-shadow .45s var(--ease); }
.promo-main { position: relative; overflow: hidden; isolation: isolate; }
.promo-main::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 180, .45), transparent 65%); }
.js:not(.rm) .promo-main::before { animation: blob 12s ease-in-out infinite alternate; }
.promo-main__top .i { transition: transform .6s var(--ease); }
.js:not(.rm) .promo-main__top .i { animation: twinkle 3.2s ease-in-out infinite; }
.promo-main:hover, .promo-card:hover, .review:hover, .board:hover { translate: 0 -6px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
.promo-main:hover { box-shadow: 0 30px 60px -24px rgba(255, 106, 43, .45); }
.promo-card .icon-box, .adv .icon-box { transition: transform .5s var(--ease), background-color .3s, color .3s; }
.promo-card:hover .icon-box, .adv li:hover .icon-box { transform: translateY(-3px) rotate(-8deg); background: var(--accent); color: var(--accent-ink); }
.group-card:hover { translate: 0 -4px; }

/* advantages */
.adv li { transition: background-color .4s; }
.adv li:hover { background: linear-gradient(180deg, rgba(255, 106, 43, .05), transparent 70%); }

/* steps */
.steps li { position: relative; }
.steps li::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.steps li:hover::before { transform: scaleX(1); }
.steps li .num { transition: transform .4s var(--ease); display: inline-block; }
.steps li:hover .num { transform: translateX(4px); }

/* schedule */
.times li:hover { translate: 0 -3px; background: #0d0d0f; }
.times li:hover b { color: var(--accent); }
.times b { transition: color .3s; }
.points li:hover { border-color: rgba(255, 106, 43, .45); }
.points .i { transition: transform .4s var(--ease); }
.points li:hover .i { transform: translateY(-3px); }
.board__head h3 .i { transition: transform .6s var(--ease); }
.board:hover .board__head h3 .i { transform: translateX(6px); }

/* fleet / photos */
.split__photo, .photos picture { position: relative; }
.split__photo img, .photos img { transition: transform 1.2s var(--ease); }
.specs .i { transition: transform .5s var(--ease); }
.specs li:hover .i { transform: scale(1.2) rotate(-6deg); }

/* reviews */
.review:hover { border-color: rgba(255, 106, 43, .3); }
.js:not(.rm) .stars .i { opacity: 0; transform: scale(.4); }
.js:not(.rm) .rating.is-in .stars .i { animation: starIn .5s var(--ease) forwards; }
.js:not(.rm) .rating.is-in .stars .i:nth-child(2) { animation-delay: .08s; }
.js:not(.rm) .rating.is-in .stars .i:nth-child(3) { animation-delay: .16s; }
.js:not(.rm) .rating.is-in .stars .i:nth-child(4) { animation-delay: .24s; }
.js:not(.rm) .rating.is-in .stars .i:nth-child(5) { animation-delay: .32s; }

/* coupon */
.coupon { position: relative; isolation: isolate; }
.coupon::before { content: ""; position: absolute; z-index: -1; inset: -40%; background: radial-gradient(circle at 30% 40%, rgba(255, 200, 160, .45), transparent 40%), radial-gradient(circle at 75% 70%, rgba(200, 60, 0, .35), transparent 45%); }
.js:not(.rm) .coupon::before { animation: drift 16s ease-in-out infinite alternate; }
.ticket { --rot: 4deg; transform: rotate(var(--rot)); transition: box-shadow .5s; }
.js:not(.rm) .ticket { animation: float 6s ease-in-out infinite; }
.coupon:hover .ticket { box-shadow: 0 40px 80px rgba(26, 14, 8, .5); }
.ticket__qr { transition: transform .5s var(--ease); }
.coupon:hover .ticket__qr { transform: rotate(90deg); }
@media (max-width: 767px) { .ticket { --rot: -3deg; } }

/* contacts */
.msg:hover { translate: 0 -3px; }
.msg__ic { transition: transform .45s var(--ease); }
.msg:hover .msg__ic { transform: rotate(-12deg) scale(1.08); }
.details a { transition: color .2s; }
.details a:hover { color: var(--accent); }
.input { transition: border-color .25s, box-shadow .3s; }
.input:focus-within { box-shadow: 0 0 0 4px rgba(255, 106, 43, .14); }
.input.is-invalid { animation: shake .4s; }

/* faq */
.faq__list summary { transition: color .25s, padding-left .35s var(--ease); }
.faq__list summary:hover { padding-left: 6px; }
.pm::before, .pm::after { transition: transform .4s var(--ease); }
details[open] .pm::before { transform: rotate(180deg); }

/* footer */
.footer__col a { transition: color .2s, translate .3s var(--ease); }
.footer__col a:hover { translate: 4px 0; }

/* floats */
.float { position: relative; isolation: isolate; }
.float--wa::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--wa); }
.js:not(.rm) .float--wa::before { animation: pulse 2.6s ease-out infinite; }
.js:not(.rm) .floats .float { animation: popIn .6s var(--ease) both; }
.js:not(.rm) .floats .float:nth-child(1) { animation-delay: 1.2s; }
.js:not(.rm) .floats .float:nth-child(2) { animation-delay: 1.32s; }
.float .i { transition: transform .4s var(--ease); }
.float--call:hover .i { animation: ringPhone .6s; }
.js:not(.rm) .sticky-bar { animation: barIn .8s 1s var(--ease) both; }

/* ---------- keyframes ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(calc(22px * var(--dir, 1))); } to { opacity: 1; transform: none; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes navIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes heroBox { from { clip-path: inset(3% 2% 3% 2% round 36px); } to { clip-path: inset(0 0 0 0 round 28px); } }
@keyframes kenburns { from { transform: scale(1.18); filter: brightness(.6); } to { transform: scale(1); filter: none; } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); } }
@keyframes popIn { 0% { transform: scale(0); } 70% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.015); border-color: rgba(255, 106, 43, .6); } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes waGlow { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 70%, 100% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes starIn { 0% { opacity: 0; transform: scale(.4) rotate(-30deg); } 70% { opacity: 1; transform: scale(1.25); } 100% { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: rotate(var(--rot)) translateY(0); } 50% { transform: rotate(calc(var(--rot) - 2deg)) translateY(-12px); } }
@keyframes drift { from { transform: translate(-4%, -3%) rotate(0); } to { transform: translate(4%, 3%) rotate(8deg); } }
@keyframes blob { from { transform: translate(0, 0) scale(1); } to { transform: translate(-80px, 60px) scale(1.25); } }
@keyframes twinkle { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(18deg) scale(1.15); } }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ringPhone { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-16deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-10deg); } 80% { transform: rotate(6deg); } }
@keyframes barIn { from { transform: translateY(140%); } to { transform: none; } }
@keyframes shake { 0%, 100% { translate: 0; } 25% { translate: -5px 0; } 50% { translate: 5px 0; } 75% { translate: -3px 0; } }

/* ---------- smooth state switches ---------- */
.seg__opt span, .tabs__btn { transition: color .35s var(--ease); }
.input input, .input select, .input textarea { transition: color .25s; }
.js:not(.rm) .form-error:not([hidden]), .js:not(.rm) .form-ok:not([hidden]) { animation: msgIn .35s var(--ease); }
.js:not(.rm) .badge:not([hidden]) { animation: pop .45s var(--ease); }
.summary__line b, .summary__meta { transition: color .25s; }
.round { transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.round:active { transform: scale(.92); }
.link-accent, .link-plain, .link-circle { transition: color .25s, opacity .25s; }
.link-accent:hover, .link-plain:hover { opacity: .8; }
.link-plain .i { transition: transform .5s var(--ease); }
.link-plain:hover .i { transform: rotate(-180deg); }
.link-accent .i { transition: transform .35s var(--ease); }
.link-accent:hover .i { transform: rotate(-12deg); }
@keyframes msgIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
  .nav.is-hidden { transform: none; }
  .h1 .accent { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); }
}
