/* Nexon intro site: loader, app screens and page sections. Tokens and shared parts are in site.css */

/* ---------- loader ---------- */
.loader { display: none; }
.is-loading .loader, .loader.is-off { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 42%, #14335e, #0a1a30 70%); }
.is-loading body { overflow: hidden; }
.loader__in { display: grid; justify-items: center; gap: 22px; }
.loader__drop { width: 84px; overflow: visible; animation: drop-in .7s cubic-bezier(.3, 1.4, .5, 1) both; }
.loader__oil { animation: oil-rise 1.25s .15s cubic-bezier(.4, 0, .2, 1) both; }
.loader__wave { animation: oil-wave 1.1s linear infinite; }
.loader__logo { width: 190px; animation: logo-open .7s .55s var(--ease) both; }
.loader__bar { width: 150px; height: 3px; border-radius: 9px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.loader__bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--red), var(--gold)); transform-origin: left; animation: bar-fill 1.45s ease-in-out both; }
[dir="rtl"] .loader__bar i { transform-origin: right; }
.loader.is-off { clip-path: circle(150% at 50% 45%); animation: loader-off .95s var(--ease) forwards; pointer-events: none; }
.loader.is-off .loader__in { animation: loader-out .4s ease-in forwards; }
@keyframes drop-in { from { translate: 0 -90px; opacity: 0; } }
@keyframes oil-rise { from { transform: translateY(165px); } to { transform: translateY(6px); } }
@keyframes oil-wave { to { transform: translateX(120px); } }
@keyframes logo-open { from { clip-path: inset(0 50% 0 50%); opacity: 0; } to { clip-path: inset(-10%); } }
@keyframes bar-fill { from { transform: scaleX(0); } }
@keyframes loader-out { to { opacity: 0; scale: .9; } }
@keyframes loader-off { to { clip-path: circle(0% at 50% 45%); } }

/* ---------- navy panel ---------- */
.panel { position: relative; overflow: hidden; border-radius: 32px; background: linear-gradient(155deg, #12305a, var(--ink) 70%); box-shadow: var(--sh-lg); }
.panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .17) 1.3px, transparent 1.5px) 0 0 / 20px 20px; mask-image: linear-gradient(215deg, #000, transparent 46%); }
.panel::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; inset-inline-start: -22%; bottom: -30%; background: radial-gradient(circle, rgba(216, 31, 39, .3), transparent 68%); }

