/* Botski. "First lift" morning: snow-white page, rescue-orange committed color, deep beanie-navy ink.
   Display: Karantina (condensed poster/sign type, Hebrew + Latin). Body: Rubik (the brand's own).
   Shapes: buttons are pills; physical objects (the torn chat strip, the ticket) keep their own forms; no card grids.
   Motion: transform only, so nothing is ever hidden if an animation does not run. */

@font-face { font-family: 'Karantina'; src: url('/assets/karantina-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Karantina'; src: url('/assets/karantina-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Rubik'; src: url('/assets/rubik.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
	--snow: oklch(0.985 0.006 240);
	--snow-2: oklch(0.955 0.012 240);
	--ink: oklch(0.25 0.085 264);
	--ink-2: oklch(0.43 0.05 260);
	--fire: oklch(0.72 0.185 50);
	--fire-deep: oklch(0.6 0.19 45);
	--fire-hi: oklch(0.8 0.15 60);
	--line: oklch(0.25 0.085 264 / 0.14);
	--wa-bg: #efeae2;
	--display: 'Karantina', 'Rubik', system-ui, sans-serif;
	--chat: system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--z-sticky: 50;
	--z-skip: 100;
}

* { box-sizing: border-box; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0; background: var(--snow); color: var(--ink);
	font-family: 'Rubik', system-ui, sans-serif; line-height: 1.6;
	-webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.skip {
	position: absolute; inset-inline-start: 12px; top: 0; transform: translateY(-110%); z-index: var(--z-skip);
	background: var(--ink); color: var(--snow); padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip:focus { transform: translateY(12px); }

.wrap { width: min(1180px, 100% - 44px); margin-inline: auto; }

/* Type scale: h1 6rem leads; h2 sits well below it. */
h2 { font-family: var(--display); font-weight: 700; line-height: .95; font-size: clamp(2.5rem, 4.6vw, 3.7rem); }
.sub { margin: 10px 0 0; color: var(--ink-2); font-size: 1.1rem; }

/* ---------- header ---------- */
.top-band { background: var(--fire); }
.top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; }
.brand img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); }
.lang {
	text-decoration: none; font-weight: 600; font-size: .95rem; padding: 7px 16px; border-radius: 999px;
	border: 1.5px solid currentColor; transition: background .2s var(--ease), color .2s var(--ease);
}
.lang:hover { background: var(--ink); color: var(--snow); border-color: var(--ink); }

/* ---------- buttons ---------- */
.cta {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px; max-width: 100%; text-align: center;
	font: inherit; font-weight: 700; font-size: 1.15rem; text-decoration: none;
	background: var(--ink); color: var(--snow);
	padding-block: 17px; padding-inline: 24px 30px; border-radius: 999px;
	box-shadow: 0 16px 30px -18px oklch(0.25 0.085 264 / 0.9);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -18px oklch(0.25 0.085 264 / 1); }
.cta:active { transform: scale(.98); }
.ic-wa { width: 26px; height: 26px; flex: none; color: oklch(0.82 0.17 150); }

/* ---------- hero: orange, ridge-cut bottom, the real reply on a torn chat strip ---------- */
.hero-wrap {
	background: var(--fire); margin-top: -1px;
	clip-path: polygon(0 0, 100% 0, 100% 95%, 91% 99%, 80% 93.5%, 70% 97.5%, 58% 92%, 46% 98%, 35% 94%, 22% 99.2%, 11% 94.5%, 0 97.5%);
	padding-bottom: clamp(80px, 9vw, 130px);
}
.hero {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 6vw, 88px); align-items: start;
	padding-top: clamp(24px, 5vw, 72px);
}
.hero-copy { padding-top: clamp(0px, 4vw, 70px); }
h1 {
	font-family: var(--display); font-weight: 700; line-height: .86; letter-spacing: -.01em;
	font-size: min(clamp(3rem, 10vw, 6rem), 15vw); margin-bottom: 30px; overflow-wrap: break-word;
}
h1 .line { display: block; animation: line-in .9s var(--ease) both; }
h1 .line + .line { animation-delay: .09s; }
.lead { font-size: clamp(1.15rem, 1.9vw, 1.4rem); line-height: 1.5; max-width: 30ch; margin: 0 0 34px; font-weight: 500; animation: line-in .9s .16s var(--ease) both; }
#cta { animation: line-in .9s .22s var(--ease) both; }

.stage { position: relative; margin: 0; padding-top: 190px; }
.mascot {
	position: absolute; top: 0; inset-inline: 0; margin-inline: auto; width: 240px; height: auto;
	filter: drop-shadow(0 18px 24px oklch(0.25 0.085 264 / 0.35));
	animation: peek 1.1s .25s var(--ease) both;
}
/* The strip is torn off a chat: straight top, ragged bottom. */
.strip {
	position: relative; background: var(--wa-bg); font-family: var(--chat);
	border-radius: 18px 18px 0 0; padding-bottom: 22px;
	box-shadow: 0 30px 50px -30px oklch(0.25 0.085 264 / 0.7);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 95% 100%, 90% calc(100% - 9px), 84% 100%, 78% calc(100% - 11px), 71% 100%, 65% calc(100% - 8px), 58% 100%, 52% calc(100% - 12px), 45% 100%, 39% calc(100% - 9px), 32% 100%, 26% calc(100% - 11px), 19% 100%, 13% calc(100% - 8px), 6% 100%, 0 calc(100% - 10px));
	animation: strip-in 1.1s .1s var(--ease) both;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #f0f2f5; color: #111b21; line-height: 1.25; border-radius: 18px 18px 0 0; }
.chat-head img { width: 34px; height: 34px; border-radius: 50%; }
.chat-head b { display: block; font-size: .95rem; }
.chat-head span { font-size: .76rem; color: #54656f; }
.chat-body { padding: 14px 12px 4px; }
.msg {
	margin: 0 0 8px; padding: 7px 10px 5px; border-radius: 10px; max-width: 94%;
	font-family: var(--chat); font-size: .84rem; line-height: 1.48; white-space: pre-line; color: #111b21;
	box-shadow: 0 1px .5px rgba(11, 20, 26, .13); overflow-wrap: anywhere;
}
.msg.me { background: #d9fdd3; width: fit-content; margin-inline-start: auto; }
.msg.bot { background: #fff; }
.msg .t { display: block; text-align: end; font-size: .66rem; color: #54656f; margin-top: 1px; }
.stage figcaption { text-align: center; font-size: .88rem; font-weight: 500; margin-top: 16px; }

/* ---------- season pass ---------- */
section { padding-block: clamp(64px, 9vw, 120px); }
.pass h2 { margin-bottom: 40px; }
.ticket {
	display: grid; grid-template-columns: minmax(0, 1fr) 230px;
	background: var(--snow); border: 2px solid var(--ink); border-radius: 18px;
	box-shadow: 10px 12px 0 var(--fire);
	transform: rotate(-1.2deg); max-width: 980px;
}
[dir='rtl'] .ticket { transform: rotate(1.2deg); box-shadow: -10px 12px 0 var(--fire); }
.ticket-main { padding: 28px clamp(22px, 3.5vw, 40px) 30px; min-width: 0; }
.ticket-head {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 0 0 22px; padding-bottom: 14px;
	border-bottom: 2px solid var(--ink);
	font-family: var(--display); font-weight: 700; font-size: 2.1rem; line-height: 1;
}
.ticket-head span:last-child { color: var(--ink-2); font-weight: 400; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 26px; }
.facts dt { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.facts dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; overflow-wrap: anywhere; }
.ticket-steps { list-style: none; counter-reset: s; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 20px; padding: 0; font-weight: 600; }
.ticket-steps li { display: flex; align-items: center; gap: 10px; }
.ticket-steps li::before {
	counter-increment: s; content: counter(s);
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	background: var(--fire); color: var(--ink); font-weight: 800; font-size: .95rem;
}
.ticket-num { margin: 0; color: var(--ink-2); }
.ticket-num bdi { color: var(--ink); font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
.ticket-stub {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	padding: 24px; border-inline-start: 2px dashed var(--ink); text-align: center; font-weight: 600; font-size: .9rem;
}
/* notches where the stub tears off */
.ticket-stub::before, .ticket-stub::after {
	content: ''; position: absolute; inset-inline-start: -14px; width: 26px; height: 26px; border-radius: 50%;
	background: var(--snow); border: 2px solid var(--ink);
}
.ticket-stub::before { top: -14px; clip-path: inset(50% 0 0 0); }
.ticket-stub::after { bottom: -14px; clip-path: inset(0 0 50% 0); }
.ticket-stub img { width: 150px; height: 150px; }
.cta-stub { display: none; }

/* ---------- conversations: the features, in the bot's own words ---------- */
.know { background: var(--wa-bg); }
.talks { columns: 3 300px; column-gap: 28px; margin-top: 44px; }
.talk { break-inside: avoid; margin: 0 0 34px; display: flex; flex-direction: column; }
.talk h3 { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; margin-bottom: 12px; }
.talk .msg { max-width: 100%; }
.talk .msg.me { max-width: 85%; }
.talk.cut .msg.bot { max-height: 13.5em; overflow: hidden; mask-image: linear-gradient(180deg, #000 70%, transparent); }
.excerpt { margin: 4px 0 0; font-size: .8rem; color: var(--ink-2); }
.partner { margin: 8px 0 0; padding-top: 22px; border-top: 2px solid var(--line); font-weight: 600; font-size: 1.1rem; }
.partner a { color: var(--ink); text-decoration-thickness: 2px; text-decoration-color: var(--fire-deep); }
.partner small { display: block; margin-top: 4px; font-weight: 400; font-size: .82rem; color: var(--ink-2); }

/* ---------- every resort, as type ---------- */
.countries { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.country { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 4px 24px; align-items: baseline; }
.country h3 { font-size: .95rem; font-weight: 600; color: var(--ink-2); }
.country ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 .55rem; }
.country li { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; }
.country li.hot { color: var(--fire-deep); }
.country li:not(:last-child)::after { content: '/' / ''; color: var(--fire-deep); font-weight: 400; margin-inline-start: .55rem; }

/* ---------- faq ---------- */
.faq-sec { padding-top: clamp(40px, 5vw, 72px); }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faq details { border-bottom: 2px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--line); }
.faq summary {
	cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 0; font-weight: 700; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ''; flex: none; width: 11px; height: 11px; margin-inline-end: 6px;
	border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink);
	transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details p { margin: 0 0 22px; max-width: 60ch; color: var(--ink-2); }
.faq a { color: var(--ink); font-weight: 600; }

/* ---------- final: a perforated strip, like the ticket stub ---------- */
.final { background: var(--fire); padding-block: clamp(56px, 8vw, 96px); border-block: 3px dashed var(--ink); }
.final-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 72px); align-items: center; }
.final h2 { font-size: clamp(2.8rem, 5.5vw, 4.4rem); max-width: 22ch; }
.final p { font-size: 1.2rem; font-weight: 500; margin: 14px 0 26px; }
.final-inner { grid-template-columns: minmax(0, 1fr); }
.final-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.final-qr { margin: 0; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.final-qr img { width: 112px; height: 112px; background: #fff; border-radius: 12px; padding: 7px; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: oklch(0.9 0.02 250); padding: 32px 0 40px; font-size: .92rem; }
.home footer { padding-bottom: 110px; }
footer :focus-visible { outline-color: var(--snow); }
.foot { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: inherit; }
.foot a:hover { color: var(--fire-hi); }
.disclosure { margin: 14px 0 0; font-size: .85rem; opacity: .85; }
.disclosure a { color: inherit; }

/* ---------- sticky mobile CTA ---------- */
.sticky {
	position: fixed; inset-inline: 12px; bottom: 12px; z-index: var(--z-sticky);
	display: none; transform: translateY(140%); visibility: hidden;
	transition: transform .4s var(--ease), visibility .4s;
}
.sticky .cta { width: 100%; }
.sticky.show { transform: none; visibility: visible; }

/* ---------- legal pages and 404 ---------- */
.doc { max-width: 780px; padding: 24px 0 56px; }
.doc h1 { font-size: clamp(3rem, 8vw, 4.6rem); margin: 10px 0 6px; }
.doc h2 { font-family: 'Rubik', sans-serif; font-size: 1.35rem; line-height: 1.3; font-weight: 800; margin: 34px 0 8px; }
.doc .updated { color: var(--ink-2); font-size: .9rem; }
.doc ul { padding-inline-start: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--ink); font-weight: 600; }
.box { background: var(--snow-2); border-radius: 14px; padding: 16px 20px; }
.box p { margin: 6px 0; }
#nf { text-align: center; padding-top: 70px; }
#nf img { margin: 0 auto 20px; }
#nf h1 { font-size: clamp(3rem, 8vw, 4.6rem); }

/* ---------- motion ---------- */
@keyframes line-in { from { transform: translateY(.35em); } }
@keyframes peek { from { transform: translateY(70px) rotate(-6deg); } }
@keyframes strip-in { from { transform: translateY(36px); } }
@keyframes rise { from { transform: translateY(40px); } }
@supports (animation-timeline: view()) {
	.talk { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 50%; }
	.country { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
	.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
}
@media (max-width: 820px) {
	.hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.hero-copy { padding-top: 0; }
	.stage { width: min(400px, 100%); justify-self: center; padding-top: 150px; margin-top: 12px; }
	.mascot { width: 180px; }
	.hero-wrap { clip-path: polygon(0 0, 100% 0, 100% 98%, 84% 99.6%, 66% 98.2%, 47% 99.7%, 28% 98.3%, 12% 99.6%, 0 98.5%); }
	.ticket, [dir='rtl'] .ticket { grid-template-columns: minmax(0, 1fr); transform: none; box-shadow: 6px 8px 0 var(--fire); }
	[dir='rtl'] .ticket { box-shadow: -6px 8px 0 var(--fire); }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ticket-stub { border-inline-start: 0; border-top: 2px dashed var(--ink); padding: 22px; }
	.ticket-stub::before, .ticket-stub::after { top: -14px; bottom: auto; clip-path: none; }
	.ticket-stub::before { inset-inline-start: -14px; clip-path: inset(0 0 0 50%); }
	.ticket-stub::after { inset-inline-start: auto; inset-inline-end: -14px; clip-path: inset(0 50% 0 0); }
	[dir='rtl'] .ticket-stub::before { clip-path: inset(0 50% 0 0); }
	[dir='rtl'] .ticket-stub::after { clip-path: inset(0 0 0 50%); }
	.ticket-stub img, .ticket-stub > span { display: none; }
	.cta-stub { display: inline-flex; width: 100%; }
	.country { display: block; }
	.country h3 { display: inline; margin-inline-end: .6rem; font-size: .9rem; }
	.country ul, .country li { display: inline; }
	.countries { gap: 14px; }
	.faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.final-inner { grid-template-columns: minmax(0, 1fr); }
	.final-qr { display: none; }
	.ticket-num bdi { white-space: normal; }
	.sticky { display: block; }
}
@media (max-width: 520px) {
	.top { min-height: 66px; }
	.cta { font-size: 1.08rem; }
	.talks { margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}
@media print {
	.sticky { display: none; }
	.hero-wrap { clip-path: none; }
	.talk.cut .msg.bot { max-height: none; mask-image: none; }
}
