/* ==========================================================================
   Ticket page (ticket.php). Loaded after motherland.css and about.css.
   Reuses .ticket / .ticket__stub / .sheet / .notch / .barcode from motherland.css
   (built for the Festival 2026 page) for the two pricing cards below.
   ========================================================================== */

/* ── Hero: "Choose your festival 2026 experience" ──────── */
.page-ticket { overflow-x: clip; }
.site-header--cart { position: sticky; top: 0; z-index: 1000; box-shadow: 0 10px 34px rgba(8, 4, 12, .2); }
.test-mode-banner { display:flex; align-items:center; justify-content:center; gap:12px; min-height:42px; padding:9px var(--pad); background:var(--lime-soft); color:#151515; font-size:12px; text-align:center; }
.test-mode-banner strong { font:900 13px var(--font-wide); letter-spacing:.05em; text-transform:uppercase; }
.test-mode-banner span { opacity:.78; }
.tk-hero { position: relative; overflow: hidden; background: #262424 url("https://images.unsplash.com/photo-1745792820182-bba49ed8a0a4?auto=format&fit=crop&w=2400&q=80") center 46% / cover no-repeat; }
.tk-hero::before { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(0deg, rgba(12,8,14,.86), rgba(12,8,14,.28)),
  radial-gradient(circle at 20% 30%, rgba(255,255,255,.05) 0, transparent 45%),
  radial-gradient(circle at 75% 70%, rgba(255,255,255,.05) 0, transparent 45%),
  repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 40px, transparent 40px 80px); }
.tk-hero__inner { position: relative; z-index: 1; padding: 6.2vw 0 6.6vw; text-align: center; }
.tk-hero__title { margin-top: 1.9vw; font-size: 7.9vw; line-height: 1.06; }
.tk-hero__title .wide { font-family: var(--font-wide); font-weight: 900; letter-spacing: 0; -webkit-text-stroke: 0; }
.tk-hero__diamonds { position: absolute; left: 0; top: 4.4vw; display: flex; flex-direction: column; z-index: 1; }
.tk-hero__diamonds i { width: 3.1vw; height: 3.1vw; min-width: 22px; min-height: 22px; margin: -0.6vw 0 0 -1.55vw; background: var(--coral); transform: rotate(45deg); }
.tk-hero__diamonds i:nth-child(1) { background: #ea33a2; }
.tk-hero__diamonds i:nth-child(2) { background: #ea33a2; opacity: .8; margin-top: -.3vw; }
.tk-hero__diamonds i:nth-child(3) { background: #ea33a2; opacity: .6; margin-top: -.3vw; }
.tk-hero__corner { position: absolute; right: 0; bottom: 0; width: 9.9vw; height: 9.9vw; min-width: 70px; min-height: 70px; z-index: 1; background: #29502e; }
.tk-hero__corner::before { content: ""; position: absolute; right: 22%; top: 22%; width: 26%; height: 26%; background: var(--lime-soft); }
.page-ticket .tk-hero .tag { animation: tk-rise .6s .08s both var(--ease); }
.page-ticket .tk-hero__title { animation: tk-rise .72s .16s both var(--ease); }
.page-ticket .tk-hero__diamonds { animation: tk-diamonds .8s .28s both var(--ease); }
.page-ticket .tk-hero__corner { animation: tk-corner .8s .28s both var(--ease); }
@keyframes tk-rise { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes tk-diamonds { from { opacity:0; transform:translateX(-34px); } to { opacity:1; transform:none; } }
@keyframes tk-corner { from { opacity:0; transform:translate(34px,34px); } to { opacity:1; transform:none; } }

.page-ticket.tk-motion-ready .tk-plans__list > .ticket,
.page-ticket.tk-motion-ready .tk-step,
.page-ticket.tk-motion-ready .faq__item { opacity:0; transform:translateY(30px); transition:opacity .58s var(--ease) var(--tk-delay,0ms),transform .58s var(--ease) var(--tk-delay,0ms),box-shadow .24s var(--ease); }
.page-ticket.tk-motion-ready .tk-plans__list > .ticket.is-inview,
.page-ticket.tk-motion-ready .tk-step.is-inview,
.page-ticket.tk-motion-ready .faq__item.is-inview { opacity:1; transform:none; }
@media (hover:hover) {
  .page-ticket.tk-motion-ready .tk-plans__list > .ticket.is-inview:hover { transform:translateY(-7px); box-shadow:0 26px 70px rgba(0,0,0,.28); }
}
@media (prefers-reduced-motion:reduce) {
  .page-ticket .tk-hero .tag,.page-ticket .tk-hero__title,.page-ticket .tk-hero__diamonds,.page-ticket .tk-hero__corner { animation:none; }
  .page-ticket.tk-motion-ready .tk-plans__list > .ticket,.page-ticket.tk-motion-ready .tk-step,.page-ticket.tk-motion-ready .faq__item { opacity:1; transform:none; transition:none; }
}

/* ── Pricing cards ───────────────────────────────────────── */
.tk-plans { --u: min(1vw, 17.5px); background: var(--page); padding: 6.5vw 0 8vw; overflow-x: clip; }
.tk-plans__list { display: grid; justify-items: center; gap: 3.6vw; }
.tk-alert { width: min(760px, calc(100% - 40px)); margin: 32px auto 0; padding: 16px 20px; border: 1px solid rgba(226,134,93,.55); border-radius: 12px; background: rgba(226,134,93,.12); color: #fff; text-align: center; }
.tk-no-tickets { width: min(760px, 90vw); padding: clamp(44px, 6vw, 90px); border: 1px solid rgba(255,255,255,.08); border-radius: 22px; background: var(--card); text-align: center; }
.tk-no-tickets h2 { margin-top: 12px; font-size: clamp(58px, 7vw, 110px); line-height: .9; }
.tk-no-tickets p:last-child { margin-top: 18px; color: #aaa; }
.ticket.is-soldout { filter: saturate(.35); opacity: .72; }
.ticket.is-soldout .stepper__btn, .ticket.is-soldout .tplan__btn { cursor: not-allowed; }
.ticket.is-soldout .tplan__btn, .ticket.is-soldout .stepper { opacity: .65; }
.ticket--lime .ticket__main { background: var(--lime-solid, #b3cb4a); }
.ticket--vip .ticket__main { background: var(--violet); color: #fff; }
.ticket--vip .ticket__title { -webkit-text-stroke: 0; }
.ticket--vip .tick { stroke: #fff; }
.ticket--vip .tplan__desc, .ticket--vip .tplan__qty-label { color: rgba(255,255,255,.85); }
.ticket--vip .stepper, .ticket--vip .stepper__val { background: rgba(0,0,0,.28); color: #fff; }
.ticket--vip .stepper__btn { color: #fff; }
.ticket--coral .ticket__main { background: var(--coral); color: #1c1006; }
.ticket--coral .tplan__flag { color: #7a2c10; }
.ticket--coral .tick { stroke: #1c1006; }
.ticket--coral .tplan__btn { background: #1c1006; color: #fff; }
.ticket--coral .tplan__btn:hover { background: #fff; color: #1c1006; }
.ticket--coral .tplan__btn--secondary{background:transparent;color:#1c1006}.ticket--coral .tplan__btn--secondary:hover{background:rgba(255,255,255,.28)}

.tplan { display: flex; flex-direction: column; }
.tplan__head { max-width: 68%; }
.tplan__title { font-size: calc(var(--u) * 7); line-height: .9; -webkit-text-stroke: .02em currentColor; }
.tplan__flag { display: inline-block; margin-top: calc(var(--u) * .6); font-size: max(11px, calc(var(--u) * .9)); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.ticket--vip .tplan__flag { color: var(--lime-soft); }
.tplan__desc { margin-top: calc(var(--u) * .8); font-size: max(13px, calc(var(--u) * 1.02)); line-height: 1.4; color: rgba(13,13,13,.75); }
.tplan__perks { display: grid; gap: calc(var(--u) * .85); margin-top: calc(var(--u) * 1.8); padding-top: calc(var(--u) * 1.5); border-top: 1px solid rgba(13,13,13,.18); }
.ticket--vip .tplan__perks { border-top-color: rgba(255,255,255,.22); }
.tplan__perks li { display: flex; align-items: center; gap: calc(var(--u) * .65); font-size: max(12.5px, calc(var(--u) * .98)); line-height: 1.3; }
.tplan__row { display: flex; justify-content: flex-end; margin-top: calc(var(--u) * 1.6); }
.tplan__qty { display: flex; align-items: center; gap: calc(var(--u) * .8); }
.tplan__qty-label { font-size: max(12px, calc(var(--u) * .95)); color: rgba(13,13,13,.7); }
.stepper { display: flex; align-items: center; gap: calc(var(--u) * .5); padding: calc(var(--u) * .3); border-radius: 999px; background: #fff; }
.stepper__btn { display: grid; place-items: center; width: calc(var(--u) * 2.3); height: calc(var(--u) * 2.3); min-width: 28px; min-height: 28px; border-radius: 50%; color: #0d0d0d; }
.stepper__btn:hover { background: rgba(0,0,0,.08); }
.stepper__btn svg { width: 55%; height: 55%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.stepper__val { width: calc(var(--u) * 2.6); border: 0; background: none; text-align: center; font: 700 max(13px, calc(var(--u) * 1.05)) var(--font-ui); color: #0d0d0d; }
.tplan__foot { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--u) * 1.2); margin-top: calc(var(--u) * 1.9); flex-wrap: wrap; }
.tplan__actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tplan__btn--secondary{border:1px solid currentColor;background:transparent;color:inherit}.tplan__btn--secondary:hover{background:rgba(255,255,255,.18)}
.tplan__price { font-size: calc(var(--u) * 5.2); line-height: 1; -webkit-text-stroke: 0; }
.tplan__btn { min-height: max(44px, calc(var(--u) * 3.3)); padding: 0 calc(var(--u) * 1.8); border-radius: 999px; font-size: max(13.5px, calc(var(--u) * 1.06)); font-weight: 600; white-space: nowrap; }
.tplan__btn--lime { background: #fff; color: #0d0d0d; }
.tplan__btn--lime:hover { background: #0d0d0d; color: #fff; }
.tplan__btn--vip { background: var(--lime-soft); color: #0d0d0d; }
.tplan__btn--vip:hover { background: #fff; }
.tplan__btn:disabled, .stepper__btn:disabled { cursor: not-allowed; }

/* ── Header cart + multi-ticket dialog ─────────────────── */
.cart-trigger svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { display: inline-grid; min-width: 21px; height: 21px; place-items: center; margin-left: 2px; padding-inline: 5px; border-radius: 999px; background: #111; color: #fff; font-size: 11px; font-weight: 700; }
.cart-dialog { width: min(630px, calc(100vw - 28px)); max-height: min(820px, calc(100dvh - 28px)); margin: auto; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: #181717; color: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.cart-dialog::backdrop { background: rgba(7,5,8,.8); backdrop-filter: blur(7px); }
.cart-shell { display: grid; max-height: inherit; grid-template-rows: auto minmax(0,1fr) auto; }
.cart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 28px 30px 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.cart-head h2 { margin-top: 7px; font-size: clamp(52px, 5vw, 74px); line-height: .84; }
.cart-close { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #292727; font-size: 28px; line-height: 1; }
.cart-close:hover { background: #363333; }
.cart-body { min-height: 190px; overflow-y: auto; padding: 8px 30px; }
.cart-empty { padding: 46px 20px; text-align: center; }
.cart-empty__icon { display: grid; width: 52px; height: 52px; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: var(--lime-soft); color: #121212; font-size: 30px; }
.cart-empty h3 { font: 700 20px var(--font-bold); }
.cart-empty p { margin-top: 7px; color: #aaa; font-size: 13px; }
.cart-line { display: grid; grid-template-columns: minmax(0,1fr) auto auto auto; align-items: center; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cart-line__copy h3 { font: 700 clamp(15px, 1.2vw, 18px) var(--font-bold); }
.cart-line__copy p { margin-top: 3px; color: #969393; font-size: 12px; }
.cart-line__controls { display: flex; align-items: center; gap: 7px; padding: 3px; border-radius: 999px; background: #282626; }
.cart-line__controls button { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; font-size: 19px; }
.cart-line__controls button:hover { background: rgba(255,255,255,.1); }
.cart-line__controls span { min-width: 20px; text-align: center; font-weight: 700; font-size: 13px; }
.cart-line > strong { min-width: 86px; text-align: right; font-size: 14px; }
.cart-line .cart-line__remove { display:grid; width:32px; height:32px; place-items:center; flex:0 0 auto; border:1px solid rgba(255,255,255,.14); border-radius:50%; color:#c9c5c5; font-size:23px; line-height:1; transition:background .15s,color .15s,border-color .15s; }
.cart-line .cart-line__remove:hover,.cart-line .cart-line__remove:focus-visible { border-color:#ff8c82; background:rgba(255,76,67,.12); color:#ff8c82; }
.cart-foot { padding: 22px 30px 26px; border-top: 1px solid rgba(255,255,255,.09); background: #141313; }
.cart-promo label { display: block; margin-bottom: 8px; color: #ddd; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cart-promo label span { color: #777; font-weight: 500; }
.cart-promo > div { display: grid; grid-template-columns: 1fr auto; overflow: hidden; border: 1px solid #3a3737; border-radius: 10px; }
.cart-promo input { min-width: 0; height: 43px; padding: 0 13px; border: 0; outline: 0; background: #211f1f; color: #fff; font: inherit; text-transform: uppercase; }
.cart-promo button { padding: 0 16px; background: #302d2d; color: var(--lime-soft); font-size: 12px; font-weight: 700; }
.cart-promo p { min-height: 18px; margin-top: 6px; color: #aaa; font-size: 11px; }
.cart-promo p.is-ok { color: var(--ok); }.cart-promo p.is-bad { color: #ff8c82; }
.cart-total { display: flex; align-items: end; justify-content: space-between; margin-top: 8px; }
.cart-total span { display:flex; gap:4px; color: #aaa; font-size: 13px; }.cart-total strong { font: 400 clamp(34px, 3vw, 46px) var(--font-display); }
.cart-checkout { width: 100%; min-height: 50px; margin-top: 14px; font-weight: 700; }
.cart-checkout:disabled { cursor: not-allowed; opacity: .38; }
.cart-note { margin-top: 10px; color: #7e7b7b; text-align: center; font-size: 11px; }

@media (max-width: 720px) {
  .test-mode-banner { align-items:flex-start; gap:4px; flex-direction:column; }
  .tk-hero__title { margin-top: 4vw; font-size: 11.5vw; line-height: 1; }
  .tk-hero__title .wide { display: block; font-size: 1.24em; }
  .tk-hero__diamonds i { width: 8vw; height: 8vw; }
  .tk-hero__corner { width: 22vw; height: 22vw; }
  .tk-plans { padding: 13vw 0 15vw; }
  .tk-plans__list { gap: 8vw; }
  .ticket { width: 91.7vw; }
  .ticket__stub { display:none; }
  .ticket__main { border-radius:4vw; }
  .ticket .notch--jt,.ticket .notch--jb { display:none; }
  .stepper__btn { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .stepper { padding: 2px; }
  .tplan__head { max-width: 100%; }
  .tplan__row { justify-content: flex-start; }
  .tplan__foot{align-items:flex-start}.tplan__actions{width:100%}.tplan__actions .tplan__btn{flex:1;padding-inline:12px}
  .cart-dialog { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .cart-head { padding: 23px 20px 18px; }.cart-body { padding: 6px 20px; }.cart-foot { padding: 18px 20px 22px; }
  .cart-line { grid-template-columns: minmax(0,1fr) auto auto; gap: 10px; }.cart-line > strong { grid-column: 1 / 2; text-align: left; }.cart-line .cart-line__remove { grid-column:3;grid-row:1; }
}

/* ── Three steps to Motherland ──────────────────────────── */
.tk-steps { background: var(--page); padding: 7vw 0 6.5vw; text-align: center; }
.tk-steps__title { margin-top: 1.6vw; font-size: 6.8vw; line-height: .9; }
.tk-steps__title .lime { color: var(--lime-soft); }
.tk-steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5vw; margin-top: 3.6vw; text-align: left; }
.tk-step { padding: 1.7vw 1.7vw 1.9vw; border-radius: clamp(10px, 1.3vw, 22px); background: var(--card); }
.tk-step__num { font-size: 3.2vw; line-height: 1; color: var(--lime-soft); }
.tk-step__title { margin-top: 1.2vw; font-family: var(--font-bold); font-weight: 700; font-size: clamp(15px, 1.25vw, 22px); line-height: 1.25; }
.tk-step__text { margin-top: .6vw; font-size: clamp(12px, .93vw, 16px); line-height: 1.4; color: #b9b9b9; }

@media (max-width: 720px) {
  .tk-steps { padding: 13vw 0 12vw; }
  .tk-steps__title { margin-top: 4vw; font-size: 9.6vw; }
  .tk-steps__list { grid-template-columns: 1fr; gap: 4vw; margin-top: 8vw; }
  .tk-step { padding: 6vw; }
  .tk-step__num { font-size: 9vw; }
  .tk-step__title { margin-top: 3vw; font-size: max(16px, 4.5vw); }
  .tk-step__text { font-size: 13.5px; }
}