/* ---------- app screens ---------- */
/* 1em is one 14px step of the 390px wide Figma frame */
.app { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; font-size: calc(var(--w) * .0385); line-height: 1.45; color: var(--navy); background: #f6f7f8; text-align: start; }
.app b { font-weight: 600; }
.app small { display: block; font-size: .82em; color: #808a97; }
.app__status { display: flex; direction: ltr; align-items: center; justify-content: space-between; flex: none; padding: 1em 1.9em .3em; font-size: 1.02em; }
.app__status i { width: 4.4em; height: .95em; background: linear-gradient(currentColor 0 0) 0 100% / .22em 40% no-repeat, linear-gradient(currentColor 0 0) .38em 100% / .22em 60% no-repeat, linear-gradient(currentColor 0 0) .76em 100% / .22em 80% no-repeat, linear-gradient(currentColor 0 0) 1.14em 100% / .22em 100% no-repeat; border-inline-end: 1.7em solid currentColor; border-radius: 0 .35em .35em 0; }
.app__tabs { position: relative; z-index: 3; flex: none; margin-block-start: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: .3em; padding: .8em 1em 1.2em; background: #fff; border-radius: 1.5em 1.5em 0 0; }
.app__tabs span { display: grid; justify-items: center; align-content: center; gap: .25em; height: 4.4em; border-radius: .7em; color: #7f8995; }
.app__tabs svg { width: 1.7em; }
.app__tabs small { font-size: .72em; color: inherit; white-space: nowrap; }
.app__tabs .is-on { background: var(--red); color: #fff; }

/* real screens */
.shot { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; background: #f6f7f8; }
.shot img, .shot__foot img { width: 100%; height: auto; max-width: none; }
.shot__top { position: relative; z-index: 2; flex: none; }
.shot__view { flex: 1; min-height: 0; overflow: hidden; }
.shot__body { padding-block-end: 27%; transition: translate var(--pan, 2.6s) cubic-bezier(.45, 0, .25, 1); }
.shot__body--end { padding-block-end: 6%; }
.shot__nav { position: absolute; z-index: 3; inset: auto 0 0; box-shadow: 0 -10px 24px -14px rgba(13, 38, 71, .25); border-radius: 18px 18px 0 0; }

/* the scan: the camera finds the can, closes in, and locks on its QR code */
.app--scan .app__status { position: relative; z-index: 4; color: #fff; }
.app--scan { background: #0b1320; }
.scan { position: absolute; inset: 0 0 4.2em; overflow: hidden; background: radial-gradient(circle at 50% 40%, #42536d, #16202f 62%, #0b1320); color: #fff; }
.scan > * { position: absolute; }
.scan__can { width: 66%; height: auto; left: 17%; top: 26%; transform-origin: 72% 5%; }
.scan__code { width: 56%; aspect-ratio: 1; left: 22%; top: 27%; padding: 1.3em; border-radius: 1.6em; background: #fff; opacity: 0; box-shadow: 0 2em 4em -1em rgba(0, 0, 0, .55); }
.scan__code svg { width: 100%; height: 100%; }
.scan__frame { left: 14%; top: 22%; width: 72%; aspect-ratio: 1; --c: #fff; background: linear-gradient(var(--c) 0 0) 0 0 / 17% 3px, linear-gradient(var(--c) 0 0) 0 0 / 3px 17%, linear-gradient(var(--c) 0 0) 100% 0 / 17% 3px, linear-gradient(var(--c) 0 0) 100% 0 / 3px 17%, linear-gradient(var(--c) 0 0) 0 100% / 17% 3px, linear-gradient(var(--c) 0 0) 0 100% / 3px 17%, linear-gradient(var(--c) 0 0) 100% 100% / 17% 3px, linear-gradient(var(--c) 0 0) 100% 100% / 3px 17%; background-repeat: no-repeat; }
.scan__frame i { position: absolute; inset: 4% 4% auto; height: 2px; background: var(--gold); box-shadow: 0 0 14px 3px rgba(233, 171, 50, .6); }
.scan__hint { top: 13%; inset-inline: 8%; text-align: center; }
.scan__lock { top: 67%; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: .5em; padding: .55em 1.1em; border-radius: 9em; background: rgba(10, 26, 48, .8); white-space: nowrap; font-weight: 500; opacity: 0; }
.scan__lock svg { width: 1.3em; color: #5fd08d; stroke-width: 2.6; }
.scan__done { inset-inline: 10%; bottom: 13%; padding: .8em; text-align: center; border-radius: 1em; background: var(--red); font-weight: 600; opacity: 0; }
.calm .scan__can { opacity: 0; }
.calm .scan__code, .calm .scan__lock, .calm .scan__done { opacity: 1; }
.is-live .scan__can { animation: scan-can 6.2s both; }
.is-live .scan__code { animation: scan-code 6.2s both; }
.is-live .scan__frame { animation: scan-frame 6.2s both; }
.is-live .scan__frame i { animation: scan-line 1.2s 1.9s 2 alternate ease-in-out both; }
.is-live .scan__lock { animation: scan-pop 6.2s both; }
.is-live .scan__done { animation: scan-pop2 6.2s both; }
@keyframes scan-can { 0%, 10% { transform: none; opacity: 1; } 30% { transform: translate(-22%, 12%) scale(3.1); opacity: 1; filter: blur(1px); } 35%, 100% { transform: translate(-22%, 12%) scale(3.4); opacity: 0; filter: blur(6px); } }
@keyframes scan-code { 0%, 28% { opacity: 0; transform: scale(.55); } 38%, 100% { opacity: 1; transform: none; } }
@keyframes scan-frame { 0%, 22% { transform: scale(1.08); } 40%, 62% { transform: scale(1); --c: #fff; } 68% { transform: scale(.9); } 72%, 100% { transform: scale(.93); --c: #5fd08d; } }
@keyframes scan-line { from { top: 4%; } to { top: 95%; } }
@keyframes scan-pop { 0%, 66% { opacity: 0; transform: translateY(.6em); } 71%, 100% { opacity: 1; transform: none; } }
@keyframes scan-pop2 { 0%, 78% { opacity: 0; transform: translateY(1.2em); } 84%, 100% { opacity: 1; transform: none; } }

/* the same scan wearing the Figma interface */
.app--design .scan { inset: 0; }
.scan__rings { left: 50%; top: 50%; width: 192%; max-width: none !important; translate: -50% -50%; opacity: .55; }
.app--design .scan__frame { left: 16.500%; top: 33.900%; width: 67%; aspect-ratio: 262 / 272; background: url("../img/app/scan-corners.svg") center / 100% 100% no-repeat; }
.app--design .scan__frame i { background: #fab019; }
.app--design .scan__code { width: 46%; left: 27%; top: 39.700%; }
.app--design .scan__can { top: 34%; }
.scan__banner { left: 6.150%; top: 75.600%; width: 87.700%; height: auto; border-radius: 99px; }
.app--design .scan__done { inset-inline: 6.150%; bottom: auto; top: 75.600%; height: 6.640%; padding: 0; display: grid; place-items: center; border-radius: 99px; background: #25884f; }
.app--design .app__status { padding-block-start: 1.1em; }

/* ---------- app tour ---------- */
.tour__screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.tour__screen.is-on { opacity: 1; visibility: visible; z-index: 2; }
.tour-on .tour__screen, .journey.is-live .tour__screen { translate: calc(var(--dir) * 22%) 0; transition: opacity .5s, translate .65s var(--ease), visibility 0s .65s; }
.tour-on .tour__screen.is-on, .journey.is-live .tour__screen.is-on { translate: 0; transition: opacity .4s, translate .65s var(--ease); }
.tour-on .tour__screen.is-out, .journey.is-live .tour__screen.is-out { translate: calc(var(--dir) * -22%) 0; visibility: visible; }
.tour__tap { position: absolute; z-index: 6; left: 50%; bottom: 8%; width: 46px; aspect-ratio: 1; margin-left: -23px; border-radius: 50%; background: rgba(13, 38, 71, .32); opacity: 0; pointer-events: none; }
.tour.is-tap .tour__tap { animation: tap .6s ease-out; }
@keyframes tap { 0% { opacity: 0; scale: 1.5; } 35% { opacity: 1; scale: .7; } 100% { opacity: 0; scale: 1.3; } }
.hero__stage { row-gap: 30px; align-content: center; }
.hero__jug { position: absolute; z-index: 6; bottom: -20px; inset-inline-start: -50%; width: 56%; filter: drop-shadow(0 26px 26px rgba(2, 6, 14, .6)); }
.tour__legend { display: grid; justify-items: center; gap: 10px; width: 250px; position: relative; z-index: 3; }
.tour__bars { display: flex; gap: 6px; width: 100%; }
.tour__bars i { flex: 1; height: 4px; border-radius: 9px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.tour__bars b { display: block; height: 100%; border-radius: 9px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .tour__bars b { transform-origin: right; }
.tour__bars .is-done b { transform: none; }
.tour__bars .is-now b { animation: bar-fill var(--hold, 3.6s) linear both; transform: none; }
.calm .tour__bars { display: none; }
.tour__labels { display: grid; text-align: center; color: #fff; font-weight: 500; }
.tour__labels span { grid-area: 1 / 1; opacity: 0; translate: 0 8px; transition: opacity .4s, translate .5s var(--ease); }
.tour__labels .is-on { opacity: 1; translate: 0; }

/* ---------- about ---------- */
.who__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5.4vw, 84px); align-items: center; }
.who__media { position: relative; }
.who__stage { position: relative; height: clamp(380px, 37vw, 490px); border-radius: 36px; overflow: hidden; background: radial-gradient(80% 70% at 50% 36%, #fff, #e8eef6 75%); box-shadow: inset 0 0 0 1px var(--line); }
.who__bolt { position: absolute; height: 92%; top: 2%; left: 50%; translate: -50% 0; width: auto; max-width: none; fill: none; stroke: #d5dfeb; stroke-width: 2; }
.who__floor { position: absolute; inset: auto 0 0; height: 23%; background: linear-gradient(180deg, rgba(13, 38, 71, .06), transparent); }
.who__can { position: absolute; z-index: 2; bottom: 13%; width: auto; filter: drop-shadow(0 22px 18px rgba(13, 38, 71, .26)); transition: translate .6s var(--ease); }
.who__can--1 { height: 50%; left: 4%; }
.who__can--2 { height: 54%; left: 17%; z-index: 3; }
.who__can--3 { height: 62%; left: 38%; z-index: 4; bottom: 10%; }
.who__can--4 { height: 50%; left: 72%; z-index: 3; }
.who__stage:hover .who__can { translate: 0 -8px; }
.who__stage:hover .who__can--3 { translate: 0 -14px; }
.who__badge { position: absolute; z-index: 6; bottom: -26px; inset-inline-start: 34px; display: flex; align-items: center; gap: 14px; padding: 14px 24px; border-radius: 20px; background: #fff; box-shadow: var(--sh-lg); color: var(--body); font-weight: 500; }
.who__badge b { font-size: 2rem; line-height: 1; font-weight: 700; color: var(--red); font-variant-numeric: tabular-nums; }
.who__photos { display: grid; gap: 18px; }
.who__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--sh); }
.who__photos img + img { width: 58%; margin-block-start: -24%; margin-inline-start: auto; border: 8px solid var(--bg); }
.who__facts { display: grid; gap: 22px; margin-block-start: 32px; }
.who__facts li { display: flex; gap: 18px; align-items: center; }
.who__facts b { display: block; color: var(--text); font-weight: 600; font-size: 1.08rem; line-height: 1.5; }
.who__facts span { color: var(--muted); font-size: .97rem; }

/* ---------- services ---------- */
.svc__posters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 22px; }
.poster { position: relative; overflow: hidden; aspect-ratio: 1 / 1.12; border-radius: var(--r-lg); background: linear-gradient(160deg, #16365f, var(--ink)); isolation: isolate; }
.poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: scale 1.1s var(--ease); }
.poster > img.is-art { inset: 8% 0 auto; height: 62%; object-fit: contain; }
.poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 18, 33, 0) 46%, rgba(7, 18, 33, .82) 72%, rgba(7, 18, 33, .96)); }
.poster:hover > img { scale: 1.06; }
.poster__text { position: absolute; z-index: 2; inset: auto 0 0; padding: 26px 28px 28px; color: rgba(255, 255, 255, .82); }
.poster__text h3 { color: #fff; font-size: 1.32rem; font-weight: 600; line-height: 1.5; }
.poster__text p { margin-block-start: 6px; font-size: .97rem; line-height: 1.75; text-wrap: pretty; overflow-wrap: anywhere; }
.svc__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-block-start: 22px; }
.svc__list li { flex: 1 1 320px; max-width: calc((100% - 44px) / 3 + 1px); padding: 28px; border-radius: var(--r-lg); background: var(--bg); transition: background .35s, box-shadow .35s, translate .45s var(--ease); }
.svc__list li:hover { background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh); }
.svc__list .ico { background: #fff; }
.svc__list h3 { margin-block: 18px 6px; font-size: 1.12rem; font-weight: 600; line-height: 1.5; }
.svc__list p { color: var(--muted); font-size: .97rem; line-height: 1.75; overflow-wrap: anywhere; }

/* ---------- products ---------- */
.shop { background: linear-gradient(180deg, #fff, var(--bg)); }
.item { --tint: #8a9ab0; flex: none; width: calc((100% - 66px) / 4); min-width: 248px; scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-sm); overflow: hidden; transition: translate .45s var(--ease), box-shadow .45s var(--ease); }
.item:hover { translate: 0 -6px; box-shadow: 0 0 0 1px var(--line), var(--sh); }
.item__stage { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.02; background: radial-gradient(75% 70% at 50% 52%, #fff, color-mix(in srgb, var(--tint) 24%, #fff) 130%); }
.item__stage::after { content: ""; position: absolute; inset: auto 22% 8%; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, rgba(13, 38, 71, .26), transparent); }
.item__stage img { position: relative; z-index: 2; width: 74%; height: 80%; object-fit: contain; mix-blend-mode: multiply; transition: translate .6s var(--ease), scale .6s var(--ease); }
.item:hover .item__stage img { translate: 0 -8px; scale: 1.05; }
.item__spec { position: absolute; z-index: 3; top: 16px; inset-inline-start: 16px; padding: 4px 13px; border-radius: 99px; font-size: .86rem; font-weight: 600; color: var(--text); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.item__spec::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 7px; border-radius: 50%; background: var(--tint); }
.item__text { padding: 20px 22px 26px; }
.item h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.5; }
.item p { margin-block-start: 6px; font-size: .93rem; color: var(--muted); line-height: 1.75; overflow-wrap: anywhere; }
.shelf__bar { display: block; width: 180px; height: 4px; margin: 22px auto 0; border-radius: 9px; background: var(--line); overflow: hidden; }
.shelf__bar i { display: block; width: calc(var(--size, .3) * 100%); height: 100%; border-radius: 9px; background: var(--red); margin-inline-start: calc((1 - var(--size, .3)) * var(--at, 0) * 100%); }

/* ---------- vouchers ---------- */
.gifts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 30px; color: rgba(255, 255, 255, .8); padding-inline: clamp(24px, 4.6vw, 68px); min-height: 500px; }
.gifts > * { position: relative; z-index: 2; }
.gifts__copy { padding-block: 48px; }
.gifts .title { color: #fff; }
.gifts .lead { color: inherit; }
.gifts__steps { display: grid; gap: 14px; margin-block: 28px 22px; color: #fff; font-weight: 500; }
.gifts__steps li { display: flex; align-items: center; gap: 14px; }
.gifts__steps i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; font-style: normal; font-weight: 600; font-size: .95rem; color: var(--gold); background: rgba(233, 171, 50, .16); }
.gifts__note { font-size: .88rem; opacity: .75; }
.gifts__wall { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; height: 500px; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 16% 84%, transparent); }
.gifts__track { display: grid; gap: 18px; animation: wall 26s linear infinite; }
.gifts__col + .gifts__col .gifts__track { animation-direction: reverse; animation-duration: 30s; }
.gifts__wall:hover .gifts__track { animation-play-state: paused; }
@keyframes wall { to { transform: translateY(calc(-50% - 9px)); } }
.ticket { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px 18px; border-radius: 18px; color: var(--text); background: #fff; --cut: 80px; mask: radial-gradient(circle 9px at var(--cut) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 9px at var(--cut) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
[dir="rtl"] .ticket { --cut: calc(100% - 80px); }
.ticket::before { content: ""; position: absolute; inset-block: 16px; inset-inline-start: 79px; border-inline-start: 2px dashed #dfe5ec; }
.ticket i { display: grid; place-items: center; flex: none; width: 46px; height: 46px; margin-inline-end: 18px; border-radius: 14px; font-style: normal; font-weight: 700; font-size: 1.15rem; color: #fff; background: var(--tone); }
.ticket b { display: block; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.ticket small { color: var(--muted); font-size: .82rem; white-space: nowrap; }

/* ---------- distributors map ---------- */
.atlas__wrap { max-width: 1440px; width: 100%; }
.atlas { position: relative; height: 700px; overflow: hidden; border-radius: 34px; background: #e9eef3; box-shadow: 0 0 0 1px var(--line), var(--sh-lg); isolation: isolate; }
.atlas:fullscreen { height: 100%; border-radius: 0; }
.atlas__map { position: absolute !important; inset: 0; font-family: var(--font); }
.atlas__map .maplibregl-cooperative-gesture-screen { font: 600 1.05rem/1.6 var(--font); background: rgba(10, 26, 48, .55); }
.atlas__map .maplibregl-ctrl-attrib { font-size: .72rem; }
.glass { background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 0 0 1px rgba(13, 38, 71, .07), 0 20px 50px -24px rgba(10, 26, 48, .5); }
.atlas__note { position: absolute; z-index: 8; top: 20px; left: 50%; translate: -50% 0; width: max-content; max-width: min(420px, 86%); padding: 10px 20px; border-radius: 16px; font-weight: 500; font-size: .95rem; line-height: 1.6; text-align: center; color: #fff; background: rgba(10, 26, 48, .92); }
.atlas__bar { position: absolute; z-index: 5; top: 18px; inset-inline-end: 18px; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 18px; }
.atlas__seg { display: flex; gap: 2px; }
.atlas__seg button { display: flex; align-items: center; gap: 8px; height: 40px; padding-inline: 14px; border-radius: 13px; font-size: .92rem; font-weight: 500; color: var(--body); transition: background .25s, color .25s; }
.atlas__seg svg { width: 18px; }
.atlas__seg button:hover { color: var(--text); background: rgba(13, 38, 71, .06); }
.atlas__seg [aria-pressed="true"], .atlas__seg [aria-pressed="true"]:hover { background: var(--navy); color: #fff; }
.atlas__tool { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--navy); transition: background .25s, color .25s; }
.atlas__tool svg { width: 20px; }
.atlas__tool:hover { background: rgba(13, 38, 71, .08); }
.atlas__tool[aria-pressed="true"] { background: var(--red); color: #fff; }
.atlas__tools { position: absolute; z-index: 5; top: 50%; inset-inline-end: 18px; translate: 0 -50%; display: grid; gap: 2px; padding: 5px; border-radius: 18px; }
.atlas__side { position: absolute; z-index: 6; inset-block: 18px; inset-inline-start: 18px; width: min(380px, 38%); display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; }
.atlas__top { padding: 18px 18px 12px; }
.atlas__search { display: flex; align-items: center; gap: 10px; height: 50px; padding-inline: 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s; }
.atlas__search:focus-within { box-shadow: inset 0 0 0 2px var(--navy); }
.atlas__search svg { width: 20px; flex: none; color: var(--muted); }
.atlas__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--text); }
.atlas__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 12px; }
.atlas__chips button { padding: 4px 15px; border-radius: 99px; font-size: .9rem; font-weight: 500; background: rgba(13, 38, 71, .06); color: var(--body); transition: background .25s, color .25s; }
.atlas__chips button:hover { background: rgba(13, 38, 71, .12); }
.atlas__chips [aria-pressed="true"], .atlas__chips [aria-pressed="true"]:hover { background: var(--navy); color: #fff; }
.atlas__chips em { font-style: normal; opacity: .75; margin-inline-start: 3px; }
.atlas__list { flex: 1; min-height: 0; overflow-y: auto; padding: 2px 10px 12px; scrollbar-width: thin; scrollbar-color: #cfd8e3 transparent; }
.atlas__empty { padding: 10px 22px 26px; color: var(--muted); }
.place { border-radius: 18px; transition: background .3s, box-shadow .3s; }
.place:hover { background: rgba(255, 255, 255, .8); }
.place.is-on { background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh); margin-block: 4px; }
.place__head { display: flex; align-items: center; gap: 13px; width: 100%; padding: 11px 10px; text-align: start; }
.place__face { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; overflow: hidden; font-weight: 600; font-size: 1.1rem; color: var(--navy); background: #e7eef6; transition: background .3s, color .3s; }
.place__face img { width: 100%; height: 100%; object-fit: cover; }
.place.is-on .place__face { background: var(--red); color: #fff; }
.place__name { flex: 1; min-width: 0; display: grid; line-height: 1.5; }
.place__name b { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.place__name small { font-size: .87rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place__far { flex: none; padding: 2px 11px; border-radius: 99px; font-style: normal; font-size: .82rem; font-weight: 600; color: var(--red-dark); background: var(--red-soft); white-space: nowrap; }
.place__body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s .4s; }
.place.is-on .place__body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease); }
html:not(.js) .place__body { grid-template-rows: 1fr; visibility: visible; }
.place__body > div { overflow: hidden; min-height: 0; padding-inline: 12px; }
.place__body p { display: flex; gap: 9px; font-size: .92rem; line-height: 1.7; padding-block-end: 8px; }
.place__body p svg { flex: none; width: 18px; margin-block-start: 4px; color: var(--muted); }
.place__acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; padding-block: 6px 14px; }
.place__acts a { display: grid; justify-items: center; gap: 2px; padding: 9px 4px 7px; border-radius: 14px; font-size: .85rem; font-weight: 500; color: var(--navy); background: var(--bg); transition: background .25s, color .25s; }
.place__acts svg { width: 20px; }
.place__acts a:hover { background: #e4ebf3; }
.place__acts .is-main { background: var(--red); color: #fff; }
.place__acts .is-main:hover { background: var(--red-dark); }
.spot { display: grid; justify-items: center; }
.spot__dot { order: 2; position: relative; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--red); border: 3px solid #fff; box-shadow: -5px 6px 12px rgba(10, 26, 48, .35); transition: scale .35s var(--ease), background .3s; transform-origin: 0 100%; }
.spot__dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.spot__name { order: 1; max-width: 190px; margin-block-end: 8px; padding: 3px 13px; border-radius: 99px; font-family: var(--font); font-size: .84rem; font-weight: 600; line-height: 1.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); background: #fff; box-shadow: 0 8px 20px -8px rgba(10, 26, 48, .5); opacity: 0; scale: .9; transition: opacity .25s, scale .3s var(--ease); pointer-events: none; }
.spot:hover .spot__name, .spot:focus-visible .spot__name, .spot.is-on .spot__name { opacity: 1; scale: 1; }
.spot:hover, .spot.is-on { z-index: 3; }
.spot.is-on .spot__dot { background: var(--navy); scale: 1.2; }
.cluster { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font: 700 1.05rem/1 var(--font); color: #fff; background: var(--red); border: 4px solid #fff; box-shadow: 0 0 0 9px rgba(216, 31, 39, .18), 0 14px 26px -8px rgba(10, 26, 48, .5); }
.cluster:hover { background: var(--red-dark); }
.me { width: 20px; height: 20px; border-radius: 50%; background: #2f7de1; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(47, 125, 225, .5), 0 4px 10px rgba(10, 26, 48, .4); animation: me 2s infinite; }
@keyframes me { 70%, 100% { box-shadow: 0 0 0 18px rgba(47, 125, 225, 0), 0 4px 10px rgba(10, 26, 48, .4); } }
.atlas[data-view="dark"] .glass { background: rgba(13, 28, 50, .88); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 50px -24px #000; }
.atlas[data-view="dark"] :is(.atlas__tool, .atlas__seg button, .atlas__chips button, .place__body, .place__body p) { color: rgba(255, 255, 255, .82); }
.atlas[data-view="dark"] :is(.atlas__chips button, .place__face) { background: rgba(255, 255, 255, .09); }
.atlas[data-view="dark"] .place__acts a:not(.is-main) { background: rgba(255, 255, 255, .09); }
.atlas[data-view="dark"] :is(.atlas__tool, .atlas__seg button):hover { background: rgba(255, 255, 255, .12); }
.atlas[data-view="dark"] :is(.place__name b, .place__acts a, .place__face, .atlas__search input) { color: #fff; }
.atlas[data-view="dark"] :is(.place__name small, .atlas__empty) { color: rgba(255, 255, 255, .6); }
.atlas[data-view="dark"] .atlas__search { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14); }
.atlas[data-view="dark"] .place:hover { background: rgba(255, 255, 255, .06); }
.atlas[data-view="dark"] .place.is-on { background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.atlas[data-view="dark"] :is(.atlas__seg, .atlas__chips) [aria-pressed="true"] { background: #fff; color: var(--navy); }
.atlas[data-view="dark"] :is(.atlas__tool[aria-pressed="true"], .place.is-on .place__face) { background: var(--red); color: #fff; }
.atlas.is-flat :is(.atlas__bar, .atlas__tools) { display: none; }

/* ---------- help: questions and contact ---------- */
.help__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.help__grid--solo { grid-template-columns: minmax(0, 720px); justify-content: center; }
.help__filter { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 26px 6px; }
.help__filter button { padding: 6px 18px; border-radius: 99px; font-size: .95rem; font-weight: 500; color: var(--body); background: var(--bg); transition: background .3s, color .3s; }
.help__filter button:hover { color: var(--text); background: #e9eef4; }
.help__filter [aria-pressed="true"], .help__filter [aria-pressed="true"]:hover { background: var(--navy); color: #fff; }
.help__list { margin-block-start: 14px; }
.qa { position: relative; border-block-end: 1px solid var(--line); }
.qa::before { content: ""; position: absolute; inset-block: 18px; inset-inline-start: -18px; width: 3px; border-radius: 9px; background: var(--red); scale: 1 0; transition: scale .45s var(--ease); }
.qa.is-open::before { scale: 1 1; }
.qa h3 button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 22px; padding-block: 20px; text-align: start; font-size: 1.1rem; font-weight: 600; line-height: 1.6; color: var(--text); transition: color .3s; }
.qa h3 button:hover, .qa.is-open h3 button { color: var(--red-dark); }
.qa i { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); transition: background .35s, rotate .45s var(--ease); }
.qa i::before { content: ""; position: absolute; left: 12px; top: 10.500px; width: 9px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; rotate: 45deg; transition: border-color .3s; }
.qa.is-open i { background: var(--red); rotate: 180deg; }
.qa.is-open i::before { border-color: #fff; }
.qa__body { display: grid; grid-template-rows: 1fr; }
.js .qa__body { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s .4s; }
.js .qa.is-open .qa__body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease); }
.qa__body > div { overflow: hidden; min-height: 0; }
.qa__body p { max-width: 54ch; padding-block-end: 24px; }
.talk { position: sticky; top: 96px; overflow: hidden; border-radius: 32px; color: rgba(255, 255, 255, .78); background: linear-gradient(160deg, #14355f, var(--ink) 62%); box-shadow: var(--sh-lg); }
.talk::before { content: ""; position: absolute; width: 420px; aspect-ratio: 1; top: -190px; inset-inline-end: -150px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 0 0 60px rgba(255, 255, 255, .025), 0 0 0 130px rgba(255, 255, 255, .02); pointer-events: none; }
.talk__head { position: relative; padding: clamp(24px, 3vw, 38px) clamp(22px, 3vw, 38px) 26px; }
.talk__title { color: #fff; font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.5; }
.talk__head > p { margin-block-start: 6px; max-width: 46ch; }
.talk__ways { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-block-start: 24px; }
.talk__ways li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.talk__ways i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; color: var(--gold); background: rgba(255, 255, 255, .08); }
.talk__ways svg { width: 21px; }
.talk__ways span { display: grid; min-width: 0; line-height: 1.5; }
.talk__ways small { font-size: .82rem; opacity: .8; }
.talk__ways a, .talk__ways b { justify-self: start; color: #fff; font-weight: 500; font-size: .98rem; overflow-wrap: anywhere; }
.talk__ways a:hover { color: var(--gold); }
.talk .form { margin: 0 12px 12px; padding: clamp(20px, 2.4vw, 30px); border-radius: 22px; gap: 14px 16px; color: var(--body); box-shadow: none; }
.talk .form .btn { width: 100%; }
.talk .form__end { display: grid; }
.talk .form__status:empty { display: none; }

/* ---------- footer with the app download ---------- */
.foot { position: relative; background: var(--night); color: rgba(255, 255, 255, .66); padding-block-end: 26px; font-size: 1rem; background: linear-gradient(180deg, var(--bg) 0 170px, var(--night) 170px); }
.is-inner .foot { background: linear-gradient(180deg, var(--bg) 0 170px, var(--night) 170px); }
.get { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: 440px; padding-inline: clamp(24px, 5vw, 76px); border-radius: 36px; overflow: hidden; color: rgba(255, 255, 255, .86); background: linear-gradient(120deg, #c9181f, #8d1118 58%, #5d0c13); box-shadow: 0 40px 80px -40px rgba(93, 12, 19, .75); }
.get__bolt { position: absolute; height: 128%; top: -14%; inset-inline-end: 8%; width: auto; max-width: none; fill: rgba(255, 255, 255, .06); }
[dir="rtl"] .get__bolt { scale: -1 1; }
.get__art .phone { --w: 194px; }
.get__copy { position: relative; z-index: 2; padding-block: 44px; }
.get .title { color: #fff; max-width: 16ch; }
.get__copy > p { margin-block-start: 10px; }
.get__qr { display: flex; gap: 14px; margin-block-start: 26px; }
.get__art { position: relative; align-self: stretch; display: grid; place-items: center; }
.get__art .phone { --w: 186px; rotate: calc(var(--dir) * 5deg); }
.get__art > img { position: absolute; z-index: 3; bottom: 26px; inset-inline-start: -2%; height: 190px; width: auto; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .45)); }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr .9fr; gap: 40px; padding-block: 60px 44px; }
.foot__brand img { width: 158px; }
.foot__brand p { margin-block-start: 16px; max-width: 30ch; }
.foot__social { display: flex; gap: 10px; margin-block-start: 22px; }
.foot__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: #fff; transition: background .3s; }
.foot__social a:hover { background: var(--red); }
.foot__col h3 { color: #fff; font-size: 1.04rem; font-weight: 600; margin-block-end: 14px; }
.foot__col li { padding-block: 4px; overflow-wrap: anywhere; }
.foot__col a { transition: color .25s; }
.foot__col a:hover { color: #fff; }
.foot__col--wide ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.foot__base { padding-block-start: 22px; border-block-start: 1px solid rgba(255, 255, 255, .09); font-size: .92rem; text-align: center; }

/* ---------- responsive ---------- */
@media (max-width: 1140px) {
    .poster { aspect-ratio: 1 / 1.62; }
    .poster > img:not(.is-art) { height: auto; aspect-ratio: 1 / 1.12; }
    .item { width: calc((100% - 44px) / 3); }
    .svc__list li { max-width: calc((100% - 22px) / 2 + 1px); }
    .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .hero__get, .get__qr { display: none; }
    .hero__stage { min-height: 0; row-gap: 40px; }
    .hero__jug { inset-inline-start: -32%; width: 48%; }
    .atlas { height: auto; display: flex; flex-direction: column; }
    .atlas__map { position: relative !important; inset: auto; height: 420px; }
    .atlas__side { position: relative; inset: auto; width: 100%; border-radius: 0; box-shadow: none; }
    .atlas__list { max-height: 430px; }
    .atlas__tools { top: 210px; inset-inline-end: 12px; }
    .atlas__bar { top: 12px; inset-inline-end: 12px; }
    .atlas__note { top: 74px; }
    .atlas.is-full .atlas__map { flex: 1; height: auto; }
    .atlas.is-full .atlas__list { max-height: 30vh; }
    .talk { position: relative; top: 0; }
    .who__grid, .gifts, .help__grid, .get { grid-template-columns: minmax(0, 1fr); }
    .who__text { margin-block-start: 22px; }
    .gifts__copy { padding-block: 40px 0; }
    .gifts__wall { height: 330px; margin-block-end: 24px; }
    .get { text-align: center; padding-block: 40px 0; gap: 10px; }
    .get__copy { padding-block: 0; }
    .get .title { margin-inline: auto; }
    .get__art { padding-block: 34px 40px; }
    .get__art > img { inset-inline-start: 8%; height: 160px; }
}
@media (max-width: 620px) {
    .item { width: 76vw; }
    .svc__list li { max-width: none; }
    .poster { aspect-ratio: 1 / 1.1; }
    .who__stage { height: 330px; }
    .who__can--1 { height: 46%; left: 3%; }
    .who__can--2 { height: 48%; left: 17%; }
    .who__can--3 { height: 56%; left: 39%; }
    .who__can--4 { height: 46%; left: 72%; }
    .who__badge { inset-inline-start: 20px; padding: 10px 18px; font-size: .92rem; }
    .who__badge b { font-size: 1.6rem; }
    .ticket { padding: 14px 10px; gap: 8px; --cut: 58px; }
    [dir="rtl"] .ticket { --cut: calc(100% - 58px); }
    .ticket::before { inset-inline-start: 57px; }
    .ticket i { width: 36px; height: 36px; margin-inline-end: 12px; border-radius: 11px; font-size: 1rem; }
    .ticket b { font-size: .9rem; }
    .ticket small { font-size: .74rem; }
    .atlas { border-radius: 26px; }
    .atlas__seg span { display: none; }
    .atlas__tools { padding: 3px; }
    .atlas__tools .atlas__tool { width: 38px; height: 38px; }
    .talk__ways { grid-template-columns: 1fr; gap: 14px; }
    .qa::before { inset-inline-start: -12px; }
    .foot__grid { grid-template-columns: 1fr; gap: 30px; padding-block: 44px 34px; }
    .get { border-radius: 28px; }
}
