/*
 * Zumba s Ivanou – poster inspired one-page theme
 * Palette and shapes follow the supplied posters:
 * off-white paper, black marker, magenta / purple / yellow / teal paint.
 */

/* ---------- Fonts (self hosted) ---------- */
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/barlow-condensed-800.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/nunito-500.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/nunito-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 900; font-style: normal; font-display: swap; src: url('../fonts/nunito-900.woff2') format('woff2'); }
@font-face { font-family: 'Caveat Brush'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/caveat-brush.woff2') format('woff2'); }
/* ASCII only (wordmark "ZUMBA") */
@font-face { font-family: 'Permanent Marker'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/permanent-marker.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --ink: #17101f;
  --paper: #fffdf8;
  --paper-2: #f6f2ea;
  --pink: #e0187a;
  --pink-d: #c40f66;
  --purple: #6f2c91;
  --purple-d: #4a1c6b;
  --yellow: #ffd92e;
  --lime: #d3dd2a;
  --teal: #0f9fb0;
  --teal-d: #0b7f8d;
  --orange: #e96a0b;

  --f-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-brush: 'Caveat Brush', 'Comic Sans MS', cursive;
  --f-mark: 'Permanent Marker', 'Caveat Brush', cursive;

  --rough: polygon(0 10%, 2% 0, 30% 6%, 62% 0, 98% 7%, 100% 0, 99% 92%, 100% 100%, 65% 94%, 34% 100%, 3% 95%, 0 100%);
  --container: 1180px;
  --header-h: 72px;
}

/* per-color helpers: --c fill, --on text on fill, --ct text on paper */
.c-pink,   [class*='--pink']   { --c: var(--pink);   --on: #fff;       --ct: var(--pink-d); }
.c-purple, [class*='--purple'] { --c: var(--purple); --on: #fff;       --ct: var(--purple); }
.c-teal,   [class*='--teal']   { --c: var(--teal);   --on: #fff;       --ct: var(--teal-d); }
.c-orange, [class*='--orange'] { --c: var(--orange); --on: #fff;       --ct: #b04a00; }
.c-yellow, [class*='--yellow'] { --c: var(--yellow); --on: var(--ink); --ct: var(--ink); }
.c-lime,   [class*='--lime']   { --c: var(--lime);   --on: var(--ink); --ct: #5b6600; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--pink-d); }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
section[id] { scroll-margin-top: calc(var(--header-h) - 6px); }
b.c-pink { color: var(--pink-d); }
b.c-yellow { color: var(--yellow); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: .6em 1em;
  background: var(--ink); color: #fff; border-radius: 8px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.z-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.5em; border-radius: 999px;
  background: var(--pink-d); color: #fff;
  font: 900 1.05rem/1.1 var(--f-body); text-decoration: none;
  border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.z-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.z-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.z-btn .ico { width: 1.15em; height: 1.15em; }
.z-btn--small { padding: .55em 1.15em; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }
.z-btn--ghost { background: var(--paper); color: var(--ink); }
.z-btn--yellow { background: var(--yellow); color: var(--ink); }
.z-btn--ghost-light { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 rgba(255, 255, 255, .35); }

/* ---------- Header ---------- */
.z-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 248, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.z-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--yellow), var(--teal), var(--pink));
}
.z-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); padding-block: 8px; }
.z-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.z-brand__logo { width: 46px; height: 46px; border-radius: 50%; }
.z-brand__text { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.z-brand__zumba { color: var(--pink-d); }
.z-brand__sub { color: var(--purple); }

.z-nav { display: flex; align-items: center; gap: 18px; }
.z-nav ul { display: flex; align-items: center; gap: 4px; }
.z-nav ul a {
  display: block; padding: .45em .8em; border-radius: 999px;
  font: 800 1.08rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em;
  color: var(--ink); text-decoration: none;
}
.z-nav ul a:hover { background: var(--soft, #ffe6f1); color: var(--pink-d); }
.z-nav ul a.is-active { background: var(--yellow); color: var(--ink); }

.z-burger { display: none; width: 46px; height: 46px; border: 3px solid var(--ink); background: var(--paper); border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.z-burger span { position: absolute; left: 10px; right: 10px; height: 3px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.z-burger span:nth-child(1) { top: 12px; }
.z-burger span:nth-child(2) { top: 20px; }
.z-burger span:nth-child(3) { top: 28px; }
.nav-open .z-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .z-burger span:nth-child(2) { opacity: 0; }
.nav-open .z-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.z-brand, .z-brand__text, .z-nav ul a, .z-nav__cta { white-space: nowrap; }

@media (max-width: 1100px) {
  .z-burger { display: block; }
  .z-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 18px max(20px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    background: var(--paper);
    border-bottom: 4px solid var(--ink);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; overscroll-behavior: contain;
    display: none;
  }
  .nav-open .z-nav { display: flex; }
  .z-nav ul { flex-direction: column; align-items: stretch; }
  .z-nav ul a { padding: .75em 1em; font-size: 1.3rem; }
  .z-nav__cta { align-self: stretch; text-align: center; }
  body.nav-lock { overflow: hidden; }
}

/* ---------- Shared type ---------- */
.z-wordmark {
  display: inline-block; font-family: var(--f-mark); font-weight: 400; line-height: .95; letter-spacing: .02em;
  font-size: clamp(4.6rem, 14vw, 9.6rem);
  color: var(--pink);
  transform: skew(-6deg) rotate(-2deg);
  padding: .04em .12em .1em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .z-wordmark {
    background: linear-gradient(95deg, var(--pink) 0%, var(--pink) 18%, var(--purple) 55%, var(--orange) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
}
.z-wordmark--md { font-size: clamp(3.4rem, 10vw, 6.4rem); }
.z-wordmark--sm { font-size: 1.9rem; padding: 0 .1em .08em; }

.z-eyebrow { font: 400 clamp(1.4rem, 3vw, 1.9rem)/1.1 var(--f-brush); color: var(--pink-d); transform: rotate(-2deg); display: inline-block; margin-bottom: .2em; }
.z-title {
  text-wrap: balance;
  font: 800 clamp(2.2rem, 5.6vw, 4rem)/1.02 var(--f-display);
  text-transform: uppercase; letter-spacing: .01em; color: var(--ink);
}
.z-title > .z-eyebrow { display: block; }
.z-title--stack > .z-eyebrow { display: inline-block; }
.z-title .hl {
  color: var(--pink-d); white-space: nowrap;
  background: linear-gradient(transparent 64%, rgba(255, 217, 46, .85) 64% 92%, transparent 92%);
  padding: 0 .12em;
}
.z-lede { max-width: 56ch; margin: 1rem auto 0; font-size: 1.15rem; color: #3b3045; }
.z-lede p + p { margin-top: .8em; }

.z-sec-head { margin-bottom: clamp(18px, 3.5vw, 36px); }
.z-sec-head--center { text-align: center; }
.z-sec-head--center .z-lede { margin-inline: auto; }
.z-sec-head--light .z-title, .z-sec-head--light .z-lede { color: #fff; }
.z-sec-head--light .z-eyebrow { color: var(--yellow); }
.z-sec-head--light .z-title .hl { color: var(--ink); background: var(--yellow); padding: 0 .2em; transform: rotate(-1.5deg); display: inline-block; }

.z-strip {
  display: inline-block; margin-top: .9rem; padding: .3em 1.3em .36em;
  font: 800 clamp(1.15rem, 2.8vw, 1.9rem)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .03em;
  clip-path: var(--rough); transform: rotate(-1deg);
}
.z-strip--yellow { background: var(--yellow); color: var(--ink); }
.z-strip--purple { background: var(--purple); color: #fff; }
.z-strip--pink { background: var(--pink-d); color: #fff; }

.z-bar {
  margin: clamp(22px, 4vw, 40px) auto 0; max-width: 780px; text-align: center;
  background: var(--ink); color: #fff; padding: .55em 1.4em .62em;
  font: 800 clamp(1.15rem, 3.2vw, 2rem)/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .04em;
  clip-path: var(--rough); transform: rotate(-.6deg);
}
.z-bar strong { color: var(--yellow); }
.z-bar__brand { color: #ff5fae; }
.z-bar__eq { color: var(--yellow); }
.z-bar--light { background: rgba(0, 0, 0, .55); }

.z-section { position: relative; padding-block: clamp(36px, 6vw, 72px); }

/* Entrance effect: pure CSS progressive enhancement. Content is always visible by default. */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}

/* ---------- Hero ---------- */
.z-hero { position: relative; overflow: hidden; padding-top: clamp(18px, 4vw, 64px); background: var(--paper); }
.z-hero__paint {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(34% 44% at 6% 16%, rgba(224, 24, 122, .20), transparent 70%),
    radial-gradient(34% 40% at 96% 8%, rgba(111, 44, 145, .22), transparent 70%),
    radial-gradient(30% 40% at 88% 88%, rgba(255, 217, 46, .40), transparent 70%),
    radial-gradient(28% 36% at 4% 92%, rgba(15, 159, 176, .20), transparent 70%);
}
.z-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding-bottom: clamp(24px, 5vw, 56px); }
.z-hero__kicker { font: 800 clamp(1.4rem, 3.6vw, 2.4rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.z-hero__lead { margin-top: .35em; font: 800 clamp(1.4rem, 3.6vw, 2.4rem)/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .02em; text-wrap: balance; }
.z-hero__lead em { font-style: normal; color: var(--pink-d); box-shadow: inset 0 -.18em 0 rgba(255, 217, 46, .9); }
.z-hero__title { margin: .1em 0 .1em -.1em; }
.z-hero__text { container-type: inline-size; }
.z-hero__title .z-wordmark { font-size: clamp(4.2rem, 17vw, 9.6rem); }
@supports (font-size: 1cqw) {
  .z-hero__title .z-wordmark { font-size: min(21cqw, 10.5rem); }
}
.z-hero__copy { max-width: 46ch; font-size: 1.15rem; color: #3b3045; text-wrap: pretty; }
.z-hero__actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 12px 16px; }

.z-hero__visual { position: relative; }
.z-hero__frame {
  border: 4px solid var(--ink); border-radius: 36px 90px 36px 90px; overflow: hidden;
  background: var(--ink); box-shadow: 14px 14px 0 var(--pink); transform: rotate(1.8deg);
}
.z-hero__frame img { width: 100%; aspect-ratio: 1023 / 760; object-fit: cover; }
.z-hero__sticker { position: absolute; z-index: 2; }
.z-hero__sticker--logo { width: 150px; height: 150px; left: -44px; top: -52px; animation: spin 2.4s ease-in-out 1 .4s both; filter: drop-shadow(3px 4px 0 rgba(23, 16, 31, .35)); }
.z-hero__sticker--logo img { width: 100%; height: 100%; }
.z-hero__sticker--note {
  right: -8px; bottom: -22px; padding: .4em 1em .5em; background: var(--yellow); color: var(--ink);
  font: 400 clamp(1.3rem, 2.8vw, 1.8rem)/1 var(--f-brush); border: 3px solid var(--ink);
  border-radius: 14px; transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--ink);
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .z-hero__sticker--logo { animation: none; } }

/* Phones: wordmark + headline + button must be in the first screen */
@media (max-width: 699px) {
  .z-hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .z-hero__visual { order: 2; margin-inline: 10px 18px; }
  .z-hero__frame { box-shadow: 8px 8px 0 var(--pink); }
  .z-hero__frame img { aspect-ratio: 16 / 10; }
  .z-hero__sticker--logo { width: 104px; height: 104px; left: -4px; top: -22px; }
  .z-hero__copy { display: none; }
  .z-hero__actions .z-btn { flex: 1 1 200px; justify-content: center; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .z-hero__frame { box-shadow: 9px 9px 0 var(--pink); }
}

/* ticker */
.z-ticker { background: var(--ink); position: relative; border-block: 4px solid var(--yellow); }
.z-ticker__viewport { overflow: hidden; white-space: nowrap; padding-block: .5rem; }
.z-ticker__track { display: inline-flex; gap: 1.1rem; align-items: center; animation: ticker 36s linear infinite; font: 800 clamp(1.3rem, 3vw, 1.9rem)/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .1em; }
.z-ticker__track span { color: #fff; }
.z-ticker__track span:nth-child(8n+1) { color: #ff5fae; }
.z-ticker__track span:nth-child(8n+3) { color: var(--yellow); }
.z-ticker__track span:nth-child(8n+5) { color: #4fd8e6; }
.z-ticker__track i { font-style: normal; color: var(--lime); font-size: .8em; }
@keyframes ticker { to { transform: translateX(-50%); } }
.z-ticker.is-paused .z-ticker__track { animation-play-state: paused; }
.z-ticker__toggle {
  position: absolute; z-index: 2; top: 50%; right: max(8px, env(safe-area-inset-right)); transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: var(--ink); color: #fff; border: 2px solid #fff; cursor: pointer;
}
.z-ticker__toggle span { display: block; width: 14px; height: 16px; border-inline: 5px solid currentColor; }
.z-ticker__toggle[aria-pressed='true'] span { width: 0; height: 0; border-inline: 0; border-block: 8px solid transparent; border-left: 13px solid currentColor; margin-left: 3px; }
.z-ticker__toggle:focus-visible { outline-color: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .z-ticker__track { animation: none; } .z-ticker__toggle { display: none; } }
@media (forced-colors: active) { .z-wordmark { forced-color-adjust: none; color: CanvasText; -webkit-text-fill-color: CanvasText; background: none; } }

/* ---------- Inclusive ---------- */
.z-inclusive { background: var(--paper); }
.z-banner {
  position: relative; margin-inline: auto; max-width: 860px; text-align: center;
  padding: clamp(22px, 4vw, 40px) clamp(24px, 6vw, 72px) clamp(26px, 4vw, 44px);
  background: linear-gradient(100deg, var(--purple-d), var(--purple) 55%, #8b2f9a);
  clip-path: polygon(0 8%, 3% 0, 40% 5%, 100% 0, 98% 52%, 100% 100%, 55% 94%, 6% 100%, 1% 50%);
  transform: rotate(-1.2deg);
}
.z-banner__main { font: 800 clamp(2.2rem, 6.4vw, 4.4rem)/1 var(--f-display); text-transform: uppercase; font-style: italic; color: #fff; letter-spacing: .01em; }
.z-banner__sub { margin-top: .25em; font: 800 clamp(1.4rem, 4vw, 2.5rem)/1.1 var(--f-display); text-transform: uppercase; color: var(--yellow); }

.z-pillars { margin-top: clamp(22px, 4vw, 36px); display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.z-pillar { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; padding: 6px 12px; border-left: 3px dotted rgba(23, 16, 31, .22); }
.z-pillar:first-child { border-left: 0; }
.z-pillar__icon {
  display: grid; place-items: center; width: 84px; height: 84px; margin-bottom: .6rem; border-radius: 50%;
  background: var(--c); color: var(--on); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
}
.z-pillar:nth-child(odd) .z-pillar__icon { transform: rotate(-4deg); }
.z-pillar:nth-child(even) .z-pillar__icon { transform: rotate(3deg); }
.z-pillar__icon .ico { width: 40px; height: 40px; }
.z-pillar strong { font: 800 1.45rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; color: var(--ct); }
.z-pillar span:last-child { font: 800 1.25rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.z-closing { margin-top: clamp(22px, 4vw, 36px); text-align: center; font: 800 clamp(1.4rem, 3.6vw, 2.2rem)/1.15 var(--f-display); text-transform: uppercase; }

@media (max-width: 860px) {
  .z-pillars { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .z-pillar { border-left: 0; }
  .z-pillar:last-child { grid-column: 1 / -1; }
}

/* ---------- Mood equations ---------- */
.z-mood { background: linear-gradient(180deg, var(--paper), #f4ecfa 60%, var(--paper)); }
.z-title--stack { display: flex; flex-direction: column; align-items: center; }
.z-title--stack .z-strip { font-size: clamp(1.15rem, 2.8vw, 1.9rem); }
.z-eqlist { display: grid; gap: clamp(14px, 2.4vw, 24px); max-width: 1000px; margin-inline: auto; }
@media (min-width: 900px) { .z-eqlist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 56px); } }
.z-eq { display: grid; grid-template-columns: minmax(0, 1fr) clamp(52px, 8vw, 90px) minmax(0, 1fr); align-items: center; gap: 8px; max-width: 640px; width: 100%; margin-inline: auto; }
.z-eq__tile { width: 100%; max-width: 270px; justify-self: center; border-radius: 20px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 5px 5px 0 rgba(23, 16, 31, .9); background: #fff; }
.z-eq__tile:nth-of-type(1) { transform: rotate(-1.2deg); }
.z-eq__tile:nth-of-type(2) { transform: rotate(1.2deg); }
.z-eq__tile img { width: 100%; aspect-ratio: 270 / 235; object-fit: cover; }
.z-eq__mid { display: flex; flex-direction: column; align-items: center; gap: 0; }
.z-eq__op { font: 800 clamp(2rem, 5vw, 3rem)/1 var(--f-display); color: var(--ink); }
.z-eq__brand { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.z-eq__brand img { width: clamp(44px, 6vw, 60px); height: clamp(44px, 6vw, 60px); border-radius: 50%; }
.z-eq__brand .z-wordmark { display: none; }
@media (min-width: 1200px) { .z-eq { grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr); } .z-eq__brand .z-wordmark { display: inline-block; font-size: 1.5rem; } }

.z-quad { margin: clamp(22px, 4vw, 40px) auto 0; max-width: 940px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.z-quad__item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 8px 16px; border-radius: 18px; background: #fff; border: 3px solid var(--ink); }
.z-quad__item strong { font: 800 clamp(1.5rem, 3.4vw, 2.2rem)/1 var(--f-display); text-transform: uppercase; color: var(--ct); }
.z-quad__item--yellow strong { background: var(--yellow); padding: 0 .35em; border-radius: 6px; }
.z-quad__item span { font-weight: 700; font-size: .98rem; }
@media (max-width: 640px) { .z-quad { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Benefit tabs ---------- */
.z-tabs { background: var(--paper); overflow: clip; }
.z-tablist { display: none; justify-content: center; gap: 10px; margin: 0 auto clamp(20px, 4vw, 34px); }
.js .z-tablist { display: flex; }
.z-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .55em 1.3em;
  border: 3px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer;
  font: 800 1.2rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.z-tab .ico { width: 1.2em; height: 1.2em; color: var(--ct); }
.z-tab[aria-selected='true'] { background: var(--c); color: var(--on); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.z-tab[aria-selected='true'] .ico { color: var(--on); }
@media (max-width: 520px) {
  .z-tablist { gap: 6px; }
  .z-tab { flex: 1 1 0; min-width: 0; padding-inline: .4em; font-size: 1.02rem; letter-spacing: .02em; }
  .z-tab .ico { display: none; }
}

.z-panel { position: relative; border: 3px solid var(--ink); border-radius: 28px; padding: clamp(18px, 4vw, 48px); box-shadow: 7px 7px 0 var(--ink); }
.z-panel + .z-panel { margin-top: 40px; }
.js .z-panel + .z-panel { margin-top: 0; }
.js .z-panel:not(.is-active) { display: none; }
.z-panel--pink   { background: radial-gradient(40% 30% at 100% 0, rgba(224, 24, 122, .12), transparent 70%), radial-gradient(40% 30% at 0 100%, rgba(255, 217, 46, .28), transparent 70%), #fffafc; }
.z-panel--purple { background: radial-gradient(45% 35% at 0 0, rgba(111, 44, 145, .16), transparent 70%), radial-gradient(40% 30% at 100% 100%, rgba(224, 24, 122, .14), transparent 70%), #f7f1fb; }
.z-panel--lime   { background: radial-gradient(45% 35% at 100% 0, rgba(211, 221, 42, .35), transparent 70%), radial-gradient(40% 30% at 0 100%, rgba(111, 44, 145, .12), transparent 70%), #fdfbe9; }
.z-panel__head { text-align: center; }
.z-title--panel { font-size: clamp(1.8rem, 4.6vw, 3.1rem); text-wrap: balance; }
.z-panel__stage { display: grid; gap: 18px; margin-top: clamp(14px, 2.5vw, 24px); }
.z-panel__fig { position: relative; text-align: center; width: min(100%, 250px); margin-inline: auto; }
.z-panel__fig picture { display: block; background: #fff; border: 3px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; transform: rotate(-1deg); }
.z-panel__fig img { margin-inline: auto; width: 100%; height: auto; }
.z-callout {
  position: relative; z-index: 1; margin: -22px auto 0; max-width: 300px; padding: .6em 1.1em .7em;
  background: var(--ink); color: #fff; clip-path: var(--rough); transform: rotate(-1.5deg);
  font: 800 clamp(1.1rem, 2.6vw, 1.4rem)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .03em;
}
.z-callout b { color: var(--yellow); }
.z-callout b.c-pink { color: #ff5fae; }

/* items: swipeable cards on phones */
.z-items {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(-1 * clamp(18px, 4vw, 48px)); padding: 6px clamp(18px, 4vw, 48px) 14px; scroll-padding-inline: clamp(18px, 4vw, 48px);
  scrollbar-width: thin;
}
.z-item {
  flex: 0 0 min(78%, 300px); scroll-snap-align: start; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 14px; background: #fff; border: 3px solid var(--ink); border-radius: 20px;
}
.z-item__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--c); color: var(--on); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
}
.z-item__icon .ico { width: 26px; height: 26px; }
.z-item__title {
  display: inline-block; font: 800 1.3rem/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .03em; color: var(--ct);
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c) 32%, transparent) 62% 94%, transparent 94%);
  margin-bottom: .25rem;
}
.z-item__body p { font-size: 1rem; line-height: 1.45; color: #2d2336; }

/* tablets: figure beside a list */
@media (min-width: 700px) {
  .z-panel__stage { grid-template-columns: minmax(190px, 240px) minmax(0, 1fr); gap: clamp(24px, 4vw, 44px); align-items: start; }
  .z-panel__fig { position: sticky; top: calc(var(--header-h, 72px) + 20px); width: 100%; }
  .z-items { display: grid; gap: 20px; overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; }
  .z-item { padding: 0; background: none; border: 0; border-radius: 0; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .z-item__icon { width: 56px; height: 56px; }
}
/* desktop: larger figure + two columns */
@media (min-width: 1100px) {
  .z-panel__stage { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); }
  .z-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
}

.z-summary {
  margin-top: clamp(20px, 3.5vw, 36px); display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-radius: 22px; padding: 22px 8px; border: 3px solid var(--ink);
}
.z-summary__item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0 12px; border-left: 3px dotted rgba(23, 16, 31, .22); font: 800 1.2rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--ct); }
.z-summary__item:first-child { border-left: 0; }
.z-summary__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c); color: var(--on); }
.z-summary__icon .ico { width: 30px; height: 30px; }
@media (max-width: 860px) {
  .z-summary { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .z-summary__item:nth-child(odd) { border-left: 0; }
  .z-summary__item:last-child { grid-column: 1 / -1; border-left: 0; }
}

.z-formula { margin-top: clamp(20px, 3.5vw, 36px); display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 12px clamp(6px, 2vw, 22px); }
.z-formula__part { display: flex; flex-direction: column; align-items: center; text-align: center; width: min(150px, 40%); gap: 4px; }
.z-formula__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--c); color: var(--on); border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); margin-bottom: 6px; }
.z-formula__icon .ico { width: 30px; height: 30px; }
.z-formula__part strong { font: 800 1.2rem/1.05 var(--f-display); text-transform: uppercase; color: var(--ct); }
.z-formula__part span:last-child { font-size: .9rem; line-height: 1.3; font-weight: 700; }
.z-formula__op { align-self: center; font: 800 2.4rem/1 var(--f-display); margin-top: -26px; }
.z-formula__result {
  align-self: center; display: grid; place-items: center; text-align: center; min-width: 170px; min-height: 120px; padding: 18px 24px;
  background: var(--yellow); border: 3px solid var(--ink); border-radius: 56% 44% 52% 48% / 50% 56% 44% 50%;
  font: 400 clamp(1.7rem, 3.2vw, 2.2rem)/1.05 var(--f-brush); color: var(--ink); transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--ink);
}
@media (max-width: 699px) {
  .z-formula { gap: 8px 4px; }
  .z-formula__op { display: none; }
  .z-formula__part { width: 44%; }
  .z-formula__result { flex: 1 1 100%; margin-top: 6px; }
}

.z-check { margin: clamp(20px, 3.5vw, 32px) auto 0; max-width: 420px; padding: 18px 26px 22px; border: 3px dashed var(--purple); border-radius: 22px; background: rgba(255, 255, 255, .7); }
.z-check__title { display: flex; align-items: center; justify-content: center; gap: .5em; font: 800 1.5rem/1.1 var(--f-display); text-transform: uppercase; color: var(--purple); margin-bottom: .6rem; }
.z-check__title .ico { color: var(--pink); fill: var(--pink); }
.z-check ul { display: grid; gap: .45rem; }
.z-check li { display: flex; align-items: center; gap: .7em; font: 800 1.2rem/1.1 var(--f-display); text-transform: uppercase; }
.z-check li .ico { width: 1.7em; height: 1.7em; padding: .32em; border-radius: 50%; background: var(--purple); color: #fff; stroke-width: 3; }

/* ---------- CTA ---------- */
.z-cta { color: #fff; background: linear-gradient(135deg, #2f0f47 0%, var(--purple-d) 38%, #8e1f77 72%, var(--pink-d) 100%); overflow: hidden; }
.z-cta__paint {
  position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background:
    radial-gradient(22% 30% at 8% 12%, rgba(255, 217, 46, .30), transparent 70%),
    radial-gradient(26% 34% at 94% 20%, rgba(15, 159, 176, .35), transparent 70%),
    radial-gradient(24% 30% at 80% 98%, rgba(255, 217, 46, .22), transparent 70%);
}
.z-cta .container { position: relative; }
.z-cta :focus-visible { outline-color: var(--yellow); }
.z-cta__grid { display: grid; gap: 24px; max-width: 1040px; margin-inline: auto; align-items: start; }
@media (min-width: 860px) { .z-cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; } }
.z-info { display: grid; gap: 10px; }
@media (min-width: 520px) and (max-width: 859px) { .z-info { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.z-info__row {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px;
  background: rgba(255, 255, 255, .10); border: 2px solid rgba(255, 255, 255, .30); border-radius: 18px;
}
.z-info__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.z-info__icon .ico { width: 22px; height: 22px; }
.z-info__text { display: flex; flex-direction: column; min-width: 0; }
.z-info__text strong { font: 800 1.1rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); }
.z-info__text a { color: #fff; font-weight: 800; overflow-wrap: anywhere; }
.z-todo { align-self: flex-start; padding: .1em .6em; border: 2px dashed var(--yellow); border-radius: 10px; color: #fff; font-weight: 700; font-size: .95rem; }
.z-cta__side { text-align: center; }
.z-cta__actions { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; }
.z-cta__note { font-size: 1.05rem; color: #f3e8fa; }

/* ---------- Booking form ---------- */
.z-cta__form { scroll-margin-top: calc(var(--header-h) + 12px);
  color: var(--ink); background: var(--paper); border: 3px solid var(--ink); border-radius: 26px;
  padding: clamp(18px, 3.5vw, 32px); box-shadow: 8px 8px 0 rgba(0, 0, 0, .55);
}
.z-cta__form-title { font: 800 clamp(1.5rem, 3.4vw, 2rem)/1.05 var(--f-display); text-transform: uppercase; color: var(--pink-d); margin-bottom: .8rem; }
.z-form .form-field { margin-bottom: 14px; }
.z-form .form-label { display: block; margin-bottom: 4px; font: 800 1rem/1.2 var(--f-body); color: var(--ink); }
.z-form .form-label .required, .z-form .inline .required { color: var(--pink-d); }
.z-form .form-field:has(input[type='checkbox']) .form-label-wrapper { display: none; }
.z-form input[type='text'], .z-form input[type='email'], .z-form textarea {
  width: 100%; min-height: 48px; padding: .6em .9em; font: 600 1rem/1.4 var(--f-body); color: var(--ink);
  background: #fff; border: 3px solid var(--ink); border-radius: 14px;
}
.z-form textarea { min-height: 120px; resize: vertical; }
.z-form input::placeholder, .z-form textarea::placeholder { color: #6b5f78; opacity: 1; }
.z-form input:focus-visible, .z-form textarea:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; border-color: var(--pink-d); }
.z-form .form-input-wrapper:has(input[type='checkbox']) { display: flex; align-items: flex-start; gap: 12px; }
.z-form input[type='checkbox'] { flex: none; width: 28px; height: 28px; margin-top: 2px; accent-color: var(--pink-d); }
.z-form label.inline { display: block !important; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.z-form button[type='submit'] {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: .8em 1.6em; cursor: pointer;
  font: 800 1.1rem/1 var(--f-body); color: #fff; background: var(--pink-d); border: 3px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
}
.z-form button[type='submit']:hover { background: var(--pink); }
.z-form button[type='submit']:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.z-form .form-honeybear { display: none; }
.z-cta__form .notices, .z-cta__form .alert { margin-bottom: 14px; padding: 12px 16px; border-radius: 14px; border: 3px solid var(--ink); font-weight: 700; }
.z-cta__form .notices.green, .z-cta__form .alert.success { background: #e3f6d6; }
.z-cta__form .notices.red, .z-cta__form .alert.error { background: #ffe0e7; }
.z-cta__form .notices p { margin: 0; }
.z-cta__form .notices.yellow { background: var(--yellow); }
.z-form .form-field .has-errors input, .z-form .has-errors textarea { border-color: #b00020; }

/* "V přípravě" – reservations not open yet */
.z-cta__stage { position: relative; }
.z-cta.is-closed .z-cta__grid { opacity: .45; filter: blur(1.5px); pointer-events: none; user-select: none; }
.z-cta__soon {
  position: absolute; z-index: 3; inset: 0; display: grid; place-items: start center; padding-top: clamp(60px, 14vw, 140px); margin: 0; pointer-events: none;
}
.z-cta__soon-text {
  display: inline-block; padding: .15em .8em .22em; background: var(--yellow); color: var(--ink);
  font: 400 clamp(2.4rem, 9vw, 5.5rem)/1 var(--f-brush); text-align: center;
  border: 4px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-5deg);
}
.z-follow { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: clamp(22px, 4vw, 36px); }
.z-follow .z-btn .ico { width: 1.3em; height: 1.3em; }

/* ---------- Sticky booking bar (phones) ---------- */
.z-sticky {
  display: none; position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(255, 253, 248, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 4px solid var(--ink);
  transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s;
}
.z-sticky.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
.z-sticky .z-btn { width: 100%; justify-content: center; }
@media (max-width: 699px) {
  .z-sticky { display: block; }
  body.has-sticky .z-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .z-sticky { transition: none; } }

/* ---------- Footer ---------- */
.z-footer { background: var(--ink); color: #fff; padding-top: 0; }
.z-footer__strip { height: 10px; background: linear-gradient(90deg, var(--pink), var(--purple), var(--yellow), var(--teal), var(--lime)); }
.z-footer__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 36px 24px; }
.z-footer__brand { display: flex; align-items: center; gap: 16px; }
.z-footer__brand img { width: 64px; height: 64px; border-radius: 50%; }
.z-footer__title { font: 800 1.6rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: .35em; }
.z-footer__title .z-wordmark { background: none; -webkit-text-fill-color: #ff5fae; color: #ff5fae; transform: skew(-6deg) rotate(-2deg); }
.z-footer__claim { margin-top: 4px; color: #d9cfe4; font-weight: 700; }
.z-footer__claim strong { color: var(--yellow); }
.z-footer__contact { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.z-footer__contact li { display: inline-flex; align-items: center; gap: .55em; }
.z-footer__contact a { color: #fff; font-weight: 700; }
.z-footer__contact .ico { color: var(--yellow); }
.z-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 16px 28px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .88rem; color: #bfb2cd; }

/* ---------- Generic pages (error, default) ---------- */
.z-page { padding-block: clamp(48px, 8vw, 96px); }
.z-page__inner { max-width: 760px; }
.z-error { text-align: center; }
.z-error__actions { margin-top: 1.5rem; }
.z-page h1 { font: 800 clamp(2.4rem, 6vw, 4rem)/1 var(--f-display); text-transform: uppercase; margin-bottom: .5em; }

/* Touch targets: at least 44px */
.z-footer__contact a, .z-info__text a { display: inline-flex; align-items: center; min-height: 44px; }
.z-nav ul a { min-height: 44px; display: inline-flex; align-items: center; }
.z-btn--small { min-height: 44px; }
@media (max-width: 1100px) { .z-nav ul a { display: flex; } }

@media print { .reveal { animation: none; } .z-header { position: static; } }
